Get OpenAPI schema
GET
/schema
const url = 'https://app.surveyrock.com/api/v1/schema';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.surveyrock.com/api/v1/schemaReturns the complete OpenAPI 3.0 specification for the SurveyRock API with MCP vendor extensions for tool generation
Responses
Section titled “Responses”OpenAPI schema with MCP extensions
Media typeapplication/json
object
success
boolean
data
object
openapi
string
info
object
title
string
version
string
x-mcp
MCP vendor extensions for tool generation
object
meta
object
timestamp
string format: date-time
version
string
requestId
string
Example
{ "success": true, "data": { "openapi": "3.0.0", "info": { "title": "SurveyRock API", "version": "3.0" } }, "meta": { "version": "3.0" }}