GitHub

Get GitHub Commit

Get a single GitHub commit with the files it changed.

1 creditRuns in your GitHub account

Endpoint

Parameters

NameTypeRequiredNote
identifieraccount · requiredaccountrequired—
ownerstring · requiredstringrequired

Follows the GitHub App installation on the selected Account — one account per installation, so this lists exactly that owner. To use a different user or organization, connect it as its own Account (install the GitHub App there).

repostring · requiredstringrequired—
refstring · requiredstringrequired

The one commit to fetch. Takes a full or shortened commit SHA, a branch name, or a tag — a branch or tag returns the commit it currently points at, which is how you get the latest commit on a branch. Unlike List GitHub Commits, this returns only this commit, never its ancestors.

Example: b5a2affd… — or main

Response schema

{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "description": "API response data"
    }
  }
}

Get started

How to use this action

  1. Connect your AI

    Add Connie to ChatGPT, Claude or Slack once, then connect your account for this app. There’s no API key to manage.

  2. Ask for the outcome

    Describe what you need in plain words. Your AI runs this app’s actions when the job calls for them, along with any other tools it needs.

  3. Make it a workflow

    Add an action as a step in a workflow that runs the same way every time, on a schedule or when something happens.

  4. Stay in control

    Choose whether each action runs on its own or asks first. When it asks, you see an Allow or Deny card before anything changes in the app.