Cursor: get usage
cursor_get_usageGet an agent's token usage totals and per-run breakdowns. Provide a run ID to view usage for a specific run.
Instructions
Report an agent's token usage, totalled and broken down per run. Pass runId to scope it to one run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | No | Run id, in `run-<uuid>` form. | |
| agentId | Yes | Agent id, in `bc-<uuid>` form. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runs | Yes | ||
| totalTokens | Yes | ||
| chargedCents | No |