Cursor website screenshot

Cursor

Cursor is an AI-first code editor by Anysphere, forked from VS Code, with deep AI integration: agentic edits, codebase chat, autocomplete, and tab-completion. Offers a hosted plan with model access and team management. Cursor exposes a public Admin API, Analytics API, AI Code Tracking API, Cloud Agents API, and a TypeScript SDK.

4 APIs 0 Features
AIDeveloper ToolsCode EditorAgentIDECloud Agents

APIs

Cursor Admin API

Programmatic access to team data: members, usage metrics, spending, repository blocklists, daily/filtered usage events. Available to Enterprise teams. Uses HTTP Basic auth with ...

Cursor Analytics API

Usage insights, AI metrics, and model usage stats for Enterprise teams.

Cursor AI Code Tracking API

Track AI-generated code at the commit level for Enterprise teams.

Cursor Cloud Agents API

Create and manage AI coding agents in the cloud. Beta, available across all plans.

Collections

Pricing Plans

Cursor Plans Pricing

1 plans

PLANS

Rate Limits

Cursor Rate Limits

1 limits

RATE LIMITS

FinOps

Cursor Finops

FINOPS

Semantic Vocabularies

Cursor Context

25 classes · 0 properties

JSON-LD

API Governance Rules

Cursor API Rules

6 rules · 3 errors 3 warnings

SPECTRAL

Resources

👥
GitHubOrganization
GitHubOrganization
🔗
LinkedIn
LinkedIn
🔗
Website
Website
🔗
Documentation
Documentation
💰
Pricing
Pricing
🔗
Plans
Plans
🔗
RateLimits
RateLimits
🔗
FinOps
FinOps
🔗
LlmsText
LlmsText

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Cursor Admin API
  version: 1.0.0
request:
  auth:
    type: basic
    username: '{{username}}'
    password: '{{password}}'
items:
- info:
    name: Members
    type: folder
  items:
  - info:
      name: Get team members
      type: http
    http:
      method: GET
      url: https://api.cursor.com/teams/members
    docs: Retrieve all team members and their details (id, email, name, role, removal status).
  - info:
      name: Remove team member
      type: http
    http:
      method: POST
      url: https://api.cursor.com/teams/remove-member
      body:
        type: json
        data: '{}'
    docs: Programmatically offboard a user. Enterprise only.
- info:
    name: Spend
    type: folder
  items:
  - info:
      name: Set user spend limit
      type: http
    http:
      method: POST
      url: https://api.cursor.com/teams/user-spend-limit
      body:
        type: json
        data: '{}'
    docs: Control an individual user's spend cap in dollars. Enterprise only.
  - info:
      name: Get spending data
      type: http
    http:
      method: POST
      url: https://api.cursor.com/teams/spend
      body:
        type: json
        data: '{}'
    docs: Per-user spend for the current billing cycle with search and sorting.
- info:
    name: Audit Logs
    type: folder
  items:
  - info:
      name: Get audit logs
      type: http
    http:
      method: GET
      url: https://api.cursor.com/teams/audit-logs
      params:
      - name: startDate
        value: ''
        type: query
      - name: endDate
        value: ''
        type: query
      - name: eventType
        value: ''
        type: query
      - name: userId
        value: ''
        type: query
    docs: Fetch audit log events with optional filtering by date, event type, and user.
- info:
    name: Usage
    type: folder
  items:
  - info:
      name: Get daily usage data
      type: http
    http:
      method: POST
      url: https://api.cursor.com/teams/daily-usage-data
      body:
        type: json
        data: '{}'
    docs: Aggregated daily usage metrics including lines added/deleted, completions, chat requests, and model usage.
  - info:
      name: Get filtered usage events
      type: http
    http:
      method: POST
      url: https://api.cursor.com/teams/filtered-usage-events
      body:
        type: json
        data: '{}'
    docs: Granular event-level usage data including token consumption and costs.
- info:
    name: Groups
    type: folder
  items:
  - info:
      name: List billing groups
      type: http
    http:
      method: GET
      url: https://api.cursor.com/teams/groups
    docs: List billing groups
  - info:
      name: Create billing group
      type: http
    http:
      method: POST
      url: https://api.cursor.com/teams/groups
      body:
        type: json
        data: '{}'
    docs: Create billing group
  - info:
      name: Get billing group
      type: http
    http:
      method: GET
      url: https://api.cursor.com/teams/groups/:groupId
      params:
      - name: groupId
        value: ''
        type: path
    docs: Get billing group
  - info:
      name: Update billing group
      type: http
    http:
      method: PATCH
      url: https://api.cursor.com/teams/groups/:groupId
      params:
      - name: groupId
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Update billing group
  - info:
      name: Delete billing group
      type: http
    http:
      method: DELETE
      url: https://api.cursor.com/teams/groups/:groupId
      params:
      - name: groupId
        value: ''
        type: path
    docs: Delete billing group
  - info:
      name: Add members to group
      type: http
    http:
      method: POST
      url: https://api.cursor.com/teams/groups/:groupId/members
      params:
      - name: groupId
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Add members to group
  - info:
      name: Remove members from group
      type: http
    http:
      method: DELETE
      url: https://api.cursor.com/teams/groups/:groupId/members
      params:
      - name: groupId
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Remove members from group
- info:
    name: Repo Blocklists
    type: folder
  items:
  - info:
      name: Get repo blocklists
      type: http
    http:
      method: GET
      url: https://api.cursor.com/settings/repo-blocklists/repos
    docs: Get repo blocklists
  - info:
      name: Upsert repo blocklists
      type: http
    http:
      method: POST
      url: https://api.cursor.com/settings/repo-blocklists/repos/upsert
      body:
        type: json
        data: '{}'
    docs: Upsert repo blocklists
  - info:
      name: Remove repo from blocklist
      type: http
    http:
      method: DELETE
      url: https://api.cursor.com/settings/repo-blocklists/repos/:repoId
      params:
      - name: repoId
        value: ''
        type: path
    docs: Remove repo from blocklist
bundled: true