Analytics

List top models across an organization

Returns the top models used across every project in the authenticated organization. This endpoint requires an org-level private API key supplied as a bearer token in the Authorization header.

get/v1/analytics/org/models/top

Request

Query parameters

startDatestring date-time

ISO8601 timestamp (inclusive) that bounds the analytics window. Requires endDate and timeZone when provided.

endDatestring date-time

ISO8601 timestamp (exclusive) that bounds the analytics window. Requires startDate and timeZone when provided.

timeZonestring

IANA time zone identifier used to localize the date range filters.

Response

Top models across the organization.

namestring

Model name.

type'llm' | 'embed'
promptTokensinteger
completionTokensinteger
totalTokensinteger
costnumber
projectNamestring nullable

Project contributing the most traffic for the model.

Changes

No recorded changes to this operation across all 1 revision of this API.