Skip to main content
GET
/
orgs
/
{org_id}
/
nodes
/
{node_id}
/
tree
/
{branch}
/
head
Get Branch Head Commit
curl --request GET \
  --url https://api.yertle.com/orgs/{org_id}/nodes/{node_id}/tree/{branch}/head
{
  "node_id": "<string>",
  "branch": "<string>",
  "commit": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.yertle.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

authorization
string | null

Path Parameters

org_id
string<uuid>
required
node_id
string
required
branch
string
required

Response

Successful Response

Response for GET /orgs/{org_id}/nodes/{node_id}/tree/{branch}/head.

node_id
string
required

Node ID

branch
string
required

Branch name

commit
string
required

HEAD commit ID, or 'none' if the branch has no commits yet