Skip to main content
Every Agntix endpoint returns a consistent error envelope:
requestId lets support trace a specific call — include it in any bug report.

HTTP status codes

Application error codes

These appear in error.code and are stable — safe to switch on in client code.

Sessions

Models & tools

Auth & permissions

Generic

Handling errors well

Always log requestId along with the error. It’s the single most useful field for debugging.

When to retry