Errors
- OpenAPI 3.1.0 document: https://api.rollstack.com/public/v1/openapi.json
- The whole reference in Markdown: https://docs.rollstack.com/llms-full.txt
- An index of the reference: https://docs.rollstack.com/llms.txt
Every error answers a JSON body with a stable, machine-readable code and a message for people, such as { "code": "api-key-missing-scope", "message": "This call needs the slide_decks:write scope, which this API key doesn't have. Use a key with it, or connect your AI client to Rollstack again and allow it." }.
| Status | Means |
|---|---|
| 400 | The request is invalid. data-validation-error says which fields failed and why |
| 401 | The key is missing, unknown, revoked (api-key-invalid) or expired (api-key-expired), or its user left the organization (api-key-organization-left). The WWW-Authenticate header says where to sign in with OAuth |
| 403 | The key lacks the endpoint's scope (api-key-missing-scope, with the scope in the WWW-Authenticate header), or the user isn't an owner or admin (require-admin-permission) |
| 404 | The resource or path doesn't exist |
| 409 | A request with the same Idempotency-Key is still running (idempotency-key-in-progress) |
| 422 | The Idempotency-Key was already used for a different request (idempotency-key-reused) |
| 428 | A call that emails people or deletes reports (approveReportMessageProposal, startReportRun, batchStartReportRuns, sendReportEmail, startBurstRun, sendBurstEmailConfig, sendBurstVariantEmails, deleteBurst, removeBurstVariants), made with an OAuth token or over MCP, waits for the user to confirm it in Rollstack (confirmation-required), at the link in the message |
| 429 | Too many requests (rate-limit-exceeded): wait the seconds in the Retry-After header. A data query, datasheet change preview or save, or a slide render with datasheet changes, sent while another of yours still runs (query-already-running): they run one at a time, so wait the seconds in the Retry-After header, or until that one answers, then send it again |
| 5xx | Something failed on our side: retry later |