Error Response Format
All error responses follow this structure:Typical Error Categories
| Category | Example Message | Notes |
|---|---|---|
| Authentication | "Invalid or expired session" | Token missing, invalid, or expired |
| Authorization | "You are not authorized to stop this session" | Authenticated but not allowed for the resource |
| Validation | "Validation failed" | Request body/query/path input is invalid |
| Not Found | "Agent not found" | Resource does not exist or is not visible |
| Conflict / Business Rules | "Wallet already exists" | Request conflicts with current state |
| Server | "Internal server error" | Unexpected backend error |