curl --request GET \
--url 'http://localhost:8000/api/docs/errors' \
--header "Authorization: Bearer $STATESET_AGENTS_API_KEY"
{
"error_codes": {}
}
Error Codes Reference
Get a reference of all possible error codes.
GET
/
api
/
docs
/
errors
curl --request GET \
--url 'http://localhost:8000/api/docs/errors' \
--header "Authorization: Bearer $STATESET_AGENTS_API_KEY"
{
"error_codes": {}
}
Get a reference of all possible error codes.
Response
object
object
required
Keyed by code —
BAD_REQUEST, UNAUTHORIZED, FORBIDDEN, NOT_FOUND, …Status codes
| Code | Meaning |
|---|---|
200 | Successful response |
401 | Authentication required |
422 | Validation error |
429 | Rate limit exceeded |
curl --request GET \
--url 'http://localhost:8000/api/docs/errors' \
--header "Authorization: Bearer $STATESET_AGENTS_API_KEY"
{
"error_codes": {}
}
Last modified on August 31, 2026