Get Monitor
getMonitorRetrieve a monitor's configuration by ID, including check interval, notifications, tags, parent group, uptime, and average ping; optionally include type-specific fields or select named fields.
Instructions
Returns one monitor's configuration by ID (check interval, notifications, tags, parent group) with its uptime and average ping. Type-specific fields such as url, hostname and port are returned only with includeTypeSpecificFields; fields returns only the fields you name. Read it before updateMonitor. For current status use getMonitorSummary; for check history, listHeartbeats. Find IDs with listMonitors.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"monitorID": "<monitorID>"
},
"name": "getMonitor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| monitorID | Yes | The ID of the monitor to retrieve | |
| 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 |
|---|---|---|---|
| monitor | Yes | Monitor object 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. |