Base URL
/v2 (a small number of operational endpoints live under /v1). Full request/response schemas for every path are listed in the Endpoints group in the sidebar, generated from the live spec.
Authentication
Requests authenticate with an API key sent as a bearer token:The response envelope
Every response wraps its payload in a consistent envelope: the data, plus ameta._agentic block carrying freshness, a quality verdict, confidence, and provenance. This is what lets you tell, per call, how much to trust a number. The full field reference is on Response envelope and Agentic envelope; the trust framing is on Freshness & quality.
Pagination & filtering
List endpoints page with an opaque cursor and alimit, and return paging state in meta:
- Pass
limitto set the page size (each endpoint documents its max). - Pass the previous response’s
meta.cursorascursorto fetch the next page;meta.has_moretells you when to stop. - Endpoint-specific filters (e.g.
scope,min_completeness_pct) are documented per endpoint.
Errors & rate limits
Errors follow a standard envelope with a machine-readablecode and a request_id you should quote in support tickets — see Errors. Per-tier request rates and quotas are on Rate limits & tiers.
Reading the reference
The Endpoints group in the sidebar lists every public operation with its parameters, request/response schemas, and examples, generated from the live spec. Cross-cutting policies — versioning & deprecation and the data coverage manifest — are documented as their own pages.Download the OpenAPI spec
The same OpenAPI 3.0 document that generates the Endpoints group is served as a static file:First-party SDKs cover TypeScript (
@alterscope/sdk) and Python (alterscope, Beta). For any other language, generate a client from this spec with openapi-generator — the wire contract is identical regardless of how you call it.Generate a client
-g to any supported generator (go, java, csharp, rust, …). Authenticate generated requests the same way as everywhere else — Authorization: Bearer sk_live_... against https://api.alterscope.org. See Authentication for issuing keys.