# Cursor Origin API > Alpha reference for the Cursor Origin API. Origin is Cursor's code forge; its public REST API lets apps and tools work with Origin repositories, commits, checks, pull requests, apps, and installations. The base URL for API requests is `https://api.cursor.com/v1/origin`. The Origin API is in alpha and subject to change. ## Docs - [Full reference (Markdown)](https://cursor.com/docs/api/origin/llms-full.txt): The complete Origin API reference as a single Markdown file. - [Origin API reference](https://cursor.com/docs/api/origin): Interactive reference page. - [OpenAPI specification](https://cursor.com/docs/api/origin/openapi.yaml): Machine-readable OpenAPI 3.1 spec with request and response schemas. ## Guides - [Overview](https://cursor.com/docs/api/origin) - [Base URL](https://cursor.com/docs/api/origin#base-url) - [Protocol conventions](https://cursor.com/docs/api/origin#protocol-conventions) - [Changelog](https://cursor.com/docs/api/origin/changelog) - [Getting started](https://cursor.com/docs/api/origin#getting-started) - [Origin access](https://cursor.com/docs/api/origin#origin-access) - [Origin CLI](https://cursor.com/docs/api/origin#origin-cli) - [Installation](https://cursor.com/docs/api/origin#installation) - [Installation receipt](https://cursor.com/docs/api/origin#installation-receipt) - [Authentication](https://cursor.com/docs/api/origin#authentication) - [Generate an app signing key](https://cursor.com/docs/api/origin#generate-an-app-signing-key) - [App JWT](https://cursor.com/docs/api/origin#app-jwt) - [Installation access token](https://cursor.com/docs/api/origin#installation-access-token) - [Git HTTPS authentication](https://cursor.com/docs/api/origin#git-https-authentication) - [User-authenticated CLI requests](https://cursor.com/docs/api/origin#user-authenticated-cli-requests) - [Discovery and signing keys](https://cursor.com/docs/api/origin#discovery-and-signing-keys) - [Scopes](https://cursor.com/docs/api/origin#scopes) - [Mirrored repositories](https://cursor.com/docs/api/origin#mirrored-repositories) - [Rate limits](https://cursor.com/docs/api/origin#rate-limits) - [Response headers](https://cursor.com/docs/api/origin#response-headers) - [Exceeding the limit](https://cursor.com/docs/api/origin#exceeding-the-limit) - [Checking remaining quota](https://cursor.com/docs/api/origin#checking-remaining-quota) - [Webhooks](https://cursor.com/docs/api/origin#webhooks) - [Headers](https://cursor.com/docs/api/origin#headers) - [Signature verification](https://cursor.com/docs/api/origin#signature-verification) - [Delivery envelope](https://cursor.com/docs/api/origin#delivery-envelope) - [Events](https://cursor.com/docs/api/origin#events) - [Payload families](https://cursor.com/docs/api/origin#payload-families) - [Recovery](https://cursor.com/docs/api/origin#recovery) - [Common conventions](https://cursor.com/docs/api/origin#common-conventions) - [Pagination](https://cursor.com/docs/api/origin#pagination) - [Errors](https://cursor.com/docs/api/origin#errors) - [Repository paths](https://cursor.com/docs/api/origin#repository-paths) - [Resource references](https://cursor.com/docs/api/origin#resource-references) - [Current limitations](https://cursor.com/docs/api/origin#current-limitations) - [Implementation checklist](https://cursor.com/docs/api/origin#implementation-checklist) - [Endpoint reference](https://cursor.com/docs/api/origin#endpoint-reference) ## Apps and installations - [Get Rate Limit](https://cursor.com/docs/api/origin#get-rate-limit) - [Get Authenticated App](https://cursor.com/docs/api/origin#get-authenticated-app) - [List App Installations](https://cursor.com/docs/api/origin#list-app-installations) - [Get App Installation](https://cursor.com/docs/api/origin#get-app-installation) - [Delete App Installation](https://cursor.com/docs/api/origin#delete-app-installation) - [Create Installation Access Token](https://cursor.com/docs/api/origin#create-installation-access-token) - [List App Installation Repositories](https://cursor.com/docs/api/origin#list-app-installation-repositories) - [List Webhook Deliveries](https://cursor.com/docs/api/origin#list-webhook-deliveries) - [Batch Redeliver Webhook Deliveries](https://cursor.com/docs/api/origin#batch-redeliver-webhook-deliveries) - [Ping Webhook](https://cursor.com/docs/api/origin#ping-webhook) ## Repositories - [List Repos](https://cursor.com/docs/api/origin#list-repos) - [Get Repo](https://cursor.com/docs/api/origin#get-repo) - [Create Repo](https://cursor.com/docs/api/origin#create-repo) - [List Branches](https://cursor.com/docs/api/origin#list-branches) - [Sync Mirror](https://cursor.com/docs/api/origin#sync-mirror) ## Checks - [Post Check Run](https://cursor.com/docs/api/origin#post-check-run) - [Batch Upsert Check Runs](https://cursor.com/docs/api/origin#batch-upsert-check-runs) - [Get Check Run](https://cursor.com/docs/api/origin#get-check-run) - [List Check Run Annotations](https://cursor.com/docs/api/origin#list-check-run-annotations) - [Create Check Run Annotations](https://cursor.com/docs/api/origin#create-check-run-annotations) - [Get Check Suite](https://cursor.com/docs/api/origin#get-check-suite) - [List Check Runs For Suite](https://cursor.com/docs/api/origin#list-check-runs-for-suite) - [List Check Runs For Commit](https://cursor.com/docs/api/origin#list-check-runs-for-commit) - [List Check Suites For Commit](https://cursor.com/docs/api/origin#list-check-suites-for-commit) ## Commits and contents - [List Commits](https://cursor.com/docs/api/origin#list-commits) - [Get Commit](https://cursor.com/docs/api/origin#get-commit) - [List Commit Files](https://cursor.com/docs/api/origin#list-commit-files) - [Compare Commits](https://cursor.com/docs/api/origin#compare-commits) - [Get Contents](https://cursor.com/docs/api/origin#get-contents) - [Batch Get Contents](https://cursor.com/docs/api/origin#batch-get-contents) ## Git data - [Get Blob](https://cursor.com/docs/api/origin#get-blob) - [Get Git Commit](https://cursor.com/docs/api/origin#get-git-commit) - [Get Git Ref](https://cursor.com/docs/api/origin#get-git-ref) - [List Matching Git Refs](https://cursor.com/docs/api/origin#list-matching-git-refs) - [List Matching Git Refs by Path](https://cursor.com/docs/api/origin#list-matching-git-refs-by-path) - [Get Tag](https://cursor.com/docs/api/origin#get-tag) - [Get Tree](https://cursor.com/docs/api/origin#get-tree) ## Labels - [List Labels](https://cursor.com/docs/api/origin#list-labels) - [Create Label](https://cursor.com/docs/api/origin#create-label) - [Get Label](https://cursor.com/docs/api/origin#get-label) - [Delete Label](https://cursor.com/docs/api/origin#delete-label) - [Update Label](https://cursor.com/docs/api/origin#update-label) ## Pull requests - [List Pull Requests](https://cursor.com/docs/api/origin#list-pull-requests) - [Get Pull Request](https://cursor.com/docs/api/origin#get-pull-request) - [Create Pull Request](https://cursor.com/docs/api/origin#create-pull-request) - [Update Pull Request](https://cursor.com/docs/api/origin#update-pull-request) - [List Pull Request Comments](https://cursor.com/docs/api/origin#list-pull-request-comments) - [Get Pull Request Comment](https://cursor.com/docs/api/origin#get-pull-request-comment) - [Create Pull Request Comment](https://cursor.com/docs/api/origin#create-pull-request-comment) - [Update Pull Request Comment](https://cursor.com/docs/api/origin#update-pull-request-comment) - [List Pull Request Commits](https://cursor.com/docs/api/origin#list-pull-request-commits) - [List Pull Request Files](https://cursor.com/docs/api/origin#list-pull-request-files) - [List Pull Request Labels](https://cursor.com/docs/api/origin#list-pull-request-labels) - [Set Pull Request Labels](https://cursor.com/docs/api/origin#set-pull-request-labels) - [Add Pull Request Labels](https://cursor.com/docs/api/origin#add-pull-request-labels) - [Remove All Pull Request Labels](https://cursor.com/docs/api/origin#remove-all-pull-request-labels) - [Remove Pull Request Label](https://cursor.com/docs/api/origin#remove-pull-request-label) - [Merge Pull Request](https://cursor.com/docs/api/origin#merge-pull-request) - [List Pull Request Reviews](https://cursor.com/docs/api/origin#list-pull-request-reviews) - [Create Pull Request Review](https://cursor.com/docs/api/origin#create-pull-request-review) - [Update Pull Request Review](https://cursor.com/docs/api/origin#update-pull-request-review) - [Dismiss Pull Request Review](https://cursor.com/docs/api/origin#dismiss-pull-request-review) ## Rulesets - [List Rulesets](https://cursor.com/docs/api/origin#list-rulesets) - [Create Ruleset](https://cursor.com/docs/api/origin#create-ruleset) - [Get Ruleset](https://cursor.com/docs/api/origin#get-ruleset) - [Update Ruleset](https://cursor.com/docs/api/origin#update-ruleset) - [Delete Ruleset](https://cursor.com/docs/api/origin#delete-ruleset)