> ## Documentation Index
> Fetch the complete documentation index at: https://docs.storytime.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Errors

All errors return a consistent JSON shape:

```json theme={null}
{ 
    "ok": false, 
    "code": "UNAUTHORIZED",
    "message": "Missing or invalid API key" 
}
```

| HTTP | code            | Meaning                                     |
| ---- | --------------- | ------------------------------------------- |
| 401  | UNAUTHORIZED    | Missing, malformed, revoked, or expired key |
| 429  | RATE\_LIMITED   | Per-key rate limit exceeded                 |
| 5xx  | INTERNAL\_ERROR | Unexpected server error                     |
