Skip to main content
POST
/
v1
/
workflows
/
{workflow_id}
/
workflow_runs
Creates a workflow run
curl --request POST \
  --url https://api.rootly.com/v1/workflows/{workflow_id}/workflow_runs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '
{
  "data": {
    "type": "workflow_runs",
    "attributes": {
      "immediate": true,
      "check_conditions": false,
      "context": {}
    }
  }
}
'
{
  "data": {
    "id": "<string>",
    "type": "workflow_runs",
    "attributes": {
      "workflow_id": "<string>",
      "status": "queued",
      "triggered_by": "system",
      "status_message": "<string>",
      "started_at": "<string>",
      "completed_at": "<string>",
      "failed_at": "<string>",
      "canceled_at": "<string>",
      "incident_id": "<string>",
      "post_mortem_id": "<string>",
      "action_item_id": "<string>",
      "alert_id": "<string>",
      "pulse_id": "<string>",
      "context": {}
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workflow_id
string
required

Body

application/vnd.api+json
data
object
required

Response

workflow run created

data
object
required