Skip to main content
POST
/
sdk
/
v1
/
runs
/
{runID}
/
wait-for-event
Wait for an external event
curl --request POST \
  --url https://api.strait.dev/sdk/v1/runs/{runID}/wait-for-event \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "event_key": "<string>",
  "notify_url": "<string>",
  "timeout_secs": 123
}
'
{
  "$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

runID
string
required

Body

application/json
event_key
string
required
notify_url
string
timeout_secs
integer<int64>

Response

OK