commits

Get a commit

Retrieves a specific commit by hash, tag, or "latest" for a repository. This endpoint supports both authenticated and unauthenticated access. Authenticated users can access private repos, while unauthenticated users can only access public repos. Commit resolution logic:

  • "latest" or empty: Get the most recent commit
  • Less than 8 characters: Only check for tags
  • 8 or more characters: Prioritize commit hash over tag, check both
get/commits/{owner}/{repo}/{commit}

Path parameters

Repository owner (tenant handle) or '-' for private repos

Repository handle

Commit hash, tag, or 'latest'

Query parameters

get_examplesboolean
include_modelboolean
is_viewboolean

Response

OK

commit_hashstring
manifestobject
model_configobject
model_providerstring

Changes