NOVA V2 exposes an OpenAI-compatible HTTP/1.1 REST and Server-Sent Events (SSE) API on port 3001 (configurable via --port).
| Endpoint | Method | Description | Protocol |
|---|---|---|---|
/v1/chat/completions |
POST |
Primary inference endpoint. Supports synchronous JSON responses and decoupled asynchronous streaming. | OpenAI Wire Compatible |
/v1/jobs/:id |
GET |
Retrieve metadata, status, accumulated text, and usage for a specific inference job. | JSON |
/v1/jobs/:id/stream |
GET |
Connect or re-attach to the live SSE token stream with Last-Event-ID token replay. |
Server-Sent Events (SSE) |
/v1/jobs/:id/cancel |
POST |
Immediately abort an active inference job and terminate upstream WebSocket generation. | JSON |
/api/shards/enroll |
POST |
Dynamically enroll a new inference shard into the active SWRR fleet. | Admin REST |
/api/shards |
GET |
List all enrolled shards, their weights, active leases, and cumulative usage. | Admin REST |
/v1/models |
GET |
Catalog of all currently available models across the enrolled shard fleet. | OpenAI Wire Compatible |
/health |
GET |
Health check endpoint (/health, /health/ready, /health/live). |
Plaintext / JSON |
/metrics |
GET |
Prometheus-compatible metrics endpoint. | Prometheus Exposition Format |
When --api-key is configured on the daemon, all /v1/* requests must provide the bearer token:
Authorization: Bearer <your-secret-api-key>Admin endpoints (/api/shards/*) require the admin key if --admin-key is configured:
Authorization: Bearer <your-admin-key>Health checks (/health*) and Prometheus metrics (/metrics) remain unauthenticated for internal cluster probes.