analytics

One app's traffic over a window: totals and the period before, deltas, a series, breakdowns, what the figures cover, what they mean, and a summary in sentences

get/instances/{instance_id}/apps/{name}/analytics

Request

  • Base URL: https://app.lathe.live/api/v1
  • URL: https://app.lathe.live/api/v1/instances/{instance_id}/apps/{name}/analytics
  • Auth: none declared

Path parameters

instance_idstring required
namestring required

Query parameters

rangestring

1h, 24h, 72h, 7d, 30d, 90d or 365d; 24h when neither this nor from is given. Limited to what the plan keeps.

fromstring

Start of a window in UTC, such as 2026-09-30 or 2026-09-30T14:00:00Z, instead of range.

tostring

End of that window in UTC; now when omitted.

compareboolean

Also answer the period of the same length just before, and the deltas.

pathstring

Only requests stored under this path, exactly.

referrerstring

Only requests referred by this host, exactly; (direct) for none.

statusstring

Only this status code (404) or class (5xx).

host_kindstring

Only requests to the app's subdomain, a custom domain, or the box's own name: subdomain, custom or box.

breakdownstring[]

paths, referrers, countries, devices, browsers, os, statuses, host_kinds; repeat or separate with commas. With a filter, only that filter's dimension.

limitinteger

Rows per breakdown, 1 to 200.

cursorstring

A breakdown's next_cursor, for its next page.

Response

Successful Response

unknown required

Changes

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