curl --request GET \
--url https://api.example.com/orgs/{org_id}/nodes/{node_id}/tree/{branch}/head{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Get the HEAD commit hash for a branch (lightweight staleness check).
curl --request GET \
--url https://api.example.com/orgs/{org_id}/nodes/{node_id}/tree/{branch}/head{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}