API Explorer
Semantic search over the calling org's APIs
Natural-language search across the calling org's API titles, descriptions, and
operation summaries, backed by the RAG service. Results are ranked by semantic
similarity to query and capped at maxResults (default 10). Scope is
org-internal — the token's org is the only corpus searched; there is no
cross-org discovery on this endpoint.
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
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://app.spec0.io/api/v1/public/registry/search" \ -H "Content-Type: application/json" \ -d '{ "query": "string" }'{
"results": [
{}
]
}{
"status": 0,
"title": "string",
"detail": "string",
"type": "string",
"instance": "string"
}{
"error": "string",
"message": "string"
}{
"status": 0,
"title": "string",
"detail": "string",
"type": "string",
"instance": "string"
}Was this helpful?