Install
Authenticate
Create an API key in the Portal under Settings → API Keys, then:Quick usage
Base URL
- Production:
https://api.trymaitai.ai/api/v1 - Override with
MAITAI_BASE_URLormaitai login --base-url
Response format
- Success:
{"data": {...}} - Paginated:
{"data": [...], "pagination": {"total": N, "offset": 0, "limit": 25}} - Error:
{"error": {"status": 401, "message": "..."}}