Skip to main content
GET
Count monitors
Count your organization’s monitors by status and by kind of schedule, without paging through the list. manual counts monitors without a schedule.

When to use it

Use it on a dashboard, or before you create many monitors, to see how many are active. Your organization’s active monitors count toward a limit. See Limits. A response looks like this:
A non-zero disabled count means Keenable stopped some monitors. Find them with List monitors and status=disabled.

SDK, CLI and MCP

The SDK methods need SDK 0.2.0 or later. See SDKs → Monitors and CLI → Monitors.

Authorizations

X-API-Key
string
header
required

Your API key, such as keen_.... Create one in the Keenable console. If you send both this header and Authorization, the API uses this one.

Response

The counts

total
integer
required
Example:

12

by_status
object
required

How many monitors have each status, for example {"active": 9, "paused": 2, "disabled": 0, "completed": 1}.

by_schedule
object
required

How many monitors have each kind of schedule; manual counts monitors with no schedule. For example {"cron": 5, "interval": 3, "once": 1, "manual": 3}.