v1

latestOpenAPI 3.1.0raw.githubusercontent.com2024-11-08170291390.5 KB
Artifacts

Read Artifact

Retrieve an artifact from the database.

get/api/artifacts/{id}

Path parameters

idstring uuid required

The ID of the artifact to retrieve.

The ID 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.