Skip to main content
GET
/
projects
/
{projectId}
/
git
/
refs
Error
A valid request URL is required to generate request examples
[
  {
    "id": "<string>",
    "ref": "<string>",
    "object": {
      "type": "<string>",
      "sha": "<string>"
    },
    "sha": "<string>"
  }
]

Authorizations

Authorization
string
header
required

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

Path Parameters

projectId
string
required

Response

default - application/json
id
string
required

The identifier of Ref

ref
string
required

The name of the reference

object
Object · object
required

The object the reference points to

sha
string
required

The commit sha of the ref

Last modified on March 25, 2026