Skip to main content
The Agnes API returns errors with a consistent JSON envelope so client applications and SDKs can parse them programmatically. This page is the overview; every canonical code has a dedicated page under errors that you can link to from your own operational runbooks. If you are using one of the official SDKs (agnes-security or @lasscyber/agnes-security), all of this is parsed for you and surfaced as typed exceptions; this page is the underlying wire contract.

The envelope

Standard headers on error responses

Validation errors (422)

When a request body fails Pydantic validation, the API returns HTTP 422 with detail as an array of items, matching FastAPI’s standard:
Both SDKs expose these as ValidationError with a field_errors map (Python) or fieldErrors (TypeScript) that walks the array for you.

Canonical error codes

All codes are stable across minor releases. Adding a new code is a non-breaking change; renaming or removing a code is a breaking change and ships with a coordinated SDK release.

Retry guidance

Service status

For real-time API health and incident history, see status.lasscyber.com. Subscribe via email or Slack to receive notifications when an incident opens or resolves. If you are experiencing widespread issues that are not yet reflected on the status page, file a support ticket from agnes.lasscyber.com/support and include a recent request_id.