Update Workflow Test
Update a workflow test.
Identified by test_id. Send any of name, assertion, or source;
omitted fields are left unchanged. Returns the updated test.
assertion: null is rejected explicitly (use Delete Workflow Test if
you want to remove the test entirely).
Updating source rebinds where the inputs come from:
{ type: "manual", handle_inputs: ... }— switch to hand-written inputs.{ type: "run_step", run_id: ..., step_id: ... }— re-capture inputs from a different workflow run / step.
WorkflowTest.
Authorizations
Path Parameters
Body
Body for updating a workflow test. Only the supplied fields (name, assertion, source) are changed.
Block-test assertion against one declared output handle.
target is the only supported shape: an output handle id and an
optional relative path inside that handle's payload.
- ManualWorkflowTestSource
- RunStepWorkflowTestSource
Response
Successful Response
A saved workflow test: a target block, an input source, and the assertion evaluated against its output.
Public workflow-test target.
The storage layer remains block-scoped today, but the API shape names the tested entity explicitly so workflow-level targets can be added later.
- ManualWorkflowTestSource
- RunStepWorkflowTestSource
Block-test assertion against one declared output handle.
target is the only supported shape: an output handle id and an
optional relative path inside that handle's payload.
Single-rule schema dependency for Level 2 drift detection.
valid, drifted, broken none, partial, drifted, unknown Summary of the most recent block-test run.
Execution status and verdict outcome are exposed as separate fields.
The summary is written on terminal-state transitions, so in practice
status is one of completed | error | cancelled and outcome is
populated when status == "completed".
Summary of the most recent block-test run.
Execution status and verdict outcome are exposed as separate fields.
The summary is written on terminal-state transitions, so in practice
status is one of completed | error | cancelled and outcome is
populated when status == "completed".
Summary of the most recent block-test run.
Execution status and verdict outcome are exposed as separate fields.
The summary is written on terminal-state transitions, so in practice
status is one of completed | error | cancelled and outcome is
populated when status == "completed".
When the workflow test was created
When the workflow test was last updated