Skip to main content

ErrorEnvelope

okbooleanrequired
Example: false
request_idstringrequired
Example: req_01HXYZABC123
error objectrequired
codestringrequired
Example: unauthorized
messagestringrequired
Example: Missing or invalid x-api-key header.
details object
property name*any
ErrorEnvelope
{
"ok": false,
"request_id": "req_01HXYZABC123",
"error": {
"code": "unauthorized",
"message": "Missing or invalid x-api-key header.",
"details": {}
}
}