Metrics

Query metrics

Returns counts (sent, received, bounced) and resource totals (inboxes, domains) for a time window. Workspace master keys are locked to their own workspace; tenant master keys can scope with query params.

get/v1/metrics

Request

  • Base URL: https://anjal.app
  • URL: https://anjal.app/v1/metrics
  • Auth: API key in header X-API-Key

Query parameters

fromstring date-time

ISO-8601 or epoch seconds/ms. Defaults to 30 days ago.

tostring date-time

ISO-8601 or epoch seconds/ms. Defaults to now.

workspacestring uuid
inboxstring uuid

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.