Check Capy spend
capy_usageGet cost breakdown of Capy agent usage over a date range, showing LLM and VM costs per user and thread.
Instructions
Report what your Capy agents have cost over a date range, split into LLM and VM dollars, broken down by user and by thread. Use this to answer 'what did that fleet cost me'.
Requires your organization id, which the Capy API does not expose a listing endpoint for: take it from the Capy web dashboard.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of the range, ISO 8601 UTC. Defaults to now. | |
| from | No | Start of the range, ISO 8601 UTC (e.g. 2026-07-01T00:00:00Z). Defaults to 7 days ago. | |
| page | No | Defaults to 1. | |
| org_id | Yes | Capy organization id, from the Capy web dashboard. | |
| routed | No | Which spend to count. Defaults to "paid" (what Capy billed you). Use "all" to include work routed through your own Codex/Copilot/BYOK subscriptions. | |
| page_size | No | Defaults to 20. | |
| agent_type | No | Limit to build, captain, or review activity. | |
| project_ids | No | Comma-separated project ids to include. |