Workflow — workflow-service
Section titled “Workflow — workflow-service”Every response below is delivered inside the universal {success, result} envelope; downloads and streams bypass it structurally. See Calling the HTTP API.
Snapshot:
workflow-service.json· workflow-service 0.0.1 · 10 operations
POST /v1/entities/{entity}/{workflowId}/{actionId}/bulk
Section titled “POST /v1/entities/{entity}/{workflowId}/{actionId}/bulk”bulkExecuteWorkflowAction
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
workflowId | path | yes | string |
actionId | path | yes | string |
Request body: BulkExecuteActionRequestDto
Responses
| Status | Description |
|---|---|
200 | BulkExecuteWorkflowActionResponseDto model instance |
POST /v1/entities/{entity}/entries/{entry}/{workflowId}/adhoc-step
Section titled “POST /v1/entities/{entity}/entries/{entry}/{workflowId}/adhoc-step”addAdHocStep
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
entry | path | yes | string |
workflowId | path | yes | string |
Request body: CreateAdhocWorkflowStepDto
Responses
| Status | Description |
|---|---|
200 | Return value of WorkflowController.addAdHocStep |
PATCH /v1/entities/{entity}/entries/{entry}/{workflowId}/execute-action
Section titled “PATCH /v1/entities/{entity}/entries/{entry}/{workflowId}/execute-action”executeWorkflowAction
— Execute action of workflow that belongs to an entity
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
workflowId | path | yes | string |
entry | path | yes | string |
Request body: ExecuteActionModel
Responses
| Status | Description |
|---|---|
200 | workflow PATCH success |
PATCH /v1/entities/{entity}/entries/{entry}/workflow/{workflowId}/change-step
Section titled “PATCH /v1/entities/{entity}/entries/{entry}/workflow/{workflowId}/change-step”changeCurrentStep
— Change current step of a data entry
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
workflowId | path | yes | string |
entry | path | yes | string |
Request body: ChangeWorkFlowStepDto
Responses
| Status | Description |
|---|---|
200 | workflow PATCH success |
GET /v1/entities/{entity}/entries/{entryId}/main-flow-status
Section titled “GET /v1/entities/{entity}/entries/{entryId}/main-flow-status”getMainWorkflowStatus
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
entryId | path | yes | string |
mode | query | no | string |
Responses
| Status | Description |
|---|---|
200 | — |
GET /v1/entities/{entity}/workflow/{scope}
Section titled “GET /v1/entities/{entity}/workflow/{scope}”getWorkFlowOwners
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
scope | path | yes | string |
Responses
| Status | Description |
|---|---|
200 | find all workflow owners or original owners of an entity depends on the scope |
GET /v2/entities/{entity}/entries/{entry}/{workflowId}/adhoc-step-owners
Section titled “GET /v2/entities/{entity}/entries/{entry}/{workflowId}/adhoc-step-owners”getAdhocStepOwners
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
entry | path | yes | string |
workflowId | path | yes | string |
skip | query | no | number |
limit | query | no | number |
search | query | no | string |
ownerType | query | no | number |
Responses
| Status | Description |
|---|---|
200 | Get eligible owners for adhoc step owner selection |
PATCH /v2/entities/{entity}/entries/{entry}/{workflowId}/change-owner
Section titled “PATCH /v2/entities/{entity}/entries/{entry}/{workflowId}/change-owner”changeCurrentStepOwnerV2
— Change the workflow owner of a data entry
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
workflowId | path | yes | string |
entry | path | yes | string |
Request body: ChangeStepOwnerDto
Responses
| Status | Description |
|---|---|
200 | workflow PATCH success |
GET /v2/entities/{entity}/entries/{entry}/{workflowId}/eligible-owners
Section titled “GET /v2/entities/{entity}/entries/{entry}/{workflowId}/eligible-owners”getEligibleOwners
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
entry | path | yes | string |
workflowId | path | yes | string |
skip | query | no | number |
limit | query | no | number |
search | query | no | string |
Responses
| Status | Description |
|---|---|
200 | Get eligible owners for change owner dialog |
GET /v2/entities/{entity}/entries/{entryId}/main-flow-status
Section titled “GET /v2/entities/{entity}/entries/{entryId}/main-flow-status”getMainWorkflowStatusV2
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
entryId | path | yes | string |
mode | query | no | string |
Responses
| Status | Description |
|---|---|
200 | — |
Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27