Management API

On this page

The management API lives at YOUR_API_BASE_URL and manages one project with a project API key. Paths, field names and status codes follow API v3 shapes, so most clients written for similar services need only a new host and key. An OpenAPI 3.1 document is at YOUR_API_BASE_URL/openapi.json.

How do I authenticate?

Create a key in the project settings. Keys start with crn_live_, belong to one project, and are either read-only or read-write. Send it in any of three ways:

shell
curl YOUR_API_BASE_URL/api/v3/checks -H "X-Api-Key: crn_live_…"
curl YOUR_API_BASE_URL/api/v3/checks -H "Authorization: Bearer crn_live_…"
curl -X POST YOUR_API_BASE_URL/api/v3/checks -H "Content-Type: application/json" -d '{"api_key": "crn_live_…", "name": "nightly-backup"}'

A read-only key can read checks, status changes and badges. Ping logs and the list of channels need a read-write key, so read-only members and keys cannot see them. Keys are shown once, when they are created.

Which limits and conventions apply?

  • 100 requests a minute per key, then 429 with a Retry-After header.
  • JSON in and out. Times are ISO 8601 in UTC. A check's tags are one space-separated string.
  • List routes take limit and cursor, and return next_cursor.
  • Request bodies are limited to 64 KB.
  • Every response carries an X-Request-Id header, which is the request_id of an error.

Which pages cover the endpoints?

Try it on one job

Create a check, copy its ping URL into the job, and watch the first ping arrive.

Start monitoring