Tasks

Attach an existing artifact to a task

post/tasks/{taskId}/artifacts

Request

  • Base URL: https://api.ziggsai.com
  • URL: https://api.ziggsai.com/tasks/{taskId}/artifacts
  • Auth: HTTP bearer

Path parameters

taskIdstring required

Request body

artifactIdstring required

Artifact to attach to this container

role'input' | 'output'

What the artifact is to this task: output (a deliverable, the default) or input (consumed by it). Set once: a link's role never changes, and asking for a different one on an existing link is reported as a conflict rather than silently ignored.

Response

Attached. outcome is created for a new link, or existing when the artifact was already attached to this task with this role.

successtrue required
linkobject required
outcome'created' | 'existing' required

Changes

No recorded changes to this operation across all 1 revision of this API.