cursor_usage
Check Cursor API usage and spending, monitor billing alerts, and set spend guardrails with scheduled alert checks.
Instructions
Cursor billing and spend guardrails (read-only).
Requires CURSOR_API_KEY. Admin endpoints also accept CURSOR_ADMIN_API_KEY (crsr_ team key). Use alert_check on a schedule (e.g. Fritz every 2h) instead of manual dashboard checks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | Usage operation to run. | |
| hours | No | Lookback window for events/alert_check. | |
| No | Filter spend row by email (Admin API). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||