---
title: "Receive artifacts (output files) from the ComfyUI GitHub Action"
method: POST
path: "/upload-artifact"
---

# Receive artifacts (output files) from the ComfyUI GitHub Action

`POST /upload-artifact`

## Request body

- object
  - `repo` string, required — Repository name
  - `job_id` string, required — Unique identifier for the job
  - `run_id` string, required — Unique identifier for the run
  - `os` string, required — Operating system used in the run
  - `cuda_version` string — Cuda version.
  - `bucket_name` string — The name of the bucket where the output files are stored
  - `output_files_gcs_paths` string — A comma separated string that contains GCS path(s) to output files. eg. gs://bucket-name/output, gs://bucket-name/output2
  - `comfy_logs_gcs_path` string — The path to ComfyUI logs. eg. gs://bucket-name/logs
  - `commit_hash` string, required
  - `commit_time` string, required — The time of the commit in the format of "YYYY-MM-DDTHH:MM:SSZ" (2016-10-10T00:00:00Z)
  - `commit_message` string, required — The commit message
  - `workflow_name` string, required — The name of the workflow
  - `branch_name` string, required
  - `start_time` integer, required — The start time of the job as a Unix timestamp.
  - `end_time` integer, required — The end time of the job as a Unix timestamp.

## Response `200`

Successfully received the artifact details

- object
  - `message` string

## Other responses

- `400` — Invalid request
- `500` — Internal server error

## Changes

- **2024-05-23** `9d088b2401a5` — 10 warning
  - removed the request property `author`
  - removed the request property `avg_vram`
  - removed the request property `comfy_run_flags`
  - removed the request property `job_trigger_user`
  - …6 more

[Change history](https://skmtc.dev/comfy-org/apis/comfy-api/changes/upload-artifact/post.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/fe5ee40f4789/schema)
