Skip to main content

Module artifact

Module artifact 

Source
Expand description

taskfast artifact — list / get / upload / delete artifacts on a task, plus non-custodial CID submission (cid / cid-status).

Upload is also available via taskfast task submit --artifact (the workflow verb), but a standalone verb is needed for:

  • Out-of-band uploads during dispute remedy.
  • Direct file-management workflows (curator attaching reference assets).
  • Deletion of a mistakenly uploaded artifact.

The delete endpoint returns 204 (no body); we surface an empty success envelope with the task/artifact IDs echoed for orchestrator ergonomics.

cid records an externally-pinned CIDv1 as the delivery artifact — TaskFast never transits the bytes. cid-status is the buyer-side verdict (witnessed / unverifiable); only the task’s poster may write it.

Structs§

CidArgs
CidStatusArgs
GetArgs
ListArgs
UploadArgs

Enums§

CidStatusArg
CLI mirror of the generated UpdateArtifactCidStatusBodyCidStatus enum. Defined locally so clap’s ValueEnum validates the verdict at parse time (with the allowed values in --help) before any network call.
Command

Functions§

run