Servers

Typed analytics query (measures x dimensions x filters x granularity), served from the narrowest insert-time rollup. Sessions, actors and percentiles are approximate (meta.approximate). meta.sql is the equivalent SQL. Requires server:read.

post/api/v1/servers/{id}/analytics/metrics

Request

  • Base URL: https://cloud.manufact.com
  • URL: https://cloud.manufact.com/api/v1/servers/{id}/analytics/metrics
  • Auth: none declared

Path parameters

idstring uuid required

Request body

measuresstring[] required
dimensionsstring[]
granularity'minute' | 'hour' | 'day' | 'week' | 'month' | 'auto'

Bucket size; omit for totals. auto: the finest of hour/day/week/month with at most 240 buckets. Past 1500 buckets (or minute over 6h) the next coarser size is served (meta.granularity). Weeks start on Monday.

segmentsstring[]
includeInternalboolean

Include Manufact's own clients (default false; forced by an eq/in client_name filter).

sessionToolsstring[]

Sessions using these tools

branchstring

Preview branch; omit for all environments.

compare'previous_period'
limitinteger
zeroFillboolean
accuracy'auto' | 'exact'

exact: raw events, within the raw budget

Response

OK

truncatedboolean required

Changes

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