v1

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

Create Artifact

post/api/artifacts/

Headers

x-prefect-api-versionstring

Request body

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.

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.