Embeddings usage object
The aggregated embeddings usage details of the specific time bucket.
When group_by=project_id
, this field provides the project ID of the grouped usage result.
When group_by=user_id
, this field provides the user ID of the grouped usage result.
When group_by=api_key_id
, this field provides the API key ID of the grouped usage result.
OBJECT Embeddings usage object
1
2
3
4
5
6
7
8
9
{
"object": "organization.usage.embeddings.result",
"input_tokens": 20,
"num_model_requests": 2,
"project_id": "proj_abc",
"user_id": "user-abc",
"api_key_id": "key_abc",
"model": "text-embedding-ada-002-v2"
}