gateway.openapi_Gateway

Serverless pool token throughput (tokens per minute) by time bucket and base model, from production usage metrics.

Changed on
get/v1/accounts/{account_id}/serverlessTokenUsage

Request

Path parameters

account_idstring required

The Account Id

Query parameters

startstring date-time

Start of the time range. Defaults to 30 days before end.

endstring date-time

End of the time range. Defaults to the request time.

intervalstring

Step size for each point (peak or average TPM within each window). Defaults to 4 hours.

includePeakTokensPerMinuteByBaseModelboolean

Whether to include each section in the response. At least one must be true; otherwise the request fails with INVALID_ARGUMENT.

includeAverageTokensPerMinuteByBaseModelboolean

Response

A successful response.

Changes