Skip to main content
GET
/
orgs
/
{org_id}
/
nodes
/
{node_id}
/
tree
/
{branch}
/
commits
/
{commit_id}
Get Commit Details
curl --request GET \
  --url https://api.example.com/orgs/{org_id}/nodes/{node_id}/tree/{branch}/commits/{commit_id}
{
  "id": "<string>",
  "node_id": "<string>",
  "message": "<string>",
  "author": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "author_email": "<string>",
  "parent_commits": [
    "<string>"
  ],
  "changes": {
    "target_commit_id": "<string>",
    "added": [
      {
        "entity_type": "<string>",
        "entity_id": "<string>",
        "entity_key": "<string>",
        "object_id": "<string>",
        "old_object_id": "<string>",
        "new_object_id": "<string>"
      }
    ],
    "removed": [
      {
        "entity_type": "<string>",
        "entity_id": "<string>",
        "entity_key": "<string>",
        "object_id": "<string>",
        "old_object_id": "<string>",
        "new_object_id": "<string>"
      }
    ],
    "modified": [
      {
        "entity_type": "<string>",
        "entity_id": "<string>",
        "entity_key": "<string>",
        "object_id": "<string>",
        "old_object_id": "<string>",
        "new_object_id": "<string>"
      }
    ],
    "node_id": "<string>",
    "base_commit_id": "<string>"
  }
}

Headers

authorization
string | null

Path Parameters

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

Response

Successful Response

Response model for detailed commit information with changes.

id
string
required

Commit ID

node_id
string
required

Node ID

message
string
required

Commit message

author
string
required

Commit author

created_at
string<date-time>
required

Commit timestamp

author_email
string | null

Author email address

parent_commits
string[] | null

Parent commit IDs

changes
CommitDiffResponse · object

Changes from parent commit