StackSpendDocs

Cursor

Connect your Cursor team account to track AI coding assistant spend across users and models in real time.

Cursor logo

AI coding assistant

Historical data is limited to 6–7 days.Cursor's Admin API only returns a rolling 6–7 day window of usage data. There is no way to backfill historical data beyond this window, regardless of how long you have been a Cursor customer. StackSpend syncs daily and will build history going forward from your connection date, but will never have data older than 6–7 days at the time of first connection.

What StackSpend tracks

Once connected, StackSpend pulls the following data from the Cursor Admin API:

  • Real-time cost via the Admin API
  • Model-level usage breakdown (which models are consuming tokens)
  • User-level breakdown (spend per team member)
  • Token usage (input and output tokens per request)
  • Cursor token fees (seat and usage charges)

Prerequisites

  • A Cursor team account
  • Team admin access
  • An Admin API key (requires the Cursor Enterprise plan)
Enterprise plan required.Access to the Cursor Admin API is only available on the Cursor Enterprise plan. If you are on a Pro or Business plan, you will not be able to generate an Admin API key. Contact Cursor sales to upgrade.

Setup

1

Get your Admin API key

Log in to your Cursor team account and navigate to cursor.com/settings/team. Open the Admin tab, then select API Keys. Click Create key, give it a descriptive name (for example, stackspend), and copy the key — it will only be shown once.

2

Add to StackSpend

In StackSpend, go to Providers → Add provider and select Cursor. Paste your Admin API key into the Admin API Key field and click Save.

3

Verify the connection

StackSpend will immediately run an initial sync. Data from the past 6–7 days appears within a few minutes on your Cursor provider dashboard. If the connection fails, double- check that the API key has not been revoked and that your account is on the Enterprise plan.

Data availability

PropertyValue
Data latencyReal-time
Historical data6–7 days only
Setup time~2 min

For a full list of supported providers, see the Connecting Providers overview.

StackSpend Docs