Skip to main content

API Overview

The Haltless REST API is a JSON-over-HTTPS interface for connecting Systems, ingesting sensor telemetry, and managing machines, alerts, maintenance, work orders, downtime, OEE, and the rest of your account. This reference documents the public endpoints, their request parameters, and their response shapes.

Base URL​

All requests are made to:

https://api.haltless.io

Every endpoint in this reference is versioned under the /api/v1 prefix. For example, the machines collection is:

https://api.haltless.io/api/v1/machines

Throughout the rest of this reference, paths are written in their short form (for example /api/v1/machines). The one exception is the health checks, which need no authentication and sit outside the prefix:

PathAnswers
GET /health200 with {"status": "ok", "checks": {"database": "ok", "redis": "ok"}}, or 503 with "status": "degraded" and which check failed
GET /health/readyWhether this instance can serve: 503 only when its database is unreachable. Redis is reported in checks but does not fail it
GET /health/live200 with {"status": "ok"} whenever the process answers; it checks nothing else

Authentication​

Most endpoints require a bearer JWT, which you get by signing in:

Authorization: Bearer <jwt>

API keys use a different header:

X-API-Key: <api-key>

There are two kinds of API key:

  • Edge-agent keys carry scopes. With the default scopes (ingest, agent) they send readings to POST /api/v1/ingest and call the edge-agent heartbeat. The read:machines and read:sensors scopes add read-only access to GET /api/v1/machines, GET /api/v1/machines/{machine_id}, and that machine's readings, readings/latest, and summary.
  • Service-account keys act as a member of your company with a role, and can call whatever a person in that role can, except user, role, API-key, sign-in and notification-bell management. They need the API Access feature (see Features your company may not have). A service account can be made read only, which refuses anything but reading whatever its role allows (API Keys guide).

See Authentication for how to obtain and refresh tokens, and the API Keys guide for issuing keys.

Request format​

  • Content-Type: send application/json for all request bodies, except file uploads, which use multipart/form-data.
  • Character encoding: UTF-8.
  • Timestamps: ISO 8601 in UTC (for example 2026-08-07T10:30:00Z).
  • Identifiers: resource IDs are UUIDs. An ID you send in a request body or query (a machine, an assignee, a parent group, a channel and so on) must belong to your own company; otherwise the request is refused with 404 or 422, depending on the endpoint.
  • Size: request bodies are limited to 10 MB. A larger body is refused with 413.

Response format​

Responses are JSON. Successful requests return one of:

CodeMeaning
200Success
201Resource created
204Success with no body (for example a delete)
207Multi-status (batch ingestion)

See Errors for the full list of error codes and the error body shape.

Response headers​

HeaderMeaning
X-Request-IDAn id for the request. Send your own (1 to 128 letters, digits, dots, underscores, colons or hyphens) and it is echoed back; otherwise Haltless generates one. Quote it when you contact support
X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, Retry-AfterYour request budget; see Rate Limiting
Content-DispositionThe file name of a download
X-Export-Truncatedtrue on a download that holds only the newest rows because the export reached its row limit

Browser scripts calling the API from an allowed origin can read all of these.

Features your company may not have​

Some features can be switched off for a company. A request for a feature that is not included for your company answers 403 with "This feature is not included for your organization."

FeatureWhat it covers
Predictive MaintenanceThe Predictions endpoints
Advanced ReportsCustom reports and saved reports in Reports
ERP IntegrationThe ERP and CMMS endpoints
Single sign-onSingle sign-on and SCIM provisioning
API AccessService-account keys and the MCP server
AI InsightsThe assistant, tag auto-mapping, rule suggestions and prediction narratives

Pagination​

Most collection endpoints that page use the following query parameters:

ParameterTypeDefaultMax
pageinteger1
page_sizeinteger20100

Most paginated responses wrap the results in an items array alongside a pagination object. Work orders and their instructions return items with a total, and shift logs return total, page and page_size beside items; each page says which. The usual shape:

{
"items": [],
"pagination": {
"total": 150,
"page": 1,
"page_size": 20
}
}

Rate limiting​

Limits are the same for every company and depend on the kind of request. Each person and each API key has a budget of their own, under a ceiling for the whole company; ingestion is counted per network address, and each network address is also capped at 3,000 requests per minute overall (600 per minute on /api/v1/auth/). See Rate Limiting for the exact budgets and the response headers.

Endpoint catalog​

Fundamentals​

ResourceDescription
AuthenticationSign in, refresh tokens, two-factor authentication, invitations, and single sign-on over SAML 2.0 or OpenID Connect
Rate LimitingRequest budgets and how to handle 429
ErrorsStatus codes and error bodies

Core resources​

ResourceDescription
SystemsThe connections the edge agent reads, and assigning their tags to machines
MachinesRegister and manage machines, groups, tag mappings, and units
Sensor DataIngest telemetry, query time-series readings, and manage polled OPC-UA and Modbus sources
AlertsList, acknowledge, snooze, and comment on alerts
Alert RulesConfigure threshold, composite, and escalation rules, and rules that open work orders
Alert PlaybooksThe recommended next step alerts carry: safety note, checks, likely cause, fix

Operations​

ResourceDescription
MaintenanceSchedule and track maintenance events, on the calendar or by running hours, cycles or starts
Work OrdersManage work orders, instructions, comments, and attachments, and check that a repair held
DowntimeRecord downtime and automatic stops, reason codes, and reliability KPIs
OEEMeasure OEE from machine signals, submit records, and summarize them
ShiftsThe plant time zone, shift definitions, shift logs, handover reports, and comparisons
ComplianceDigital sign-offs and completion certificates for work orders
InventorySpare parts, stock transactions, and parts used on work orders

Intelligence​

ResourceDescription
FleetFleet status, site KPIs, the fleet benchmark, reliability analytics, and the edge-agent heartbeat
PredictionsMachine health scores, remaining-life estimates, and anomaly summaries
ReportsPDF, CSV and Excel reports, custom reports from your own columns and filters, previews, and saved, scheduled and delivered reports
Charts and DashboardsChart series over any machines' metrics or tags, what can be charted, and each role's default dashboard
AssistantPlain-language questions answered from your own records, with sources

Integration​

ResourceDescription
ERP and CMMSConnections to SAP, Dynamics 365, Oracle, MaintainX and IBM Maximo, syncs, and sync logs
NotificationsNotification channels (webhook, email, Slack, and more) and web push
WebSocketLive readings and alerts over one connection
MCP serverThe Model Context Protocol server your own AI agents connect to with a service-account key

Administration​

ResourceDescription
SettingsProfile, API keys, notification and unit preferences, AI settings, data retention, team members, roles and permissions
SCIMSCIM 2.0 provisioning: your identity provider adds, updates and deactivates people
AuditYour company's audit log: list it, download it, and check that it is intact
InvoicesThe invoices Haltless has issued to your company