For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create an OpenAPI spec

Available in MCP
post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequired

A unique entity identifier

Pattern: ^[a-zA-Z0-9_-]+$
Body
slugstring · min: 1 · max: 100Required

Slug used as reference

Pattern: ^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$
sourceone ofRequired
or
Responses
201

OpenAPI specification has been created

application/json
objectstring · enumRequired

The object type, which is always "openapi-spec"

Possible values:
idstringRequired

Unique identifier

createdAtstring · date-timeRequired

Date of creation

updatedAtstring · date-timeRequired

Date of the last update

slugstring · min: 1 · max: 100Required

Slug used as reference

Pattern: ^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$
sourceURLstring · uri · max: 2048Optional
processingStateundefined · enumRequired

Processing state

Possible values:
visibilitystring · enumOptional

The visibility setting of the OpenAPI spec.

  • private: The spec is not publicly available.
  • public: The spec is available to anyone with a public link.
Possible values:
lastVersionstringOptional

ID of the latest version of the OpenAPI specification

lastProcessedAtstring · date-timeOptional

Date of the last processing

lastProcessErrorCodeundefined · enumOptional

OpenAPI processing error code

Possible values:
lastProcessedErrorCountintegerRequired

Total number of processing errors before truncation of lastProcessedErrors.

post/orgs/{organizationId}/openapi

Last updated

Was this helpful?

Powered by GitBook