EndpointService

Get endpoint analytics

Changed on

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/v2/projects/{projectId}/endpoints/{id}/analytics

Request

  • Base URL
    https://api.together.ai
  • URL
    https://api.together.ai/v2/projects/{projectId}/endpoints/{id}/analytics
  • Auth
    HTTP 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

endpointIdstring

ID of the endpoint summarized by these analytics.

Changes