| auth-required | | No credential was sent and no session is signed in. |
| auth-invalid | | The API key is malformed, unknown, expired, or revoked. |
| scope-insufficient | | The key lacks the scope this operation needs. |
| payload-invalid | | The body, a parameter, or a header is malformed - including a key placed in the query string. |
| payload-too-large | | The request body is larger than the allowed size. |
| not-found | | The id is unknown, belongs to someone else, is malformed, or the partner API is off - always the same answer. |
| rate-limited | | A protection bound was reached; wait the seconds named in Retry-After. |
| version-not-published | | The agent has no live published version to run or embed. |
| unsupported-trigger | | The agent's live version has no trigger that a run or an embedded page could start. |
| conflict | | The Idempotency-Key was already used with a different input. |
| budget-exceeded | | The agent already has the maximum number of callbacks. |
| embed-origin-not-allowed | | The origin is not on your allowed embedding origins list. |
| stale-revision | | expectedRevision is not the draft's current revision; the body carries the current one - read the draft again, merge your change, and retry. |
| invalid-agent | | The document is not a valid agent. The body carries the same findings the Studio shows, and nothing was saved. |
| validation-blocked | | The agent cannot go live yet because its setup is incomplete - finish the setup in the Studio, then try again. |
| activation-inactive | | Nothing is live on this agent, so there is nothing to take off. |
| draft-archived | | The agent is archived; restore it on My agents before writing to it or freezing a version. |
| capability-not-implemented | | Amistio does not offer what the request needs, for example embedding is not configured. |
| storage-error | | Amistio could not complete the request; try again later. |