Cursor
Cursor cloud agents and team administration
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- API keySecretRequired
Where to find them
- Go to cursor.com/dashboard → “API Keys” and click “New API Key”.
- Copy the key: it is shown only once.
- With a user key the cloud agents API works (/v1/…, in beta, all plans) and it is the one the connection check uses (/v1/me). The team administration API (/teams/…: members, usage, spend) requires an admin key and the Enterprise plan.
Tools (1)
Cursor API request
CURSOR_SEND_REQUESTAuthenticated call to the Cursor API (https://api.cursor.com). Any endpoint of the API is allowed. Examples: GET /v1/me, GET /v1/agents, GET /v1/agents/{id}/runs, POST /v1/agents/{id}/runs {…prompt…} (new run), GET /teams/members (administration, Enterprise).
Required scopes
No scopes required
Input
Cursor API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

