Setup Cursor
Revenium tracks Cursor IDE usage by syncing data from the Cursor Admin API. Setup is through the Revenium dashboard, where the backend handles syncing automatically. On Cursor Enterprise, you can also turn on the telemetry export to record every request as a transaction.
Requirements
Cursor IDE with an active subscription (Pro, Business, or Enterprise)
A Cursor Admin API key, created by a team admin at cursor.com/dashboard → API Keys with admin access (
admin:*). This is different from a personal user key.Revenium account with access to the Providers page
Connect your provider first: see Connecting Providers.
1. Add Cursor as a provider
In the Revenium dashboard, go to Integrations > Providers.
Select Cursor from the list of available providers.
Enter your Cursor Admin API key. A team admin creates it at cursor.com/dashboard → API Keys, and it grants access to the team usage API.
Save the configuration.
Once saved, Revenium syncs Cursor usage data automatically every 5 minutes. No CLI installation or local configuration is required.
2. Verify data is flowing
After saving, allow up to 10 minutes for the first sync cycle to complete. Then check Intelligence > AI Assistants > Cursor in the dashboard to confirm usage data is appearing.
Telemetry export (Enterprise)
The Admin API connection brings in what Cursor invoiced. The telemetry export adds every request on top of it: Cursor streams each request from its own servers to Revenium with the model, the tokens and cache, the conversation it belongs to and the developer who made it, and each one lands as a transaction. A Cursor team admin turns it on once in Cursor, and nothing is installed on developer machines. Keep the Admin API connection from step 1: the invoiced figures come from it.
You need:
A Cursor Enterprise team. Cursor does not offer OpenTelemetry Export on the Business plan.
A Cursor team admin, to open Team Settings.
In the Revenium AI assistant setup, choose Cursor and open the Telemetry (Enterprise) tab. It shows the base URL and your Revenium metering key (
rev_mk_), each with a copy button. The key appears masked on screen, so use the copy button to get the fullrev_mk_key.In Cursor, open Team Settings > OpenTelemetry Export and create a destination with the Revenium base URL:
Cursor adds
/v1/logsand/v1/metricsitself, so enter the base URL as shown. Turn the Metrics signal off and keep Logs on. Revenium reads only logs and answers the metrics signal with HTTP 410, so Test connection can fail while Metrics is on.Add this request header so Revenium files the data under your account, with the key from the Telemetry (Enterprise) tab as its value:
Select Test connection, then Enable. Keep Logs on with the Model usage family on. Revenium does not read the other families or conversation content.
Requests appear on Intelligence > AI Assistants > Cursor within a few minutes. Cursor documents the export itself in OpenTelemetry Export.
On the dashboard
Open Intelligence > AI Assistants > Cursor to see the Cursor dashboard. It has Overview and People tabs. Overview sets the usage Cursor's telemetry reports, valued at list API rates, beside what Cursor invoiced, and lists Invoiced by person and Invoiced by model. The two figures are never added together. The first sync may take up to 10 minutes.
Troubleshooting
No data appears after adding the provider
The backend syncs every 5 minutes. Allow up to 10 minutes for the first data to appear. If nothing shows after that:
Confirm you used a Cursor Admin API key created by a team admin, not a personal user key.
Verify the key in Integrations > Providers > Cursor is correct and has not been regenerated.
Confirm your Cursor subscription (Pro, Business, or Enterprise) is active.
No requests appear after enabling the telemetry export
If the Metrics signal is on, turn it off, run Test connection again, then make sure the destination is enabled. Revenium answers the metrics signal with HTTP 410.
Confirm the destination URL is the base URL ending in
/meter/v2/otlp, without/v1/logsadded to it.Confirm the header name is exactly
x-api-keyand its value is the fullrev_mk_key from the Telemetry (Enterprise) tab, not a Cursor key and not the masked...abcdshown on screen. Use the copy button.Confirm Logs and the Model usage family are on in Cursor's OpenTelemetry Export settings.
Run Test connection again in Cursor. A failure there means Cursor cannot reach Revenium, the key was rejected, or the metrics signal is on.
Cursor API key rejected
The key must be a Cursor Admin API key, created by a team admin at cursor.com/dashboard → API Keys.
Personal user API keys do not have access to the team usage endpoint.
Cursor API keys carry scopes. Create the key with admin access (
admin:*). A key that cannot read team usage is refused when you link it.Regenerate the key in Cursor if in doubt and update it in Integrations > Providers.
Last updated
Was this helpful?