List Monitors
listMonitorsRetrieve monitor configurations with filters for keywords, type, active state, maintenance, tags, and parent group; use returned fields and pagination to find monitor IDs or compare settings.
Instructions
Returns the configuration of every monitor, or of those matching the filters (keywords, type, active, maintenance, tags, parent group). Use it to find monitor IDs or compare settings; for current UP/DOWN status use getMonitorSummary instead. Type-specific fields such as url, hostname and port are returned only with includeTypeSpecificFields; fields returns only the fields you name. Returns up to 50 monitors per call; pass nextCursor back as cursor for the next page.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "listMonitors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags a monitor must all have, comma-separated, each "name" or "name=value", case-insensitive. E.g. "production,env=staging" | |
| type | No | Monitor type(s), comma-separated. listMonitorTypes lists them. | |
| limit | No | How many monitors to return (default: 50) | |
| active | No | true: only active monitors; false: only paused ones | |
| cursor | No | The nextCursor of the previous call, for the next page | |
| fields | No | Only these fields, comma-separated, e.g. "name,url,active"; id is always returned. A type-specific field named here is returned without includeTypeSpecificFields. Default: every field. | |
| keywords | No | Space-separated keywords matched against the monitor's pathName, case-insensitively; all must match | |
| parentId | No | Only the direct children of this group monitor (not recursive); null for top-level monitors | |
| maintenance | No | true: only monitors in maintenance; false: only those not in maintenance | |
| includeSecrets | No | Return credentials in full instead of "***"; they then stay in the transcript. Default: false, or UPTIME_KUMA_INCLUDE_SECRETS. | |
| includeTypeSpecificFields | No | Also return type-specific fields such as url, hostname and port (default: false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | How many monitors this page holds | |
| total | Yes | How many match the filters, across every page | |
| monitors | Yes | Array of monitor objects with common fields plus uptime/avgPing. May include type-specific fields when includeTypeSpecificFields is true; with fields, only the fields asked for. Credentials (pushToken, basic_auth_pass, bearer_token, headers, ...) read "***" unless includeSecrets is set. | |
| nextCursor | No | Pass as cursor for the next page; absent on the last page |