Skip to main content
POST
/
api
/
svc
/
v1
/
mcp-servers
/
proxy
/
openapi-spec
Fetch OpenAPI spec via proxy
curl --request POST \
  --url https://{controlPlaneURL}/api/svc/v1/mcp-servers/proxy/openapi-spec \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "sourceURL": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
sourceURL
string
required

URL to fetch the OpenAPI spec from

Response

200 - application/json

OpenAPI spec fetched successfully

The response is of type object.