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

Workflows

Get workflow info

GET
/v1/workspaces/{workspace_id}/workflows/id/{workflow_id}/info

The workflow itself: name, status (running or paused), sharing, folders, apps.

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.

workflow_id*string

The workflow.

Formatuuid

Query Parameters

region*Regions

Region of the resource: besg (Europe) or usnv (United States), as GET /v1/regions lists them

Value in"besg""usnv"

Response Body

OK

application/json
  1. response

A workflow, as the documented "Get workflow info" answers it

workflow_id*Workflow Id
workflow_name*Workflow Name
workflow_resource_id*Workflow Resource Id
workflow_status*WorkflowStatus
Value in"running""paused""deleted"
workspace_id*Workspace Id
is_shared_with_workspace*Is Shared With Workspace
module_app_type_display_list?array<string>|
Defaultnull
parent_folders?array<>|
Defaultnull
created_by*Created By
created_time*Created Time
last_modified_by*Last Modified By
last_modified_time*Last Modified Time
Get workflow info
curl -X GET 'https://api.stacksync.com/v1/workspaces/0/workflows/id/497f6eca-6276-4993-bfeb-53cbbbba6f08/info?region=besg'
{  "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>"}