Skip to main content
POST
/
v1
/
workflows
/
{workflowID}
/
plan
Plan a workflow execution
curl --request POST \
  --url https://api.strait.dev/v1/workflows/{workflowID}/plan \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "step_overrides": [
    {
      "enabled": true,
      "step_ref": "<string>"
    }
  ]
}
'
{
  "$schema": "<string>",
  "detail": "<string>",
  "errors": [
    {
      "location": "<string>",
      "message": "<string>",
      "value": "<unknown>"
    }
  ],
  "instance": "<string>",
  "status": 123,
  "title": "<string>",
  "type": "about:blank"
}

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

workflowID
string
required

Body

application/json
step_overrides
object[] | null

Response

OK