openai_billing_usage
Get normalized OpenAI organization usage for completions, embeddings, images, audio, vector stores, or code interpreter sessions.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "openai_billing_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | completions | |
| limit | No | ||
| account | No | ||
| end_time | No | ||
| group_by | No | ||
| days_back | No | ||
| start_time | No | ||
| bucket_width | No | 1d |