Skip to main content
POST
/
v1
/
workflow-runs
/
{workflowRunID}
/
compensate
Compensate a failed workflow run
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.

Authorizations

Authorization
string
header
required

API key passed as Bearer token

Path Parameters

workflowRunID
string
required

Response

OK

Steps
object[] | null
required
WorkflowRunID
string
required
$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"https://api.strait.dev/schemas/CompensationPlan.json"