Skip to main content
POST
/
api
/
data-platform
/
workflow-runs
Create a workflow run
curl --request POST \
  --url https://app.solya.app/api/data-platform/workflow-runs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "organizationId": "org-uuid-1234",
  "workflowId": "wf-uuid-auto-restock"
}
'
{
  "id": "run-uuid-wf-8b2a3c",
  "status": "PENDING",
  "triggeredAt": "2026-05-23T06:00:00.000Z",
  "workflowId": "wf-uuid-auto-restock"
}

Authorizations

Authorization
string
header
required

Static internal-ops token used by the data platform and internal cron jobs (e.g. zombie-run sweep). Validated via requireBearerToken inside the handler against a service-specific environment variable.

Body

application/json
organizationId
string
required

Organization UUID that owns the workflow and this run

Minimum string length: 1
workflowId
string
required

UUID of the workflow to execute; must be ACTIVE and have a flow definition

Minimum string length: 1

Response

Successful response

data
object
required
success
enum<boolean>
required
Available options:
true