~/docs cat openapi-spec.md
OpenAPI spec
The request and response shapes on these pages are hand-kept in sync with one file: the OpenAPI 3.0 contract the SDKs and this site are held to in CI. Fetch it directly to generate your own client, import it into an API tool, or hand it to a platform that consumes OpenAPI schemas.
curl
curl https://api.scam.ai/openapi.json
| URL | Format |
|---|---|
https://api.scam.ai/openapi.json | JSON |
https://api.scam.ai/openapi.yaml | YAML, the source file, byte for byte |
Covers the same surface as these pages: /v1/detections, retrieval, task polling, account, credits and usage. The MCP server's tool surface is documented separately on MCP server; it is not part of this schema.