Viewport daemon, relay, and hosted runtime are available in alpha. Surfaces may change.
VIEWPORT
ReferenceAPI reference

Workflow Runs

27 operations in the Workflow Runs group.

26 of 27 operations on this page are generated contract stubs: the routes are real, the schemas are placeholders pending the owning subsystem's contract pass.

POST /api/resources/{workspace}/workflow-runs/preflight

Operation ID: preflightWorkflowRun

Parameters

NameInRequiredTypeDescription
workspacepathyesstring

Request bodyapplication/json · WorkflowRunPreflightRequest

FieldTypeRequired
workflow_definition_id`stringinteger
workflow_version_id`stringinteger
workflow_route_id`stringinteger
workflow_route_version_id`stringinteger
workflow_execution_profile_id`stringinteger
workflow_execution_profile_version_id`stringinteger
integration_event_id`stringinteger
runtime_target_id`stringinteger
managed_executor_id`stringinteger
workflow_digest`stringnull`
yaml_snapshot`stringnull`
statusenum(queued, draft, blocked)no
data_capture_policy`objectnull`

Responses

StatusDescriptionSchema
200Validates a first-run workflow request without creating a workflow run.WorkflowRunPreflightResponse
422Returns runnable-readiness issues without creating a workflow run.WorkflowRunPreflightResponse

GET /api/workflow-runs

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: getApiWorkflowRuns

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

POST /api/workflow-runs

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: postApiWorkflowRuns

Request bodyapplication/json · object

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
201Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

GET /api/workflow-runs/{workflowRun}

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: getApiWorkflowRunsWorkflowRun

Parameters

NameInRequiredTypeDescription
workflowRunpathyesstring

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

PATCH /api/workflow-runs/{workflowRun}

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: patchApiWorkflowRunsWorkflowRun

Parameters

NameInRequiredTypeDescription
workflowRunpathyesstring

Request bodyapplication/json · object

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

POST /api/workflow-runs/{workflowRun}/action-proposals/{proposalKey}/decision

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: postApiWorkflowRunsWorkflowRunActionProposalsProposalKeyDecision

Parameters

NameInRequiredTypeDescription
workflowRunpathyesstring
proposalKeypathyesstring

Request bodyapplication/json · object

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
201Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

POST /api/workflow-runs/{workflowRun}/action-proposals/{proposalKey}/execute

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: postApiWorkflowRunsWorkflowRunActionProposalsProposalKeyExecute

Parameters

NameInRequiredTypeDescription
workflowRunpathyesstring
proposalKeypathyesstring

Request bodyapplication/json · object

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
201Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

POST /api/workflow-runs/{workflowRun}/approvals/{nodeKey}

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: postApiWorkflowRunsWorkflowRunApprovalsNodeKey

Parameters

NameInRequiredTypeDescription
workflowRunpathyesstring
nodeKeypathyesstring

Request bodyapplication/json · object

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
201Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

GET /api/workflow-runs/{workflowRun}/audit-packet

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: getApiWorkflowRunsWorkflowRunAuditPacket

Parameters

NameInRequiredTypeDescription
workflowRunpathyesstring

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

POST /api/workflow-runs/{workflowRun}/cancel

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: postApiWorkflowRunsWorkflowRunCancel

Parameters

NameInRequiredTypeDescription
workflowRunpathyesstring

Request bodyapplication/json · object

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
201Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

GET /api/workflow-runs/{workflowRun}/contract-health

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: getApiWorkflowRunsWorkflowRunContractHealth

Parameters

NameInRequiredTypeDescription
workflowRunpathyesstring

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

POST /api/workflow-runs/{workflowRun}/events

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: postApiWorkflowRunsWorkflowRunEvents

Parameters

NameInRequiredTypeDescription
workflowRunpathyesstring

Request bodyapplication/json · object

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
201Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

POST /api/workflow-runs/{workflowRun}/execution-receipts/{executionReceipt}/verify

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: postApiWorkflowRunsWorkflowRunExecutionReceiptsExecutionReceiptVerify

Parameters

NameInRequiredTypeDescription
workflowRunpathyesstring
executionReceiptpathyesstring

Request bodyapplication/json · object

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
201Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

GET /api/workflow-runs/{workflowRun}/gates

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: getApiWorkflowRunsWorkflowRunGates

Parameters

NameInRequiredTypeDescription
workflowRunpathyesstring

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

POST /api/workflow-runs/{workflowRun}/nodes/{node}/context/proposals

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: postApiWorkflowRunsWorkflowRunNodesNodeContextProposals

Parameters

NameInRequiredTypeDescription
workflowRunpathyesstring
nodepathyesstring

Request bodyapplication/json · object

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
201Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

POST /api/workflow-runs/{workflowRun}/nodes/{node}/context/receipts

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: postApiWorkflowRunsWorkflowRunNodesNodeContextReceipts

Parameters

NameInRequiredTypeDescription
workflowRunpathyesstring
nodepathyesstring

Request bodyapplication/json · object

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
201Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

POST /api/workflow-runs/{workflowRun}/nodes/{node}/context/resolve

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: postApiWorkflowRunsWorkflowRunNodesNodeContextResolve

Parameters

NameInRequiredTypeDescription
workflowRunpathyesstring
nodepathyesstring

Request bodyapplication/json · object

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
201Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

GET /api/workflow-runs/{workflowRun}/policy-simulation

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: getApiWorkflowRunsWorkflowRunPolicySimulation

Parameters

NameInRequiredTypeDescription
workflowRunpathyesstring

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

GET /api/workflow-runs/{workflowRun}/replay

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: getApiWorkflowRunsWorkflowRunReplay

Parameters

NameInRequiredTypeDescription
workflowRunpathyesstring

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

POST /api/workflow-runs/{workflowRun}/rerun

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: postApiWorkflowRunsWorkflowRunRerun

Parameters

NameInRequiredTypeDescription
workflowRunpathyesstring

Request bodyapplication/json · object

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
201Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

GET /api/workflow-runs/{workflowRun}/story

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: getApiWorkflowRunsWorkflowRunStory

Parameters

NameInRequiredTypeDescription
workflowRunpathyesstring

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

GET /api/workflow-runs/{workflowRun}/telemetry

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: getApiWorkflowRunsWorkflowRunTelemetry

Parameters

NameInRequiredTypeDescription
workflowRunpathyesstring

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

GET /api/workflow-runs/{workflowRun}/trace-feed

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: getApiWorkflowRunsWorkflowRunTraceFeed

Parameters

NameInRequiredTypeDescription
workflowRunpathyesstring

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

GET /api/workflow-runs/{workflowRun}/trace-feed/export

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: getApiWorkflowRunsWorkflowRunTraceFeedExport

Parameters

NameInRequiredTypeDescription
workflowRunpathyesstring

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

POST /api/workflow-runs/{workflowRun}/verify-contract-health

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: postApiWorkflowRunsWorkflowRunVerifyContractHealth

Parameters

NameInRequiredTypeDescription
workflowRunpathyesstring

Request bodyapplication/json · object

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
201Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

POST /api/workflow-runs/preflight

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: postApiWorkflowRunsPreflight

Request bodyapplication/json · object

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
201Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

GET /api/workflow-runs/replay

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: getApiWorkflowRunsReplay

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

On this page