Skip to content

Commit 35d306d

Browse files
docs(api): document the v2 execution surface
Adds execute, execution status, and cancel to openapi-v2-workflows.json with the structured ExecutionError schema (append-only code enum + block attribution) and the ExecutionResource contract, documenting the rules that differ from v1: modes are body-selected, a failed run is HTTP 200 with status 'failed', an executionId always means data (never the error envelope), queued status is visible immediately, and Response-block payloads stay inside output. Registers the three pages in the generated workflows meta.json and bumps the route-count baseline. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CiHhAk2R1NryaS3R8n2yFz
1 parent 272de32 commit 35d306d

3 files changed

Lines changed: 629 additions & 3 deletions

File tree

apps/docs/content/docs/en/api-reference/(generated)/workflows/meta.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
"importWorkflow",
77
"deployWorkflow",
88
"undeployWorkflow",
9-
"rollbackWorkflow"
9+
"rollbackWorkflow",
10+
"executeWorkflowV2",
11+
"getWorkflowExecutionV2",
12+
"cancelExecutionV2"
1013
]
1114
}

0 commit comments

Comments
 (0)