API Reference
The gateway’s REST API at a glance.
Base URL
http://<gateway>:8080/api/v1Authentication
Every /api/v1 route except login, register, refresh, logout and MFA login needs Authorization: Bearer <access token> or X-API-Key: <key>. The account routes (profile, change password, API keys, two-factor, sign out everywhere) need a signed-in session: an API key there gets 403 SESSION_REQUIRED. See Authentication.
Core routes
| Area | Routes |
|---|---|
| Equipment | GET, POST /equipment; GET, PUT, DELETE /equipment/{id}; POST /equipment/{id}/connect, /disconnect; GET /equipment/{id}/status |
| Control | POST /equipment/{id}/commands, POST /equipment/{id}/control-state |
| Fleet | GET /fleet/status |
| Messages | POST /messages/send, GET /messages/history |
| Events, alarms | GET /events; GET /alarms, GET /alarms/active, POST /alarms/{id}/acknowledge |
| Variables | GET /variables/status, GET, PUT /variables/equipment-constants |
| Traces | GET, POST /equipment/{id}/traces; DELETE /equipment/{id}/traces/{trid}; GET .../traces/{trid}/data |
| Programs | GET, POST /programs; GET /equipment/{id}/programs, POST .../programs/send, /fetch |
| GEM300 | See GEM300 |
| Audit | GET /audit, GET /audit/verify |
| GraphQL | POST /graphql, subscriptions at /graphql/ws |
Feature routes: /wafermaps, /verify, /eda, /opcua, /webhooks, /notification-channels, /alarm-rules, /reports, /retention, /ha/status, /integrations/{kafka,mqtt}/status.
OpenAPI
The gateway serves an OpenAPI 3.1 file at /api/openapi.yaml and Swagger UI at /api/docs. The file documents every route the gateway mounts (a gateway test fails if a route is missing from it); these pages explain how the features behind them fit together. Swagger UI loads its scripts from a CDN, so on an air-gapped network read the YAML directly.
Rate limit
Sixty requests per minute per client by default (rate_limit.requests_per_minute).