Skip to main content
Version: v5.2

Workflows

The Workflow API allows you to list, search by ID, and start workflows.

Get list of workflows

Endpoints

GET workflowsvc/api/v1/workflows

Request parameters

Query parameters

ParameterTypeDescriptionRequired
nsfilterStringNamespace filter to applyRequired
_pagesizeIntegerNumber of workflows to be listed per page. Default is 10.Optional
_offsetIntegerPosition in list of workflows to begin listing. Default is 0.Optional
_nameStringPartial search term for name of workflowOptional
_defIdIntegerPartial search term for Workflow definition IDOptional
_statusStringFilter by Workflow statusOptional
startDateStringStart date of Workflow to begin listingOptional
enddateStringEnd date of Workflows to listOptional
sortStringOption to sort listing of WorkflowsOptional
Request example
GET /workflowsvc/api/v1/workflows?nsfilter={{nsfilter}}&_pageSize=10&_offset=0&_name=ActiveMQ&_defId=824beec4-4a58-4bf8-b9df-b86172a2d5d5&_status=FAILED&startDate=2026-02-01&endDate=2026-02-29&sort=%7B%22_updatedAt%22%3A-1%2C%22_name%22%3A1%7D

Response

Codes

CodeDescription
200Success
400Bad Request
404Not Found

Response example

{
"_offset": 0,
"_pageSize": 10,
"_total": 1,
"_list": [
{
"_id": "94bcf41e-8d05-4011-a64b-d5a5164b0155",
"_workflowDefId": "824beec4-4a58-4bf8-b9df-b86172a2d5d5",
"_name": "rest_connector_workflow",
"_namespaces": ["first_tchgt1VU"],
"_userType": "iaq_realtime_setup",
"_tasks": [
{
"_id": "f99d9656-f424-450d-b638-fbb28bc22490",
"_name": "REST_CONNECTOR",
"_sequenceno": 1,
"_type": "REST_CONNECTOR",
"_status": "QUEUED"
}
],
"_timeoutSeconds": null,
"_timeoutPolicy": null,
"_status": "QUEUED",
"_createdAt": "2026-02-24T02:32:22.148605220Z",
"_updatedAt": "2026-02-24T02:32:22.148606054Z",
"_createdBy": "c9daff7e-b55b-41ec-aa46-d0150f3199dc",
"_updatedBy": "c9daff7e-b55b-41ec-aa46-d0150f3199dc",
"_inputParams": {
"_url": "https://api.spotify.com/v1/artists/0TnOYISbd1XYRBk9myaseg"
},
"_output": null
}
]
}

Get Workflow by ID

Endpoints

GET /workflowsvc/api/v1/workflows/{workflowid}

Request

Query parameters

ParameterTypeDescriptionRequired
nsfilterStringNamespace filter to applyRequired
_includeLoopOverTasksBooleanDetermines if loop over tasks are included. Default value is false.Optional

Path parameters

ParameterTypeDescriptionRequired
workflowRunidStringWorkflow ID to search forRequired
Request example
GET /workflowsvc/api/v1/workflows/94bcf41e-8d05-4011-a64b-d5a5164b0155?nsfilter={{nsfilter}}&_includeLoopOverTasks=false

Response

Codes

CodeDescription
200Success
401Unauthorized
403Forbidden
500Internal Server Error

Response example

{
"_id": "94bcf41e-8d05-4011-a64b-d5a5164b0155",
"_workflowDefId": "824beec4-4a58-4bf8-b9df-b86172a2d5d5",
"_name": "rest_connector_workflow",
"_namespaces": ["first_tchgt1VU"],
"_userType": "iaq_realtime_setup",
"_tasks": [
{
"_id": "f99d9656-f424-450d-b638-fbb28bc22490",
"_name": "REST_CONNECTOR",
"_sequenceno": 1,
"_type": "REST_CONNECTOR",
"_status": "QUEUED"
}
],
"_timeoutSeconds": null,
"_timeoutPolicy": null,
"_status": "QUEUED",
"_createdAt": "2026-02-24T02:32:22.148605220Z",
"_updatedAt": "2026-02-24T02:32:22.148606054Z",
"_createdBy": "c9daff7e-b55b-41ec-aa46-d0150f3199dc",
"_updatedBy": "c9daff7e-b55b-41ec-aa46-d0150f3199dc",
"_inputParams": {
"_url": "https://api.spotify.com/v1/artists/0TnOYISbd1XYRBk9myaseg"
},
"_output": null
}

Create (Run) a new workflow

Endpoints

POST /workflowsvc/api/v1/workflows

Request

Query parameters

ParameterTypeDescriptionRequired
nsfilterStringNamespace filter to applyRequired

Request body

ParameterTypeDescriptionRequired
_workflowDefIdStringWorkflow definition IDRequired
Request example
POST /workflowsvc/api/v1/workflows?nsfilter={{nsfilter}}

{
"_workflowDefId": "824beec4-4a58-4bf8-b9df-b86172a2d5d5",
"_inputParams": {
"_url": "https://api.spotify.com/v1/artists/0TnOYISbd1XYRBk9myaseg"
}
}

Response

Codes

CodeDescription
201Created

Response example

{
"_id": "94bcf41e-8d05-4011-a64b-d5a5164b0155",
"_workflowDefId": "824beec4-4a58-4bf8-b9df-b86172a2d5d5",
"_name": "rest_connector_workflow",
"_namespaces": ["first_tchgt1VU"],
"_userType": "iaq_realtime_setup",
"_tasks": [
{
"_id": "f99d9656-f424-450d-b638-fbb28bc22490",
"_name": "REST_CONNECTOR",
"_sequenceno": 1,
"_type": "REST_CONNECTOR",
"_status": "QUEUED"
}
],
"_timeoutSeconds": null,
"_timeoutPolicy": null,
"_status": "QUEUED",
"_createdAt": "2026-02-24T02:32:22.148605220Z",
"_updatedAt": "2026-02-24T02:32:22.148606054Z",
"_createdBy": "c9daff7e-b55b-41ec-aa46-d0150f3199dc",
"_updatedBy": "c9daff7e-b55b-41ec-aa46-d0150f3199dc",
"_inputParams": {
"_url": "https://api.spotify.com/v1/artists/0TnOYISbd1XYRBk9myaseg"
},
"_output": null
}

Update workflow run status

Endpoints

PUT /workflowsvc/api/v1/workflows{workflowId}/status

Request

Query parameters

ParameterTypeDescriptionRequired
nsfilterStringNamespace filter to applyRequired

Path parameters

ParameterTypeDescriptionRequired
workflowIdStringWorkflow ID to search forRequired

Request body

ParameterTypeDescriptionRequired
_statusStringNew status to be updated to. Can be PAUSED, RESUMED, RETRIED, or TERMINATEDRequired

Request example

PUT /workflowsvc/api/v1/workflows/94bcf41e-8d05-4011-a64b-d5a5164b0155/status?nsfilter={{nsfilter}}


{
"_status": "PAUSED"
}

Response

Codes

CodeDescription
200Success
401Unauthorized
403Forbidden
500Internal Server Error

Response example

{
"_id": "94bcf41e-8d05-4011-a64b-d5a5164b0155",
"_workflowDefId": "824beec4-4a58-4bf8-b9df-b86172a2d5d5",
"_name": "rest_connector_workflow",
"_namespaces": ["first_tchgt1VU"],
"_userType": "iaq_realtime_setup",
"_tasks": [
{
"_id": "f99d9656-f424-450d-b638-fbb28bc22490",
"_name": "REST_CONNECTOR",
"_sequenceno": 1,
"_type": "REST_CONNECTOR",
"_status": "PAUSED"
}
],
"_timeoutSeconds": null,
"_timeoutPolicy": null,
"_status": "PAUSED",
"_createdAt": "2026-02-24T02:32:22.148605220Z",
"_updatedAt": "2026-02-24T02:32:22.148606054Z",
"_createdBy": "c9daff7e-b55b-41ec-aa46-d0150f3199dc",
"_updatedBy": "c9daff7e-b55b-41ec-aa46-d0150f3199dc",
"_inputParams": {
"_url": "https://api.spotify.com/v1/artists/0TnOYISbd1XYRBk9myaseg"
},
"_output": null
}