See Stacksync in action with a solution architect. Book a demo ↗
Workflows

Workflows

List workflows

GET
/v1/workspaces/{workspace_id}/workflows/

The workflows of the workspace the caller sees on the web app's Resources page (their own and those shared with the workspace), newest first, one page per region (or of the region asked for). Optionally only the workflows directly in a folder, or those whose name or id contains a text.

Authorization

Authorizationstringheaderrequired

Bearer <key>, where <key> is a workspace API key or a user API key. See Authentication.

Path Parameters

workspace_id*integer

The workspace. List the ones your key can reach with GET /v1/workspaces.

Query Parameters

region?|

Region to filter workflows by. If not provided, all regions will be included.

Defaultnull
offset?|

Offset for pagination. Used to skip a number of workflows.

Default0
limit?Limit

Maximum number of workflows of each region, at most 200

Range1 <= value <= 200
Default20
folder_id?|

Only the workflows directly in this folder

Defaultnull
search?|

Only the workflows whose name, id or resource id contains this text

Defaultnull

Response Body

OK

application/json
  1. response

The documented list answer, one page of each region asked for

workflows*array<>
List workflows
curl -X GET 'https://api.stacksync.com/v1/workspaces/0/workflows/'
{  "workflows": [    {      "workflow_id": "<workflow_id>",      "workflow_name": "<workflow_name>",      "workflow_resource_id": "<workflow_resource_id>",      "workflow_status": "running",      "workspace_id": 0,      "is_shared_with_workspace": false,      "module_app_type_display_list": [        "<module_app_type_display_list>"      ],      "parent_folders": [        {          "parent_folder_id": "3f6c1d2e-8a4b-4c7d-9e21-5b6f7a8c9d01",          "type": "primary"        }      ],      "created_by": 0,      "created_time": "<created_time>",      "last_modified_by": 0,      "last_modified_time": "<last_modified_time>",      "region": "besg"    }  ]}