Skip to content

API Reference ​

Every endpoint, parameter and response in the public API, generated from the same OpenAPI document the API serves. Base URL: https://api.continualapp.com/public in production, https://staging.api.continualapp.com/public in staging. Authenticate every request with Authorization: Bearer <key>; see Getting Started.

For the concepts behind these endpoints, read the Overview (pagination, errors, rate limits) and the Data Model. Download the OpenAPI document to generate a client or import the API into another tool.

List actions​

GET
/v1/actions

Requires actions:read. Only actions in the client's tenant and readable factories are returned, including historical actions in archived hierarchy. Every category is exposed, including review (temporary-target verdicts); manual actions have a null category. Clients must tolerate unknown enum values. Timestamps are UTC. Descriptions, resolution notes, people, assignments, media, events and escalations are excluded. created_from is inclusive; created_to is exclusive. Created ranges must not exceed 366 days. When either created filter is supplied, an omitted upper bound is now and an omitted lower bound is 366 days before the upper bound. Lists without created filters include all history. Returns {data, next_cursor} in created_at, id order. Limit defaults to 100, maximum 500. Follow next_cursor with unchanged filters. updated_since is inclusive and orders by updated_at, id; it observes resolution, verification and closure. Overlap sync windows and upsert by id, as concurrent edits can move rows between pages. Parent filters intersect.

Authorizations​

ApiKey

A Continual API key: cntl_live_…

Type
HTTP (bearer)

Parameters​

Query Parameters

limit

Records per page (1–500).

Type
integer
Example100
Default
100
Maximum
500
Minimum
1
cursor

Opaque next_cursor from the previous page; keep filters unchanged.

updated_since

UTC/offset timestamp; timezone required.

factory_id

Only this factory.

line_id

Only this line.

machine_id

Only this machine.

check_id

Only this check.

status

Comma list: open,pending_verification,closed.

category

Comma list: defect,deviation,review. Use origin=manual for manual actions.

origin

Comma list: automatic,manual.

created_from

UTC/offset timestamp; timezone required.

created_to

UTC/offset timestamp; timezone required.

Responses​

Successful Response

application/json
JSON
{
  
"data": [
  
  
{
  
  
  
"category": "string",
  
  
  
"check_id": "string",
  
  
  
"closed_at": "string",
  
  
  
"created_at": "string",
  
  
  
"factory_id": "string",
  
  
  
"id": "string",
  
  
  
"line_id": "string",
  
  
  
"machine_id": "string",
  
  
  
"origin": "string",
  
  
  
"resolved_at": "string",
  
  
  
"root_cause": "string",
  
  
  
"status": "string",
  
  
  
"target_resolution_at": "string",
  
  
  
"title": "string",
  
  
  
"updated_at": "string",
  
  
  
"verified_at": "string"
  
  
}
  
],
  
"next_cursor": "string"
}

Samples​


Summarize actions​

GET
/v1/actions/summary

Requires actions:read. Only actions in the client's tenant and readable factories are returned, including historical actions in archived hierarchy. Every category is exposed, including review (temporary-target verdicts); manual actions have a null category. Clients must tolerate unknown enum values. Timestamps are UTC. Descriptions, resolution notes, people, assignments, media, events and escalations are excluded. created_from is inclusive; created_to is exclusive. Created ranges must not exceed 366 days. When either created filter is supplied, an omitted upper bound is now and an omitted lower bound is 366 days before the upper bound. Lists without created filters include all history. Takes the list's record filters plus group_by. Returns {groups: [{, count}]}; only selected keys appear, preserving null category, check_id and root_cause groups. No group_by returns one total, including {count: 0} for an empty population; grouped empty populations return []. Date buckets use each factory's local calendar: created_week starts Monday and created_month starts on day 1. Labels are YYYY-MM-DD. Open-actions recipe: status=open,pending_verification&group_by=line_id,category. Without created filters, totals and non-date groups include all history and the open-actions recipe matches the portal's open plus pending-verification count for the same factories. Summaries with created_date, created_week or created_month default to the last 366 days. Responses may be cached for 120 seconds by default; Cache-Control reports remaining freshness.

Authorizations​

ApiKey

A Continual API key: cntl_live_…

Type
HTTP (bearer)

Parameters​

Query Parameters

factory_id

Only this factory.

line_id

Only this line.

machine_id

Only this machine.

check_id

Only this check.

status

Comma list: open,pending_verification,closed.

category

Comma list: defect,deviation,review. Use origin=manual for manual actions.

origin

Comma list: automatic,manual.

created_from

UTC/offset timestamp; timezone required.

created_to

UTC/offset timestamp; timezone required.

updated_since

UTC/offset timestamp; timezone required.

group_by

Comma list: status,category,origin,root_cause,factory_id,line_id,machine_id,check_id,created_date,created_week,created_month. Date buckets are factory-local; weeks start Monday.

Example"line_id,category"

Responses​

Successful Response

application/json
JSON
{
  
"groups": [
  
  
{
  
  
  
"category": "string",
  
  
  
"check_id": "string",
  
  
  
"count": 0,
  
  
  
"created_date": "string",
  
  
  
"created_month": "string",
  
  
  
"created_week": "string",
  
  
  
"factory_id": "string",
  
  
  
"line_id": "string",
  
  
  
"machine_id": "string",
  
  
  
"origin": "string",
  
  
  
"root_cause": "string",
  
  
  
"status": "string"
  
  
}
  
]
}

Samples​


Get an action​

GET
/v1/actions/{id}

Requires actions:read. Only actions in the client's tenant and readable factories are returned, including historical actions in archived hierarchy. Every category is exposed, including review (temporary-target verdicts); manual actions have a null category. Clients must tolerate unknown enum values. Timestamps are UTC. Descriptions, resolution notes, people, assignments, media, events and escalations are excluded. Returns 404 for missing, other-tenant or out-of-scope actions.

Authorizations​

ApiKey

A Continual API key: cntl_live_…

Type
HTTP (bearer)

Parameters​

Path Parameters

id*
Type
string
Required

Responses​

Successful Response

application/json
JSON
{
  
"category": "string",
  
"check_id": "string",
  
"closed_at": "string",
  
"created_at": "string",
  
"factory_id": "string",
  
"id": "string",
  
"line_id": "string",
  
"machine_id": "string",
  
"origin": "string",
  
"resolved_at": "string",
  
"root_cause": "string",
  
"status": "string",
  
"target_resolution_at": "string",
  
"title": "string",
  
"updated_at": "string",
  
"verified_at": "string"
}

Samples​


List due check instances​

GET
/v1/check-instances

Requires checks:read. Only records in the client's tenant and readable factories are returned, including historical records belonging to archived checks or hierarchy. Data Capture is excluded. Timestamps are UTC; clients must tolerate unknown enum values. Instances are visible only once due (due_at <= now), on lists, by id and in summaries. due means due and not yet done; overdue means its grace period ended without a result but it is not yet lifecycle-closed; missed means it closed without a result, at the earlier of a newer occurrence of its check coming due and exactly 7 days after its grace period ended, and can no longer be completed or skipped. Statuses move due -> overdue -> missed (or straight to missed) when the scheduler's sweep runs, normally every 5 minutes, so a transition can lag by that much or more; status reports what happened and does not guarantee that a completion would be accepted. expired is uncompleted ad-hoc work, never a miss. passed and completed_at come from the result, or are null without one. due_from is inclusive; due_to and due_before are exclusive and intersect. Public updated_at is the later of the stored modification time and due_at, so newly due work enters sync. include_archived defaults to true to retain history; false excludes archived checks, machines, lines and factories. Lists use opaque cursors and {data, next_cursor}; follow next_cursor with unchanged filters. Limit defaults to 100, maximum 500. updated_since is inclusive and orders by updated_at, id. Concurrent edits may move rows between pages; overlap sync windows and upsert by id. Due ranges must not exceed 366 days. An omitted upper bound is now. With a date filter on a list, an omitted lower bound is 366 days before the upper bound; without date filters lists include all history. Summaries default their lower bound to 30 days before the upper bound. Natural ordering is due_at, id.

Authorizations​

ApiKey

A Continual API key: cntl_live_…

Type
HTTP (bearer)

Parameters​

Query Parameters

limit

Records per page (1–500).

Type
integer
Example100
Default
100
Maximum
500
Minimum
1
cursor

Opaque next_cursor from the previous page; keep filters unchanged.

updated_since

UTC/offset timestamp; timezone required.

factory_id

Only this factory.

line_id

Only this line.

machine_id

Only this machine.

check_id

Only this check.

check_kind

Comma list: cil,centreline.

Example"cil,centreline"
origin

Comma list: scheduled,ad_hoc.

Example"scheduled"
status

Comma list: due,overdue,missed,completed,skipped,not_applicable,expired.

due_from

UTC/offset timestamp; timezone required.

due_to

UTC/offset timestamp; timezone required.

due_before

UTC/offset timestamp; timezone required.

include_archived

Include history from archived checks or hierarchy. Use false for the portal headline recipe.

Type
boolean
Default
true

Responses​

Successful Response

application/json
JSON
{
  
"data": [
  
  
{
  
  
  
"check_id": "string",
  
  
  
"check_kind": "string",
  
  
  
"completed_at": "string",
  
  
  
"created_at": "string",
  
  
  
"due_at": "string",
  
  
  
"factory_id": "string",
  
  
  
"grace_period_ends_at": "string",
  
  
  
"id": "string",
  
  
  
"line_id": "string",
  
  
  
"machine_id": "string",
  
  
  
"origin": "string",
  
  
  
"passed": true,
  
  
  
"status": "string",
  
  
  
"updated_at": "string"
  
  
}
  
],
  
"next_cursor": "string"
}

Samples​


Summarize due check instances​

GET
/v1/check-instances/summary

Requires checks:read. Only records in the client's tenant and readable factories are returned, including historical records belonging to archived checks or hierarchy. Data Capture is excluded. Timestamps are UTC; clients must tolerate unknown enum values. Instances are visible only once due (due_at <= now), on lists, by id and in summaries. due means due and not yet done; overdue means its grace period ended without a result but it is not yet lifecycle-closed; missed means it closed without a result, at the earlier of a newer occurrence of its check coming due and exactly 7 days after its grace period ended, and can no longer be completed or skipped. Statuses move due -> overdue -> missed (or straight to missed) when the scheduler's sweep runs, normally every 5 minutes, so a transition can lag by that much or more; status reports what happened and does not guarantee that a completion would be accepted. expired is uncompleted ad-hoc work, never a miss. passed and completed_at come from the result, or are null without one. due_from is inclusive; due_to and due_before are exclusive and intersect. Public updated_at is the later of the stored modification time and due_at, so newly due work enters sync. include_archived defaults to true to retain history; false excludes archived checks, machines, lines and factories. Due ranges must not exceed 366 days. An omitted upper bound is now. With a date filter on a list, an omitted lower bound is 366 days before the upper bound; without date filters lists include all history. Summaries default their lower bound to 30 days before the upper bound. Returns grouped record counts and completed / (completed + overdue + missed) × 100, or null when none is present. Grouping by status makes completion_rate null in every group. No group_by returns one period total, including {count: 0, completion_rate: null} for an empty population. Grouped empty populations return []. Date buckets use each factory's timezone. due_week starts Monday; due_month starts on day 1; labels are YYYY-MM-DD. The portal headline recipe is origin=scheduled&check_kind=cil,centreline&include_archived=false with group_by=due_date or no group_by. Recipes: due now is status=due; overdue now is status=overdue; misses against the rate are status=overdue,missed. These differ from the apps' to-do lists, which hide instances for formats the line is not running, show one instance per check, hide a due instance past its grace period until the sweep marks it, and drop a newly closed instance at once rather than when the sweep stamps it. Responses may be cached for 120 seconds by default; Cache-Control reports remaining freshness.

Authorizations​

ApiKey

A Continual API key: cntl_live_…

Type
HTTP (bearer)

Parameters​

Query Parameters

factory_id

Only this factory.

line_id

Only this line.

machine_id

Only this machine.

check_id

Only this check.

check_kind

Comma list: cil,centreline.

Example"cil,centreline"
origin

Comma list: scheduled,ad_hoc.

Example"scheduled"
status

Comma list: due,overdue,missed,completed,skipped,not_applicable,expired.

due_from

UTC/offset timestamp; timezone required.

due_to

UTC/offset timestamp; timezone required.

due_before

UTC/offset timestamp; timezone required.

updated_since

UTC/offset timestamp; timezone required.

include_archived

Include history from archived checks or hierarchy. Use false for the portal headline recipe.

Type
boolean
Default
true
group_by

Comma list: status,origin,check_kind,factory_id,line_id,machine_id,check_id, due_date,due_week,due_month. Date buckets use each factory's timezone. Weeks start Monday; weeks/months are labeled by their first date.

Example"due_date"

Responses​

Successful Response

application/json
JSON
{
  
"groups": [
  
  
{
  
  
  
"check_id": "string",
  
  
  
"check_kind": "string",
  
  
  
"completion_rate": 0,
  
  
  
"count": 0,
  
  
  
"due_date": "string",
  
  
  
"due_month": "string",
  
  
  
"due_week": "string",
  
  
  
"factory_id": "string",
  
  
  
"line_id": "string",
  
  
  
"machine_id": "string",
  
  
  
"origin": "string",
  
  
  
"status": "string"
  
  
}
  
]
}

Samples​


Get a due check instance​

GET
/v1/check-instances/{id}

Requires checks:read. Only records in the client's tenant and readable factories are returned, including historical records belonging to archived checks or hierarchy. Data Capture is excluded. Timestamps are UTC; clients must tolerate unknown enum values. Instances are visible only once due (due_at <= now), on lists, by id and in summaries. due means due and not yet done; overdue means its grace period ended without a result but it is not yet lifecycle-closed; missed means it closed without a result, at the earlier of a newer occurrence of its check coming due and exactly 7 days after its grace period ended, and can no longer be completed or skipped. Statuses move due -> overdue -> missed (or straight to missed) when the scheduler's sweep runs, normally every 5 minutes, so a transition can lag by that much or more; status reports what happened and does not guarantee that a completion would be accepted. expired is uncompleted ad-hoc work, never a miss. passed and completed_at come from the result, or are null without one. due_from is inclusive; due_to and due_before are exclusive and intersect. Public updated_at is the later of the stored modification time and due_at, so newly due work enters sync. include_archived defaults to true to retain history; false excludes archived checks, machines, lines and factories. Returns 404 for missing, other-tenant, out-of-scope or excluded records.

Authorizations​

ApiKey

A Continual API key: cntl_live_…

Type
HTTP (bearer)

Parameters​

Path Parameters

id*
Type
string
Required

Responses​

Successful Response

application/json
JSON
{
  
"check_id": "string",
  
"check_kind": "string",
  
"completed_at": "string",
  
"created_at": "string",
  
"due_at": "string",
  
"factory_id": "string",
  
"grace_period_ends_at": "string",
  
"id": "string",
  
"line_id": "string",
  
"machine_id": "string",
  
"origin": "string",
  
"passed": true,
  
"status": "string",
  
"updated_at": "string"
}

Samples​


List factories​

GET
/v1/factories

Requires hierarchy:read. Only records in the client's tenant and readable factories are returned. Archived records are excluded unless include_archived=true. Ordered by name, id, or by updated_at, id when updated_since is supplied (inclusive, with a timezone). For incremental sync, use include_archived=true to receive archiving as status=archived with its updated_at change. Follow next_cursor with the same filters until it is null; limit defaults to 100 (maximum 500). Cursors are opaque: pass them unchanged. Concurrent edits may move records between pages; overlap sync windows and upsert by id. Timestamps are UTC. Clients must tolerate unknown enum values.

Authorizations​

ApiKey

A Continual API key: cntl_live_…

Type
HTTP (bearer)

Parameters​

Query Parameters

include_archived

Include archived records as well as active records. Use true for incremental sync.

Type
boolean
Examplefalse
Default
false
limit

Records per page (1–500).

Type
integer
Example100
Default
100
Maximum
500
Minimum
1
cursor

Opaque next_cursor from the previous page; keep filters unchanged.

updated_since

Updated at or after this timestamp (timezone required). Orders by updated_at, id.

Example"2026-10-01T00:00:00Z"

Responses​

Successful Response

application/json
JSON
{
  
"data": [
  
  
{
  
  
  
"created_at": "string",
  
  
  
"id": "string",
  
  
  
"name": "string",
  
  
  
"status": "string",
  
  
  
"timezone": "string",
  
  
  
"updated_at": "string"
  
  
}
  
],
  
"next_cursor": "string"
}

Samples​


Get a factory​

GET
/v1/factories/{id}

Requires hierarchy:read. Returns 404 when the record does not exist, belongs to another tenant, is outside the client's readable factories. Archived records are returned for historical labeling. Timestamps are UTC. Clients must tolerate unknown enum values.

Authorizations​

ApiKey

A Continual API key: cntl_live_…

Type
HTTP (bearer)

Parameters​

Path Parameters

id*
Type
string
Required

Responses​

Successful Response

application/json
JSON
{
  
"created_at": "string",
  
"id": "string",
  
"name": "string",
  
"status": "string",
  
"timezone": "string",
  
"updated_at": "string"
}

Samples​


List lines​

GET
/v1/lines

Requires hierarchy:read. Only records in the client's tenant and readable factories are returned. Archived records are excluded unless include_archived=true. Ordered by name, id, or by updated_at, id when updated_since is supplied (inclusive, with a timezone). For incremental sync, use include_archived=true to receive archiving as status=archived with its updated_at change. Follow next_cursor with the same filters until it is null; limit defaults to 100 (maximum 500). Cursors are opaque: pass them unchanged. Concurrent edits may move records between pages; overlap sync windows and upsert by id. Timestamps are UTC. Clients must tolerate unknown enum values.

Authorizations​

ApiKey

A Continual API key: cntl_live_…

Type
HTTP (bearer)

Parameters​

Query Parameters

include_archived

Include archived records as well as active records. Use true for incremental sync.

Type
boolean
Examplefalse
Default
false
factory_id

Only records in this factory.

limit

Records per page (1–500).

Type
integer
Example100
Default
100
Maximum
500
Minimum
1
cursor

Opaque next_cursor from the previous page; keep filters unchanged.

updated_since

Updated at or after this timestamp (timezone required). Orders by updated_at, id.

Example"2026-10-01T00:00:00Z"

Responses​

Successful Response

application/json
JSON
{
  
"data": [
  
  
{
  
  
  
"created_at": "string",
  
  
  
"factory_id": "string",
  
  
  
"id": "string",
  
  
  
"line_type": "string",
  
  
  
"name": "string",
  
  
  
"status": "string",
  
  
  
"updated_at": "string"
  
  
}
  
],
  
"next_cursor": "string"
}

Samples​


Get a line​

GET
/v1/lines/{id}

Requires hierarchy:read. Returns 404 when the record does not exist, belongs to another tenant, is outside the client's readable factories. Archived records are returned for historical labeling. Timestamps are UTC. Clients must tolerate unknown enum values.

Authorizations​

ApiKey

A Continual API key: cntl_live_…

Type
HTTP (bearer)

Parameters​

Path Parameters

id*
Type
string
Required

Responses​

Successful Response

application/json
JSON
{
  
"created_at": "string",
  
"factory_id": "string",
  
"id": "string",
  
"line_type": "string",
  
"name": "string",
  
"status": "string",
  
"updated_at": "string"
}

Samples​


List machines​

GET
/v1/machines

Requires hierarchy:read. Only records in the client's tenant and readable factories are returned. Archived records are excluded unless include_archived=true. Ordered by name, id, or by updated_at, id when updated_since is supplied (inclusive, with a timezone). For incremental sync, use include_archived=true to receive archiving as status=archived with its updated_at change. Follow next_cursor with the same filters until it is null; limit defaults to 100 (maximum 500). Cursors are opaque: pass them unchanged. Concurrent edits may move records between pages; overlap sync windows and upsert by id. Timestamps are UTC. Clients must tolerate unknown enum values.

Authorizations​

ApiKey

A Continual API key: cntl_live_…

Type
HTTP (bearer)

Parameters​

Query Parameters

include_archived

Include archived records as well as active records. Use true for incremental sync.

Type
boolean
Examplefalse
Default
false
factory_id

Only records in this factory.

line_id

Only machines on this line (combined with factory_id when supplied).

limit

Records per page (1–500).

Type
integer
Example100
Default
100
Maximum
500
Minimum
1
cursor

Opaque next_cursor from the previous page; keep filters unchanged.

updated_since

Updated at or after this timestamp (timezone required). Orders by updated_at, id.

Example"2026-10-01T00:00:00Z"

Responses​

Successful Response

application/json
JSON
{
  
"data": [
  
  
{
  
  
  
"created_at": "string",
  
  
  
"factory_id": "string",
  
  
  
"id": "string",
  
  
  
"line_id": "string",
  
  
  
"name": "string",
  
  
  
"sequence": 0,
  
  
  
"status": "string",
  
  
  
"updated_at": "string"
  
  
}
  
],
  
"next_cursor": "string"
}

Samples​


Get a machine​

GET
/v1/machines/{id}

Requires hierarchy:read. Returns 404 when the record does not exist, belongs to another tenant, is outside the client's readable factories. Archived records are returned for historical labeling. Timestamps are UTC. Clients must tolerate unknown enum values.

Authorizations​

ApiKey

A Continual API key: cntl_live_…

Type
HTTP (bearer)

Parameters​

Path Parameters

id*
Type
string
Required

Responses​

Successful Response

application/json
JSON
{
  
"created_at": "string",
  
"factory_id": "string",
  
"id": "string",
  
"line_id": "string",
  
"name": "string",
  
"sequence": 0,
  
"status": "string",
  
"updated_at": "string"
}

Samples​


health​


Check the API is reachable​

GET
/v1/health

Returns ok whenever the public API is serving requests. It needs no API key and says nothing about your tenant, so it is safe to use as an uptime probe.

Responses​

Successful Response

application/json
JSON
{
  
"status": "ok"
}

Samples​


me​

Operations​


Show the API client behind this key​

GET
/v1/me

Returns the API client the key authenticates as: its permissions, which factories it can read and which environment it belongs to. Any valid key can call it; it needs no permission. Use it to check that a key works and to see what it may do.

Authorizations​

ApiKey

A Continual API key: cntl_live_…

Type
HTTP (bearer)

Responses​

Successful Response

application/json
JSON
{
  
"environment": "string",
  
"id": "string",
  
"name": "string",
  
"permissions": [
  
  
"string"
  
],
  
"scope": {
  
  
"factory_ids": [
  
  
  
"string"
  
  
],
  
  
"tenant_wide": true
  
}
}

Samples​


Powered by VitePress OpenAPI