Preview - Time-bucketed metric series per launcher

Preview: This endpoint is currently in a preview state and is subject to breaking changes without warning.

Preview endpoint. This endpoint is in preview: its request and response shapes may change without a version increment. A v2 of this API is planned to supersede it, targeting 2026-11.

Returns the chosen metric bucketed into bin-sized intervals across the time range, as one series per launcher (aggregated across all tools). Bin alignment and bin=all behave as on /v1/tools/stats.
IMPORTANT for device_count (a distinct count): per-bin distinct counts neither sum across bins to the range total nor roll up across bin sizes.

Required Permissions: ai-visibility:read

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
date-time

Absolute inclusive UTC start timestamp (RFC3339). Must be paired with end; cannot be combined with range.

date-time

Absolute exclusive UTC end timestamp (RFC3339). Must be paired with start; cannot be combined with range.

string
^\s*(?:\d+w)?\s*(?:\d+d)?\s*(?:\d+h)?\s*$

Relative look-back duration composed of optional weeks (w), days (d), and hours (h) segments, in that order (e.g. 24h, 7d, 1w, 1w2d3h). Resolved server-side to [now-range, now). Mutually exclusive with start/end. Defaults to 24h when no time parameters are supplied.

string
Defaults to UTC

IANA timezone name (e.g. America/New_York, Europe/Paris) used to express the resolved range. For the stats endpoints it aligns day and week bin boundaries to that timezone's local midnight / start-of-week before the window is normalized to UTC for querying. Has no effect on endpoints that do not bucket by time. Defaults to UTC when omitted.

string
enum
required

Time-bucket granularity. Cannot be finer than hour (the storage grain). Use all to collapse the whole range into a single bin. The server rejects range/bin combinations that produce too many bins with 400 invalid_window_bin_combination.

Allowed:
string
enum
Defaults to device_count

Single metric to chart. Defaults to device_count.

Allowed:
boolean
Defaults to false

When true, emit a point for every bin in the range (missing bins filled with 0) so series are dense for charting. When false (default), only bins that have data are returned.

Headers
uuid
required
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

The environment UUID identifier.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json