Feature request for product/service
API Keys
Describe the request
Hi Cursor team,
We’re building multiple automated workflows on top of the Cursor SDK, where each workflow typically serves an individual end-user. Currently, managing API keys and tracking costs at scale is a significant operational burden for us.
Feature Requests:
1. Programmatic API Key Lifecycle Management
- Create API keys via API (with optional metadata like user ID, label, expiration)
- List active keys
- Revoke / delete keys
- This would allow us to dynamically provision and decommission keys per user workflow without manual dashboard operations.
2. Per-Key Usage & Cost Query API
- Token consumption (input / output / cache)
- Estimated cost per key
- Request count and duration
- Time-range filtering (daily / monthly)
Why This Matters:
With these APIs, we could:
- Automatically spin up isolated keys for each user workflow
- Track exact cost per user for billing and margin control
- Set programmatic quotas and alerts before overages occur
- Reduce manual ops overhead as we scale to hundreds of users
This would make Cursor significantly more attractive for teams building multi-tenant or workflow automation products on top of the SDK.
Thanks for considering!