Learning resourcesReviewed · Anysphere

Cursor APIs Overview

Cursor APIs Overview is Cursor's documentation page introducing its HTTP APIs and TypeScript and Python SDKs for team data, usage analytics and AI coding agents, written for developers and team administrators building integrations. Several APIs require Enterprise access. It explains the available interfaces, authentication, request limits and caching. The coding-agent APIs and SDKs run workflows involving tools, commands and edits; they do not provide standalone model inference or chat completions.

Researched 14 Nov 2026

In short.

Cursor APIs Overview is Cursor's documentation page introducing its HTTP APIs and TypeScript and Python SDKs for team data, usage analytics and AI coding agents, written for developers and team administrators building integrations. Several APIs require Enterprise access. It maps team administration, analytics, code attribution, automated reviews and agent interfaces, with practical authentication and polling guidance. It helps identify an integration path, but the selected page does not establish prices, complete endpoint specifications or SDK installation requirements. No requests, SDKs or examples were executed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete selected documentation page at [https://cursor.com/docs/api.md]: API availability, authentication, key creation, rate limits, caching, operational guidance and common errors. Linked pages and the sitemap are excluded. The selected text contains no licence terms. No commands, requests, SDKs or agent runs were executed; endpoint behaviour, compatibility, output quality, prices and redistribution rights remain unverified or unknown.

The overview

identity

The resource is Cursor's API overview at [https://cursor.com/docs/api.md]. It introduces HTTP APIs, TypeScript and Python SDKs, and an SDK Bridge for other languages. It is documentation for connecting software to Cursor's services and coding agents.

Its scope includes both administrative integrations and AI agent workflows. The page explicitly distinguishes agent execution, which includes workspace context, tools, commands and edits, from a standalone chat-completions or model-inference API.

assessment

This is useful as an integration map and an HTTP operations reference. It explains which interface serves each purpose, which access restrictions apply, and how clients should handle authentication, caching and common errors.

It is insufficient for implementing every integration by itself. Agent creation schemas, complete endpoint contracts and SDK installation instructions are in linked documentation that is outside the selected page. No benchmarks establish reliability, code quality, productivity gains or attribution accuracy.

users

Team administrators can use the guide to identify interfaces for membership, settings, spending and model access. Developers building internal dashboards can find the relevant usage, activity and AI code-attribution interfaces.

Developers automating coding work can compare the Cloud Agents API with the TypeScript and Python SDK entry points. Builders working in another language are directed to the SDK Bridge. People seeking only text generation should recognize that the documented agent interfaces execute coding workflows rather than expose general chat completions.

capabilities

The Admin API covers team management, settings, usage, spending and model access. Analytics provides team usage, AI metrics, active-user and model-usage data. AI Code Tracking records AI-generated contributions at commit and change levels. Bugbot can trigger code reviews and return per-review analytics.

The Cloud Agents API creates and manages coding agents. Origin covers repositories, commits, checks, pull requests and app installations. The TypeScript SDK offers a shared interface for local and cloud runtimes; the Python SDK adds synchronous and asynchronous clients. The SDK Bridge is described as an open bridge protocol with standalone binaries.

For agent runs using Auto or auto-smart, the page says Cursor Router selects models. It does not explain the selection criteria or establish resulting model quality.

Using it

requirements

Admin, Analytics, AI Code Tracking and Bugbot are listed as available to Enterprise teams. The Cloud Agents API is in beta for plans with Cloud Agents, while Origin is in early beta. The TypeScript SDK, Python SDK and SDK Bridge are listed for all users; that wording does not establish free usage or access to every underlying service.

Team administrators create and manage API keys through the dashboard. Admin and AI Code Tracking keys require the admin:* scope. In its Cloud Agents API key subsection, the page states that API keys are tied to the organization, viewable by all admins and unaffected by the original creator's account status; whether this applies to other API families' keys is not stated.

Supported operating systems, language versions, SDK dependencies and local hardware requirements are not specified on this page.

mechanism

Admin, Analytics, AI Code Tracking and Bugbot accept Basic authentication: the API key is the username and the password is empty. Cloud Agents accepts either Basic authentication or an Authorization: Bearer header. Origin uses separate Bearer credentials: its CLI exchanges a personal user key for a short-lived token, while apps use app JWTs and installation access tokens. Team Admin keys with admin:* do not authenticate to Origin.

Analytics and AI Code Tracking support ETags, identifiers for a response's current representation. A client saves the ETag and sends it in an If-None-Match header on a later request. Unchanged data produces a 304 response with no body. The page specifies a 15-minute cache duration and says these 304 responses do not count against rate limits.

Request limits vary by endpoint and authenticated user, team or organization. The general default is 20 requests per minute unless another limit is documented. Admin and Organization rate-limit responses include Retry-After: 60.

setup

First identify the API family and confirm the required account access. For Admin and AI Code Tracking, the page directs administrators to create a named key in the dashboard and copy it immediately because it will not be shown again. Analytics keys are created through [https://cursor.com/dashboard/api].

Cloud Agents can use a user API key from the dashboard or a service-account key from team settings. Configure the authentication method documented for the chosen API, then handle missing credentials, insufficient permissions, rate limits and server errors. Origin requires its own authentication path.

The selected page does not provide a complete SDK installation or first-agent setup procedure. Those steps require the linked SDK or endpoint references.

example

For an Enterprise team integration, the page shows a request to [https://api.cursor.com/teams/members] using Basic authentication with YOUR_API_KEY as the username and an empty password. This illustrates an authenticated team-membership request, but the example does not include its response schema.

For Cloud Agents authentication, it shows a request to [https://api.cursor.com/v1/me] with Authorization: Bearer YOUR_API_KEY. This demonstrates the authentication header, not agent creation. Neither request was executed, so successful authentication and returned data are unverified.

Assessment & evidence

limitations

The page contains an authentication inconsistency: its authentication section lists Analytics under Basic authentication, while its caching example sends a Bearer token to an Analytics endpoint. Bearer support for Analytics is therefore not consistently established by this page.

Rate limits require endpoint-specific planning. Most team Analytics endpoints allow 100 requests per minute, by-user endpoints allow 50, and conversation insights allows 20. Bugbot review triggering allows 30 per minute, with an additional 10-per-minute limit for dry runs. Although a general default is given, the Cloud Agents table only says standard rate limiting and supplies no explicit Cloud-specific number.

Complete pagination rules, agent execution boundaries, SDK compatibility and detailed data schemas are not provided. Actual service behaviour and output quality were not assessed.

reasoning

A practical implication of the access table is that developers should choose an interface by both task and entitlement. Availability of an SDK does not establish availability of every team-management or cloud capability through it.

The polling guidance also affects dashboard design. Several Admin usage endpoints aggregate hourly, so more frequent polling cannot be assumed to reveal newer underlying data. AI Code Tracking is described as ingesting near real-time data, with polling every few minutes considered sufficient.

For retry handling of Admin and Organization API calls, the documented 60-second Retry-After value matters. The generic backoff example starts at one second and does not read that header. An implementation should account for the server's stated delay rather than copy the example unchanged. The page does not say whether Analytics, AI Code Tracking, Bugbot or Cloud Agents 429 responses include Retry-After.

alternatives

Within Cursor, the Cloud Agents HTTP API and the TypeScript or Python SDKs are different entry points for agent workflows. The SDK descriptions include local and cloud runtimes, while the SDK Bridge is the documented path for building integrations in other languages.

For reporting, Analytics focuses on usage and activity, while AI Code Tracking focuses on code contributions. These serve different questions and are not interchangeable. The selected page provides no evidence for comparing external products on price, capability or reliability.

evidence

The evidence is the complete Cursor APIs Overview at [https://cursor.com/docs/api.md], captured on 2026-11-14 at 22:26:25.709 UTC. It provides first-party descriptions, access rules, examples and operating guidance.

The linked API references, SDK documentation, Router page, service-account documentation and Origin authentication reference are excluded. The evidence contains documentation rather than execution results; no API calls, code examples, SDKs or agent workflows were run.

Access & freshness

costs

Prices are unknown from this page. It identifies Enterprise requirements and Cloud Agents plan eligibility but provides no subscription prices, per-request charges, agent execution costs or included allowances.

The SDKs being available to all users does not establish that local or cloud agent runs are free. Request-rate limits also do not establish billing limits. Confirm the relevant plan and execution charges before estimating an integration's operating cost.

rights

The selected text supplies no licence or redistribution terms for the documentation, SDKs or bridge binaries. Describing the bridge protocol as open does not, by itself, establish a licence for those materials.

Commercial-use terms, rights in generated code, data-retention rules and contractual treatment of submitted repositories are not established by this page.

freshness

At the captured snapshot, the Cloud Agents API is labelled beta and Origin early beta. The selected page provides no explicit release version or last-updated date.

The capture timestamp identifies the documentation snapshot, not a product release date. Changes to availability, authentication, quotas or interfaces after that capture are unknown.

actions

Before implementation, confirm the chosen API's current eligibility, pricing, authentication and endpoint schema. Resolve the Analytics Basic-versus-Bearer inconsistency and confirm the applicable Cloud Agents quota if those interfaces are needed.

For a dashboard, use ETags where supported, account for the 15-minute cache duration and follow the endpoint's data-update cadence. Poll the listed hourly aggregated Admin endpoints at most once per hour, and handle 429 responses using Retry-After where the response provides it (documented for Admin and Organization APIs) and an appropriate retry policy.

For agent automation, consult the specific Cloud Agents or SDK reference for installation, workspace handling and execution details. The overview alone does not establish a working agent integration.

Evidence for this report

selected-page.txtselected · checked 2026-11-14