prefect artifact

prefect artifact [OPTIONS] COMMAND [ARGS]...
Inspect and delete artifacts.

prefect artifact ls

prefect artifact ls [OPTIONS]
List artifacts.

Options

prefect artifact inspect

prefect artifact inspect [OPTIONS] KEY
View details about an artifact.

Arguments

Options

Example:$ prefect artifact inspect "my-artifact"
[
  {
    'id': 'ba1d67be-0bd7-452e-8110-247fe5e6d8cc',
    'created': '2023-03-21T21:40:09.895910+00:00',
    'updated': '2023-03-21T21:40:09.895910+00:00',
    'key': 'my-artifact',
    'type': 'markdown',
    'description': None,
    'data': 'my markdown',
    'metadata_': None,
    'flow_run_id': '8dc54b6f-6e24-4586-a05c-e98c6490cb98',
    'task_run_id': None
  },
  {
    'id': '57f235b5-2576-45a5-bd93-c829c2900966',
    'created': '2023-03-27T23:16:15.536434+00:00',
    'updated': '2023-03-27T23:16:15.536434+00:00',
    'key': 'my-artifact',
    'type': 'markdown',
    'description': 'my-artifact-description',
    'data': 'my markdown',
    'metadata_': None,
    'flow_run_id': 'ffa91051-f249-48c1-ae0f-4754fcb7eb29',
    'task_run_id': None
  }
]

prefect artifact delete

prefect artifact delete [OPTIONS] [KEY]
Delete an artifact.

Arguments

Options

Example:$ prefect artifact delete "my-artifact"