workflowSteps on every create call.
Create and edit
POST /api/workflows stores a workflow:
name. The server sets userId and createdAt. The
request body cannot override them. PUT /api/workflows/{id} applies a
partial update. DELETE /api/workflows/{id} removes the workflow.
Run
POST /api/workflows/{id}/run queues a scan that uses the workflow’s plan:
goals is optional. The response returns 202 while the scan queues, 404
for an unknown workflow.
List
GET /api/workflows returns the paginated list. ?q= searches by name.
