Returns the compensation plan for a workflow run without executing it. Shows which steps would be compensated and in what order.
curl --request GET \
--url https://api.strait.dev/v1/workflow-runs/{workflowRunID}/compensation-plan \
--header 'Authorization: Bearer <token>'{
"Steps": [
{
"CompensationJobID": "<string>",
"OriginalOutput": "<unknown>",
"StepRef": "<string>",
"StepRunID": "<string>",
"TimeoutSecs": 123
}
],
"WorkflowRunID": "<string>",
"$schema": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.strait.dev/llms.txt
Use this file to discover all available pages before exploring further.
API key passed as Bearer token
curl --request GET \
--url https://api.strait.dev/v1/workflow-runs/{workflowRunID}/compensation-plan \
--header 'Authorization: Bearer <token>'{
"Steps": [
{
"CompensationJobID": "<string>",
"OriginalOutput": "<unknown>",
"StepRef": "<string>",
"StepRunID": "<string>",
"TimeoutSecs": 123
}
],
"WorkflowRunID": "<string>",
"$schema": "<string>"
}