Metrics

Current inbox_count, message_count, thread_count, and storage_bytes for this account. storage_bytes is the UTF-8 length of text plus html plus attachment size_bytes, and is not the message body. inbox_id, or an inbox-scoped key, omits domain_count and workspace_count. Otherwise those counts are for this account only. A sub-account does not see the parent. Another account's inbox is 404 inbox_not_found.

get/api/v1/metrics/usage

Request

  • Base URL: https://cooperemail.com
  • URL: https://cooperemail.com/api/v1/metrics/usage
  • Auth: HTTP bearer

Query parameters

inbox_idstring

Inbox id, username, or email on this account.

Response

Usage counts

inbox_countinteger required
message_countinteger required
thread_countinteger required
storage_bytesinteger required

UTF-8 bytes of text plus html, plus attachment size_bytes. Not the message body.

domain_countinteger

Omitted when the query or key is limited to one inbox.

workspace_countinteger

Omitted when the query or key is limited to one inbox.

Changes

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