API Explorer
Fetch latest published spec
Returns the raw OpenAPI document of the most recently published version of the
API, addressed by its org slug and API name. This is the canonical entry point
for SDK generators and the spec0 pull CLI command — it short-circuits the
version-listing round-trip when the caller just wants "the current spec".
Authorization
BearerAuth AuthorizationBearer <token>
Bearer token. Either a Personal Access Token (pat_...) or a Service Account
Token (sat_...). Issued via the Spec0 dashboard or /me/personal-access-tokens.
In: header
Path Parameters
orgSlug*string
apiName*string
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://app.spec0.io/api/v1/public/registry/string/string""string"{
"error": "string",
"message": "string"
}{
"status": 0,
"title": "string",
"detail": "string",
"type": "string",
"instance": "string"
}{
"status": 0,
"title": "string",
"detail": "string",
"type": "string",
"instance": "string"
}Was this helpful?