Cronitor Environments API

The environments API from Cronitor — 2 operation(s) for environments.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/environments List monitor environments · Environments retrieve #
Ask an LLM
“Which environments are defined for my monitors?”
“Can I list all monitor environments?”
Tell an agent
List my monitor environments.
Show every environment defined for my monitors.
POST /api/environments Create a monitor environment · Environments create #
Ask an LLM
“How do I add a new environment like staging or production?”
“Can I create a monitor environment for a new deployment?”
Tell an agent
Create a new monitor environment.
Add a staging environment for my monitors.
GET /api/environments/{key} Get a monitor environment · Environments retrieve 2 #
Ask an LLM
“What are the settings of one monitor environment?”
“Can I fetch a single environment by key?”
Tell an agent
Show monitor environment {key}.
Get the settings of environment {key}.
PUT /api/environments/{key} Update a monitor environment · Environments update #
Ask an LLM
“How do I rename an existing monitor environment?”
“Can I change the settings of a monitor environment?”
Tell an agent
Update monitor environment {key}.
Rename existing environment {key}.
DELETE /api/environments/{key} Delete a monitor environment · Environments destroy #
Ask an LLM
“How do I remove an environment I no longer monitor?”
“Can I delete a monitor environment?”
Tell an agent destructive · confirm first
Delete monitor environment {key}.
Remove the environment {key} from my monitors.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cronitor:cronitor-environments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cronitor-environments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cronitor Environments API
  version: '2025-11-28'
  description: 'Monitor cron jobs, heartbeats, websites, and APIs, and manage alerts, issues, status pages, and Real User Monitoring sites. Reference: https://cronitor.io/docs/api'
servers:
- url: https://cronitor.io
security:
- apiKey: []
tags:
- name: Environments
  externalDocs:
    url: https://cronitor.io/docs/environments-api
paths:
  /api/environments:
    get:
      operationId: environments_retrieve
      tags:
      - Environments
      responses:
        '200':
          description: Response schema not yet published. See https://cronitor.io/docs/environments-api
      parameters:
      - name: Cronitor-Version
        in: header
        required: false
        description: API version. These schemas describe 2025-11-28. Requests without the header get 2020-10-01. https://cronitor.io/docs/api#versioning
        schema:
          type: string
          enum:
          - '2025-11-28'
          - '2020-10-01'
      summary: Environments retrieve
      x-summary-source: derived
    post:
      operationId: environments_create
      tags:
      - Environments
      responses:
        '200':
          description: Response schema not yet published. See https://cronitor.io/docs/environments-api
      parameters:
      - name: Cronitor-Version
        in: header
        required: false
        description: API version. These schemas describe 2025-11-28. Requests without the header get 2020-10-01. https://cronitor.io/docs/api#versioning
        schema:
          type: string
          enum:
          - '2025-11-28'
          - '2020-10-01'
      summary: Environments create
      x-summary-source: derived
  /api/environments/{key}:
    get:
      operationId: environments_retrieve_2
      parameters:
      - in: path
        name: key
        schema:
          type: string
          pattern: ^[A-Za-z0-9\-_.$|\s}{\%]{1,150}$
        required: true
      - name: Cronitor-Version
        in: header
        required: false
        description: API version. These schemas describe 2025-11-28. Requests without the header get 2020-10-01. https://cronitor.io/docs/api#versioning
        schema:
          type: string
          enum:
          - '2025-11-28'
          - '2020-10-01'
      tags:
      - Environments
      responses:
        '200':
          description: Response schema not yet published. See https://cronitor.io/docs/environments-api
      summary: Environments retrieve 2
      x-summary-source: derived
    put:
      operationId: environments_update
      parameters:
      - in: path
        name: key
        schema:
          type: string
          pattern: ^[A-Za-z0-9\-_.$|\s}{\%]{1,150}$
        required: true
      - name: Cronitor-Version
        in: header
        required: false
        description: API version. These schemas describe 2025-11-28. Requests without the header get 2020-10-01. https://cronitor.io/docs/api#versioning
        schema:
          type: string
          enum:
          - '2025-11-28'
          - '2020-10-01'
      tags:
      - Environments
      responses:
        '200':
          description: Response schema not yet published. See https://cronitor.io/docs/environments-api
      summary: Environments update
      x-summary-source: derived
    delete:
      operationId: environments_destroy
      parameters:
      - in: path
        name: key
        schema:
          type: string
          pattern: ^[A-Za-z0-9\-_.$|\s}{\%]{1,150}$
        required: true
      - name: Cronitor-Version
        in: header
        required: false
        description: API version. These schemas describe 2025-11-28. Requests without the header get 2020-10-01. https://cronitor.io/docs/api#versioning
        schema:
          type: string
          enum:
          - '2025-11-28'
          - '2020-10-01'
      tags:
      - Environments
      responses:
        '204':
          description: No response body
      summary: Environments destroy
      x-summary-source: derived
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: basic
      description: 'Send an API key as the HTTP Basic username with an empty password, for example `curl -u API_KEY: https://cronitor.io/api/monitors`. Keys carry scopes: https://cronitor.io/docs/api-keys'
x-provenance:
  method: harvested
  publisher: Cronitor
  source: https://cronitor.io/api/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)