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:
| Path | Answers |
|---|---|
GET /health | 200 with {"status": "ok", "checks": {"database": "ok", "redis": "ok"}}, or 503 with "status": "degraded" and which check failed |
GET /health/ready | Whether this instance can serve: 503 only when its database is unreachable. Redis is reported in checks but does not fail it |
GET /health/live | 200 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 toPOST /api/v1/ingestand call the edge-agent heartbeat. Theread:machinesandread:sensorsscopes add read-only access toGET /api/v1/machines,GET /api/v1/machines/{machine_id}, and that machine'sreadings,readings/latest, andsummary. - 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/jsonfor all request bodies, except file uploads, which usemultipart/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
404or422, 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:
| Code | Meaning |
|---|---|
200 | Success |
201 | Resource created |
204 | Success with no body (for example a delete) |
207 | Multi-status (batch ingestion) |
See Errors for the full list of error codes and the error body shape.
Response headers
| Header | Meaning |
|---|---|
X-Request-ID | An 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-After | Your request budget; see Rate Limiting |
Content-Disposition | The file name of a download |
X-Export-Truncated | true 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."
| Feature | What it covers |
|---|---|
| Predictive Maintenance | The Predictions endpoints |
| Advanced Reports | Custom reports and saved reports in Reports |
| ERP Integration | The ERP and CMMS endpoints |
| Single sign-on | Single sign-on and SCIM provisioning |
| API Access | Service-account keys and the MCP server |
| AI Insights | The assistant, tag auto-mapping, rule suggestions and prediction narratives |
Pagination
Most collection endpoints that page use the following query parameters:
| Parameter | Type | Default | Max |
|---|---|---|---|
page | integer | 1 | |
page_size | integer | 20 | 100 |
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
| Resource | Description |
|---|---|
| Authentication | Sign in, refresh tokens, two-factor authentication, invitations, and single sign-on over SAML 2.0 or OpenID Connect |
| Rate Limiting | Request budgets and how to handle 429 |
| Errors | Status codes and error bodies |
Core resources
| Resource | Description |
|---|---|
| Systems | The connections the edge agent reads, and assigning their tags to machines |
| Machines | Register and manage machines, groups, tag mappings, and units |
| Sensor Data | Ingest telemetry, query time-series readings, and manage polled OPC-UA and Modbus sources |
| Alerts | List, acknowledge, snooze, and comment on alerts |
| Alert Rules | Configure threshold, composite, and escalation rules, and rules that open work orders |
| Alert Playbooks | The recommended next step alerts carry: safety note, checks, likely cause, fix |
Operations
| Resource | Description |
|---|---|
| Maintenance | Schedule and track maintenance events, on the calendar or by running hours, cycles or starts |
| Work Orders | Manage work orders, instructions, comments, and attachments, and check that a repair held |
| Downtime | Record downtime and automatic stops, reason codes, and reliability KPIs |
| OEE | Measure OEE from machine signals, submit records, and summarize them |
| Shifts | The plant time zone, shift definitions, shift logs, handover reports, and comparisons |
| Compliance | Digital sign-offs and completion certificates for work orders |
| Inventory | Spare parts, stock transactions, and parts used on work orders |
Intelligence
| Resource | Description |
|---|---|
| Fleet | Fleet status, site KPIs, the fleet benchmark, reliability analytics, and the edge-agent heartbeat |
| Predictions | Machine health scores, remaining-life estimates, and anomaly summaries |
| Reports | PDF, CSV and Excel reports, custom reports from your own columns and filters, previews, and saved, scheduled and delivered reports |
| Charts and Dashboards | Chart series over any machines' metrics or tags, what can be charted, and each role's default dashboard |
| Assistant | Plain-language questions answered from your own records, with sources |
Integration
| Resource | Description |
|---|---|
| ERP and CMMS | Connections to SAP, Dynamics 365, Oracle, MaintainX and IBM Maximo, syncs, and sync logs |
| Notifications | Notification channels (webhook, email, Slack, and more) and web push |
| WebSocket | Live readings and alerts over one connection |
| MCP server | The Model Context Protocol server your own AI agents connect to with a service-account key |
Administration
| Resource | Description |
|---|---|
| Settings | Profile, API keys, notification and unit preferences, AI settings, data retention, team members, roles and permissions |
| SCIM | SCIM 2.0 provisioning: your identity provider adds, updates and deactivates people |
| Audit | Your company's audit log: list it, download it, and check that it is intact |
| Invoices | The invoices Haltless has issued to your company |