By enabling the Cursor connector allows you to import data on usage of Cursor metrics at the user level. Please refer to the API documentation below for more details, and visit our schema explorer to see what data DX imports.
Prerequisites
To connect Cursor to DX, you need:
Setup instructions
Step 1- Get Cursor API token and teamId
Navigate to cursor.com/dashboard → Admin API Keys in your dashboard
Click Create New API Key
Step 2– Enable DX connector
Navigate to the connections page in DX and select "+ Connection" in the top right.
Enter the credentials you generated in the previous steps—refer to the information below for errors and troubleshooting.
API Reference
The table below lists the specific API endpoints that are used by DX.
Endpoint | Documentation |
POST /teams/daily-usage-data | |
POST /teams/spend |
Errors
The table below lists potential error codes when adding a connection in DX.
Error | Description |
| Your API credentials entered are not valid. |
| The provided credentials does not have access to any organizations or projects. |