Artifacts
Read Latest Artifact
Retrieve the latest artifact from the artifact table.
GET
/
api
/
artifacts
/
{key}
/
latest
Headers
x-prefect-api-version
string
Path Parameters
key
string
requiredThe key of the artifact to retrieve.
Response
200 - application/json
id
string
created
string | null
updated
string | null
key
string | null
An optional unique reference key for this artifact.
type
string | null
An identifier that describes the shape of the data field. e.g. 'result', 'table', 'markdown'
description
string | null
A markdown-enabled description of the artifact.
data
Data associated with the artifact, e.g. a result.; structure depends on the artifact type.
metadata_
object | null
User-defined artifact metadata. Content must be string key and value pairs.
flow_run_id
string | null
The flow run associated with the artifact.
task_run_id
string | null
The task run associated with the artifact.
Was this page helpful?