phi.artifacts.download
python
phi.artifacts.download(artifacts=artifacts, out_dir=out_dir)Returns Path.
Parameters
| Name | Type | Default |
|---|---|---|
| artifactsrequired | Iterable[Artifact] | |
| out_dirrequired | str | Path | |
| concurrencyoptional | int | 8 |
| progressoptional | ProgressCallback | None | None |
| overwriteoptional | bool | False |
Artifact fields and schemaShowHide
Fields
| Name | Type | Default |
|---|---|---|
| content_typeoptional | string or null | null |
| namerequired | string | |
| pipeline_node_idoptional | string or null | null |
| sizeoptional | integer or null | null |
| stagerequired | string | |
| urlrequired | string |
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
| Name | Type |
|---|---|
| urlrequired | str |
| destrequired | str | Path |
phi.artifacts.list
python
phi.artifacts.list(run_id=run_id)Returns list[Artifact].
Parameters
| Name | Type | Default |
|---|---|---|
| run_idrequired | str | |
| stageoptional | str | None | None |
| suffixoptional | str | None | None |
| expires_inoptional | int | None | None |
| page_sizeoptional | int | 200 |
Artifact fields and schemaShowHide
Fields
| Name | Type | Default |
|---|---|---|
| content_typeoptional | string or null | null |
| namerequired | string | |
| pipeline_node_idoptional | string or null | null |
| sizeoptional | integer or null | null |
| stagerequired | string | |
| urlrequired | string |
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.