---
title: "Retrieve CI data for a given commit"
method: GET
path: "/gitcommit"
---

# Retrieve CI data for a given commit

`GET /gitcommit`

Returns all runs, jobs, job results, and storage files associated with a given commit.

## Query parameters

- `commitId` string
- `operatingSystem` string
- `workflowName` string
- `branch` string
- `page` integer
- `pageSize` integer
- `repoName` string

## Response `200`

An object containing runs, jobs, job results, and storage files

- object
  - `jobResults` ActionJobResult[]
    - `id` string, uuid — Unique identifier for the job result
    - `workflow_name` string — Name of the workflow
    - `operating_system` string — Operating system used
    - `gpu_type` string — GPU type used
    - `pytorch_version` string — PyTorch version used
    - `action_run_id` string — Identifier of the run this result belongs to
    - `commit_hash` string — The hash of the commit
    - `commit_id` string — The ID of the commit
    - `commit_time` integer — The Unix timestamp when the commit was made
    - `commit_message` string — The message of the commit
    - `git_repo` string — The repository name
    - `start_time` integer — The start time of the job as a Unix timestamp.
    - `end_time` integer — The end time of the job as a Unix timestamp.
    - `storage_file` StorageFile
      - `id` string, uuid — Unique identifier for the storage file
      - `file_path` string — Path to the file in storage
      - `public_url` string — Public URL
  - `totalNumberOfPages` integer

## Other responses

- `404` — Commit not found
- `500` — Internal server error

## Changes

- **2024-05-23** `9d088b2401a5` — 12 warning, 1 info
  - removed the optional property `jobResults/items/action_job_id` from the response with the `200` status
  - removed the optional property `jobResults/items/author` from the response with the `200` status
  - removed the optional property `jobResults/items/avg_vram` from the response with the `200` status
  - removed the optional property `jobResults/items/branch_name` from the response with the `200` status
  - …9 more

[Change history](https://skmtc.dev/comfy-org/apis/comfy-api/changes/gitcommit/get.md)

---

[API](https://skmtc.dev/comfy-org/apis/comfy-api.md) · [All operations](https://skmtc.dev/comfy-org/apis/comfy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/comfy-org/comfy-api/revisions/c013102b098c/schema)
