Documentation Index
Fetch the complete documentation index at: https://docs.getmaito.com/llms.txt
Use this file to discover all available pages before exploring further.
Responses And Errors
REST responses use a small JSON envelope.Success Envelope
Error Envelope
details is optional and usually contains validation issues or structured
domain context.
Common Status Codes
| Status | Meaning |
|---|---|
400 | Bad request shape or unreadable request body. |
401 | Missing, invalid, or expired authentication. |
402 | Billing or entitlement restriction. |
403 | Authenticated user cannot access the requested resource or capability. |
404 | Resource was not found. |
409 | Request conflicts with current state. |
422 | Request was valid JSON but failed validation or domain rules. |
500 | Server error or server misconfiguration. |
SDK Error Behavior
The TypeScript SDK parses the response envelope. Forok: false, it throws an
Error with the code and message combined: