{"openapi":"3.1.0","info":{"title":"Cronitor (BYOK) API","version":"0.1.0","description":"Cronitor (BYOK) lets an AI assistant read your own Cronitor data through the Cronitor API with a key you supply (Cronitor API key (read scopes are enough)). Read-only: 10 tools (list_monitors, get_monitor, search_monitors, list_issues, get_issue, list_statuspages, list_statuspage_components, list_maintenance_windows, list_sites, list_site_errors). The BYOK key travels with each request, is used...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-cronitor.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-cronitor/docs"},"termsOfService":"https://connectorbay.com/byok-cronitor/terms"},"servers":[{"url":"https://byok-cronitor.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-cronitor/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/list_monitors":{"post":{"operationId":"list_monitors","summary":"List Cronitor monitors with key, name, type (job, heartbeat, check, site), passing and paused state, group, tags, schedu","description":"List Cronitor monitors with key, name, type (job, heartbeat, check, site), passing and paused state, group, tags, schedule, last event and next expected run. Filter by text, group, environment, state or type. Use for \"Which of my Cronitor monitors are failing\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"page_size":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"Records per page (1 to 1000).","title":"Page Size"},"search":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Text to match against monitor names and keys.","title":"Search"},"group":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Only monitors in this group key.","title":"Group"},"env":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Environment key; default is the account's default environment.","title":"Env"},"state":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Only monitors in this state, for example failing or paused.","title":"State"},"type":{"anyOf":[{"enum":["job","heartbeat","check","site"],"type":"string"},{"type":"null"}],"default":null,"description":"Only monitors of this type.","title":"Type"},"sort":{"anyOf":[{"enum":["created","-created","name","-name"],"type":"string"},{"type":"null"}],"default":null,"description":"Order of results.","title":"Sort"}},"title":"list_monitorsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_monitor":{"post":{"operationId":"get_monitor","summary":"Get one Cronitor monitor by key with its schedule, state, last event, last issue, environments, status pages and request","description":"Get one Cronitor monitor by key with its schedule, state, last event, last issue, environments, status pages and request settings. Optionally include recent events or job invocations. Use for \"Show the Cronitor monitor nightly-backup in detail\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"code":{"description":"Monitor key (the key field from list_monitors).","maxLength":100,"title":"Code","type":"string"},"env":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Environment key; default is the account's default environment.","title":"Env"},"with_events":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include the latest events.","title":"With Events"},"with_invocations":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include the latest job invocations.","title":"With Invocations"}},"required":["code"],"title":"get_monitorArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/search_monitors":{"post":{"operationId":"search_monitors","summary":"Search monitors by text; supports prefixes job:, check:, heartbeat:, group: and tag:. Use for \"Find the Cronitor monitor","description":"Search monitors by text; supports prefixes job:, check:, heartbeat:, group: and tag:. Use for \"Find the Cronitor monitors tagged billing\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"query":{"description":"Search text, for example 'tag:billing' or 'job:backup'.","maxLength":200,"title":"Query","type":"string"}},"required":["query"],"title":"search_monitorsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_issues":{"post":{"operationId":"list_issues","summary":"List Cronitor issues (incidents) with name, state, severity, start and end time, duration, affected monitors and status ","description":"List Cronitor issues (incidents) with name, state, severity, start and end time, duration, affected monitors and status pages. Filter by text, state, severity, monitor type or time range. Use for \"What Cronitor issues are unresolved right now\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Records per page (1 to 100).","title":"Page Size"},"search":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Text to match against issue names and monitor names, keys and codes.","title":"Search"},"state":{"anyOf":[{"enum":["unresolved","investigating","identified","monitoring","resolved"],"type":"string"},{"type":"null"}],"default":null,"description":"Only issues in this state.","title":"State"},"severity":{"anyOf":[{"enum":["missing_data","operational","maintenance","degraded_performance","minor_outage","outage"],"type":"string"},{"type":"null"}],"default":null,"description":"Only issues with this severity.","title":"Severity"},"time":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Time range, for example 24h, 7d or 30d.","title":"Time"},"env":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Environment key; default is the account's default environment.","title":"Env"},"order_by":{"anyOf":[{"enum":["-started","started","-relevance","relevance"],"type":"string"},{"type":"null"}],"default":"-started","description":"Order of results.","title":"Order By"}},"title":"list_issuesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_issue":{"post":{"operationId":"get_issue","summary":"Get one Cronitor issue by key with its update history (state, message, time), affected monitors and status pages. Use fo","description":"Get one Cronitor issue by key with its update history (state, message, time), affected monitors and status pages. Use for \"Show the updates of Cronitor issue abc123def456ghi7\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"key":{"description":"Issue key (the key field from list_issues).","maxLength":40,"title":"Key","type":"string"}},"required":["key"],"title":"get_issueArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_statuspages":{"post":{"operationId":"list_statuspages","summary":"List Cronitor status pages with name, hosted subdomain, custom domain, access (public or password), status and component","description":"List Cronitor status pages with name, hosted subdomain, custom domain, access (public or password), status and component count. Use for \"Which Cronitor status pages do I have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Records per page (1 to 100).","title":"Page Size"}},"title":"list_statuspagesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_statuspage_components":{"post":{"operationId":"list_statuspage_components","summary":"List status page components with name, type, status, monitor and group, optionally for one status page. Use for \"What co","description":"List status page components with name, type, status, monitor and group, optionally for one status page. Use for \"What components are on my Cronitor status page\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Records per page (1 to 100).","title":"Page Size"},"statuspage":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Only components of the status page with this key.","title":"Statuspage"}},"title":"list_statuspage_componentsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_maintenance_windows":{"post":{"operationId":"list_maintenance_windows","summary":"List Cronitor maintenance windows with name, start, end, state and whether they cover all monitors. Use for \"Are any Cro","description":"List Cronitor maintenance windows with name, start, end, state and whether they cover all monitors. Use for \"Are any Cronitor maintenance windows scheduled\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Records per page (1 to 100).","title":"Page Size"}},"title":"list_maintenance_windowsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_sites":{"post":{"operationId":"list_sites","summary":"List Cronitor real user monitoring sites with name, client key, web vitals and error tracking flags and sampling. Use fo","description":"List Cronitor real user monitoring sites with name, client key, web vitals and error tracking flags and sampling. Use for \"Which sites does Cronitor real user monitoring track\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Records per page (1 to 100).","title":"Page Size"}},"title":"list_sitesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_site_errors":{"post":{"operationId":"list_site_errors","summary":"List browser errors captured by Cronitor real user monitoring with type, message, file, line, first and last seen and oc","description":"List browser errors captured by Cronitor real user monitoring with type, message, file, line, first and last seen and occurrence count. Filter by site, ignored flag or environment. Use for \"What JavaScript errors happen most on my Cronitor monitored site\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Records per page (1 to 100).","title":"Page Size"},"site":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Only errors of the site with this key.","title":"Site"},"ignored":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to list only ignored errors, false for only open ones.","title":"Ignored"},"env":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Environment key; default is the account's default environment.","title":"Env"}},"title":"list_site_errorsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}