Every Public API response uses the same JSON envelope regardless of whether the request succeeded:Documentation Index
Fetch the complete documentation index at: https://docs.scaleo.io/llms.txt
Use this file to discover all available pages before exploring further.
| Field | Description |
|---|---|
status · string | "success" for 2xx responses, "error" for non-2xx. |
code · integer | HTTP status code (200, 201, 422, 500, …). Mirrors the HTTP response code. |
name · string | Short HTTP status name — "OK", "Created", "Unprocessable Entity", … |
message · string | Human-readable result summary. |
info · object | Payload. Omitted when the response carries no data. |
The HTTP status code is the authoritative signal.
code and status
duplicate it for clients that cannot easily inspect HTTP headers.Standard error responses
| HTTP status | When you see it |
|---|---|
400 Bad Request | Invalid JSON, unknown parameter, or malformed request. |
401 Unauthorized | Missing or invalid api-key, or api_status disabled. |
403 Forbidden | Key is valid but belongs to a different role. |
404 Not Found | Resource not found or not visible to this account. |
422 Unprocessable Entity | Validation failed — see info.errors. |
500 Internal Server Error | Server-side problem. Retry with backoff. |
Validation errors (422)
When validation fails the server returns422. Each key in info.errors
is the failing field name; the value is an array of error strings:
Retry guidance
4xx— client problem, fix the request before retrying.5xx— transient server problem. Retry with exponential backoff (start 1 s, max 60 s, add 0–25% jitter).GETandPUTon a known resource are always safe to retry.