Dyno Phi
ContentsPython SDKShow

phi.artifacts

List and download the files a run produced.

phi.artifacts.download

python
phi.artifacts.download(artifacts=artifacts, out_dir=out_dir)

Returns Path.

Parameters

NameTypeDefault
artifactsrequiredIterable[Artifact]
out_dirrequiredstr | Path
concurrencyoptionalint8
progressoptionalProgressCallback | NoneNone
overwriteoptionalboolFalse
Artifact fields and schemaShow

Fields

NameTypeDefault
content_typeoptionalstring or nullnull
namerequiredstring
pipeline_node_idoptionalstring or nullnull
sizeoptionalinteger or nullnull
stagerequiredstring
urlrequiredstring
JSON schema
{
  "type": "object",
  "required": [
    "name",
    "stage",
    "url"
  ],
  "properties": {
    "content_type": {
      "default": null,
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "name": {
      "type": "string"
    },
    "pipeline_node_id": {
      "default": null,
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "size": {
      "default": null,
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "stage": {
      "type": "string"
    },
    "url": {
      "type": "string"
    }
  }
}

phi.artifacts.download_url

python
phi.artifacts.download_url(url=url, dest=dest)

Returns Path.

Parameters

NameType
urlrequiredstr
destrequiredstr | Path

phi.artifacts.list

python
phi.artifacts.list(run_id=run_id)

Returns list[Artifact].

Parameters

NameTypeDefault
run_idrequiredstr
stageoptionalstr | NoneNone
suffixoptionalstr | NoneNone
expires_inoptionalint | NoneNone
page_sizeoptionalint200
Artifact fields and schemaShow

Fields

NameTypeDefault
content_typeoptionalstring or nullnull
namerequiredstring
pipeline_node_idoptionalstring or nullnull
sizeoptionalinteger or nullnull
stagerequiredstring
urlrequiredstring
JSON schema
{
  "type": "object",
  "required": [
    "name",
    "stage",
    "url"
  ],
  "properties": {
    "content_type": {
      "default": null,
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "name": {
      "type": "string"
    },
    "pipeline_node_id": {
      "default": null,
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "size": {
      "default": null,
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "stage": {
      "type": "string"
    },
    "url": {
      "type": "string"
    }
  }
}

From the installed client, phi 0.4.2, 2026-11-23.