Citera home
Browse documentation

OpenAPI contract

OpenAPI contract

Retrieve the machine-readable REST contract from your assigned host.

Summarize with AIChatGPTClaudePerplexity

GET /v1/openapi.json

The live OpenAPI 3.1 document (no authentication). It is the same document as docs/api/openapi.json and includes the x-scopes and x-error-codes extensions.

Request examples

Choose a language for each endpoint. Set your assigned HTTPS API origin and environment variables, then replace the <placeholders>. These examples do not run requests in your browser.

GET/v1/openapi.json

Required scope: none · Response: 200

: "${CITERA_API_BASE_URL:?Set CITERA_API_BASE_URL}"
curl --fail-with-body --connect-timeout 10 --max-time 30 -X GET "${CITERA_API_BASE_URL%/}/v1/openapi.json" \
  -H "Accept: application/json"