Skip to main content
GET
/
monitor
List Monitors
curl --request GET \
  --url https://hub.griff.services/monitor/ \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "project": "<string>",
      "id": "<string>",
      "name": "<string>",
      "version": "1.0",
      "frequency": {
        "every": 123,
        "unit": "MINUTE"
      },
      "environment": "default",
      "nodes": [
        {
          "id": "<string>",
          "type": "HTTP_REQUEST",
          "method": "GET",
          "path": "<string>",
          "base": "<string>",
          "response_format": "JSON",
          "headers": {},
          "body": "<unknown>"
        }
      ],
      "edges": [
        {
          "from": "<string>",
          "to": "<string>"
        }
      ],
      "locations": [
        "<string>"
      ],
      "notifications": [
        {
          "trigger": {
            "type": "run_failed"
          },
          "routing": {
            "channelType": "slack",
            "channel": "<string>"
          },
          "integration": "<string>"
        }
      ]
    }
  ],
  "total": 123,
  "page": 123,
  "limit": 123
}

Authorizations

Authorization
string
header
required

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

Query Parameters

projectId
string
environment
string
limit
number
Required range: 1 <= x <= 100
offset
number
Required range: x >= 0

Response

Default Response

data
MonitorV1 · object[]
required
total
number
required
page
number
required
limit
number
required