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,
  "sha": "<string>"
}

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

Authorizations

Authorization
string
header
required

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

Path Parameters

repositoryId
string
required

Response

200 - application/json
Repository information retrieved successfully.
repository
string
remote
string
branch
string
private
boolean
status
string
filesProcessed
integer
numFiles
integer
sha
string