Repositories

Check if a commit exists in a repository

get/repository/{repository_id}/commits/{commit_sha}

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/repository/{repository_id}/commits/{commit_sha}
  • Auth: HTTP bearer

Path parameters

repository_idinteger required

Repository ID

commit_shastring required

Commit SHA to check

Response

Commit existence check result

commit_shastring nullable
existsboolean required

Example response

{
  "commit": {
    "date": "2025-10-12T12:15:47.609192Z"
  }
}

Changes

No recorded changes to this operation across all 54 revisions of this API.