Getting Started
To use the API in simulation:
- Open Swagger at
https://localhost/rest/docs. - Call
GET /api/v2/auth/withX-API-Key. - Copy the
tokenvalue from the response. - Click Authorize in Swagger and enter
Bearer <token>. - Call protected endpoints.
For long-running clients, refresh the token with GET /api/v2/auth/refresh/ before the JWT exp time. The refreshed token is returned in the Authorization response header.
The API supports:
REST APIfor stateless operations.WebSocket APIfor real-time streaming.
Current versions:
/api/v2: explicit route-based API (recommended)./api/v1: legacy generic command API kept for migration.