> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cloudthinker.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Uptime Kuma

> Connect Uptime Kuma so agents can find down monitors and expiring certificates, read status pages, and pause or resume monitors after approval

Connect Uptime Kuma to let CloudThinker agents check which monitors are down, how fast they respond, and which certificates expire soon. The connection signs in with an **API key**, and an optional admin login adds pause and resume.

## Prerequisites

* Uptime Kuma 1.21 or later.
* An HTTPS address for it that CloudThinker can reach.
* Permission to create an API key.
* Optional: the admin username and password, only if agents may pause and resume monitors.

## Setup

**1. Create an API key**

In Uptime Kuma, go to **Settings → API Keys** and create a key. Copy it right away.

**2. Add the connection in CloudThinker**

Open **Settings → Workspace → Connections**, open the **Discover** tab, and select **Uptime Kuma**. Fill in **Uptime Kuma URL** and **API key**.

**3. Optional: allow pause and resume**

Enter **Admin username (optional)** and **Admin password (optional)**. Leave both empty to keep the connection read-only.

**4. Connect**

Click **Connect**.

**Success state:** Uptime Kuma shows **Connected**.

## Connection details

| Field | Description | Example |
| - | - | - |
| **Uptime Kuma URL** | The address you open Uptime Kuma at | `https://status.example.com` |
| **API key** | Key from **Settings → API Keys**. It reads status and can't change anything | `<your-api-key>` |
| **CA certificate (optional)** | PEM of the private CA that issued your Uptime Kuma certificate. Leave empty to use public trust. The certificate and hostname are always checked | `-----BEGIN CERTIFICATE-----...` |
| **Admin username (optional)** | Only for pausing and resuming monitors | `<admin-username>` |
| **Admin password (optional)** | Password of that admin account. Stored as a secret and used only when you approve a pause or resume | `<admin-password>` |

## Required permissions

Read only: the API key. It reads monitor status and public status pages.

Pause and resume: Uptime Kuma has one admin account with full control, so these changes use that login. Skip it if you want the connection to stay read-only.

## Agent capabilities

| Capability | What agents can do | Approval |
| - | - | - |
| **Discovery** | Summarize monitors by status, certificates that expire soon, and the slowest monitors | No |
| **Monitors** | List monitors, filter by status, type, or name | No |
| **Status pages** | Read one status page, its incident, and its monitors | No |
| **Pause a monitor** | Pause one monitor | Yes |
| **Resume a monitor** | Resume one paused monitor | Yes |

Changes run only after you approve them. Each change shows the monitor's state before and after. Status is the latest check. Paused monitors don't appear in reads.

### Verify the connection

```text theme={null}
Run Uptime Kuma discovery and summarize monitors by status and certificates that expire in 14 days
```

Expect counts of monitors that are up, down, or pending, plus a short sample.

### Example prompts

```text theme={null}
Which Uptime Kuma monitors are down right now?
Which certificates expire in the next 30 days?
Pause the staging-api monitor
```

## Troubleshooting

> [accordion] Connect fails or requests return 401
>
> The API key is wrong or revoked. Create a new key in Uptime Kuma, edit the connection, and paste it into **API key**.

> [accordion] Requests return 404
>
> The URL is wrong, or Uptime Kuma is older than 1.21. Check **Uptime Kuma URL** and upgrade if needed.

> [accordion] The certificate is not trusted
>
> Your instance uses a private or self-signed certificate. Edit the connection and paste the issuing CA into **CA certificate (optional)**.

> [accordion] Pause or resume is refused
>
> The admin login is missing or wrong. Edit the connection and enter the Uptime Kuma admin username and password.

## Security

* **Least privilege** — grant only the permissions the agents need for your use case; start read-only and widen later.
* **Read-only by default** — use read-only credentials unless you want agents to make changes through this connection.
* **Rotate credentials** — rotate keys and tokens on your normal schedule; CloudThinker picks up the new value when you update the connection.
* **Revoke on offboarding** — remove the credential at the provider when you delete a connection or a teammate leaves.

- **Read-only by default**: the API key can't change anything. Add the admin login only if you need pause and resume.
- **Approval for every change**: a pause stops alerts for that monitor, so agents ask first.

## Related

> [card] [Connections](https://docs.cloudthinker.io/guide/connections/overview.md)
>
> See every connection you can add.

> [card] [Approvals](https://docs.cloudthinker.io/guide/approvals/overview.md)
>
> Control which Uptime Kuma changes wait for a person.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.