Memory API
Errors
A JSON body with a single error field. Match on the status and the message.
| Response | When |
|---|---|
| 401Unauthorized | Missing, malformed, or expired token. |
| 400Content is required. | POST /ingest with empty or whitespace-only content. |
| 400Query is required. | POST /recall or /answer with an empty query. |
| 400Group must be at most 200 characters. | The group key exceeds the ledger column width. |
| 400Not a member of the requested team. | The passed teamId is not one the token can reach. |
| 400The user belongs to no team. | The token resolves to no workspace. This should not happen on a provisioned key; email us if it does. |
| 400responseSchema is only supported in pipeline mode. | responseSchema sent together with mode: "agent". |
There are no stable error codes yet. Versioned routes and a frozen error contract are both on the roadmap below.