---
title: "Upload Capture Artifact"
method: POST
path: "/v1/capture/artifacts"
---

# Upload Capture Artifact

`POST /v1/capture/artifacts`

## Headers

- `X-CodeAlmanac-Provider` 'codex' | 'claude', required
- `X-CodeAlmanac-Provider-Session-Id` string, required

## Response `200`

Successful Response

- CaptureArtifactDTO
  - `ref` string, required
  - `sha256` string, required
  - `sizeBytes` integer, required
  - `contentType` string, required

## Other responses

- `422` — Validation Error

---

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