Skip to main content
The path-timeseries endpoint returns a breakdown of how many events each API path received per day over the requested date range. Each path in the response carries its own array of { date, count } entries, making it straightforward to render a multi-line traffic chart in the dashboard — one line per path. Only days that have at least one event are included; there is no zero-fill for quiet days.

Request

string
required
JWT identifying the authenticated user. Validated by the agent_user_auth_required decorator.
string
required
UUID of the agent whose path timeseries data you want.
string
required
UUID of the project the agent belongs to.

Query parameters

string
required
Start of the date range, inclusive. Must be in YYYY-MM-DD format.
string
required
End of the date range, inclusive. Must be in YYYY-MM-DD format and must not be before start_date.

Response

number
required
1 on success.
string
required
The agent UUID from the request headers.
string
required
The project UUID from the request headers.
object[]
required
Paths are ordered alphabetically. Dates within each path are ordered ascending. Days with zero events for a path are omitted entirely — do not assume a missing date means zero traffic.

Errors