EndpointService
Get endpoint analytics
Changed onReturns 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/v2/projects/{projectId}/endpoints/{id}/analytics
Request
- Base URLhttps://api.together.ai
- URLhttps://api.together.ai/v2/projects/{projectId}/endpoints/{id}/analytics
- AuthHTTP bearer
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
Changes
- info
endpoint added
- info