GET
/
repositories
/
{repositoryId}
curl --request GET \
  --url https://api.greptile.com/v2/repositories/{repositoryId} \
  --header 'Authorization: Bearer <token>'
{
  "repository": "<string>",
  "remote": "<string>",
  "branch": "<string>",
  "private": true,
  "status": "<string>",
  "filesProcessed": 123,
  "numFiles": 123,
  "sampleQuestions": [
    "<string>"
  ],
  "sha": "<string>"
}

Retrieves information about a specific repository. The repositoryId should be URL-encoded in the format remote:branch:owner/repository.

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

repositoryId
string
required

Response

200 - application/json
repository
string
remote
string
branch
string
private
boolean
status
string
filesProcessed
integer
numFiles
integer
sampleQuestions
string[]
sha
string