Skip to main content

Workflow API

Overview

The workflow API manages AI-powered automation across verticals.

GET /api/workflows

List available workflows for the current center. Response:

POST /api/workflows/:workflowId/execute

Manually trigger a workflow execution. Request:
Response:
All workflow executions are recorded in the DPU audit trail. AI-generated outputs are marked as DRAFT evidence level until human review.

GET /api/workflows/:workflowId/executions

List past executions of a specific workflow. Response:
The following Workflow API endpoints are planned but not yet available:
  • POST /api/workflows — Create custom workflow
  • PATCH /api/workflows/:workflowId — Update workflow configuration
  • DELETE /api/workflows/:workflowId — Deactivate workflow