Skip to main content
GET
/
api
/
v1
/
monitors
List monitors
curl --request GET \
  --url https://developer.thehog.ai/api/v1/monitors \
  --header 'X-Access-Key: <api-key>' \
  --header 'X-Secret-Key: <api-key>'
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "config": {},
      "cadence_minutes": 123,
      "last_run_at": "<string>",
      "next_run_at": "<string>",
      "consecutive_failures": 123,
      "created_at": "<string>",
      "updated_at": "<string>"
    }
  ],
  "next_cursor": "<string>"
}

GET /api/v1/monitors

List all monitors for your organization.
List all monitors with pagination and optional status filtering.

Example

curl https://developer.thehog.ai/api/v1/monitors?status=active \
  -H "X-Access-Key: ak_xxxxxxxxxxxxxxxx" \
  -H "X-Secret-Key: sk_xxxxxxxxxxxxxxxx"

Authorizations

X-Access-Key
string
header
required

The public API key from the Credentials page.

X-Secret-Key
string
header
required

The API secret shown when the credential is created.

Query Parameters

limit
number

Response

Monitors with pagination.

data
object[]
required
next_cursor
string | null
required