---
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
    - object
    - unknown
  - `description` string
  - `metadata_` object

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

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