---
title: "Commit Artifact"
method: POST
path: "/internal/voidables/runs/{run_id}/attempts/{attempt_id}/artifact-commit"
tags: ["internal-voidables"]
---

# Commit Artifact

`POST /internal/voidables/runs/{run_id}/attempts/{attempt_id}/artifact-commit`

## Request

- Base URL: `https://api.ender.au` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ender.au/internal/voidables/runs/{run_id}/attempts/{attempt_id}/artifact-commit`
- Auth: none declared

## Path parameters

- `run_id` string, uuid, required
- `attempt_id` string, uuid, required

## Query parameters

- `lease_token` string, uuid, required

## Headers

- `authorization` string, nullable

## Request body

- CommitArtifact
  - `upload_token` string, uuid, required
  - `byte_size` integer, required
  - `checksum_sha256` string, required
  - `expected_run_version` integer, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ender/apis/ender-backend.md) - [All operations](https://skmtc.dev/ender/apis/ender-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/ender/apis/ender-backend/revisions/bf4373130521?raw)
