Skip to main content

Errors and limits

Errors return {"message", "code", "request_id"}:

Statuscode
400invalid_request
401unauthenticated, session_ended (the explore iframe's session is over)
402ai_credits_exhausted
403forbidden, embedding_not_enabled, embedding_permission_missing, browser_request
404not_found
409busy, limit_reached, not_an_api_user, agent_limit_reached
429rate_limited
503unavailable (the explore iframe couldn't check its session; it retries on its own)
500internal (email support@mitzu.io with the request_id)

Each API key can make 30 calls per second, and each server IP 100 calls a second and 6,000 Embed API calls a minute. Questions are limited to 200 per key per day and 20 per user per hour.