Skip to main content

JSON Envelope

Success

{
"success": true,
"data": {},
"metadata": {
"request_id": "uuid",
"timestamp": "2026-05-26T00:00:00Z",
"api_version": "v1.0",
"duration_ms": 123
}
}

Error

{
"success": false,
"error": {
"code": "AUTH_FAILED",
"message": "Authentication failed: ..."
},
"metadata": {
"request_id": "uuid",
"timestamp": "2026-05-26T00:00:00Z",
"api_version": "v1.0"
}
}