The API uses standard HTTP status codes. Most error responses are JSON with a success: false flag and a message field.
The request was syntactically wrong or violated a validation rule.
Authentication or authorization failed.
The body for these errors matches the InvalidAPIKey schema.
The resource doesn’t exist, or it isn’t visible under the current account/org.
Returned by DELETE /v1/org/{orgSlug}/document/remove-files when some — but not all — documents could be removed. The body lists purged (succeeded) and failed (with per-file error reasons). Retry only the failed entries.
Something went wrong on our side. The response usually contains a generic message. If you can reproduce it, contact [email protected] with:
X-Account-IdWhen a request fails, work through this list before opening a ticket:
GET /v1/auth returns 200.GET /v1/orgs with X-Account-Id returns the org you’re targeting.