GET
/
api
/
artifacts
/
{key}
/
latest
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created": "2023-11-07T05:31:56Z",
  "updated": "2023-11-07T05:31:56Z",
  "key": "<string>",
  "type": "<string>",
  "description": "<string>",
  "data": {},
  "metadata_": {},
  "flow_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "task_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Headers

x-prefect-api-version
string

Path Parameters

key
string
required

The key of the artifact to retrieve.

Response

200
application/json
Successful Response
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.