Request
string
required
JWT identifying the authenticated user.
string
required
UUID of the agent to retrieve latency data for.
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
Daily latency percentile entries, ordered by date ascending.
Percentiles are computed using PostgreSQL’s
PERCENTILE_CONT function, which performs exact linear interpolation between adjacent values. Only dates that have at least one event are included — there is no zero-fill for days without traffic.