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

# Update Artifact

`PATCH /api/artifacts/{id}`

## Request

- The document declares no server URL.
- Auth: none declared

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.dev/prefecthq/apis/prefect-unreleased-api.md) - [All operations](https://skmtc.dev/prefecthq/apis/prefect-unreleased-api/llms.txt) - [OpenAPI document](https://skmtc.dev/prefecthq/apis/prefect-unreleased-api/revisions/29ba6c4f8837?raw)
