latestOpenAPI 3.1.02026-08-171503582.2 MB

6199a9464227

Comments

List all comments

Returns a paginated list of comments sorted by creation date (newest first). Provide either workflowId, or workflowRunId with optional taskId.

get/comments

Query parameters

workflowIdstring

Filter by workflow.

workflowRunIdstring

Filter by workflow run.

taskIdstring

Filter by task.

_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": [
    {
      "id": "oqgYo-2WTcMPdFEa1Y9PzA",
      "createdBy": {
        "id": "naAJxoDIuwdgNsQHGRRGqA",
        "email": "jane.doe@example.com",
        "username": "Jane Doe"
      },
      "updatedBy": {
        "id": "naAJxoDIuwdgNsQHGRRGqA",
        "email": "jane.doe@example.com",
        "username": "Jane Doe"
      },
      "workflowRunId": "oqgYo-2WTcMPdFEa1Y9PzA",
      "taskId": "oqgYo-2WTcMPdFEa1Y9PzA",
      "links": [
        {
          "href": "https://api.process.st/api/v1.1/resource/XXX"
        }
      ]
    }
  ],
  "links": [
    {
      "href": "https://api.process.st/api/v1.1/resource/XXX"
    }
  ]
}