---
title: "Create Artifact"
method: POST
path: "/v1/teams/{team_id}/artifacts"
tags: ["artifacts"]
---

# Create Artifact

`POST /v1/teams/{team_id}/artifacts`

## Path parameters

- `team_id` string, uuid, required

## Headers

- `authorization` string, nullable
- `x-darwin-token` string, nullable
- `x-darwin-run-id` string, nullable

## Request body

- CreateArtifactRequest
  - `kind` string, required
  - `title` string, required
  - `media_type` string, required
  - `work_item_id` string, uuid, nullable
  - `source_execution_type` string, nullable
  - `source_execution_id` string, uuid, nullable
  - `metadata` object
  - `idempotency_key` string, nullable
  - `retention_class` string
  - `expires_at` string, date-time, nullable
  - `content_base64` string, nullable
  - `inline_text` string, nullable
  - `provider_source` object, nullable
  - `expect_upload` boolean

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

## Changes

> 32 revisions in range; 1 not diffed.

- **2026-09-15** `9db748966060` — 1 info
  - added the new optional `header` request parameter `x-darwin-run-id`

[Change history](https://skmtc.dev/stormy/apis/stormy-control-plane/changes/v1/teams/:team_id/artifacts/post.md)

---

[API](https://skmtc.dev/stormy/apis/stormy-control-plane.md) · [All operations](https://skmtc.dev/stormy/apis/stormy-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/stormy/apis/stormy-control-plane/revisions/b09e3c4ee2af?raw)
