When something goes wrong, the API returns a non-Documentation Index
Fetch the complete documentation index at: https://docs.sirius.menu/llms.txt
Use this file to discover all available pages before exploring further.
2xx status and a consistent JSON envelope with a machine-readable code you can branch on:
message is human-readable and may change; code is stable — switch on it, not on the message text. details is optional and only present when it helps (for example, marketplaceUrl on a paid-script 402).
Status codes
| Status | code | When |
|---|---|---|
400 | bad_request | A parameter is malformed (bad enum, non-numeric placeId, etc.) |
401 | unauthorized | Reserved; the public API does not require auth |
402 | payment_required | Raw source requested for a paid script — see details.marketplaceUrl |
403 | forbidden | Raw source requested for a key-system script — see details.keyLink |
404 | not_found | No such script, game, creator, or endpoint |
405 | method_not_allowed | Wrong HTTP method for the endpoint |
429 | rate_limited | Rate limit exceeded — honour Retry-After |
503 | unavailable | Temporary upstream issue — retry after a short delay |
Validation errors
Unknown query parameters are ignored (so we can add new ones without breaking you), but malformed known parameters return400 with a clear message:
Raw-source gating
The/raw endpoint only serves source for free, keyless scripts. Otherwise: