latestOpenAPI 3.1.02026-08-171503582.2 MB

6199a9464227

Attachments

List attachments

Returns task-level attachments, ordered by creation date (newest first). Supports filtering by workflow, workflow run, task, or creator.

get/attachments

Query parameters

workflowIdstring

Filter by workflow.

workflowRunIdstring

Filter by workflow run.

taskIdstring

Filter by task.

createdByIdstring

Filter by creator.

_string

Opaque pagination cursor. Take this value from the previous response's links[] entry whose name is "next" (typically just follow that link's href instead of reading this value). Omit on the first page. If the previous response had no next link, there are no more pages.

Response

Example response

{
  "data": [
    {
      "createdBy": {
        "id": "naAJxoDIuwdgNsQHGRRGqA",
        "email": "jane.doe@example.com",
        "username": "Jane Doe"
      },
      "taskId": "iRp_0PE0Ry_tiaT3_YZM0w",
      "workflowRunId": "iRp_0PE0Ry_tiaT3_YZM0w",
      "workflowId": "iRp_0PE0Ry_tiaT3_YZM0w",
      "links": [
        {
          "href": "https://api.process.st/api/v1.1/resource/XXX"
        }
      ]
    }
  ],
  "links": [
    {
      "href": "https://api.process.st/api/v1.1/resource/XXX"
    }
  ]
}