get_billing_usage
Retrieve organization billing usage (trace counts) for a date range, with optional workspace and current-plan filtering.
Instructions
Fetch organization billing usage (trace counts) with workspace names inline.
Args: starting_on (str): Start of date range (ISO 8601) ending_before (str): End of date range (ISO 8601) workspace (str, optional): Optional workspace UUID or display name to filter on_current_plan (str): "true" to include only usage on current plan (default: "true")
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"starting_on": "<starting_on>",
"ending_before": "<ending_before>"
},
"name": "get_billing_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | Optional workspace UUID or display name to filter | |
| starting_on | Yes | Start of date range (ISO 8601) | |
| ending_before | Yes | End of date range (ISO 8601) | |
| on_current_plan | No | "true" to include only usage on current plan | true |