List monitors
Changed onLists monitors for the authenticated organization. Supports free-text search (q over search_by fields, prefix or exact via search_type) plus status/type/tag filters. Results are paginated via the opaque cursor.
Request
- Base URLhttps://api.context.dev/v1
- URLhttps://api.context.dev/v1/monitors
- AuthHTTP bearer
Query parameters
Free-text search term, matched against the fields named in search_by.
Comma-separated fields to search with q. Defaults to all of them. Note instructions only exists on extract monitors.
prefix for as-you-type prefix matching (default), exact for full-token matching.
Filter monitors by lifecycle status.
Filter by target type.
Filter by change detection type.
Comma-separated list of tags to filter by (matches monitors having any of them).
Filter to items that have this tag.
Maximum number of items to return per page (1-100). Defaults to 25.
Opaque pagination cursor from a previous response.
Response
A paginated list of monitors
Example response
{
"data": [
{
"id": "mon_123",
"name": "Acme pricing monitor",
"target": {
"url": "https://acme.com/pricing",
"instructions": "Report pricing or plan availability changes. Ignore counters, timestamps, testimonials, and navigation."
},
"schedule": {
"frequency": 6,
"unit": "hours"
},
"webhook": {
"url": "https://example.com/webhook",
"events": [
"change.detected",
"run.completed"
],
"secret": "whsec_8f3a…"
},
"last_error": {
"code": "fetch_failed",
"message": "The target URL could not be fetched."
},
"webhook_failure": {
"consecutive_failures": 3,
"last_message": "Webhook endpoint returned HTTP 429."
},
"tags": [
"pricing",
"competitor"
],
"baseline": {
"text": "Acme Pricing\nStarter $9/mo…"
}
}
]
}Changes
- warning
added the new
WEBSITE_BLOCKEDenum value to theresponse property for the response status
- warning
- warning
added the new
COLD_DOMAIN_TIMEOUT_TOO_LOWenum value to theresponse property for the response status
- warning