EndpointService
Get endpoint analytics
Returns aggregated request, token, latency, throughput, error, and resource-utilization metrics for an endpoint over a time range. Optionally includes time-series buckets and a per-deployment breakdown.
get/projects/{projectId}/endpoints/{id}/analytics
Path parameters
projectIdstring required
Project identifier.
idstring required
Endpoint identifier.
Query parameters
deploymentIdstring
Restrict to a single deployment under this endpoint.
startTimestring date-time
Inclusive start of the time range. Defaults to 24 hours ago if unset.
endTimestring date-time
Exclusive end of the time range. Defaults to now if unset.
includeTimeSeriesboolean
When true, include per-bucket time series in the response.
granularitystring
Time-series bucket duration, such as 1m, 1h, or 1d. Defaults to 1d.
Response
OK