Get org-wide usage summary
Changed onReturns aggregated email sending statistics for your entire organization. For per-tenant breakdown, use GET /usage/tenants.
Use cases:
- Platform dashboards showing org-wide metrics
- Quick health check on overall sending
- Monitoring total volume and delivery rates
Response includes:
- emails - Aggregated email counts across all tenants
- rates - Overall delivery and bounce rates
- tenants - Tenant count summary (total, active, with activity)
Related endpoints:
- GET /usage/tenants - Paginated usage per tenant
- GET /usage/export - Export usage data for billing
- GET /tenants/{tenantId}/usage - Single tenant usage details
- GET /limits - Rate limits and send limits
Request
- Base URLhttps://api.arkhq.io/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Time period for usage data.
Shortcuts: today, yesterday, this_week, last_week, this_month, last_month, last_7_days, last_30_days, last_90_days
Month format: 2024-01 (YYYY-MM)
Custom range: 2024-01-01..2024-01-15
Timezone for period calculations (IANA format)
Response
Org-wide usage summary
Example response
{
"data": {
"period": {
"start": "2024-01-01T00:00:00.000Z",
"end": "2024-01-31T23:59:59.999Z"
},
"emails": {
"sent": 10000,
"delivered": 9700,
"soft_failed": 100,
"hard_failed": 50,
"bounced": 100,
"held": 50
},
"rates": {
"delivery_rate": 0.97,
"bounce_rate": 0.015
},
"tenants": {
"total": 25,
"active": 20,
"withActivity": 18
}
},
"meta": {
"requestId": "req_V1StGXR8_Z5jdHi6"
}
}Changes
- breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - warning
added the new
infrastructure_errorenum value to the/response property for the response status - warning
added the new
infrastructure_errorenum value to the/response property for the response status - warning
added the new
infrastructure_errorenum value to the/response property for the response status - info
api operation id
usage_retrieve_limitsremoved and replaced withusage_retrieve - info
endpoint reactivated
- info
added the new optional
queryrequest parameterperiod - info
added the new optional
queryrequest parametertimezone - info
added the non-success response with the status
- info
removed the
postal_errorenum value from the/response property for the response status - info
removed the
postal_errorenum value from the/response property for the response status - info
removed the
postal_errorenum value from the/response property for the response status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- breaking
- warning
added the new
already_existsenum value to the/response property for the response status - warning
added the new
already_existsenum value to the/response property for the response status - warning
added the new
already_existsenum value to the/response property for the response status - warning
added the new
attachment_too_largeenum value to the/response property for the response status - warning
added the new
attachment_too_largeenum value to the/response property for the response status - warning
added the new
attachment_too_largeenum value to the/response property for the response status - warning
added the new
authentication_requiredenum value to the/response property for the response status - warning
added the new
authentication_requiredenum value to the/response property for the response status - warning
added the new
authentication_requiredenum value to the/response property for the response status - warning
added the new
billing_errorenum value to the/response property for the response status - warning
added the new
billing_errorenum value to the/response property for the response status - warning
added the new
billing_errorenum value to the/response property for the response status - warning
added the new
billing_not_configuredenum value to the/response property for the response status - warning
added the new
billing_not_configuredenum value to the/response property for the response status - warning
added the new
billing_not_configuredenum value to the/response property for the response status - warning
added the new
credential_not_foundenum value to the/response property for the response status - warning
added the new
credential_not_foundenum value to the/response property for the response status - warning
added the new
credential_not_foundenum value to the/response property for the response status - warning
added the new
credential_on_holdenum value to the/response property for the response status - warning
added the new
credential_on_holdenum value to the/response property for the response status - warning
added the new
credential_on_holdenum value to the/response property for the response status - warning
added the new
credential_revokedenum value to the/response property for the response status - warning
added the new
credential_revokedenum value to the/response property for the response status - warning
added the new
credential_revokedenum value to the/response property for the response status - warning
added the new
delivery_not_foundenum value to the/response property for the response status - warning
added the new
delivery_not_foundenum value to the/response property for the response status - warning
added the new
delivery_not_foundenum value to the/response property for the response status - warning
added the new
domain_already_existsenum value to the/response property for the response status - warning
added the new
domain_already_existsenum value to the/response property for the response status - warning
added the new
domain_already_existsenum value to the/response property for the response status - warning
added the new
domain_not_foundenum value to the/response property for the response status - warning
added the new
domain_not_foundenum value to the/response property for the response status - warning
added the new
domain_not_foundenum value to the/response property for the response status - warning
added the new
domain_not_verifiedenum value to the/response property for the response status - warning
added the new
domain_not_verifiedenum value to the/response property for the response status - warning
added the new
domain_not_verifiedenum value to the/response property for the response status - warning
added the new
email_not_foundenum value to the/response property for the response status - warning
added the new
email_not_foundenum value to the/response property for the response status - warning
added the new
email_not_foundenum value to the/response property for the response status - warning
added the new
external_id_already_existsenum value to the/response property for the response status - warning
added the new
external_id_already_existsenum value to the/response property for the response status - warning
added the new
external_id_already_existsenum value to the/response property for the response status - warning
added the new
forbiddenenum value to the/response property for the response status - warning
added the new
forbiddenenum value to the/response property for the response status - warning
added the new
forbiddenenum value to the/response property for the response status - warning
added the new
idempotency_conflictenum value to the/response property for the response status - warning
added the new
idempotency_conflictenum value to the/response property for the response status - warning
added the new
idempotency_conflictenum value to the/response property for the response status - warning
added the new
insufficient_balanceenum value to the/response property for the response status - warning
added the new
insufficient_balanceenum value to the/response property for the response status - warning
added the new
insufficient_balanceenum value to the/response property for the response status - warning
added the new
internal_errorenum value to the/response property for the response status - warning
added the new
internal_errorenum value to the/response property for the response status - warning
added the new
internal_errorenum value to the/response property for the response status - warning
added the new
invalid_api_keyenum value to the/response property for the response status - warning
added the new
invalid_api_keyenum value to the/response property for the response status - warning
added the new
invalid_api_keyenum value to the/response property for the response status - warning
added the new
invalid_email_addressenum value to the/response property for the response status - warning
added the new
invalid_email_addressenum value to the/response property for the response status - warning
added the new
invalid_email_addressenum value to the/response property for the response status - warning
added the new
invalid_raw_messageenum value to the/response property for the response status - warning
added the new
invalid_raw_messageenum value to the/response property for the response status - warning
added the new
invalid_raw_messageenum value to the/response property for the response status - warning
added the new
invalid_requestenum value to the/response property for the response status - warning
added the new
invalid_requestenum value to the/response property for the response status - warning
added the new
invalid_requestenum value to the/response property for the response status - warning
added the new
ip_not_allowedenum value to the/response property for the response status - warning
added the new
ip_not_allowedenum value to the/response property for the response status - warning
added the new
ip_not_allowedenum value to the/response property for the response status - warning
added the new
message_too_largeenum value to the/response property for the response status - warning
added the new
message_too_largeenum value to the/response property for the response status - warning
added the new
message_too_largeenum value to the/response property for the response status - warning
added the new
metadata_key_invalidenum value to the/response property for the response status - warning
added the new
metadata_key_invalidenum value to the/response property for the response status - warning
added the new
metadata_key_invalidenum value to the/response property for the response status - warning
added the new
metadata_too_largeenum value to the/response property for the response status - warning
added the new
metadata_too_largeenum value to the/response property for the response status - warning
added the new
metadata_too_largeenum value to the/response property for the response status - warning
added the new
metadata_value_invalidenum value to the/response property for the response status - warning
added the new
metadata_value_invalidenum value to the/response property for the response status - warning
added the new
metadata_value_invalidenum value to the/response property for the response status - warning
added the new
missing_fieldenum value to the/response property for the response status - warning
added the new
missing_fieldenum value to the/response property for the response status - warning
added the new
missing_fieldenum value to the/response property for the response status - warning
added the new
missing_scopeenum value to the/response property for the response status - warning
added the new
missing_scopeenum value to the/response property for the response status - warning
added the new
missing_scopeenum value to the/response property for the response status - warning
added the new
not_foundenum value to the/response property for the response status - warning
added the new
not_foundenum value to the/response property for the response status - warning
added the new
not_foundenum value to the/response property for the response status - warning
added the new
payload_too_largeenum value to the/response property for the response status - warning
added the new
payload_too_largeenum value to the/response property for the response status - warning
added the new
payload_too_largeenum value to the/response property for the response status - warning
added the new
payment_requiredenum value to the/response property for the response status - warning
added the new
payment_requiredenum value to the/response property for the response status - warning
added the new
payment_requiredenum value to the/response property for the response status - warning
added the new
postal_errorenum value to the/response property for the response status - warning
added the new
postal_errorenum value to the/response property for the response status - warning
added the new
postal_errorenum value to the/response property for the response status - warning
added the new
rate_limit_exceededenum value to the/response property for the response status - warning
added the new
rate_limit_exceededenum value to the/response property for the response status - warning
added the new
rate_limit_exceededenum value to the/response property for the response status - warning
added the new
send_limit_exceededenum value to the/response property for the response status - warning
added the new
send_limit_exceededenum value to the/response property for the response status - warning
added the new
send_limit_exceededenum value to the/response property for the response status - warning
added the new
server_suspendedenum value to the/response property for the response status - warning
added the new
server_suspendedenum value to the/response property for the response status - warning
added the new
server_suspendedenum value to the/response property for the response status - warning
added the new
service_unavailableenum value to the/response property for the response status - warning
added the new
service_unavailableenum value to the/response property for the response status - warning
added the new
service_unavailableenum value to the/response property for the response status - warning
added the new
suppressed_recipientenum value to the/response property for the response status - warning
added the new
suppressed_recipientenum value to the/response property for the response status - warning
added the new
suppressed_recipientenum value to the/response property for the response status - warning
added the new
suppression_not_foundenum value to the/response property for the response status - warning
added the new
suppression_not_foundenum value to the/response property for the response status - warning
added the new
suppression_not_foundenum value to the/response property for the response status - warning
added the new
tenant_not_foundenum value to the/response property for the response status - warning
added the new
tenant_not_foundenum value to the/response property for the response status - warning
added the new
tenant_not_foundenum value to the/response property for the response status - warning
added the new
too_many_attachmentsenum value to the/response property for the response status - warning
added the new
too_many_attachmentsenum value to the/response property for the response status - warning
added the new
too_many_attachmentsenum value to the/response property for the response status - warning
added the new
too_many_recipientsenum value to the/response property for the response status - warning
added the new
too_many_recipientsenum value to the/response property for the response status - warning
added the new
too_many_recipientsenum value to the/response property for the response status - warning
added the new
unauthenticated_from_addressenum value to the/response property for the response status - warning
added the new
unauthenticated_from_addressenum value to the/response property for the response status - warning
added the new
unauthenticated_from_addressenum value to the/response property for the response status - warning
added the new
unprocessable_entityenum value to the/response property for the response status - warning
added the new
unprocessable_entityenum value to the/response property for the response status - warning
added the new
unprocessable_entityenum value to the/response property for the response status - warning
added the new
validation_errorenum value to the/response property for the response status - warning
added the new
validation_errorenum value to the/response property for the response status - warning
added the new
validation_errorenum value to the/response property for the response status - warning
added the new
webhook_not_foundenum value to the/response property for the response status - warning
added the new
webhook_not_foundenum value to the/response property for the response status - warning
added the new
webhook_not_foundenum value to the/response property for the response status
- warning