API Reference

The gateway’s REST API at a glance.

Base URL

http://<gateway>:8080/api/v1

Authentication

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

AreaRoutes
EquipmentGET, POST /equipment; GET, PUT, DELETE /equipment/{id}; POST /equipment/{id}/connect, /disconnect; GET /equipment/{id}/status
ControlPOST /equipment/{id}/commands, POST /equipment/{id}/control-state
FleetGET /fleet/status
MessagesPOST /messages/send, GET /messages/history
Events, alarmsGET /events; GET /alarms, GET /alarms/active, POST /alarms/{id}/acknowledge
VariablesGET /variables/status, GET, PUT /variables/equipment-constants
TracesGET, POST /equipment/{id}/traces; DELETE /equipment/{id}/traces/{trid}; GET .../traces/{trid}/data
ProgramsGET, POST /programs; GET /equipment/{id}/programs, POST .../programs/send, /fetch
GEM300See GEM300
AuditGET /audit, GET /audit/verify
GraphQLPOST /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).

Something missing or wrong on this page? Tell us.