Return usage records for a specific team
Return usage records for a specific team
Path Parameters
Query Parameters
The maximum number of results to return. The service may return fewer than this value. If unspecified, the service will choose a sensible default. The maximum allowed value is 100.
The number of entries in the result set to skip.
The start date of the range of records.
The end date of the range of records.
- 200
- default
OK
Schema
- Array [
- ]
usageRecords object[]
The date for which this UsageRecord applies.
The model for which this UsageRecord applies.
Number of Queries.
Input token count.
Output token count.
{
"usageRecords": [
{
"date": "2024-03-07T22:56:08.445Z",
"model": "string",
"queryCount": 0,
"inputTokenCount": 0,
"outputTokenCount": 0
}
]
}
Default error response
Schema
- Array [
- ]
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}