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

# Artifact Target

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

## 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-target`
- 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

## Response `200`

Successful Response

- ArtifactUploadCapability
  - `upload_token` string, uuid, required
  - `upload_url` string, required
  - `method` string, required
  - `headers` object, required
  - `expires_at` string, date-time, required
  - `storage_bucket` string, required
  - `storage_path` string, required

## 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)
