Skip to main content
POST
/
runs
/
trigger
/
{monitorId}
Trigger Run
curl --request POST \
  --url https://hub.griff.services/runs/trigger/{monitorId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "environment": "<string>"
}
'
{
  "data": {
    "id": "<string>",
    "monitorId": "<string>",
    "executionGroupId": "<string>",
    "location": "<string>",
    "environment": "<string>",
    "status": "pending",
    "triggeredBy": "schedule",
    "startedAt": "2023-11-07T05:31:56Z",
    "completedAt": "2023-11-07T05:31:56Z",
    "duration_ms": 123,
    "success": true,
    "errors": [
      "<string>"
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

monitorId
string
required

Body

application/json
environment
string
required
Minimum string length: 1

Response

Default Response

data
object
required