Documentation Index
Fetch the complete documentation index at: https://docs.get-spotlight.com/llms.txt
Use this file to discover all available pages before exploring further.
Error response format
All errors return JSON with at minimum amessage field:
Status codes
| Code | Meaning | Common causes |
|---|---|---|
200 | OK | Request succeeded. |
201 | Created | Resource was created (write endpoints). |
400 | Bad Request | Missing or invalid request body / parameters. |
401 | Unauthorized | Missing or invalid API key. |
403 | Forbidden | Feature disabled for your plan or organization. |
404 | Not Found | Brand, run, topic, or prompt doesn’t exist — or doesn’t belong to your organization. |
405 | Method Not Allowed | HTTP method is not supported on this path. |
409 | Conflict | Prompt limit exceeded. Response includes code: "prompt_limit_exceeded" and remaining slot counts. |
429 | Too Many Requests | Rate limit exceeded. Back off and retry. |
500 | Internal Server Error | Unexpected server-side failure. Server logs are tagged [org-api]. |
404 — unknown path
When the path doesn’t match any route, the API returns a helpful404 with the normalized path and the full list of available endpoints:

