Triggers compensation for previously completed steps in reverse topological order. Only valid for failed or timed_out runs.
curl --request POST \
--url https://api.strait.dev/v1/workflow-runs/{workflowRunID}/compensate \
--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 POST \
--url https://api.strait.dev/v1/workflow-runs/{workflowRunID}/compensate \
--header 'Authorization: Bearer <token>'{
"Steps": [
{
"CompensationJobID": "<string>",
"OriginalOutput": "<unknown>",
"StepRef": "<string>",
"StepRunID": "<string>",
"TimeoutSecs": 123
}
],
"WorkflowRunID": "<string>",
"$schema": "<string>"
}