Files emitted by an execution on a Dedalus Machine
dedalus machines artifacts list --machine-id <machine_id>
arts = client.machines.artifacts.list(machine_id="<machine_id>")for a in arts.items or []: print(a.artifact_id, a.download_url)
const arts = await client.machines.artifacts.list({ machine_id: "<machine_id>" });for (const a of arts.items ?? []) { console.log(a.artifact_id, a.download_url);}
arts, _ := client.Machines.Artifacts.List(ctx, dedalus.MachineArtifactListParams{ MachineID: machineID,})for _, a := range arts.Items { fmt.Println(a.ArtifactID, a.DownloadURL)}
An artifact is a file produced by an that you can download after the command finishes. Use artifact_id to refer to the file in Dedalus. Use download_url to fetch the bytes; if it expires, retrieve the artifact again.
Parameters
string
required
The machine whose artifacts you want to list.
string
Pagination cursor from a prior page’s next_cursor.