API reference
Usage & metrics
Daily usage, current quotas and circuit-breaker state with GET /v0/usage, and metrics endpoints for events, usage and rates.
docs.simail.ai/api/usage
/v0/usagePermission usage_read. Query from and to (dates, YYYY-MM-DD, UTC; default the last 7 days).
{ "organization_id": "org_01JZX3S5V7W9X1Y3Z5A7B9C1D3", "days": [ { "date": "2026-10-18", "received": 41, "sent_messages": 12, "sent_recipients": 14, "bounced": 0, "complained": 0, "storage_bytes": 18734120, "api_calls": 2210 } ], "quotas": { "inbox_limit": 10, "daily_recipients": 100, "daily_recipients_used": 14, "api_calls_daily": 20000, "api_calls_daily_used": 2210 }, "breaker": { "state": "ok", "reason": null, "bounce_rate_7d": 0.0, "complaint_rate_7d": 0.0 }}days has one entry per UTC date from from to to (zero-filled, at most 366 days); a bad date, from
after to or a longer window is 400 validation_error. The counts follow the key’s scope: a pod or inbox
key counts only its own inboxes. api_calls, daily_recipients_used and api_calls_daily_used are
organization-wide counters, so they are null for a pod or inbox key. storage_bytes is 0 until the
platform records storage per day.
quotas shows your organization’s plan. The example is a beta organization: 10 inboxes, 100 recipients and
20,000 API calls per day. The numbers differ by plan.
bounce_rate_7d and complaint_rate_7d are the last seven UTC days (today included) in the key’s scope,
bounced or complained over sent messages (0 when nothing was sent).
breaker.state is ok or tripped. When it is tripped, reason says why (for example
message.bounced) and sending stays paused until a human resumes it. See
circuit breakers. Counts never include message content.
MCP: get_usage returns the same object, including the breaker reason; it takes the optional from and to.
Metrics
Section titled “Metrics”/v0/metrics/events/v0/metrics/usage/v0/metrics/ratesPermission usage_read. Time series for charts and alerts: event counts by type, usage counters by
day, and send, bounce and complaint rates. Each takes from and to (dates, inclusive; with neither, the whole history) and types, a comma
list of series names: message.received, message.sent, message.bounced, message.complained,
message.rejected for events; storage_bytes, message_count for usage; bounce, complaint for rates.
An unknown name or a bad window is 400 validation_error.
The parameter names common in other agent-mailbox APIs work too: start and end (ISO time, taken as UTC dates, inclusive), event_types / usage_types / rate_types (a JSON array or a comma list, for the matching endpoint), period (only one day, 1d), limit (points per series) and descending. Sending both spellings with different values is 400 validation_error.
Inbox and pod variants (/v0/inboxes/{inbox_id}/metrics/…, /v0/pods/{pod_id}/metrics/…) narrow
the series.