Appearance
Public API Overview
The Continual public API lets you pull your organisation's Continual data into your own dashboards, reports and scripts. It returns your factories, lines and machines, every check instance once it is due, and the actions raised against them, as plain JSON records with stable fields. It also returns grouped counts of those records, so you can build a dashboard tile without downloading every record.
The API is read-only in v1. It can't change anything in Continual.
- New to the API? Start with Getting Started.
- To build a dashboard tile, use the Recipes page, then follow the guide for your tool: Power BI, Grafana, Excel or Python.
- To see what each record and status means, read the Data Model.
- To see every endpoint, parameter and response, use the API Reference.
Base URLs
| Environment | Base URL | Keys begin with |
|---|---|---|
| Production | https://api.continualapp.com/public/v1 | cntl_live_ |
| Staging | https://staging.api.continualapp.com/public/v1 | cntl_test_ |
A key only works in the environment that issued it. API access is switched on per organisation. Contact Continual if your owner or admin can't see API access under Configure → Integrations.
What It Is For
The API serves records and counts of records. It doesn't publish named metrics such as "compliance" or "OEE". That's deliberate. The portal's metric definitions keep improving, and a fixed metric endpoint would either freeze them or change your numbers without warning. Instead, you choose the population with filters, and the API counts it. The Recipes page gives the exact filters for the most common tiles, including the portal's headline completion rate.
The single rate the API returns is a check-instance summary's completion_rate. It always uses one formula, completed ÷ (completed + overdue + missed) × 100, over the rows you selected.
Versioning
The major version is part of the path: /public/v1.
- Within v1, changes are additive only. We may add endpoints, optional parameters, response fields and new enum values. We won't remove or rename a field, change its type, make an optional parameter required, or change a default.
- Enums are open sets. A status or category field can gain a new value. Your integration must accept values it doesn't recognise, for example by showing them as "other", rather than failing.
- Breaking changes ship as a new version. If one is ever needed, it ships as
/public/v2, and/public/v1keeps serving unchanged. Before an old version or endpoint is retired, its responses carryDeprecationandSunsetheaders, and the reference marks it deprecated with its sunset date.
CI enforces these rules. Every change to the contract is checked for breaking changes before it can ship.
Time Zones and Dates
- Every timestamp in a response is ISO 8601 in UTC, for example
2026-10-16T06:00:00Z. - Every timestamp you send (
updated_since,due_from,created_to, …) must carry a time zone:Zor an offset such as+10:00. A timestamp without one is rejected with422. - Ranges are inclusive at the start and exclusive at the end:
due_fromincludes the instant it names, anddue_toexcludes it. - Date buckets in summaries (
due_date,due_week,due_month,created_date, …) use each factory's own local day, including daylight saving. Each factory's IANA time zone is returned on its record, in thetimezonefield. Weeks start on Monday. Week and month buckets are labelled by their first local date, asYYYY-MM-DD. - To get whole local days, send bounds at local midnight with the factory's offset. For example,
due_from=2026-10-01T00:00:00+10:00for a factory inAustralia/Melbourne. - Summaries and date-filtered lists accept a range of at most 366 days.
Pagination
Lists return a page of records and a cursor:
json
{
"data": [{ "id": "…" }, { "id": "…" }],
"next_cursor": "eyJ2IjoxLCJjb250ZXh0Ijoi…"
}limitsets the page size: 100 by default, 500 at most.- To get the next page, send the same request with
cursorset tonext_cursor. Keep every other filter unchanged. You may changelimitbetween pages. - When
next_cursorisnull, you have the last page. - Treat the cursor as opaque. Don't parse it or build one.
Each list has a natural order: hierarchy by (name, id), check instances by (due_at, id) and actions by (created_at, id). Supplying updated_since switches any list to (updated_at, id) order and returns only records updated at or after that timestamp. This is how you keep a copy in sync: see Incremental Sync.
A cursor marks a position in live data, not a frozen snapshot. If a record changes while you page, it can move. When you sync, overlap successive windows slightly and upsert by id.
Errors
Every error is an RFC 9457 problem document, served as application/problem+json:
json
{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "The request is invalid. See invalid_params for each rejected value.",
"instance": "/public/v1/check-instances/summary",
"invalid_params": [
{
"location": ["query", "group_by"],
"message": "Expected a comma-separated list of: status, origin, check_kind, factory_id, line_id, machine_id, check_id, due_date, due_week, due_month."
}
]
}Branch on status, and on type where it isn't about:blank. title and detail are written for people and may be reworded.
| Status | Meaning | What to do |
|---|---|---|
401 | The key is missing, malformed, unknown, expired or revoked, its client is revoked, or API access is switched off for the organisation. | Check the key. The response doesn't say which, on purpose. |
403 | The key is valid but its client lacks the permission this endpoint needs. | Add the permission, or use a client that has it. |
404 | The record doesn't exist, or it is outside your client's factories. | Don't retry. |
422 | A parameter is invalid. invalid_params lists each one. | Fix the request. |
429 | A rate limit was reached. | Wait for Retry-After seconds, then retry. |
503 | A database statement, including authentication, took too long and was cancelled. | Retry after Retry-After seconds, or narrow the request. |
Rate Limits
Requests are limited per API client (60 a minute by default) and per organisation (300 a minute by default). Both limits are sliding one-minute windows.
Before any database authentication, each attempt also consumes a source budget (300 a minute by default) and a service budget (1,200 a minute per API server by default). These include missing, invalid and revoked keys. The hosted API uses the network caller reported by Fly Proxy, so unrelated callers through the same Fly Proxy have separate source budgets. Callers behind an upstream proxy or NAT may share that budget. Changing keys does not reset it.
Responses after identity checks describe the client or organisation budget; earlier authentication failures describe the source or service budget. Health and unknown routes advertise the client policy without consuming a budget.
Every response carries these headers:
| Header | Meaning |
|---|---|
RateLimit-Limit | Requests a minute in the most constrained budget. |
RateLimit-Remaining | Requests left in that budget. |
RateLimit-Reset | Seconds until the oldest request in the window expires. |
A 429 also carries Retry-After, in seconds. Wait at least that long before you retry. Limits are enforced on each API server separately, so treat them as approximate, and don't rely on bursting up to them.
A dashboard that refreshes every few minutes uses a small fraction of the budget. A full sync of a large history pages at up to 500 records a request. For more headroom, contact Continual.
Caching
Summary endpoints (/check-instances/summary and /actions/summary) may serve a cached result for up to 120 seconds. Cache-Control: private, max-age=… tells you how much freshness is left. Every request is still authenticated and permission-checked, and it still counts towards your rate limit.
Dashboards poll, so polling an identical request is cheap: a repeat within the cache window is answered from the cache. That's why the due now recipe has no time parameter. Lists and single records are never cached.
What Is Not in v1
- Writes. The API can't change anything.
- Check definitions: titles, instructions, schedules and targets.
- Check results: measured values, targets and dispositions. These are the next planned addition.
- Data Capture checks, instances and readings, until Data Capture is generally available.
- Line output and OEE.
- Free text, people and media: action descriptions and notes, who completed what, assignees and photos.
- Upcoming check instances. An instance appears only once it is due.
Anything added later will be added without breaking v1.
Machine-Readable Contract
The OpenAPI 3.1 document is available to download, and the API serves it at https://api.continualapp.com/public/v1/openapi.json. Use it to generate a client or to import the API into a tool such as Postman.