API Reference
Cluster Management
GET /api/v1/cluster/status GET /api/v1/cluster/metricsEndpoint Discovery
To discover all available REST endpoints:User-Configurable Endpoints
All LoomOS endpoints are user-configurable. You can set the API domain or endpoint URL in:- CLI:
loomos --endpoint https://your-domain.com - SDK:
LoomOSClient(endpoint="https://your-domain.com", ...) - Environment variable:
LOOMOS_API_ENDPOINT=https://your-domain.com
Extending the API
You can add custom endpoints by registering new routes in a plugin module (see Nexus System docs for an example). After adding, restart the master node and document the new endpoint for your team.Job Management
GET /api/v1/jobs POST /api/v1/jobs GET /api/v1/jobs/Model Management
GET /api/v1/models POST /api/v1/modelsPython client
Documented classes: LoomDB, Scheduler, LoomRLGym, LoomCtlClientExample: submit job via Python client
Endpoints — request/response examples
Error handling and status codes
- 200 OK: successful request
- 202 Accepted: job accepted for processing
- 400 Bad Request: invalid manifest or parameters
- 401 Unauthorized: invalid authentication
- 500 Internal Server Error: server error (check logs)
