Get run costs
get_runsAgent runs, conversations or jobs (calls tagged with the same run id, or one OpenTelemetry trace) that ended in a date range: how many, their total, average, median and p90 cost, and the most expensive.
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": "get_runs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | YYYY-MM-DD | |
| limit | No | ||
| start | No | YYYY-MM-DD | |
| feature | No | ||
| customer | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||