Audio speeches
$ openai admin:organization:usage audio-speeches
GET/organization/usage/audio_speeches
Get audio speeches usage details for the organization.
Parameters
--bucket-width: optional "1m" or "1h" or "1d"
Width of each time bucket in response. Currently 1m, 1h and 1d are supported, default to 1d.
--group-by: optional array of "project_id" or "user_id" or "api_key_id" or "model"
Group the usage data by the specified fields. Support fields include project_id, user_id, api_key_id, model or any combination of them.
--limit: optional number
Specifies the number of buckets to return.
bucket_width=1d: default: 7, max: 31bucket_width=1h: default: 24, max: 168bucket_width=1m: default: 60, max: 1440
Audio speeches
openai admin:organization:usage audio-speeches \
--admin-api-key 'My Admin API Key' \
--start-time 0{
"object": "page",
"data": [
{
"object": "bucket",
"start_time": 1730419200,
"end_time": 1730505600,
"results": [
{
"object": "organization.usage.audio_speeches.result",
"characters": 45,
"num_model_requests": 1,
"project_id": null,
"user_id": null,
"api_key_id": null,
"model": null
}
]
}
],
"has_more": false,
"next_page": null
}
Returns Examples
{
"object": "page",
"data": [
{
"object": "bucket",
"start_time": 1730419200,
"end_time": 1730505600,
"results": [
{
"object": "organization.usage.audio_speeches.result",
"characters": 45,
"num_model_requests": 1,
"project_id": null,
"user_id": null,
"api_key_id": null,
"model": null
}
]
}
],
"has_more": false,
"next_page": null
}