latestOpenAPI 3.1.02026-08-171503582.2 MB

6199a9464227

Workflow Revisions

List workflow revisions

Returns a paginated list of revisions for a workflow, optionally filtered by status.

get/workflows/{workflowId}/revisions

Path parameters

workflowIdstring required

The ID of the Workflow

Query parameters

statusstring

Filter by status: Draft, Finished, or Revised.

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