Analytics

Edge traffic for the workspace or one application, with its busiest domains

Requests the CustomDomain™ edge served for the tenant's domains, by status class, and the bytes it relayed to visitors, as a series (one point per hour for 24h and 7d, per UTC day for 30d and 90d, every bucket present) with totals and the busiest domains. Only traffic that passes through the edge is counted: a domain whose records point at the integrator's own servers (connected for DNS only) never appears. Counts arrive from the edge once a minute. Hourly figures are kept 14 days, daily figures 400 days. API key; any member role; app_id narrows to one application of the key's tenant (another tenant's application is a 404).

get/traffic

Request

  • Base URL: https://api.customdomain.ai/v1
  • URL: https://api.customdomain.ai/v1/traffic
  • Auth: HTTP bearer

Query parameters

range'24h' | '7d' | '30d' | '90d'
app_idstring
limitinteger

How many of the busiest domains to return.

Response

Traffic summary

application_idstring required

The application the summary is narrowed to; empty for the whole workspace.

range'24h' | '7d' | '30d' | '90d' required
granularity'hour' | 'day' required
fromstring date-time required
tostring date-time required

Changes

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