VALIDATION\_INVALID\_BODY | The request body failed schema validation. Check the details field for specific field errors. |
VALIDATION\_INVALID\_JSON | The request body is not valid JSON. |
CHAT\_RETRY\_NO\_USER\_MESSAGE | The retry target message has no preceding user message to re-send. |
AUTH\_MISSING\_API\_KEY | No Authorization header was provided. |
AUTH\_INVALID\_API\_KEY | The API key is not valid. |
AUTH\_EXPIRED\_API\_KEY | The API key has expired. Generate a new one from the dashboard. |
CHAT\_CREDITS\_EXHAUSTED | The workspace's message credit balance is zero. Upgrade the plan or wait for credits to reset. |
CHAT\_AGENT\_CREDITS\_EXHAUSTED | The specific agent's credit allocation has been used up. |
SUBSCRIPTION\_API\_RESTRICTED\_PLAN | Your current plan does not include API access. A Standard Plan or above is required. |
AUTH\_INSUFFICIENT\_PERMISSIONS | The API key does not have the required permissions for this operation. |
CHAT\_MODEL\_NOT\_ALLOWED | The agent is configured to use a model that is not available on the current plan. |
CHAT\_CONVERSATION\_MISMATCH | The conversation does not belong to the specified agent. |
CHAT\_CONVERSATION\_NOT\_ONGOING | The conversation has ended or been taken over and cannot receive new messages. |
RESOURCE\_NOT\_FOUND | The requested resource does not exist. |
RESOURCE\_TOOL\_CALL\_NOT\_FOUND | No pending client action matches the provided toolCallId. It may have expired or already been resolved. |
RESOURCE\_MESSAGE\_NOT\_FOUND | The specified message was not found in the conversation. |
RESOURCE\_MESSAGE\_NOT\_ASSISTANT | Only assistant messages support feedback and metadata updates. |
CHAT\_RETRY\_MESSAGE\_NOT\_FOUND | The message ID provided for retry was not found in the conversation. |
RATE\_LIMIT\_TOO\_MANY\_REQUESTS | Rate limit exceeded. Check the Retry-After header for how long to wait. See Authentication for details. |
INTERNAL\_SERVER\_ERROR | An unexpected error occurred. If this persists, contact support with the x-request-id header value. |
CHAT\_STREAMING\_ERROR | An error occurred during stream generation. The stream may have been partially delivered. |
SOURCE\_NOT\_FOUND | Source doesn't exist, belongs to a different agent, or has been permanently deleted. |
SOURCE\_TYPE\_NOT\_SUPPORTED | Attempting to update a notionPage via PUT. Manage Notion sources through the dashboard integration. |
SOURCE\_PENDING\_DELETION | Source has toBeDeleted status. Restore it before making edits. |
SOURCE\_NOT\_RESTORABLE | Restore was called on a source that is not in toBeDeleted state. |
SOURCE\_LINK\_LIMIT\_EXCEEDED | The 15 crawl/sitemap-parent limit per agent has been reached on create or restore. |
SOURCE\_SIZE\_LIMIT\_EXCEEDED | Creating or updating this source would exceed the plan's storage limit. |
SOURCE\_DUPLICATE | A link source with this URL and linkType already exists for this agent. |
SOURCE\_URL\_IMMUTABLE | A link's URL cannot be changed via PUT. Delete and recreate the source to use a different URL. |