Ana içeriğe atla
GET
/
v0
/
repositories
List GitHub repositories
curl --request GET \
  --url https://api.cursor.com/v0/repositories \
  --header 'Authorization: Bearer <token>'
{
  "repositories": [
    {
      "owner": "your-org",
      "name": "your-repo",
      "repository": "https://github.com/your-org/your-repo"
    }
  ]
}
Bu endpoint’in hız limitleri çok katı.İstekleri kullanıcı başına 1/dakika ve kullanıcı başına 30/saat ile sınırla.Birçok depoya erişimi olan kullanıcılar için bu isteğin yanıtı onlarca saniye sürebilir.Bu bilginin mevcut olmadığı durumları sorunsuzca ele aldığından emin ol.

Authorizations

Authorization
string
header
required

API key from Cursor Dashboard

Response

Repositories retrieved successfully

repositories
object[]
required

Array of GitHub repositories the user has access to

I