v50

latestOpenAPI 3.1.0raw.githubusercontent.com2025-01-16170291390.7 KB
Artifacts

Read Latest Artifact

Retrieve the latest artifact from the artifact table.

get/api/artifacts/{key}/latest

Path parameters

keystring required

The key of the artifact to retrieve.

The key of the artifact to retrieve.

Headers

x-prefect-api-versionstring

Response

Successful Response

idstring uuid
createdstring date-time
updatedstring date-time
keystring

An optional unique reference key for this artifact.

typestring

An identifier that describes the shape of the data field. e.g. 'result', 'table', 'markdown'

descriptionstring

A markdown-enabled description of the artifact.

metadata_object

User-defined artifact metadata. Content must be string key and value pairs.

flow_run_idstring uuid

The flow run associated with the artifact.

task_run_idstring uuid

The task run associated with the artifact.