Embeddings usage object

The aggregated embeddings usage details of the specific time bucket.source

The aggregated number of input tokens used.source

The count of requests made to the model.source

When group_by=project_id, this field provides the project ID of the grouped usage result.source

When group_by=user_id, this field provides the user ID of the grouped usage result.source

When group_by=api_key_id, this field provides the API key ID of the grouped usage result.source

When group_by=model, this field provides the model name of the grouped usage result.source

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"
}