---
title: "Update Artifact"
method: PATCH
path: "/api/artifacts/{id}"
tags: ["Artifacts"]
---

# Update Artifact

`PATCH /api/artifacts/{id}`

Update an artifact in the database.

## Path parameters

- `id` string, uuid, required — The ID of the artifact to update.

## Headers

- `x-prefect-api-version` string

## Request body

- ArtifactUpdate — Data used by the Prefect REST API to update an artifact.
  - `data` union — Data associated with the artifact, e.g. a result.; structure depends on the artifact type.
    - object
    - unknown
  - `description` string — A markdown-enabled description of the artifact.
  - `metadata_` object — User-defined artifact metadata. Content must be string key and value pairs.

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

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