Docs / API reference
Errors
| Status | Meaning |
|---|---|
| 400 | Breaks a request rule: invalid JSON, a BOM, nesting over 64 levels. |
| 401 | Missing or invalid API key. |
| 402 | Insufficient balance: the organization is prepaid and has no credit left. Add credits under Settings → Billing. |
| 413 | Body over 4 MiB. |
| 415 | Compressed bodies aren't supported yet. |
| 422 | Validation failed. detail lists every problem as {loc, msg, type}. |
| 429 | Rate limited. Wait Retry-After seconds and retry. See Rate limits. |
| 503 | Temporarily unavailable. Retry after a short delay. |
{
"detail": [
{
"loc": [
"body",
"questions",
"tone",
"choice",
"criteria"
],
"msg": "Field required",
"type": "missing"
}
]
}
Create an account Open the Playground
Everything here also lives in the console, next to your keys and usage.