C

Cursor Admin API

REST discovered

Details
URL
https://api.cursor.com
Docs
https://cursor.com/docs/account/teams/admin-api
Authentication
Cursor user API key api_key discovered Get key ↗
Authorization: Basic <credential>

In the Cursor Dashboard API Keys page, create a user API key. Use this key for the Cloud Agents API, Cursor SDK, and CLI API-key auth. Some admin surfaces require this key to include admin scopes such as admin:*, as documented in the relevant API pages.

Cursor service account API key api_key discovered Get key ↗

Create a service account from your team's enterprise settings as described in Service Accounts, then generate an API key for that service account from Cursor team settings. Service account API keys can be used for automation with Cloud Agents, the SDK, and the CLI.