Skip to content

Get the OpenAPI document

GET
/openapi.json
curl --request GET \
--url https://example.com/api/openapi.json

This OpenAPI 3.1 document. Public: it needs no token and holds no monitoring data.

The OpenAPI document. Public: no token, no monitoring data.

Media typeapplication/json

This OpenAPI 3.1 document.

object
info
required
object
openapi
required
string
paths
required
object

Example

{
"info": {
"title": "Heptapod API",
"version": "1"
},
"openapi": "3.1.0",
"paths": {
"/me": {
"get": {
"operationId": "getMe"
}
}
}
}
X-RateLimit-Limit
integer

Requests per minute allowed by the limit this response counts against.

X-RateLimit-Remaining
integer

Requests left in the current minute.

Rate limited: 60 requests per minute per source IP before authentication, and 60 per minute per user and per token. See Retry-After.

Media typeapplication/json
TooManyRequests
object
error
required
string

Examples

ExampleTooManyRequests

Rate limited

{
"error": "Too Many Attempts."
}
Retry-After
integer

Seconds to wait before retrying.

X-RateLimit-Reset
integer

Unix time when the request limit resets. Only on request rate limits, not on refused manual runs.