---
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
    - `python_version` string — PyTorch version used
    - `pytorch_version` string — PyTorch version used
    - `action_run_id` string — Identifier of the run this result belongs to
    - `action_job_id` string — Identifier of the job this result belongs to
    - `cuda_version` string — CUDA version used
    - `branch_name` string — Name of the relevant git branch
    - `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
    - `comfy_run_flags` string — The comfy run flags. E.g. `--low-vram`
    - `git_repo` string — The repository name
    - `pr_number` string — The pull request number
    - `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.
    - `avg_vram` integer — The average VRAM used by the job
    - `peak_vram` integer — The peak VRAM used by the job
    - `job_trigger_user` string — The user who triggered the job.
    - `author` string — The author of the commit
    - `machine_stats` MachineStats
      - `machine_name` string — Name of the machine.
      - `os_version` string — The operating system version. eg. Ubuntu Linux 20.04
      - `gpu_type` string — The GPU type. eg. NVIDIA Tesla K80
      - `cpu_capacity` string — Total CPU on the machine.
      - `initial_cpu` string — Initial CPU available before the job starts.
      - `memory_capacity` string — Total memory on the machine.
      - `initial_ram` string — Initial RAM available before the job starts.
      - `vram_time_series` object — Time series of VRAM usage.
      - `disk_capacity` string — Total disk capacity on the machine.
      - `initial_disk` string — Initial disk available before the job starts.
      - `pip_freeze` string — The pip freeze output
    - `status` 'WorkflowRunStatusStarted' | 'WorkflowRunStatusFailed' | 'WorkflowRunStatusCompleted'
    - `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

---

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