deployment_get_deployment_expense_history_by_id
Retrieve a deployment's expense history by ID, optionally filtered by date range and daily, weekly, or monthly interval, to review cost trends for that deployment.
Instructions
Fetch a specific deployment's expense history. Returns the deployment expense history with the supplied ID. GET /deployment/api/deployments/{deploymentId}/expense-history
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": {
"deploymentId": "<deploymentId>"
},
"name": "deployment_get_deployment_expense_history_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | The timestamp until when history is requested. Should be of ISO_INSTANT format. | |
| from | No | The timestamp from when history is requested. Should be of ISO_INSTANT format. | |
| interval | No | The interval of the expense history. Should be one of daily, weekly or monthly. | |
| deploymentId | Yes | Deployment ID (path) |