mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-11-18 07:58:27 +00:00
fix(release): drain v3.8.52 base-reds — ConnectionRow type, drifted skills mirrors (#16496)
This commit is contained in:
committed by
GitHub
parent
9ecddd15a1
commit
efea1806d7
1
changelog.d/fixes/basereds-r3-connectionrow-type.md
Normal file
1
changelog.d/fixes/basereds-r3-connectionrow-type.md
Normal file
@@ -0,0 +1 @@
|
||||
- dashboard: declare `rateLimitAutoProtected` on `ConnectionRowConnection` so the auto-protected rate-limit badge from #b16bf50f type-checks (base-red #15306).
|
||||
1
changelog.d/maintenance/basereds-r3-skills-mirrors.md
Normal file
1
changelog.d/maintenance/basereds-r3-skills-mirrors.md
Normal file
@@ -0,0 +1 @@
|
||||
- skills: regenerate 22 drifted `skills/**` mirrors from `docs/openapi.yaml` so `check:agent-skills-sync` passes again (base-red #15306).
|
||||
@@ -53,6 +53,7 @@ omniroute restart
|
||||
- `--log`
|
||||
- `--no-recovery`
|
||||
- `--max-restarts <n>`
|
||||
- `--headless`
|
||||
- `--tray`
|
||||
- `--no-tray`
|
||||
- `--ready-timeout <ms>`
|
||||
@@ -67,6 +68,10 @@ omniroute serve
|
||||
|
||||
### `stop`
|
||||
|
||||
**Flags:**
|
||||
|
||||
- `--port <port>`
|
||||
|
||||
**Example:**
|
||||
|
||||
```bash
|
||||
|
||||
@@ -19,7 +19,7 @@ All requests require a valid Bearer token or session cookie. Obtain a token via
|
||||
List API keys
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/keys \
|
||||
curl http://localhost:20128/api/keys \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -28,7 +28,7 @@ curl https://localhost:20128/api/keys \
|
||||
Create API key
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/keys \
|
||||
curl -X POST http://localhost:20128/api/keys \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -39,7 +39,7 @@ curl -X POST https://localhost:20128/api/keys \
|
||||
Get API key
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/keys/{id} \
|
||||
curl http://localhost:20128/api/keys/{id} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -48,7 +48,7 @@ curl https://localhost:20128/api/keys/{id} \
|
||||
Update API key
|
||||
|
||||
```bash
|
||||
curl -X PATCH https://localhost:20128/api/keys/{id} \
|
||||
curl -X PATCH http://localhost:20128/api/keys/{id} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -59,7 +59,7 @@ curl -X PATCH https://localhost:20128/api/keys/{id} \
|
||||
Delete API key
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/keys/{id} \
|
||||
curl -X DELETE http://localhost:20128/api/keys/{id} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -76,7 +76,7 @@ Direct concurrent PATCH calls to /api/keys/{id} completely overwrite the policy
|
||||
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/keys/{id}/access \
|
||||
curl -X POST http://localhost:20128/api/keys/{id}/access \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -89,7 +89,7 @@ List devices for an API key
|
||||
Lists the distinct devices (masked IP + User-Agent fingerprints) tracked for an API key by the in-memory device tracker. IPs are masked before storage; the route never sees the raw client IP.
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/keys/{id}/devices \
|
||||
curl http://localhost:20128/api/keys/{id}/devices \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -98,7 +98,7 @@ curl https://localhost:20128/api/keys/{id}/devices \
|
||||
POST keys › <id> › regenerate
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/keys/{id}/regenerate \
|
||||
curl -X POST http://localhost:20128/api/keys/{id}/regenerate \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -109,7 +109,7 @@ curl -X POST https://localhost:20128/api/keys/{id}/regenerate \
|
||||
GET keys › <id> › reveal
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/keys/{id}/reveal \
|
||||
curl http://localhost:20128/api/keys/{id}/reveal \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -118,7 +118,7 @@ curl https://localhost:20128/api/keys/{id}/reveal \
|
||||
GET keys › <id> › usage limits
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/keys/{id}/usage-limits \
|
||||
curl http://localhost:20128/api/keys/{id}/usage-limits \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -127,7 +127,7 @@ curl https://localhost:20128/api/keys/{id}/usage-limits \
|
||||
GET keys › groups
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/keys/groups \
|
||||
curl http://localhost:20128/api/keys/groups \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -136,7 +136,7 @@ curl https://localhost:20128/api/keys/groups \
|
||||
POST keys › groups
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/keys/groups \
|
||||
curl -X POST http://localhost:20128/api/keys/groups \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -147,7 +147,7 @@ curl -X POST https://localhost:20128/api/keys/groups \
|
||||
GET keys › groups › <id>
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/keys/groups/{id} \
|
||||
curl http://localhost:20128/api/keys/groups/{id} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -156,7 +156,7 @@ curl https://localhost:20128/api/keys/groups/{id} \
|
||||
PUT keys › groups › <id>
|
||||
|
||||
```bash
|
||||
curl -X PUT https://localhost:20128/api/keys/groups/{id} \
|
||||
curl -X PUT http://localhost:20128/api/keys/groups/{id} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -167,7 +167,7 @@ curl -X PUT https://localhost:20128/api/keys/groups/{id} \
|
||||
DELETE keys › groups › <id>
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/keys/groups/{id} \
|
||||
curl -X DELETE http://localhost:20128/api/keys/groups/{id} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -176,7 +176,7 @@ curl -X DELETE https://localhost:20128/api/keys/groups/{id} \
|
||||
GET keys › groups › <id> › keys
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/keys/groups/{id}/keys \
|
||||
curl http://localhost:20128/api/keys/groups/{id}/keys \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -185,7 +185,7 @@ curl https://localhost:20128/api/keys/groups/{id}/keys \
|
||||
POST keys › groups › <id> › keys
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/keys/groups/{id}/keys \
|
||||
curl -X POST http://localhost:20128/api/keys/groups/{id}/keys \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -196,7 +196,7 @@ curl -X POST https://localhost:20128/api/keys/groups/{id}/keys \
|
||||
DELETE keys › groups › <id> › keys
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/keys/groups/{id}/keys \
|
||||
curl -X DELETE http://localhost:20128/api/keys/groups/{id}/keys \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -205,7 +205,7 @@ curl -X DELETE https://localhost:20128/api/keys/groups/{id}/keys \
|
||||
GET keys › groups › <id> › permissions
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/keys/groups/{id}/permissions \
|
||||
curl http://localhost:20128/api/keys/groups/{id}/permissions \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -214,7 +214,7 @@ curl https://localhost:20128/api/keys/groups/{id}/permissions \
|
||||
POST keys › groups › <id> › permissions
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/keys/groups/{id}/permissions \
|
||||
curl -X POST http://localhost:20128/api/keys/groups/{id}/permissions \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -225,7 +225,7 @@ curl -X POST https://localhost:20128/api/keys/groups/{id}/permissions \
|
||||
DELETE keys › groups › <id> › permissions
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/keys/groups/{id}/permissions \
|
||||
curl -X DELETE http://localhost:20128/api/keys/groups/{id}/permissions \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ Remote API requests use a Bearer credential. Dashboard login is different: `POST
|
||||
Authenticate user
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/auth/login \
|
||||
curl -X POST http://localhost:20128/api/auth/login \
|
||||
-H "Content-Type: application/json" \
|
||||
-c cookie.jar \
|
||||
-d '{"password":"<management-password>"}'
|
||||
@@ -30,8 +30,8 @@ curl -X POST https://localhost:20128/api/auth/login \
|
||||
Log out
|
||||
|
||||
```bash
|
||||
CSRF_TOKEN=$(curl -s https://localhost:20128/api/auth/csrf -b cookie.jar | jq -r .token)
|
||||
curl -X POST https://localhost:20128/api/auth/logout \
|
||||
CSRF_TOKEN=$(curl -s http://localhost:20128/api/auth/csrf -b cookie.jar | jq -r .token)
|
||||
curl -X POST http://localhost:20128/api/auth/logout \
|
||||
-b cookie.jar \
|
||||
-H "x-omniroute-csrf: $CSRF_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
@@ -49,7 +49,7 @@ remains available as a fallback while OIDC is enabled.
|
||||
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/auth/oidc/login \
|
||||
curl http://localhost:20128/api/auth/oidc/login \
|
||||
-b cookie.jar
|
||||
```
|
||||
|
||||
@@ -58,14 +58,14 @@ curl https://localhost:20128/api/auth/oidc/login \
|
||||
Complete OIDC login for the dashboard admin gate
|
||||
|
||||
Validates the `state` cookie, exchanges the authorization `code` for tokens,
|
||||
verifies the ID token against the issuer's JWKS (audience = client id), and —
|
||||
if `oidcAllowedSubjects` is configured — checks the token's `sub`/`email` against
|
||||
that allowlist. On success it mints the same 30-day `auth_token` dashboard-session
|
||||
verifies the ID token against the issuer's JWKS (audience = client id), and
|
||||
checks the token's `sub`/`email` against `oidcAllowedSubjects`, which must hold at
|
||||
least one entry (an empty list ends in `not_configured`). On success it mints the same 30-day `auth_token` dashboard-session
|
||||
JWT used by password login and redirects to `/dashboard`.
|
||||
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/auth/oidc/callback \
|
||||
curl http://localhost:20128/api/auth/oidc/callback \
|
||||
-b cookie.jar
|
||||
```
|
||||
|
||||
@@ -74,7 +74,7 @@ curl https://localhost:20128/api/auth/oidc/callback \
|
||||
GET auth › csrf
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/auth/csrf \
|
||||
curl http://localhost:20128/api/auth/csrf \
|
||||
-b cookie.jar
|
||||
```
|
||||
|
||||
@@ -83,7 +83,7 @@ curl https://localhost:20128/api/auth/csrf \
|
||||
GET auth › status
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/auth/status \
|
||||
curl http://localhost:20128/api/auth/status \
|
||||
-b cookie.jar
|
||||
```
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ All requests require a valid Bearer token or session cookie. Obtain a token via
|
||||
Get rate limit configuration
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/rate-limit \
|
||||
curl http://localhost:20128/api/rate-limit \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -28,7 +28,7 @@ curl https://localhost:20128/api/rate-limit \
|
||||
Update rate limit configuration
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/rate-limit \
|
||||
curl -X POST http://localhost:20128/api/rate-limit \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
|
||||
@@ -19,7 +19,7 @@ All requests require a valid Bearer token or session cookie. Obtain a token via
|
||||
Get cache statistics
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cache \
|
||||
curl http://localhost:20128/api/cache \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -28,7 +28,7 @@ curl https://localhost:20128/api/cache \
|
||||
Clear all caches
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/cache \
|
||||
curl -X DELETE http://localhost:20128/api/cache \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -39,7 +39,7 @@ Get detailed cache statistics
|
||||
Returns detailed statistics for all cache layers.
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cache/stats \
|
||||
curl http://localhost:20128/api/cache/stats \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -48,7 +48,7 @@ curl https://localhost:20128/api/cache/stats \
|
||||
Clear cache statistics
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/cache/stats \
|
||||
curl -X DELETE http://localhost:20128/api/cache/stats \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -57,7 +57,7 @@ curl -X DELETE https://localhost:20128/api/cache/stats \
|
||||
GET cache › entries
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cache/entries \
|
||||
curl http://localhost:20128/api/cache/entries \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -66,7 +66,7 @@ curl https://localhost:20128/api/cache/entries \
|
||||
DELETE cache › entries
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/cache/entries \
|
||||
curl -X DELETE http://localhost:20128/api/cache/entries \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -75,7 +75,7 @@ curl -X DELETE https://localhost:20128/api/cache/entries \
|
||||
GET cache › reasoning
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cache/reasoning \
|
||||
curl http://localhost:20128/api/cache/reasoning \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -84,7 +84,7 @@ curl https://localhost:20128/api/cache/reasoning \
|
||||
DELETE cache › reasoning
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/cache/reasoning \
|
||||
curl -X DELETE http://localhost:20128/api/cache/reasoning \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
List CLI tool backups
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/backups \
|
||||
curl http://localhost:20128/api/cli-tools/backups \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -94,7 +94,7 @@ curl https://localhost:20128/api/cli-tools/backups \
|
||||
Create CLI tool backup
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cli-tools/backups \
|
||||
curl -X POST http://localhost:20128/api/cli-tools/backups \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -105,7 +105,7 @@ curl -X POST https://localhost:20128/api/cli-tools/backups \
|
||||
Get runtime status for a CLI tool
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/runtime/{toolId} \
|
||||
curl http://localhost:20128/api/cli-tools/runtime/{toolId} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -114,7 +114,7 @@ curl https://localhost:20128/api/cli-tools/runtime/{toolId} \
|
||||
Get guide settings for a tool
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/guide-settings/{toolId} \
|
||||
curl http://localhost:20128/api/cli-tools/guide-settings/{toolId} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -123,7 +123,7 @@ curl https://localhost:20128/api/cli-tools/guide-settings/{toolId} \
|
||||
Get Antigravity MITM proxy settings
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/antigravity-mitm \
|
||||
curl http://localhost:20128/api/cli-tools/antigravity-mitm \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -132,7 +132,7 @@ curl https://localhost:20128/api/cli-tools/antigravity-mitm \
|
||||
Update Antigravity MITM proxy settings
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cli-tools/antigravity-mitm \
|
||||
curl -X POST http://localhost:20128/api/cli-tools/antigravity-mitm \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -143,7 +143,7 @@ curl -X POST https://localhost:20128/api/cli-tools/antigravity-mitm \
|
||||
Reset Antigravity MITM proxy settings
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/cli-tools/antigravity-mitm \
|
||||
curl -X DELETE http://localhost:20128/api/cli-tools/antigravity-mitm \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -152,7 +152,7 @@ curl -X DELETE https://localhost:20128/api/cli-tools/antigravity-mitm \
|
||||
Get Antigravity MITM alias configuration
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/antigravity-mitm/alias \
|
||||
curl http://localhost:20128/api/cli-tools/antigravity-mitm/alias \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -161,7 +161,7 @@ curl https://localhost:20128/api/cli-tools/antigravity-mitm/alias \
|
||||
Update Antigravity MITM alias configuration
|
||||
|
||||
```bash
|
||||
curl -X PUT https://localhost:20128/api/cli-tools/antigravity-mitm/alias \
|
||||
curl -X PUT http://localhost:20128/api/cli-tools/antigravity-mitm/alias \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -172,7 +172,7 @@ curl -X PUT https://localhost:20128/api/cli-tools/antigravity-mitm/alias \
|
||||
Get Claude CLI settings
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/claude-settings \
|
||||
curl http://localhost:20128/api/cli-tools/claude-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -181,7 +181,7 @@ curl https://localhost:20128/api/cli-tools/claude-settings \
|
||||
Apply Claude CLI settings
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cli-tools/claude-settings \
|
||||
curl -X POST http://localhost:20128/api/cli-tools/claude-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -192,7 +192,7 @@ curl -X POST https://localhost:20128/api/cli-tools/claude-settings \
|
||||
Reset Claude CLI settings
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/cli-tools/claude-settings \
|
||||
curl -X DELETE http://localhost:20128/api/cli-tools/claude-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -201,7 +201,7 @@ curl -X DELETE https://localhost:20128/api/cli-tools/claude-settings \
|
||||
Get Cline CLI settings
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/cline-settings \
|
||||
curl http://localhost:20128/api/cli-tools/cline-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -210,7 +210,7 @@ curl https://localhost:20128/api/cli-tools/cline-settings \
|
||||
Apply Cline CLI settings
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cli-tools/cline-settings \
|
||||
curl -X POST http://localhost:20128/api/cli-tools/cline-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -221,7 +221,7 @@ curl -X POST https://localhost:20128/api/cli-tools/cline-settings \
|
||||
Reset Cline CLI settings
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/cli-tools/cline-settings \
|
||||
curl -X DELETE http://localhost:20128/api/cli-tools/cline-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -230,7 +230,7 @@ curl -X DELETE https://localhost:20128/api/cli-tools/cline-settings \
|
||||
Get Codex profiles
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/codex-profiles \
|
||||
curl http://localhost:20128/api/cli-tools/codex-profiles \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -239,7 +239,7 @@ curl https://localhost:20128/api/cli-tools/codex-profiles \
|
||||
Create Codex profile
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cli-tools/codex-profiles \
|
||||
curl -X POST http://localhost:20128/api/cli-tools/codex-profiles \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -250,7 +250,7 @@ curl -X POST https://localhost:20128/api/cli-tools/codex-profiles \
|
||||
Update Codex profile
|
||||
|
||||
```bash
|
||||
curl -X PUT https://localhost:20128/api/cli-tools/codex-profiles \
|
||||
curl -X PUT http://localhost:20128/api/cli-tools/codex-profiles \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -261,7 +261,7 @@ curl -X PUT https://localhost:20128/api/cli-tools/codex-profiles \
|
||||
Delete Codex profile
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/cli-tools/codex-profiles \
|
||||
curl -X DELETE http://localhost:20128/api/cli-tools/codex-profiles \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -270,7 +270,7 @@ curl -X DELETE https://localhost:20128/api/cli-tools/codex-profiles \
|
||||
Get Codex CLI settings
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/codex-settings \
|
||||
curl http://localhost:20128/api/cli-tools/codex-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -279,7 +279,7 @@ curl https://localhost:20128/api/cli-tools/codex-settings \
|
||||
Apply Codex CLI settings
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cli-tools/codex-settings \
|
||||
curl -X POST http://localhost:20128/api/cli-tools/codex-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -290,7 +290,7 @@ curl -X POST https://localhost:20128/api/cli-tools/codex-settings \
|
||||
Reset Codex CLI settings
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/cli-tools/codex-settings \
|
||||
curl -X DELETE http://localhost:20128/api/cli-tools/codex-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -299,7 +299,7 @@ curl -X DELETE https://localhost:20128/api/cli-tools/codex-settings \
|
||||
Get Droid CLI settings
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/droid-settings \
|
||||
curl http://localhost:20128/api/cli-tools/droid-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -308,7 +308,7 @@ curl https://localhost:20128/api/cli-tools/droid-settings \
|
||||
Apply Droid CLI settings
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cli-tools/droid-settings \
|
||||
curl -X POST http://localhost:20128/api/cli-tools/droid-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -319,7 +319,7 @@ curl -X POST https://localhost:20128/api/cli-tools/droid-settings \
|
||||
Reset Droid CLI settings
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/cli-tools/droid-settings \
|
||||
curl -X DELETE http://localhost:20128/api/cli-tools/droid-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -328,7 +328,7 @@ curl -X DELETE https://localhost:20128/api/cli-tools/droid-settings \
|
||||
Get Kilo CLI settings
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/kilo-settings \
|
||||
curl http://localhost:20128/api/cli-tools/kilo-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -337,7 +337,7 @@ curl https://localhost:20128/api/cli-tools/kilo-settings \
|
||||
Apply Kilo CLI settings
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cli-tools/kilo-settings \
|
||||
curl -X POST http://localhost:20128/api/cli-tools/kilo-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -348,7 +348,7 @@ curl -X POST https://localhost:20128/api/cli-tools/kilo-settings \
|
||||
Reset Kilo CLI settings
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/cli-tools/kilo-settings \
|
||||
curl -X DELETE http://localhost:20128/api/cli-tools/kilo-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -357,7 +357,7 @@ curl -X DELETE https://localhost:20128/api/cli-tools/kilo-settings \
|
||||
Get OpenClaw CLI settings
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/openclaw-settings \
|
||||
curl http://localhost:20128/api/cli-tools/openclaw-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -366,7 +366,7 @@ curl https://localhost:20128/api/cli-tools/openclaw-settings \
|
||||
Apply OpenClaw CLI settings
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cli-tools/openclaw-settings \
|
||||
curl -X POST http://localhost:20128/api/cli-tools/openclaw-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -377,7 +377,7 @@ curl -X POST https://localhost:20128/api/cli-tools/openclaw-settings \
|
||||
Reset OpenClaw CLI settings
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/cli-tools/openclaw-settings \
|
||||
curl -X DELETE http://localhost:20128/api/cli-tools/openclaw-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -388,7 +388,7 @@ Read Crush CLI OmniRoute config
|
||||
Local-only. Reads the OmniRoute provider block in Crush's config.
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/crush-settings \
|
||||
curl http://localhost:20128/api/cli-tools/crush-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -399,7 +399,7 @@ Write Crush CLI OmniRoute config
|
||||
Local-only. Registers OmniRoute as an `openai-compat` provider in Crush's config.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cli-tools/crush-settings \
|
||||
curl -X POST http://localhost:20128/api/cli-tools/crush-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -412,7 +412,7 @@ Remove OmniRoute from Crush CLI config
|
||||
Local-only. Removes the OmniRoute provider block from Crush's config.
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/cli-tools/crush-settings \
|
||||
curl -X DELETE http://localhost:20128/api/cli-tools/crush-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -423,7 +423,7 @@ Read CodeWhale CLI OmniRoute config
|
||||
Local-only. Reads the OmniRoute config block from `~/.codewhale/config.toml` (with `~/.deepseek/config.toml` legacy fallback).
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/codewhale-settings \
|
||||
curl http://localhost:20128/api/cli-tools/codewhale-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -434,7 +434,7 @@ Write CodeWhale CLI OmniRoute config
|
||||
Local-only. Writes the OmniRoute config block in CodeWhale TOML format.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cli-tools/codewhale-settings \
|
||||
curl -X POST http://localhost:20128/api/cli-tools/codewhale-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -447,7 +447,7 @@ Remove OmniRoute from CodeWhale CLI config
|
||||
Local-only. Removes the OmniRoute config block from CodeWhale's config.
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/cli-tools/codewhale-settings \
|
||||
curl -X DELETE http://localhost:20128/api/cli-tools/codewhale-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -456,7 +456,7 @@ curl -X DELETE https://localhost:20128/api/cli-tools/codewhale-settings \
|
||||
GET cli tools › all statuses
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/all-statuses \
|
||||
curl http://localhost:20128/api/cli-tools/all-statuses \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -467,7 +467,7 @@ POST cli tools › apply
|
||||
Submit the original toolId, apiKey, optional baseUrl/model and optional dryRun in the JSON body. Returned content is a redacted, non-cacheable preview, not an importable configuration. A non-dry-run request writes the original generated configuration; the container write guard remains active.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cli-tools/apply \
|
||||
curl -X POST http://localhost:20128/api/cli-tools/apply \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"toolId":"claude","apiKey":"<configuration-api-key>","dryRun":true}'
|
||||
@@ -480,7 +480,7 @@ GET cli tools › config
|
||||
Returns redacted, non-cacheable previews. Send the configuration API key in x-omniroute-config-api-key, separate from management authentication. API keys in query strings are rejected. Preview content must not be copied into a credential-bearing configuration or submitted as an apply payload.
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/config \
|
||||
curl http://localhost:20128/api/cli-tools/config \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "x-omniroute-config-api-key: <configuration-api-key>"
|
||||
```
|
||||
@@ -492,7 +492,7 @@ POST cli tools › config
|
||||
Submit toolId, apiKey and optional baseUrl/model as JSON. Unknown fields are rejected. Returned content is a redacted, non-cacheable preview, not an importable configuration. To apply, submit the original inputs to POST /api/cli-tools/apply instead of replaying the preview content.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cli-tools/config \
|
||||
curl -X POST http://localhost:20128/api/cli-tools/config \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"toolId":"claude","apiKey":"<configuration-api-key>"}'
|
||||
@@ -503,7 +503,7 @@ curl -X POST https://localhost:20128/api/cli-tools/config \
|
||||
GET cli tools › deepseek tui settings
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/deepseek-tui-settings \
|
||||
curl http://localhost:20128/api/cli-tools/deepseek-tui-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -512,7 +512,7 @@ curl https://localhost:20128/api/cli-tools/deepseek-tui-settings \
|
||||
POST cli tools › deepseek tui settings
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cli-tools/deepseek-tui-settings \
|
||||
curl -X POST http://localhost:20128/api/cli-tools/deepseek-tui-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -523,7 +523,7 @@ curl -X POST https://localhost:20128/api/cli-tools/deepseek-tui-settings \
|
||||
DELETE cli tools › deepseek tui settings
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/cli-tools/deepseek-tui-settings \
|
||||
curl -X DELETE http://localhost:20128/api/cli-tools/deepseek-tui-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -532,7 +532,7 @@ curl -X DELETE https://localhost:20128/api/cli-tools/deepseek-tui-settings \
|
||||
GET cli tools › detect
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/detect \
|
||||
curl http://localhost:20128/api/cli-tools/detect \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -541,7 +541,7 @@ curl https://localhost:20128/api/cli-tools/detect \
|
||||
GET cli tools › forge settings
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/forge-settings \
|
||||
curl http://localhost:20128/api/cli-tools/forge-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -550,7 +550,7 @@ curl https://localhost:20128/api/cli-tools/forge-settings \
|
||||
POST cli tools › forge settings
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cli-tools/forge-settings \
|
||||
curl -X POST http://localhost:20128/api/cli-tools/forge-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -561,7 +561,7 @@ curl -X POST https://localhost:20128/api/cli-tools/forge-settings \
|
||||
DELETE cli tools › forge settings
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/cli-tools/forge-settings \
|
||||
curl -X DELETE http://localhost:20128/api/cli-tools/forge-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -570,7 +570,7 @@ curl -X DELETE https://localhost:20128/api/cli-tools/forge-settings \
|
||||
GET cli tools › grok build settings
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/grok-build-settings \
|
||||
curl http://localhost:20128/api/cli-tools/grok-build-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -579,7 +579,7 @@ curl https://localhost:20128/api/cli-tools/grok-build-settings \
|
||||
POST cli tools › grok build settings
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cli-tools/grok-build-settings \
|
||||
curl -X POST http://localhost:20128/api/cli-tools/grok-build-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -590,7 +590,7 @@ curl -X POST https://localhost:20128/api/cli-tools/grok-build-settings \
|
||||
DELETE cli tools › grok build settings
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/cli-tools/grok-build-settings \
|
||||
curl -X DELETE http://localhost:20128/api/cli-tools/grok-build-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -599,7 +599,7 @@ curl -X DELETE https://localhost:20128/api/cli-tools/grok-build-settings \
|
||||
GET cli tools › hermes agent settings
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/hermes-agent-settings \
|
||||
curl http://localhost:20128/api/cli-tools/hermes-agent-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -608,7 +608,7 @@ curl https://localhost:20128/api/cli-tools/hermes-agent-settings \
|
||||
POST cli tools › hermes agent settings
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cli-tools/hermes-agent-settings \
|
||||
curl -X POST http://localhost:20128/api/cli-tools/hermes-agent-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -619,7 +619,7 @@ curl -X POST https://localhost:20128/api/cli-tools/hermes-agent-settings \
|
||||
GET cli tools › jcode settings
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/jcode-settings \
|
||||
curl http://localhost:20128/api/cli-tools/jcode-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -628,7 +628,7 @@ curl https://localhost:20128/api/cli-tools/jcode-settings \
|
||||
POST cli tools › jcode settings
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cli-tools/jcode-settings \
|
||||
curl -X POST http://localhost:20128/api/cli-tools/jcode-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -639,7 +639,7 @@ curl -X POST https://localhost:20128/api/cli-tools/jcode-settings \
|
||||
DELETE cli tools › jcode settings
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/cli-tools/jcode-settings \
|
||||
curl -X DELETE http://localhost:20128/api/cli-tools/jcode-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -648,7 +648,7 @@ curl -X DELETE https://localhost:20128/api/cli-tools/jcode-settings \
|
||||
GET cli tools › keys
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/keys \
|
||||
curl http://localhost:20128/api/cli-tools/keys \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -657,7 +657,7 @@ curl https://localhost:20128/api/cli-tools/keys \
|
||||
GET cli tools › letta settings
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/letta-settings \
|
||||
curl http://localhost:20128/api/cli-tools/letta-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -666,7 +666,7 @@ curl https://localhost:20128/api/cli-tools/letta-settings \
|
||||
POST cli tools › letta settings
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cli-tools/letta-settings \
|
||||
curl -X POST http://localhost:20128/api/cli-tools/letta-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -677,7 +677,7 @@ curl -X POST https://localhost:20128/api/cli-tools/letta-settings \
|
||||
DELETE cli tools › letta settings
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/cli-tools/letta-settings \
|
||||
curl -X DELETE http://localhost:20128/api/cli-tools/letta-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -686,7 +686,7 @@ curl -X DELETE https://localhost:20128/api/cli-tools/letta-settings \
|
||||
GET cli tools › logs
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/logs \
|
||||
curl http://localhost:20128/api/cli-tools/logs \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -695,7 +695,7 @@ curl https://localhost:20128/api/cli-tools/logs \
|
||||
GET cli tools › omp settings
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/omp-settings \
|
||||
curl http://localhost:20128/api/cli-tools/omp-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -704,7 +704,7 @@ curl https://localhost:20128/api/cli-tools/omp-settings \
|
||||
POST cli tools › omp settings
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cli-tools/omp-settings \
|
||||
curl -X POST http://localhost:20128/api/cli-tools/omp-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -715,7 +715,7 @@ curl -X POST https://localhost:20128/api/cli-tools/omp-settings \
|
||||
DELETE cli tools › omp settings
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/cli-tools/omp-settings \
|
||||
curl -X DELETE http://localhost:20128/api/cli-tools/omp-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -724,7 +724,7 @@ curl -X DELETE https://localhost:20128/api/cli-tools/omp-settings \
|
||||
GET cli tools › openclaw › auto order
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/openclaw/auto-order \
|
||||
curl http://localhost:20128/api/cli-tools/openclaw/auto-order \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -733,7 +733,7 @@ curl https://localhost:20128/api/cli-tools/openclaw/auto-order \
|
||||
GET cli tools › pi settings
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/pi-settings \
|
||||
curl http://localhost:20128/api/cli-tools/pi-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -742,7 +742,7 @@ curl https://localhost:20128/api/cli-tools/pi-settings \
|
||||
POST cli tools › pi settings
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cli-tools/pi-settings \
|
||||
curl -X POST http://localhost:20128/api/cli-tools/pi-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -753,7 +753,7 @@ curl -X POST https://localhost:20128/api/cli-tools/pi-settings \
|
||||
DELETE cli tools › pi settings
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/cli-tools/pi-settings \
|
||||
curl -X DELETE http://localhost:20128/api/cli-tools/pi-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -762,7 +762,7 @@ curl -X DELETE https://localhost:20128/api/cli-tools/pi-settings \
|
||||
GET cli tools › qwen settings
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/qwen-settings \
|
||||
curl http://localhost:20128/api/cli-tools/qwen-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -771,7 +771,7 @@ curl https://localhost:20128/api/cli-tools/qwen-settings \
|
||||
POST cli tools › qwen settings
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cli-tools/qwen-settings \
|
||||
curl -X POST http://localhost:20128/api/cli-tools/qwen-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -782,7 +782,7 @@ curl -X POST https://localhost:20128/api/cli-tools/qwen-settings \
|
||||
DELETE cli tools › qwen settings
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/cli-tools/qwen-settings \
|
||||
curl -X DELETE http://localhost:20128/api/cli-tools/qwen-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -791,7 +791,7 @@ curl -X DELETE https://localhost:20128/api/cli-tools/qwen-settings \
|
||||
GET cli tools › smelt settings
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/smelt-settings \
|
||||
curl http://localhost:20128/api/cli-tools/smelt-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -800,7 +800,7 @@ curl https://localhost:20128/api/cli-tools/smelt-settings \
|
||||
POST cli tools › smelt settings
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cli-tools/smelt-settings \
|
||||
curl -X POST http://localhost:20128/api/cli-tools/smelt-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -811,7 +811,7 @@ curl -X POST https://localhost:20128/api/cli-tools/smelt-settings \
|
||||
DELETE cli tools › smelt settings
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/cli-tools/smelt-settings \
|
||||
curl -X DELETE http://localhost:20128/api/cli-tools/smelt-settings \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -820,6 +820,6 @@ curl -X DELETE https://localhost:20128/api/cli-tools/smelt-settings \
|
||||
GET cli tools › status
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cli-tools/status \
|
||||
curl http://localhost:20128/api/cli-tools/status \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -19,7 +19,7 @@ All requests require a valid Bearer token or session cookie. Obtain a token via
|
||||
List routing combos
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/combos \
|
||||
curl http://localhost:20128/api/combos \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -28,7 +28,7 @@ curl https://localhost:20128/api/combos \
|
||||
Create routing combo
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/combos \
|
||||
curl -X POST http://localhost:20128/api/combos \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -39,7 +39,7 @@ curl -X POST https://localhost:20128/api/combos \
|
||||
Get combo by ID
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/combos/{id} \
|
||||
curl http://localhost:20128/api/combos/{id} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -50,7 +50,7 @@ Update combo
|
||||
Partial update: the body is merged onto the stored combo, so a field left out keeps its current value. An array that IS sent replaces the stored one outright.
|
||||
|
||||
```bash
|
||||
curl -X PUT https://localhost:20128/api/combos/{id} \
|
||||
curl -X PUT http://localhost:20128/api/combos/{id} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -63,7 +63,7 @@ Update combo
|
||||
Partial update: the body is merged onto the stored combo, so a field left out keeps its current value. An array that IS sent replaces the stored one outright.
|
||||
|
||||
```bash
|
||||
curl -X PATCH https://localhost:20128/api/combos/{id} \
|
||||
curl -X PATCH http://localhost:20128/api/combos/{id} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -74,7 +74,7 @@ curl -X PATCH https://localhost:20128/api/combos/{id} \
|
||||
Delete combo
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/combos/{id} \
|
||||
curl -X DELETE http://localhost:20128/api/combos/{id} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -83,7 +83,7 @@ curl -X DELETE https://localhost:20128/api/combos/{id} \
|
||||
Get combo metrics
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/combos/metrics \
|
||||
curl http://localhost:20128/api/combos/metrics \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -92,7 +92,7 @@ curl https://localhost:20128/api/combos/metrics \
|
||||
Test a combo configuration
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/combos/test \
|
||||
curl -X POST http://localhost:20128/api/combos/test \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -105,7 +105,7 @@ List fallback chains
|
||||
Returns all registered fallback chains for model routing.
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/fallback/chains \
|
||||
curl http://localhost:20128/api/fallback/chains \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -116,7 +116,7 @@ Create fallback chain
|
||||
Registers a fallback routing chain for a model.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/fallback/chains \
|
||||
curl -X POST http://localhost:20128/api/fallback/chains \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -127,7 +127,7 @@ curl -X POST https://localhost:20128/api/fallback/chains \
|
||||
Delete fallback chain
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/fallback/chains \
|
||||
curl -X DELETE http://localhost:20128/api/fallback/chains \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -136,7 +136,7 @@ curl -X DELETE https://localhost:20128/api/fallback/chains \
|
||||
GET combos › auto
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/combos/auto \
|
||||
curl http://localhost:20128/api/combos/auto \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -145,7 +145,7 @@ curl https://localhost:20128/api/combos/auto \
|
||||
GET combos › builder › options
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/combos/builder/options \
|
||||
curl http://localhost:20128/api/combos/builder/options \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -154,7 +154,7 @@ curl https://localhost:20128/api/combos/builder/options \
|
||||
POST combos › duplicate
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/combos/duplicate \
|
||||
curl -X POST http://localhost:20128/api/combos/duplicate \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -165,7 +165,7 @@ curl -X POST https://localhost:20128/api/combos/duplicate \
|
||||
POST combos › reorder
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/combos/reorder \
|
||||
curl -X POST http://localhost:20128/api/combos/reorder \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
|
||||
@@ -19,7 +19,7 @@ All requests require a valid Bearer token or session cookie. Obtain a token via
|
||||
Preview compression for a message payload
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/compression/preview \
|
||||
curl -X POST http://localhost:20128/api/compression/preview \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -30,7 +30,7 @@ curl -X POST https://localhost:20128/api/compression/preview \
|
||||
List Caveman compression language packs
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/compression/language-packs \
|
||||
curl http://localhost:20128/api/compression/language-packs \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -39,7 +39,7 @@ curl https://localhost:20128/api/compression/language-packs \
|
||||
List Caveman compression rule metadata
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/compression/rules \
|
||||
curl http://localhost:20128/api/compression/rules \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -48,7 +48,7 @@ curl https://localhost:20128/api/compression/rules \
|
||||
POST compression › compare
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/compression/compare \
|
||||
curl -X POST http://localhost:20128/api/compression/compare \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -59,7 +59,7 @@ curl -X POST https://localhost:20128/api/compression/compare \
|
||||
POST compression › compare › verify
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/compression/compare/verify \
|
||||
curl -X POST http://localhost:20128/api/compression/compare/verify \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -70,7 +70,7 @@ curl -X POST https://localhost:20128/api/compression/compare/verify \
|
||||
GET compression › engines
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/compression/engines \
|
||||
curl http://localhost:20128/api/compression/engines \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -79,7 +79,7 @@ curl https://localhost:20128/api/compression/engines \
|
||||
POST compression › retrieve
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/compression/retrieve \
|
||||
curl -X POST http://localhost:20128/api/compression/retrieve \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
|
||||
@@ -19,7 +19,7 @@ All requests require a valid Bearer token or session cookie. Obtain a token via
|
||||
Get RTK compression settings
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/context/rtk/config \
|
||||
curl http://localhost:20128/api/context/rtk/config \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -28,7 +28,7 @@ curl https://localhost:20128/api/context/rtk/config \
|
||||
Update RTK compression settings
|
||||
|
||||
```bash
|
||||
curl -X PUT https://localhost:20128/api/context/rtk/config \
|
||||
curl -X PUT http://localhost:20128/api/context/rtk/config \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -39,7 +39,7 @@ curl -X PUT https://localhost:20128/api/context/rtk/config \
|
||||
List RTK filters and load diagnostics
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/context/rtk/filters \
|
||||
curl http://localhost:20128/api/context/rtk/filters \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -48,7 +48,7 @@ curl https://localhost:20128/api/context/rtk/filters \
|
||||
Validate or install an RTK TOML schema v1 filter file
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/context/rtk/import \
|
||||
curl -X POST http://localhost:20128/api/context/rtk/import \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -59,7 +59,7 @@ curl -X POST https://localhost:20128/api/context/rtk/import \
|
||||
Run RTK compression preview for text
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/context/rtk/test \
|
||||
curl -X POST http://localhost:20128/api/context/rtk/test \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -70,7 +70,7 @@ curl -X POST https://localhost:20128/api/context/rtk/test \
|
||||
Read retained redacted RTK raw output
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/context/rtk/raw-output/{id} \
|
||||
curl http://localhost:20128/api/context/rtk/raw-output/{id} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -79,7 +79,7 @@ curl https://localhost:20128/api/context/rtk/raw-output/{id} \
|
||||
GET context › rtk › discover
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/context/rtk/discover \
|
||||
curl http://localhost:20128/api/context/rtk/discover \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -88,7 +88,7 @@ curl https://localhost:20128/api/context/rtk/discover \
|
||||
GET context › rtk › learn
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/context/rtk/learn \
|
||||
curl http://localhost:20128/api/context/rtk/learn \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ All requests require a valid Bearer token or session cookie. Obtain a token via
|
||||
GET system › env › repair
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/system/env/repair \
|
||||
curl http://localhost:20128/api/system/env/repair \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -28,7 +28,7 @@ curl https://localhost:20128/api/system/env/repair \
|
||||
POST system › env › repair
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/system/env/repair \
|
||||
curl -X POST http://localhost:20128/api/system/env/repair \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -38,8 +38,10 @@ curl -X POST https://localhost:20128/api/system/env/repair \
|
||||
|
||||
GET system › version
|
||||
|
||||
Running version, latest published version, auto-update status and npm release channel. `releaseChannel` and `channels` are additive (rail 3.8.54); `channel` keeps meaning the deployment mode used by the dashboard updater.
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/system/version \
|
||||
curl http://localhost:20128/api/system/version \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -48,7 +50,7 @@ curl https://localhost:20128/api/system/version \
|
||||
POST system › version
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/system/version \
|
||||
curl -X POST http://localhost:20128/api/system/version \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -19,7 +19,7 @@ All requests require a valid Bearer token or session cookie. Obtain a token via
|
||||
GET mcp › audit
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/mcp/audit \
|
||||
curl http://localhost:20128/api/mcp/audit \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -28,7 +28,7 @@ curl https://localhost:20128/api/mcp/audit \
|
||||
GET mcp › audit › stats
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/mcp/audit/stats \
|
||||
curl http://localhost:20128/api/mcp/audit/stats \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -37,7 +37,7 @@ curl https://localhost:20128/api/mcp/audit/stats \
|
||||
GET mcp › sse
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/mcp/sse \
|
||||
curl http://localhost:20128/api/mcp/sse \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -46,7 +46,7 @@ curl https://localhost:20128/api/mcp/sse \
|
||||
POST mcp › sse
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/mcp/sse \
|
||||
curl -X POST http://localhost:20128/api/mcp/sse \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -57,7 +57,7 @@ curl -X POST https://localhost:20128/api/mcp/sse \
|
||||
GET mcp › status
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/mcp/status \
|
||||
curl http://localhost:20128/api/mcp/status \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -66,7 +66,7 @@ curl https://localhost:20128/api/mcp/status \
|
||||
GET mcp › stream
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/mcp/stream \
|
||||
curl http://localhost:20128/api/mcp/stream \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -75,7 +75,7 @@ curl https://localhost:20128/api/mcp/stream \
|
||||
POST mcp › stream
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/mcp/stream \
|
||||
curl -X POST http://localhost:20128/api/mcp/stream \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -86,7 +86,7 @@ curl -X POST https://localhost:20128/api/mcp/stream \
|
||||
DELETE mcp › stream
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/mcp/stream \
|
||||
curl -X DELETE http://localhost:20128/api/mcp/stream \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -95,7 +95,7 @@ curl -X DELETE https://localhost:20128/api/mcp/stream \
|
||||
GET mcp › tools
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/mcp/tools \
|
||||
curl http://localhost:20128/api/mcp/tools \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ List available models
|
||||
Returns all models available across configured providers.
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/v1/models \
|
||||
curl http://localhost:20128/api/v1/models \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -30,7 +30,7 @@ curl https://localhost:20128/api/v1/models \
|
||||
List models (management)
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/models \
|
||||
curl http://localhost:20128/api/models \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -39,7 +39,7 @@ curl https://localhost:20128/api/models \
|
||||
Create or update a model alias
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/models/alias \
|
||||
curl -X POST http://localhost:20128/api/models/alias \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -50,7 +50,7 @@ curl -X POST https://localhost:20128/api/models/alias \
|
||||
Get full model catalog
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/models/catalog \
|
||||
curl http://localhost:20128/api/models/catalog \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -59,7 +59,7 @@ curl https://localhost:20128/api/models/catalog \
|
||||
GET models › openrouter catalog
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/models/openrouter-catalog \
|
||||
curl http://localhost:20128/api/models/openrouter-catalog \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -68,7 +68,7 @@ curl https://localhost:20128/api/models/openrouter-catalog \
|
||||
POST models › test
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/models/test \
|
||||
curl -X POST http://localhost:20128/api/models/test \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -79,7 +79,7 @@ curl -X POST https://localhost:20128/api/models/test \
|
||||
POST models › test all
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/models/test-all \
|
||||
curl -X POST http://localhost:20128/api/models/test-all \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -90,7 +90,7 @@ curl -X POST https://localhost:20128/api/models/test-all \
|
||||
GET models › <model>
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/v1/models/{model} \
|
||||
curl http://localhost:20128/api/v1/models/{model} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
|
||||
@@ -20,6 +20,9 @@ All requests require a valid Bearer token or session cookie. Obtain a token via
|
||||
- [`PATCH /api/providers/{id}`](references/endpoints.md#patch-apiprovidersid)
|
||||
- [`DELETE /api/providers/{id}`](references/endpoints.md#delete-apiprovidersid)
|
||||
- [`POST /api/providers/{id}/test`](references/endpoints.md#post-apiprovidersidtest)
|
||||
- [`GET /api/providers/{id}/test-message`](references/endpoints.md#get-apiprovidersidtest-message)
|
||||
- [`POST /api/providers/{id}/test-message`](references/endpoints.md#post-apiprovidersidtest-message)
|
||||
- [`PUT /api/providers/{id}/test-message`](references/endpoints.md#put-apiprovidersidtest-message)
|
||||
- [`GET /api/providers/{id}/models`](references/endpoints.md#get-apiprovidersidmodels)
|
||||
- [`GET /api/providers/cursor/agent-availability`](references/endpoints.md#get-apiproviderscursoragent-availability)
|
||||
- [`POST /api/providers/test-batch`](references/endpoints.md#post-apiproviderstest-batch)
|
||||
@@ -35,6 +38,7 @@ All requests require a valid Bearer token or session cookie. Obtain a token via
|
||||
- [`DELETE /api/provider-nodes/{id}`](references/endpoints.md#delete-apiprovider-nodesid)
|
||||
- [`POST /api/provider-nodes/validate`](references/endpoints.md#post-apiprovider-nodesvalidate)
|
||||
- [`GET /api/provider-models`](references/endpoints.md#get-apiprovider-models)
|
||||
- [`PUT /api/provider-models`](references/endpoints.md#put-apiprovider-models)
|
||||
- [`POST /api/provider-models/validate-and-add`](references/endpoints.md#post-apiprovider-modelsvalidate-and-add)
|
||||
- [`GET /api/providers/{id}/cc-alias`](references/endpoints.md#get-apiprovidersidcc-alias)
|
||||
- [`PUT /api/providers/{id}/cc-alias`](references/endpoints.md#put-apiprovidersidcc-alias)
|
||||
|
||||
@@ -10,6 +10,9 @@
|
||||
- [`PATCH /api/providers/{id}`](#patch-apiprovidersid)
|
||||
- [`DELETE /api/providers/{id}`](#delete-apiprovidersid)
|
||||
- [`POST /api/providers/{id}/test`](#post-apiprovidersidtest)
|
||||
- [`GET /api/providers/{id}/test-message`](#get-apiprovidersidtest-message)
|
||||
- [`POST /api/providers/{id}/test-message`](#post-apiprovidersidtest-message)
|
||||
- [`PUT /api/providers/{id}/test-message`](#put-apiprovidersidtest-message)
|
||||
- [`GET /api/providers/{id}/models`](#get-apiprovidersidmodels)
|
||||
- [`GET /api/providers/cursor/agent-availability`](#get-apiproviderscursoragent-availability)
|
||||
- [`POST /api/providers/test-batch`](#post-apiproviderstest-batch)
|
||||
@@ -25,6 +28,7 @@
|
||||
- [`DELETE /api/provider-nodes/{id}`](#delete-apiprovider-nodesid)
|
||||
- [`POST /api/provider-nodes/validate`](#post-apiprovider-nodesvalidate)
|
||||
- [`GET /api/provider-models`](#get-apiprovider-models)
|
||||
- [`PUT /api/provider-models`](#put-apiprovider-models)
|
||||
- [`POST /api/provider-models/validate-and-add`](#post-apiprovider-modelsvalidate-and-add)
|
||||
- [`GET /api/providers/{id}/cc-alias`](#get-apiprovidersidcc-alias)
|
||||
- [`PUT /api/providers/{id}/cc-alias`](#put-apiprovidersidcc-alias)
|
||||
@@ -82,7 +86,7 @@
|
||||
List provider connections
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/providers \
|
||||
curl http://localhost:20128/api/providers \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -91,7 +95,7 @@ curl https://localhost:20128/api/providers \
|
||||
Create provider connection
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers \
|
||||
curl -X POST http://localhost:20128/api/providers \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -102,7 +106,7 @@ curl -X POST https://localhost:20128/api/providers \
|
||||
Get provider connection
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/providers/{id} \
|
||||
curl http://localhost:20128/api/providers/{id} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -111,7 +115,7 @@ curl https://localhost:20128/api/providers/{id} \
|
||||
Update provider connection
|
||||
|
||||
```bash
|
||||
curl -X PATCH https://localhost:20128/api/providers/{id} \
|
||||
curl -X PATCH http://localhost:20128/api/providers/{id} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -122,7 +126,7 @@ curl -X PATCH https://localhost:20128/api/providers/{id} \
|
||||
Delete provider connection
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/providers/{id} \
|
||||
curl -X DELETE http://localhost:20128/api/providers/{id} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -131,7 +135,44 @@ curl -X DELETE https://localhost:20128/api/providers/{id} \
|
||||
Test provider connection
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/{id}/test \
|
||||
curl -X POST http://localhost:20128/api/providers/{id}/test \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
```
|
||||
|
||||
### GET /api/providers/{id}/test-message
|
||||
|
||||
Read an account's saved test model and the global test message
|
||||
|
||||
Requires management authentication. Returns modelId and prompt without credentials.
|
||||
|
||||
```bash
|
||||
curl http://localhost:20128/api/providers/{id}/test-message \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
### POST /api/providers/{id}/test-message
|
||||
|
||||
Send one real test message through the selected account
|
||||
|
||||
Requires management authentication. Uses the account's saved model and the global connectionTestPrompt setting (default: What is 1 + 1? Reply with only the number.). The prompt is configurable through PATCH /api/settings and limited to 500 characters. This manual request bypasses the response cache, uses only this connection and never falls back to another account. It consumes quota; usage-window behavior is determined by the provider. Saving settings does not schedule requests.
|
||||
|
||||
```bash
|
||||
curl -X POST http://localhost:20128/api/providers/{id}/test-message \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
```
|
||||
|
||||
### PUT /api/providers/{id}/test-message
|
||||
|
||||
Save the chat model used by this account's test-message button
|
||||
|
||||
Requires management authentication. Saving never sends an inference request.
|
||||
|
||||
```bash
|
||||
curl -X PUT http://localhost:20128/api/providers/{id}/test-message \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -142,7 +183,7 @@ curl -X POST https://localhost:20128/api/providers/{id}/test \
|
||||
List models for a provider
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/providers/{id}/models \
|
||||
curl http://localhost:20128/api/providers/{id}/models \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -153,7 +194,7 @@ Check cursor-agent availability
|
||||
Credential-free, informational check for whether cursor-agent is installed and authenticated on this host — backs the dashboard's dismissible install-nudge banner. Returns only cursorAgentAvailable (boolean); never tokens or machineId.
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/providers/cursor/agent-availability \
|
||||
curl http://localhost:20128/api/providers/cursor/agent-availability \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -162,7 +203,7 @@ curl https://localhost:20128/api/providers/cursor/agent-availability \
|
||||
Test multiple providers at once
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/test-batch \
|
||||
curl -X POST http://localhost:20128/api/providers/test-batch \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -175,7 +216,7 @@ Validate provider credentials
|
||||
Spawns a fixed ACP summarizer binary to validate credentials — loopback-only (Hard Rules #15/#17, audit #15159 S-01).
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/validate \
|
||||
curl -X POST http://localhost:20128/api/providers/validate \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -186,7 +227,7 @@ curl -X POST https://localhost:20128/api/providers/validate \
|
||||
Get client-side provider info
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/providers/client \
|
||||
curl http://localhost:20128/api/providers/client \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -195,7 +236,7 @@ curl https://localhost:20128/api/providers/client \
|
||||
Import an Antigravity CLI (agy) token file as an `agy` connection
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/agy-auth/import \
|
||||
curl -X POST http://localhost:20128/api/providers/agy-auth/import \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -206,7 +247,7 @@ curl -X POST https://localhost:20128/api/providers/agy-auth/import \
|
||||
Bulk-import multiple Antigravity CLI (agy) token files (up to 50)
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/agy-auth/import-bulk \
|
||||
curl -X POST http://localhost:20128/api/providers/agy-auth/import-bulk \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -217,7 +258,7 @@ curl -X POST https://localhost:20128/api/providers/agy-auth/import-bulk \
|
||||
Extract `.json` token files from an uploaded ZIP for agy bulk import
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/agy-auth/zip-extract \
|
||||
curl -X POST http://localhost:20128/api/providers/agy-auth/zip-extract \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -228,7 +269,7 @@ curl -X POST https://localhost:20128/api/providers/agy-auth/zip-extract \
|
||||
Auto-detect and import the local Antigravity CLI (agy) login from disk
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/agy-auth/apply-local \
|
||||
curl -X POST http://localhost:20128/api/providers/agy-auth/apply-local \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -239,7 +280,7 @@ curl -X POST https://localhost:20128/api/providers/agy-auth/apply-local \
|
||||
List provider nodes
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/provider-nodes \
|
||||
curl http://localhost:20128/api/provider-nodes \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -248,7 +289,7 @@ curl https://localhost:20128/api/provider-nodes \
|
||||
Create provider node
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/provider-nodes \
|
||||
curl -X POST http://localhost:20128/api/provider-nodes \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -259,7 +300,7 @@ curl -X POST https://localhost:20128/api/provider-nodes \
|
||||
Update provider node
|
||||
|
||||
```bash
|
||||
curl -X PATCH https://localhost:20128/api/provider-nodes/{id} \
|
||||
curl -X PATCH http://localhost:20128/api/provider-nodes/{id} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -270,7 +311,7 @@ curl -X PATCH https://localhost:20128/api/provider-nodes/{id} \
|
||||
Delete provider node
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/provider-nodes/{id} \
|
||||
curl -X DELETE http://localhost:20128/api/provider-nodes/{id} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -279,7 +320,7 @@ curl -X DELETE https://localhost:20128/api/provider-nodes/{id} \
|
||||
Validate a provider node
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/provider-nodes/validate \
|
||||
curl -X POST http://localhost:20128/api/provider-nodes/validate \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -289,11 +330,26 @@ curl -X POST https://localhost:20128/api/provider-nodes/validate \
|
||||
|
||||
List provider models
|
||||
|
||||
With a provider query parameter, includes modelOutputOverrides for manual output-token caps, including synced models without a custom-model row.
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/provider-models \
|
||||
curl http://localhost:20128/api/provider-models \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
### PUT /api/provider-models
|
||||
|
||||
Update model metadata or per-model overrides
|
||||
|
||||
Requires management authentication. maxOutputTokenOverride sets a manual max_output_tokens capability without creating a custom-model row when it is the only change. A null value clears that override. Existing metadata fields remain available on this operation.
|
||||
|
||||
```bash
|
||||
curl -X PUT http://localhost:20128/api/provider-models \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
```
|
||||
|
||||
### POST /api/provider-models/validate-and-add
|
||||
|
||||
Validate and add a custom chat model on one exact connection
|
||||
@@ -301,7 +357,7 @@ Validate and add a custom chat model on one exact connection
|
||||
Always requires management authentication and explicit inference consent. Runs bounded generation, streamed synthetic tool-call and continuation proofs through the chat core; no real tool is executed. Configuration changes, alternate connections, retries and proxy executor fallback fail closed. Only after all proofs pass is a previously absent custom model inserted and read back atomically. Every response is Cache-Control no-store. Requests can incur upstream charges. The validation receipt is informational, not redeemable. Initial strict support is limited to native Base/Default execution for OpenAI and canonical OpenAI-compatible nodes using a single Bearer credential and an exact JSON model field. Specialized executors and other providers are unsupported; session pools, extra-key rotation, HTTP redirects and credential refresh are refused. Active runtime plugins also fail closed; plugin policies are not silently skipped.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/provider-models/validate-and-add \
|
||||
curl -X POST http://localhost:20128/api/provider-models/validate-and-add \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -312,7 +368,7 @@ curl -X POST https://localhost:20128/api/provider-models/validate-and-add \
|
||||
GET providers › <id> › cc alias
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/providers/{id}/cc-alias \
|
||||
curl http://localhost:20128/api/providers/{id}/cc-alias \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -321,7 +377,7 @@ curl https://localhost:20128/api/providers/{id}/cc-alias \
|
||||
PUT providers › <id> › cc alias
|
||||
|
||||
```bash
|
||||
curl -X PUT https://localhost:20128/api/providers/{id}/cc-alias \
|
||||
curl -X PUT http://localhost:20128/api/providers/{id}/cc-alias \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -332,7 +388,7 @@ curl -X PUT https://localhost:20128/api/providers/{id}/cc-alias \
|
||||
GET providers › <id> › chatgpt web codex doctor
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/providers/{id}/chatgpt-web-codex-doctor \
|
||||
curl http://localhost:20128/api/providers/{id}/chatgpt-web-codex-doctor \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -341,7 +397,7 @@ curl https://localhost:20128/api/providers/{id}/chatgpt-web-codex-doctor \
|
||||
POST providers › <id> › claude auth › apply local
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/{id}/claude-auth/apply-local \
|
||||
curl -X POST http://localhost:20128/api/providers/{id}/claude-auth/apply-local \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -352,7 +408,7 @@ curl -X POST https://localhost:20128/api/providers/{id}/claude-auth/apply-local
|
||||
POST providers › <id> › claude auth › export
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/{id}/claude-auth/export \
|
||||
curl -X POST http://localhost:20128/api/providers/{id}/claude-auth/export \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -363,7 +419,7 @@ curl -X POST https://localhost:20128/api/providers/{id}/claude-auth/export \
|
||||
POST providers › <id> › codex auth › apply local
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/{id}/codex-auth/apply-local \
|
||||
curl -X POST http://localhost:20128/api/providers/{id}/codex-auth/apply-local \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -374,7 +430,7 @@ curl -X POST https://localhost:20128/api/providers/{id}/codex-auth/apply-local \
|
||||
POST providers › <id> › codex auth › export
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/{id}/codex-auth/export \
|
||||
curl -X POST http://localhost:20128/api/providers/{id}/codex-auth/export \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -385,7 +441,7 @@ curl -X POST https://localhost:20128/api/providers/{id}/codex-auth/export \
|
||||
GET providers › <id> › interception rules
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/providers/{id}/interception-rules \
|
||||
curl http://localhost:20128/api/providers/{id}/interception-rules \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -394,7 +450,7 @@ curl https://localhost:20128/api/providers/{id}/interception-rules \
|
||||
PUT providers › <id> › interception rules
|
||||
|
||||
```bash
|
||||
curl -X PUT https://localhost:20128/api/providers/{id}/interception-rules \
|
||||
curl -X PUT http://localhost:20128/api/providers/{id}/interception-rules \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -405,7 +461,7 @@ curl -X PUT https://localhost:20128/api/providers/{id}/interception-rules \
|
||||
DELETE providers › <id> › interception rules
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/providers/{id}/interception-rules \
|
||||
curl -X DELETE http://localhost:20128/api/providers/{id}/interception-rules \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -414,7 +470,7 @@ curl -X DELETE https://localhost:20128/api/providers/{id}/interception-rules \
|
||||
POST providers › <id> › login
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/{id}/login \
|
||||
curl -X POST http://localhost:20128/api/providers/{id}/login \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -425,7 +481,7 @@ curl -X POST https://localhost:20128/api/providers/{id}/login \
|
||||
GET providers › <id> › param filters
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/providers/{id}/param-filters \
|
||||
curl http://localhost:20128/api/providers/{id}/param-filters \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -434,7 +490,7 @@ curl https://localhost:20128/api/providers/{id}/param-filters \
|
||||
PUT providers › <id> › param filters
|
||||
|
||||
```bash
|
||||
curl -X PUT https://localhost:20128/api/providers/{id}/param-filters \
|
||||
curl -X PUT http://localhost:20128/api/providers/{id}/param-filters \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -445,7 +501,7 @@ curl -X PUT https://localhost:20128/api/providers/{id}/param-filters \
|
||||
DELETE providers › <id> › param filters
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/providers/{id}/param-filters \
|
||||
curl -X DELETE http://localhost:20128/api/providers/{id}/param-filters \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -454,7 +510,7 @@ curl -X DELETE https://localhost:20128/api/providers/{id}/param-filters \
|
||||
POST providers › <id> › refresh
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/{id}/refresh \
|
||||
curl -X POST http://localhost:20128/api/providers/{id}/refresh \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -465,7 +521,7 @@ curl -X POST https://localhost:20128/api/providers/{id}/refresh \
|
||||
POST providers › <id> › refresh cursor
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/{id}/refresh-cursor \
|
||||
curl -X POST http://localhost:20128/api/providers/{id}/refresh-cursor \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -476,7 +532,7 @@ curl -X POST https://localhost:20128/api/providers/{id}/refresh-cursor \
|
||||
POST providers › <id> › refresh token
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/{id}/refresh-token \
|
||||
curl -X POST http://localhost:20128/api/providers/{id}/refresh-token \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -487,7 +543,7 @@ curl -X POST https://localhost:20128/api/providers/{id}/refresh-token \
|
||||
POST providers › <id> › sync models
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/{id}/sync-models \
|
||||
curl -X POST http://localhost:20128/api/providers/{id}/sync-models \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -500,7 +556,7 @@ POST providers › bulk
|
||||
Reaches the same spawn as /api/providers/validate (webProvidersB.ts) — loopback-only (Hard Rules #15/#17, audit #15159 S-01).
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/bulk \
|
||||
curl -X POST http://localhost:20128/api/providers/bulk \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -511,7 +567,7 @@ curl -X POST https://localhost:20128/api/providers/bulk \
|
||||
POST providers › bulk web session
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/bulk-web-session \
|
||||
curl -X POST http://localhost:20128/api/providers/bulk-web-session \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -522,7 +578,7 @@ curl -X POST https://localhost:20128/api/providers/bulk-web-session \
|
||||
POST providers › claude auth › import
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/claude-auth/import \
|
||||
curl -X POST http://localhost:20128/api/providers/claude-auth/import \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -533,7 +589,7 @@ curl -X POST https://localhost:20128/api/providers/claude-auth/import \
|
||||
POST providers › claude auth › import bulk
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/claude-auth/import-bulk \
|
||||
curl -X POST http://localhost:20128/api/providers/claude-auth/import-bulk \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -544,7 +600,7 @@ curl -X POST https://localhost:20128/api/providers/claude-auth/import-bulk \
|
||||
POST providers › claude auth › zip extract
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/claude-auth/zip-extract \
|
||||
curl -X POST http://localhost:20128/api/providers/claude-auth/zip-extract \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -555,7 +611,7 @@ curl -X POST https://localhost:20128/api/providers/claude-auth/zip-extract \
|
||||
POST providers › codex auth › import
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/codex-auth/import \
|
||||
curl -X POST http://localhost:20128/api/providers/codex-auth/import \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -566,7 +622,7 @@ curl -X POST https://localhost:20128/api/providers/codex-auth/import \
|
||||
POST providers › codex auth › import bulk
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/codex-auth/import-bulk \
|
||||
curl -X POST http://localhost:20128/api/providers/codex-auth/import-bulk \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -577,7 +633,7 @@ curl -X POST https://localhost:20128/api/providers/codex-auth/import-bulk \
|
||||
POST providers › codex auth › zip extract
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/codex-auth/zip-extract \
|
||||
curl -X POST http://localhost:20128/api/providers/codex-auth/zip-extract \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -588,7 +644,7 @@ curl -X POST https://localhost:20128/api/providers/codex-auth/zip-extract \
|
||||
POST providers › command code › auth › apply
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/command-code/auth/apply \
|
||||
curl -X POST http://localhost:20128/api/providers/command-code/auth/apply \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -599,7 +655,7 @@ curl -X POST https://localhost:20128/api/providers/command-code/auth/apply \
|
||||
POST providers › command code › auth › callback
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/command-code/auth/callback \
|
||||
curl -X POST http://localhost:20128/api/providers/command-code/auth/callback \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -610,7 +666,7 @@ curl -X POST https://localhost:20128/api/providers/command-code/auth/callback \
|
||||
POST providers › command code › auth › start
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/command-code/auth/start \
|
||||
curl -X POST http://localhost:20128/api/providers/command-code/auth/start \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -621,7 +677,7 @@ curl -X POST https://localhost:20128/api/providers/command-code/auth/start \
|
||||
GET providers › command code › auth › status
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/providers/command-code/auth/status \
|
||||
curl http://localhost:20128/api/providers/command-code/auth/status \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -630,7 +686,7 @@ curl https://localhost:20128/api/providers/command-code/auth/status \
|
||||
POST providers › command code › auth › status
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/command-code/auth/status \
|
||||
curl -X POST http://localhost:20128/api/providers/command-code/auth/status \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -641,7 +697,7 @@ curl -X POST https://localhost:20128/api/providers/command-code/auth/status \
|
||||
GET providers › expiration
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/providers/expiration \
|
||||
curl http://localhost:20128/api/providers/expiration \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -650,7 +706,7 @@ curl https://localhost:20128/api/providers/expiration \
|
||||
GET providers › free onboarding
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/providers/free-onboarding \
|
||||
curl http://localhost:20128/api/providers/free-onboarding \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -659,7 +715,7 @@ curl https://localhost:20128/api/providers/free-onboarding \
|
||||
POST providers › free onboarding
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/free-onboarding \
|
||||
curl -X POST http://localhost:20128/api/providers/free-onboarding \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -670,7 +726,7 @@ curl -X POST https://localhost:20128/api/providers/free-onboarding \
|
||||
GET providers › health autopilot
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/providers/health-autopilot \
|
||||
curl http://localhost:20128/api/providers/health-autopilot \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -679,7 +735,7 @@ curl https://localhost:20128/api/providers/health-autopilot \
|
||||
POST providers › health autopilot › actions
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/health-autopilot/actions \
|
||||
curl -X POST http://localhost:20128/api/providers/health-autopilot/actions \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -690,7 +746,7 @@ curl -X POST https://localhost:20128/api/providers/health-autopilot/actions \
|
||||
GET providers › health matrix
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/providers/health-matrix \
|
||||
curl http://localhost:20128/api/providers/health-matrix \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -701,7 +757,7 @@ POST providers › import
|
||||
Reaches the same spawn as /api/providers/validate (webProvidersB.ts) — loopback-only (Hard Rules #15/#17, audit #15159 S-01).
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/import \
|
||||
curl -X POST http://localhost:20128/api/providers/import \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -712,7 +768,7 @@ curl -X POST https://localhost:20128/api/providers/import \
|
||||
GET providers › openrouter stats
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/providers/openrouter-stats \
|
||||
curl http://localhost:20128/api/providers/openrouter-stats \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -721,7 +777,7 @@ curl https://localhost:20128/api/providers/openrouter-stats \
|
||||
GET providers › quota windows
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/providers/quota-windows \
|
||||
curl http://localhost:20128/api/providers/quota-windows \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -730,7 +786,7 @@ curl https://localhost:20128/api/providers/quota-windows \
|
||||
POST providers › volcengine plan › connect
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/volcengine-plan/connect \
|
||||
curl -X POST http://localhost:20128/api/providers/volcengine-plan/connect \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -741,7 +797,7 @@ curl -X POST https://localhost:20128/api/providers/volcengine-plan/connect \
|
||||
POST providers › volcengine plan › connect › <sessionId> › cancel
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/volcengine-plan/connect/{sessionId}/cancel \
|
||||
curl -X POST http://localhost:20128/api/providers/volcengine-plan/connect/{sessionId}/cancel \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -752,7 +808,7 @@ curl -X POST https://localhost:20128/api/providers/volcengine-plan/connect/{sess
|
||||
POST providers › volcengine plan › connect › <sessionId> › code
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/volcengine-plan/connect/{sessionId}/code \
|
||||
curl -X POST http://localhost:20128/api/providers/volcengine-plan/connect/{sessionId}/code \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -763,7 +819,7 @@ curl -X POST https://localhost:20128/api/providers/volcengine-plan/connect/{sess
|
||||
POST providers › volcengine plan › connect › <sessionId> › identity
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/volcengine-plan/connect/{sessionId}/identity \
|
||||
curl -X POST http://localhost:20128/api/providers/volcengine-plan/connect/{sessionId}/identity \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -774,7 +830,7 @@ curl -X POST https://localhost:20128/api/providers/volcengine-plan/connect/{sess
|
||||
POST providers › volcengine plan › connect › <sessionId> › resend
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/volcengine-plan/connect/{sessionId}/resend \
|
||||
curl -X POST http://localhost:20128/api/providers/volcengine-plan/connect/{sessionId}/resend \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -785,7 +841,7 @@ curl -X POST https://localhost:20128/api/providers/volcengine-plan/connect/{sess
|
||||
GET providers › volcengine plan › connect › <sessionId> › status
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/providers/volcengine-plan/connect/{sessionId}/status \
|
||||
curl http://localhost:20128/api/providers/volcengine-plan/connect/{sessionId}/status \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -794,7 +850,7 @@ curl https://localhost:20128/api/providers/volcengine-plan/connect/{sessionId}/s
|
||||
GET providers › web session contract
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/providers/web-session-contract \
|
||||
curl http://localhost:20128/api/providers/web-session-contract \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -803,7 +859,7 @@ curl https://localhost:20128/api/providers/web-session-contract \
|
||||
POST providers › zed › discover
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/zed/discover \
|
||||
curl -X POST http://localhost:20128/api/providers/zed/discover \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -814,7 +870,7 @@ curl -X POST https://localhost:20128/api/providers/zed/discover \
|
||||
POST providers › zed › import
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/zed/import \
|
||||
curl -X POST http://localhost:20128/api/providers/zed/import \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -825,7 +881,7 @@ curl -X POST https://localhost:20128/api/providers/zed/import \
|
||||
POST providers › zed › manual import
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/providers/zed/manual-import \
|
||||
curl -X POST http://localhost:20128/api/providers/zed/manual-import \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
|
||||
@@ -21,7 +21,7 @@ System health check
|
||||
Returns system health including uptime, memory, circuit breakers, rate limits
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/monitoring/health \
|
||||
curl http://localhost:20128/api/monitoring/health \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -32,7 +32,7 @@ Get compression result-memo statistics
|
||||
In-process compression result-memo observability snapshot — size, capacity, lifetime hits/misses/hitRate plus 1m/5m/15m/1h windowed rates. Lightweight (no DB, no provider reads) companion to `GET /api/monitoring/health` intended for frequent polling. Sent with `Cache-Control: no-store, no-cache, must-revalidate`. Counters reset on process restart.
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/monitoring/compression \
|
||||
curl http://localhost:20128/api/monitoring/compression \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -41,7 +41,7 @@ curl https://localhost:20128/api/monitoring/compression \
|
||||
GET provider metrics
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/provider-metrics \
|
||||
curl http://localhost:20128/api/provider-metrics \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -21,7 +21,7 @@ Authenticate with cloud worker
|
||||
Authenticates with the OmniRoute cloud worker for remote access.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cloud/auth \
|
||||
curl -X POST http://localhost:20128/api/cloud/auth \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -32,7 +32,7 @@ curl -X POST https://localhost:20128/api/cloud/auth \
|
||||
Update cloud worker credentials
|
||||
|
||||
```bash
|
||||
curl -X PUT https://localhost:20128/api/cloud/credentials/update \
|
||||
curl -X PUT http://localhost:20128/api/cloud/credentials/update \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -45,7 +45,7 @@ Resolve model via cloud
|
||||
Resolves a model request through the cloud worker.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/cloud/model/resolve \
|
||||
curl -X POST http://localhost:20128/api/cloud/model/resolve \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -56,7 +56,7 @@ curl -X POST https://localhost:20128/api/cloud/model/resolve \
|
||||
Get cloud model aliases
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/cloud/models/alias \
|
||||
curl http://localhost:20128/api/cloud/models/alias \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -65,7 +65,7 @@ curl https://localhost:20128/api/cloud/models/alias \
|
||||
Update cloud model alias
|
||||
|
||||
```bash
|
||||
curl -X PUT https://localhost:20128/api/cloud/models/alias \
|
||||
curl -X PUT http://localhost:20128/api/cloud/models/alias \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -76,7 +76,7 @@ curl -X PUT https://localhost:20128/api/cloud/models/alias \
|
||||
Sync with cloud
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/sync/cloud \
|
||||
curl -X POST http://localhost:20128/api/sync/cloud \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -87,7 +87,7 @@ curl -X POST https://localhost:20128/api/sync/cloud \
|
||||
Initialize cloud sync
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/sync/initialize \
|
||||
curl -X POST http://localhost:20128/api/sync/initialize \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -98,7 +98,7 @@ curl -X POST https://localhost:20128/api/sync/initialize \
|
||||
GET sync › bundle
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/sync/bundle \
|
||||
curl http://localhost:20128/api/sync/bundle \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -107,7 +107,7 @@ curl https://localhost:20128/api/sync/bundle \
|
||||
GET sync › tokens
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/sync/tokens \
|
||||
curl http://localhost:20128/api/sync/tokens \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -116,7 +116,7 @@ curl https://localhost:20128/api/sync/tokens \
|
||||
POST sync › tokens
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/sync/tokens \
|
||||
curl -X POST http://localhost:20128/api/sync/tokens \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -127,7 +127,7 @@ curl -X POST https://localhost:20128/api/sync/tokens \
|
||||
DELETE sync › tokens › <id>
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/sync/tokens/{id} \
|
||||
curl -X DELETE http://localhost:20128/api/sync/tokens/{id} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ All requests require a valid Bearer token or session cookie. Obtain a token via
|
||||
Get usage analytics
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/analytics \
|
||||
curl http://localhost:20128/api/usage/analytics \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -28,7 +28,7 @@ curl https://localhost:20128/api/usage/analytics \
|
||||
Get call logs
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/call-logs \
|
||||
curl http://localhost:20128/api/usage/call-logs \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -39,7 +39,7 @@ Get call log filter options
|
||||
Distinct providers, models, accounts and API keys seen in call logs, plus every configured API key (id and name only). Feeds the Logs tab filter dropdowns.
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/call-logs/filters \
|
||||
curl http://localhost:20128/api/usage/call-logs/filters \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -48,7 +48,7 @@ curl https://localhost:20128/api/usage/call-logs/filters \
|
||||
Get a specific call log
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/call-logs/{id} \
|
||||
curl http://localhost:20128/api/usage/call-logs/{id} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -57,7 +57,7 @@ curl https://localhost:20128/api/usage/call-logs/{id} \
|
||||
Get usage for a specific connection
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/{connectionId} \
|
||||
curl http://localhost:20128/api/usage/{connectionId} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -66,7 +66,7 @@ curl https://localhost:20128/api/usage/{connectionId} \
|
||||
Get usage history
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/history \
|
||||
curl http://localhost:20128/api/usage/history \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -75,7 +75,7 @@ curl https://localhost:20128/api/usage/history \
|
||||
Get usage logs
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/logs \
|
||||
curl http://localhost:20128/api/usage/logs \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -84,7 +84,7 @@ curl https://localhost:20128/api/usage/logs \
|
||||
Get proxy logs
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/proxy-logs \
|
||||
curl http://localhost:20128/api/usage/proxy-logs \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -93,7 +93,7 @@ curl https://localhost:20128/api/usage/proxy-logs \
|
||||
Get request logs
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/request-logs \
|
||||
curl http://localhost:20128/api/usage/request-logs \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -104,7 +104,7 @@ Get usage budget status
|
||||
Returns current budget limits and consumption.
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/budget \
|
||||
curl http://localhost:20128/api/usage/budget \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -115,7 +115,7 @@ Configure usage budget
|
||||
Set or update budget limits for usage tracking.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/usage/budget \
|
||||
curl -X POST http://localhost:20128/api/usage/budget \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -133,7 +133,7 @@ Only successful (`status = 200`) calls with a non-null cache column are counted.
|
||||
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/cache-health \
|
||||
curl http://localhost:20128/api/usage/cache-health \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -144,7 +144,7 @@ Get per-model/provider latency statistics
|
||||
Aggregates `usage_history` rows into per-(provider, model) latency stats (avg/p50/p95/p99, std-dev, TTFT, tokens/sec) over a rolling window. Falls back from successful-only to all-sample rows when the successful count is below `minSamples`.
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/model-latency-stats \
|
||||
curl http://localhost:20128/api/usage/model-latency-stats \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -153,7 +153,7 @@ curl https://localhost:20128/api/usage/model-latency-stats \
|
||||
GET usage › budget › bulk
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/budget/bulk \
|
||||
curl http://localhost:20128/api/usage/budget/bulk \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -162,7 +162,7 @@ curl https://localhost:20128/api/usage/budget/bulk \
|
||||
GET usage › codex reset credit
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/codex-reset-credit \
|
||||
curl http://localhost:20128/api/usage/codex-reset-credit \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -171,7 +171,7 @@ curl https://localhost:20128/api/usage/codex-reset-credit \
|
||||
POST usage › codex reset credit
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/usage/codex-reset-credit \
|
||||
curl -X POST http://localhost:20128/api/usage/codex-reset-credit \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -182,7 +182,7 @@ curl -X POST https://localhost:20128/api/usage/codex-reset-credit \
|
||||
GET usage › combo forecast
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/combo-forecast \
|
||||
curl http://localhost:20128/api/usage/combo-forecast \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -191,7 +191,7 @@ curl https://localhost:20128/api/usage/combo-forecast \
|
||||
GET usage › combo health
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/combo-health \
|
||||
curl http://localhost:20128/api/usage/combo-health \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -200,7 +200,7 @@ curl https://localhost:20128/api/usage/combo-health \
|
||||
GET usage › combo health autopilot
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/combo-health-autopilot \
|
||||
curl http://localhost:20128/api/usage/combo-health-autopilot \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -209,7 +209,7 @@ curl https://localhost:20128/api/usage/combo-health-autopilot \
|
||||
GET usage › combo health dashboard
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/combo-health-dashboard \
|
||||
curl http://localhost:20128/api/usage/combo-health-dashboard \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -218,7 +218,7 @@ curl https://localhost:20128/api/usage/combo-health-dashboard \
|
||||
GET usage › combo scoring inspector
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/combo-scoring-inspector \
|
||||
curl http://localhost:20128/api/usage/combo-scoring-inspector \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -227,7 +227,7 @@ curl https://localhost:20128/api/usage/combo-scoring-inspector \
|
||||
GET usage › combo trace › <id>
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/combo-trace/{id} \
|
||||
curl http://localhost:20128/api/usage/combo-trace/{id} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -236,7 +236,7 @@ curl https://localhost:20128/api/usage/combo-trace/{id} \
|
||||
GET usage › om usage
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/om-usage \
|
||||
curl http://localhost:20128/api/usage/om-usage \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -245,7 +245,7 @@ curl https://localhost:20128/api/usage/om-usage \
|
||||
GET usage › provider limits
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/provider-limits \
|
||||
curl http://localhost:20128/api/usage/provider-limits \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -254,7 +254,7 @@ curl https://localhost:20128/api/usage/provider-limits \
|
||||
POST usage › provider limits
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/usage/provider-limits \
|
||||
curl -X POST http://localhost:20128/api/usage/provider-limits \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -265,7 +265,7 @@ curl -X POST https://localhost:20128/api/usage/provider-limits \
|
||||
GET usage › provider window costs
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/provider-window-costs \
|
||||
curl http://localhost:20128/api/usage/provider-window-costs \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -274,7 +274,7 @@ curl https://localhost:20128/api/usage/provider-window-costs \
|
||||
GET usage › quota
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/quota \
|
||||
curl http://localhost:20128/api/usage/quota \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -283,7 +283,7 @@ curl https://localhost:20128/api/usage/quota \
|
||||
GET usage › requests by provider date
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/requests-by-provider-date \
|
||||
curl http://localhost:20128/api/usage/requests-by-provider-date \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -292,7 +292,7 @@ curl https://localhost:20128/api/usage/requests-by-provider-date \
|
||||
GET usage › route explain › <id>
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/route-explain/{id} \
|
||||
curl http://localhost:20128/api/usage/route-explain/{id} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -301,7 +301,7 @@ curl https://localhost:20128/api/usage/route-explain/{id} \
|
||||
GET usage › token limits
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/token-limits \
|
||||
curl http://localhost:20128/api/usage/token-limits \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -312,7 +312,7 @@ POST usage › token limits
|
||||
Save a per-key token limit. A key holds one limit per scope and reset interval, so daily, weekly and monthly limits for the same scope coexist. Without `id`, a new limit is added (or the key's limit for the same scope and interval is updated); with `id`, that limit is updated.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/usage/token-limits \
|
||||
curl -X POST http://localhost:20128/api/usage/token-limits \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -323,7 +323,7 @@ curl -X POST https://localhost:20128/api/usage/token-limits \
|
||||
DELETE usage › token limits
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/usage/token-limits \
|
||||
curl -X DELETE http://localhost:20128/api/usage/token-limits \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -332,7 +332,7 @@ curl -X DELETE https://localhost:20128/api/usage/token-limits \
|
||||
GET usage › utilization
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/usage/utilization \
|
||||
curl http://localhost:20128/api/usage/utilization \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
|
||||
@@ -69,6 +69,14 @@ All requests require a valid Bearer token or session cookie. Obtain a token via
|
||||
- [`DELETE /api/services/dario/admin/accounts`](references/endpoints.md#delete-apiservicesdarioadminaccounts)
|
||||
- [`GET /api/services/dario/admin/import-from-omniroute`](references/endpoints.md#get-apiservicesdarioadminimport-from-omniroute)
|
||||
- [`POST /api/services/dario/admin/import-from-omniroute`](references/endpoints.md#post-apiservicesdarioadminimport-from-omniroute)
|
||||
- [`POST /api/services/llmlingua/install`](references/endpoints.md#post-apiservicesllmlinguainstall)
|
||||
- [`POST /api/services/llmlingua/start`](references/endpoints.md#post-apiservicesllmlinguastart)
|
||||
- [`POST /api/services/llmlingua/stop`](references/endpoints.md#post-apiservicesllmlinguastop)
|
||||
- [`POST /api/services/llmlingua/restart`](references/endpoints.md#post-apiservicesllmlinguarestart)
|
||||
- [`POST /api/services/llmlingua/update`](references/endpoints.md#post-apiservicesllmlinguaupdate)
|
||||
- [`GET /api/services/llmlingua/status`](references/endpoints.md#get-apiservicesllmlinguastatus)
|
||||
- [`POST /api/services/llmlingua/auto-start`](references/endpoints.md#post-apiservicesllmlinguaauto-start)
|
||||
- [`POST /api/services/llmlingua/auto-restart-adopted`](references/endpoints.md#post-apiservicesllmlinguaauto-restart-adopted)
|
||||
- [`GET /api/services/{name}/logs`](references/endpoints.md#get-apiservicesnamelogs)
|
||||
- [`GET /api/services/9router/models`](references/endpoints.md#get-apiservices9routermodels)
|
||||
- [`POST /api/services/9router/provider-expose`](references/endpoints.md#post-apiservices9routerprovider-expose)
|
||||
|
||||
@@ -59,6 +59,14 @@
|
||||
- [`DELETE /api/services/dario/admin/accounts`](#delete-apiservicesdarioadminaccounts)
|
||||
- [`GET /api/services/dario/admin/import-from-omniroute`](#get-apiservicesdarioadminimport-from-omniroute)
|
||||
- [`POST /api/services/dario/admin/import-from-omniroute`](#post-apiservicesdarioadminimport-from-omniroute)
|
||||
- [`POST /api/services/llmlingua/install`](#post-apiservicesllmlinguainstall)
|
||||
- [`POST /api/services/llmlingua/start`](#post-apiservicesllmlinguastart)
|
||||
- [`POST /api/services/llmlingua/stop`](#post-apiservicesllmlinguastop)
|
||||
- [`POST /api/services/llmlingua/restart`](#post-apiservicesllmlinguarestart)
|
||||
- [`POST /api/services/llmlingua/update`](#post-apiservicesllmlinguaupdate)
|
||||
- [`GET /api/services/llmlingua/status`](#get-apiservicesllmlinguastatus)
|
||||
- [`POST /api/services/llmlingua/auto-start`](#post-apiservicesllmlinguaauto-start)
|
||||
- [`POST /api/services/llmlingua/auto-restart-adopted`](#post-apiservicesllmlinguaauto-restart-adopted)
|
||||
- [`GET /api/services/{name}/logs`](#get-apiservicesnamelogs)
|
||||
- [`GET /api/services/9router/models`](#get-apiservices9routermodels)
|
||||
- [`POST /api/services/9router/provider-expose`](#post-apiservices9routerprovider-expose)
|
||||
@@ -72,7 +80,7 @@ Install 9Router from npm
|
||||
Installs the `9router` npm package under DATA_DIR/services/9router/. Uses execFile (no shell interpolation — hard rule #13). **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/9router/install \
|
||||
curl -X POST http://localhost:20128/api/services/9router/install \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -85,7 +93,7 @@ Start 9Router
|
||||
Spawns the 9Router process. Idempotent if already running. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/9router/start \
|
||||
curl -X POST http://localhost:20128/api/services/9router/start \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -98,7 +106,7 @@ Stop 9Router
|
||||
Gracefully stops 9Router (SIGTERM → 15 s → SIGKILL). Idempotent. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/9router/stop \
|
||||
curl -X POST http://localhost:20128/api/services/9router/stop \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -111,7 +119,7 @@ Restart 9Router
|
||||
Equivalent to stop() then start() under the operation lock. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/9router/restart \
|
||||
curl -X POST http://localhost:20128/api/services/9router/restart \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -124,7 +132,7 @@ Update 9Router to a newer npm version
|
||||
Stops the service (if running), installs the newer npm version, then restarts. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/9router/update \
|
||||
curl -X POST http://localhost:20128/api/services/9router/update \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -137,7 +145,7 @@ Rotate the 9Router API key
|
||||
Generates a new API key, encrypts it at-rest, and restarts the service to apply it. The plaintext key is never returned. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/9router/rotate-key \
|
||||
curl -X POST http://localhost:20128/api/services/9router/rotate-key \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -150,7 +158,7 @@ Get 9Router status
|
||||
Returns combined live supervisor state and DB metadata. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/services/9router/status \
|
||||
curl http://localhost:20128/api/services/9router/status \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -161,7 +169,7 @@ Toggle 9Router auto-start
|
||||
When enabled, 9Router starts automatically on the next OmniRoute boot. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/9router/auto-start \
|
||||
curl -X POST http://localhost:20128/api/services/9router/auto-start \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -174,7 +182,7 @@ Toggle 9Router auto-restart-when-adopted
|
||||
When enabled, an externally-adopted (not OmniRoute-spawned) 9Router process is restarted under OmniRoute's own supervisor on the next health-check cycle instead of being left as adopted-only. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/9router/auto-restart-adopted \
|
||||
curl -X POST http://localhost:20128/api/services/9router/auto-restart-adopted \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -187,7 +195,7 @@ Install CLIProxyAPI from npm
|
||||
Installs the CLIProxyAPI package under DATA_DIR/services/cliproxy/. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/cliproxy/install \
|
||||
curl -X POST http://localhost:20128/api/services/cliproxy/install \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -200,7 +208,7 @@ Start CLIProxyAPI
|
||||
Spawns the CLIProxyAPI process. Idempotent if already running. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/cliproxy/start \
|
||||
curl -X POST http://localhost:20128/api/services/cliproxy/start \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -213,7 +221,7 @@ Stop CLIProxyAPI
|
||||
Gracefully stops CLIProxyAPI. Idempotent. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/cliproxy/stop \
|
||||
curl -X POST http://localhost:20128/api/services/cliproxy/stop \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -226,7 +234,7 @@ Restart CLIProxyAPI
|
||||
stop() then start() under the operation lock. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/cliproxy/restart \
|
||||
curl -X POST http://localhost:20128/api/services/cliproxy/restart \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -239,7 +247,7 @@ Update CLIProxyAPI to a newer npm version
|
||||
Stops, installs newer version, restarts. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/cliproxy/update \
|
||||
curl -X POST http://localhost:20128/api/services/cliproxy/update \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -252,7 +260,7 @@ Get CLIProxyAPI status
|
||||
Returns live supervisor state and DB metadata (no apiKeyMasked — CLIProxyAPI does not use an injected API key). **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/services/cliproxy/status \
|
||||
curl http://localhost:20128/api/services/cliproxy/status \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -263,7 +271,7 @@ Toggle CLIProxyAPI auto-start
|
||||
When enabled, CLIProxyAPI starts automatically on the next OmniRoute boot. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/cliproxy/auto-start \
|
||||
curl -X POST http://localhost:20128/api/services/cliproxy/auto-start \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -276,7 +284,7 @@ Toggle CLIProxyAPI auto-restart-when-adopted
|
||||
When enabled, an externally-adopted (not OmniRoute-spawned) CLIProxyAPI process is restarted under OmniRoute's own supervisor on the next health-check cycle instead of being left as adopted-only. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/cliproxy/auto-restart-adopted \
|
||||
curl -X POST http://localhost:20128/api/services/cliproxy/auto-restart-adopted \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -289,7 +297,7 @@ Install Mux from npm
|
||||
Installs the `mux` npm package (coder/mux — local agent-orchestration daemon) under DATA_DIR/services/mux/. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/mux/install \
|
||||
curl -X POST http://localhost:20128/api/services/mux/install \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -302,7 +310,7 @@ Start Mux
|
||||
Spawns `mux server --host 127.0.0.1 --port <port>`. Idempotent if already running. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/mux/start \
|
||||
curl -X POST http://localhost:20128/api/services/mux/start \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -315,7 +323,7 @@ Stop Mux
|
||||
Gracefully stops Mux. Idempotent. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/mux/stop \
|
||||
curl -X POST http://localhost:20128/api/services/mux/stop \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -328,7 +336,7 @@ Restart Mux
|
||||
stop() then start() under the operation lock. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/mux/restart \
|
||||
curl -X POST http://localhost:20128/api/services/mux/restart \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -341,7 +349,7 @@ Update Mux to a newer npm version
|
||||
Stops, installs newer version, restarts. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/mux/update \
|
||||
curl -X POST http://localhost:20128/api/services/mux/update \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -354,7 +362,7 @@ Get Mux status
|
||||
Returns live supervisor state and DB metadata. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/services/mux/status \
|
||||
curl http://localhost:20128/api/services/mux/status \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -365,7 +373,7 @@ Toggle Mux auto-start
|
||||
When enabled, Mux starts automatically on the next OmniRoute boot. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/mux/auto-start \
|
||||
curl -X POST http://localhost:20128/api/services/mux/auto-start \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -378,7 +386,7 @@ Toggle Mux auto-restart-when-adopted
|
||||
When enabled, an externally-adopted (not OmniRoute-spawned) Mux process is restarted under OmniRoute's own supervisor on the next health-check cycle instead of being left as adopted-only. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/mux/auto-restart-adopted \
|
||||
curl -X POST http://localhost:20128/api/services/mux/auto-restart-adopted \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -391,7 +399,7 @@ Install open-wa from npm
|
||||
Installs the `@open-wa/wa-automate` npm package (WhatsApp Web automation via headless Chromium/Puppeteer) under DATA_DIR/services/openwa/. Bundles a Puppeteer Chromium download, so this install is much slower than the other embedded services. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/openwa/install \
|
||||
curl -X POST http://localhost:20128/api/services/openwa/install \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -404,7 +412,7 @@ Start open-wa
|
||||
Spawns `wa-automate --port <port> --host 127.0.0.1 --session-data-path data`. The HTTP API does not start listening until the WhatsApp client handshake resolves, which blocks on a human scanning the pairing QR code (shown in the logs panel) on first pairing — state stays `starting` well past the other services' typical cold-start window. Idempotent if already running. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/openwa/start \
|
||||
curl -X POST http://localhost:20128/api/services/openwa/start \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -417,7 +425,7 @@ Stop open-wa
|
||||
Gracefully stops open-wa. Idempotent. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/openwa/stop \
|
||||
curl -X POST http://localhost:20128/api/services/openwa/stop \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -430,7 +438,7 @@ Restart open-wa
|
||||
stop() then start() under the operation lock. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/openwa/restart \
|
||||
curl -X POST http://localhost:20128/api/services/openwa/restart \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -443,7 +451,7 @@ Update open-wa to a newer npm version
|
||||
Stops, installs newer version, restarts. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/openwa/update \
|
||||
curl -X POST http://localhost:20128/api/services/openwa/update \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -456,7 +464,7 @@ Get open-wa status
|
||||
Returns live supervisor state and DB metadata. `health` only reflects whether `/api-docs/` answered — it does not indicate whether a WhatsApp session is paired. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/services/openwa/status \
|
||||
curl http://localhost:20128/api/services/openwa/status \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -467,7 +475,7 @@ Toggle open-wa auto-start
|
||||
When enabled, open-wa starts automatically on the next OmniRoute boot. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/openwa/auto-start \
|
||||
curl -X POST http://localhost:20128/api/services/openwa/auto-start \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -480,7 +488,7 @@ Toggle open-wa auto-restart-when-adopted
|
||||
When enabled, an externally-adopted (not OmniRoute-spawned) open-wa process is restarted under OmniRoute's own supervisor on the next health-check cycle instead of being left as adopted-only. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/openwa/auto-restart-adopted \
|
||||
curl -X POST http://localhost:20128/api/services/openwa/auto-restart-adopted \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -493,7 +501,7 @@ Install Bifrost
|
||||
Installs the `@maximhq/bifrost` npm package under DATA_DIR/services/bifrost/. The package downloads the Go binary on first run. Accepts an optional `version` field (semver or `latest`). **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/bifrost/install \
|
||||
curl -X POST http://localhost:20128/api/services/bifrost/install \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -506,7 +514,7 @@ Start Bifrost
|
||||
Starts the supervised Bifrost process. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/bifrost/start \
|
||||
curl -X POST http://localhost:20128/api/services/bifrost/start \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -519,7 +527,7 @@ Stop Bifrost
|
||||
Stops the supervised Bifrost process. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/bifrost/stop \
|
||||
curl -X POST http://localhost:20128/api/services/bifrost/stop \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -532,7 +540,7 @@ Restart Bifrost
|
||||
Restarts the supervised Bifrost process. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/bifrost/restart \
|
||||
curl -X POST http://localhost:20128/api/services/bifrost/restart \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -545,7 +553,7 @@ Update Bifrost
|
||||
Updates Bifrost to the latest npm version. Stops the running process, installs the new version, and restarts if it was previously running. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/bifrost/update \
|
||||
curl -X POST http://localhost:20128/api/services/bifrost/update \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -558,7 +566,7 @@ Get Bifrost status
|
||||
Returns live and DB status for the supervised Bifrost service. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/services/bifrost/status \
|
||||
curl http://localhost:20128/api/services/bifrost/status \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -569,7 +577,7 @@ Toggle Bifrost auto-start
|
||||
When enabled, Bifrost starts automatically on the next OmniRoute boot. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/bifrost/auto-start \
|
||||
curl -X POST http://localhost:20128/api/services/bifrost/auto-start \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -582,7 +590,7 @@ Toggle Bifrost auto-restart-when-adopted
|
||||
When enabled, an externally-adopted (not OmniRoute-spawned) Bifrost process is restarted under OmniRoute's own supervisor on the next health-check cycle instead of being left as adopted-only. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/bifrost/auto-restart-adopted \
|
||||
curl -X POST http://localhost:20128/api/services/bifrost/auto-restart-adopted \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -595,7 +603,7 @@ Install Dario from npm
|
||||
Installs the `@askalf/dario` npm package (Claude-account-pool proxy) under DATA_DIR/services/dario/. Uses execFile (no shell interpolation — hard rule #13). **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/dario/install \
|
||||
curl -X POST http://localhost:20128/api/services/dario/install \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -608,7 +616,7 @@ Start Dario
|
||||
Spawns the Dario process. Idempotent if already running. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/dario/start \
|
||||
curl -X POST http://localhost:20128/api/services/dario/start \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -621,7 +629,7 @@ Stop Dario
|
||||
Gracefully stops Dario. Idempotent — returns a stopped status even if no supervisor is currently tracking the process. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/dario/stop \
|
||||
curl -X POST http://localhost:20128/api/services/dario/stop \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -634,7 +642,7 @@ Restart Dario
|
||||
Equivalent to stop() then start() under the operation lock. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/dario/restart \
|
||||
curl -X POST http://localhost:20128/api/services/dario/restart \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -647,7 +655,7 @@ Update Dario to a newer npm version
|
||||
Stops the service (if running), installs the newer npm version, then restarts it if it was running before the update. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/dario/update \
|
||||
curl -X POST http://localhost:20128/api/services/dario/update \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -660,7 +668,7 @@ Get Dario status
|
||||
Returns combined live supervisor state and DB metadata, including the auto-start / auto-restart-adopted flags and whether an update is available. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/services/dario/status \
|
||||
curl http://localhost:20128/api/services/dario/status \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -671,7 +679,7 @@ Toggle Dario auto-start
|
||||
When enabled, Dario starts automatically on the next OmniRoute boot. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/dario/auto-start \
|
||||
curl -X POST http://localhost:20128/api/services/dario/auto-start \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -684,7 +692,7 @@ Toggle Dario auto-restart-when-adopted
|
||||
When enabled, an externally-adopted (not OmniRoute-spawned) Dario process is restarted under OmniRoute's own supervisor on the next health-check cycle instead of being left as adopted-only. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/dario/auto-restart-adopted \
|
||||
curl -X POST http://localhost:20128/api/services/dario/auto-restart-adopted \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -697,7 +705,7 @@ Start a Dario account-pool login (device-code style)
|
||||
Forwards to the running Dario instance's `POST /admin/login/start` using the stored admin token. The operator opens the returned `authorize_url`, approves in their own Claude account, then posts the displayed code to `/admin/login-complete`. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/dario/admin/login-start \
|
||||
curl -X POST http://localhost:20128/api/services/dario/admin/login-start \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -710,7 +718,7 @@ Complete a Dario account-pool login
|
||||
Forwards to the running Dario instance's `POST /admin/login/complete`. On success the account becomes routable immediately (Dario hot-reloads its pool). **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/dario/admin/login-complete \
|
||||
curl -X POST http://localhost:20128/api/services/dario/admin/login-complete \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -723,7 +731,7 @@ List Dario account-pool accounts
|
||||
Forwards to the running Dario instance's `GET /admin/accounts`. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/services/dario/admin/accounts \
|
||||
curl http://localhost:20128/api/services/dario/admin/accounts \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -734,7 +742,7 @@ Remove a Dario account-pool account
|
||||
Forwards to the running Dario instance's `DELETE /admin/accounts/<alias>`. The alias is taken from a `?alias=` query param or a `{ alias }` JSON body. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/services/dario/admin/accounts \
|
||||
curl -X DELETE http://localhost:20128/api/services/dario/admin/accounts \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -745,7 +753,7 @@ List OmniRoute claude connections eligible for Dario import
|
||||
Returns eligible OmniRoute `claude` OAuth provider connections (metadata only — id/name/email/org tier, never tokens) so the UI can offer a picker when more than one exists. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/services/dario/admin/import-from-omniroute \
|
||||
curl http://localhost:20128/api/services/dario/admin/import-from-omniroute \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -756,7 +764,109 @@ Import an OmniRoute claude connection's OAuth tokens into Dario
|
||||
Writes the source connection's access/refresh token pair directly into Dario's own account-file store (`~/.dario/accounts/<alias>.json`), reusing the shared Claude Code OAuth client_id, then restarts the Dario supervisor so it picks up the new account. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/dario/admin/import-from-omniroute \
|
||||
curl -X POST http://localhost:20128/api/services/dario/admin/import-from-omniroute \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
```
|
||||
|
||||
### POST /api/services/llmlingua/install
|
||||
|
||||
Install LLMLingua
|
||||
|
||||
Installs `@atjsh/llmlingua-2` (real LLMLingua-2 ONNX prompt-compression package) plus its `@huggingface/transformers`/`js-tiktoken` peers under DATA_DIR/services/llmlingua/, and writes the sidecar server script. Accepts an optional `version` field (semver or `latest`). **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST http://localhost:20128/api/services/llmlingua/install \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
```
|
||||
|
||||
### POST /api/services/llmlingua/start
|
||||
|
||||
Start LLMLingua
|
||||
|
||||
Starts the supervised LLMLingua sidecar process. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST http://localhost:20128/api/services/llmlingua/start \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
```
|
||||
|
||||
### POST /api/services/llmlingua/stop
|
||||
|
||||
Stop LLMLingua
|
||||
|
||||
Stops the supervised LLMLingua sidecar process. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST http://localhost:20128/api/services/llmlingua/stop \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
```
|
||||
|
||||
### POST /api/services/llmlingua/restart
|
||||
|
||||
Restart LLMLingua
|
||||
|
||||
Restarts the supervised LLMLingua sidecar process. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST http://localhost:20128/api/services/llmlingua/restart \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
```
|
||||
|
||||
### POST /api/services/llmlingua/update
|
||||
|
||||
Update LLMLingua
|
||||
|
||||
Updates LLMLingua to the latest npm version. Stops the running process, installs the new version, and restarts if it was previously running. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST http://localhost:20128/api/services/llmlingua/update \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
```
|
||||
|
||||
### GET /api/services/llmlingua/status
|
||||
|
||||
Get LLMLingua status
|
||||
|
||||
Returns live and DB status for the supervised LLMLingua service. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl http://localhost:20128/api/services/llmlingua/status \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
### POST /api/services/llmlingua/auto-start
|
||||
|
||||
Toggle LLMLingua auto-start
|
||||
|
||||
When enabled, LLMLingua starts automatically on the next OmniRoute boot. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST http://localhost:20128/api/services/llmlingua/auto-start \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
```
|
||||
|
||||
### POST /api/services/llmlingua/auto-restart-adopted
|
||||
|
||||
Toggle LLMLingua auto-restart-when-adopted
|
||||
|
||||
When enabled, an externally-adopted (not OmniRoute-spawned) LLMLingua process is restarted under OmniRoute's own supervisor on the next health-check cycle instead of being left as adopted-only. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl -X POST http://localhost:20128/api/services/llmlingua/auto-restart-adopted \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -769,7 +879,7 @@ Stream service logs via SSE
|
||||
Returns a Server-Sent Events stream from the service's in-memory ring buffer (5 MB, circular). Sends a `snapshot` event with historical lines first, then live `log` events, plus a `heartbeat` every 15 s. **LOCAL_ONLY** — loopback only.
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/services/{name}/logs \
|
||||
curl http://localhost:20128/api/services/{name}/logs \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -778,7 +888,7 @@ curl https://localhost:20128/api/services/{name}/logs \
|
||||
GET services › 9router › models
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/services/9router/models \
|
||||
curl http://localhost:20128/api/services/9router/models \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -787,7 +897,7 @@ curl https://localhost:20128/api/services/9router/models \
|
||||
POST services › 9router › provider expose
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/9router/provider-expose \
|
||||
curl -X POST http://localhost:20128/api/services/9router/provider-expose \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -798,7 +908,7 @@ curl -X POST https://localhost:20128/api/services/9router/provider-expose \
|
||||
GET services › cliproxy › accounts
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/services/cliproxy/accounts \
|
||||
curl http://localhost:20128/api/services/cliproxy/accounts \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -807,7 +917,7 @@ curl https://localhost:20128/api/services/cliproxy/accounts \
|
||||
POST services › cliproxy › provider expose
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/services/cliproxy/provider-expose \
|
||||
curl -X POST http://localhost:20128/api/services/cliproxy/provider-expose \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
|
||||
@@ -19,7 +19,7 @@ All requests require a valid Bearer token or session cookie. Obtain a token via
|
||||
GET webhooks
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/webhooks \
|
||||
curl http://localhost:20128/api/webhooks \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -28,7 +28,7 @@ curl https://localhost:20128/api/webhooks \
|
||||
POST webhooks
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/webhooks \
|
||||
curl -X POST http://localhost:20128/api/webhooks \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -39,7 +39,7 @@ curl -X POST https://localhost:20128/api/webhooks \
|
||||
GET webhooks › <id>
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/webhooks/{id} \
|
||||
curl http://localhost:20128/api/webhooks/{id} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -48,7 +48,7 @@ curl https://localhost:20128/api/webhooks/{id} \
|
||||
PUT webhooks › <id>
|
||||
|
||||
```bash
|
||||
curl -X PUT https://localhost:20128/api/webhooks/{id} \
|
||||
curl -X PUT http://localhost:20128/api/webhooks/{id} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -59,7 +59,7 @@ curl -X PUT https://localhost:20128/api/webhooks/{id} \
|
||||
DELETE webhooks › <id>
|
||||
|
||||
```bash
|
||||
curl -X DELETE https://localhost:20128/api/webhooks/{id} \
|
||||
curl -X DELETE http://localhost:20128/api/webhooks/{id} \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -68,7 +68,7 @@ curl -X DELETE https://localhost:20128/api/webhooks/{id} \
|
||||
GET webhooks › <id> › deliveries
|
||||
|
||||
```bash
|
||||
curl https://localhost:20128/api/webhooks/{id}/deliveries \
|
||||
curl http://localhost:20128/api/webhooks/{id}/deliveries \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
|
||||
```
|
||||
|
||||
@@ -77,7 +77,7 @@ curl https://localhost:20128/api/webhooks/{id}/deliveries \
|
||||
POST webhooks › <id> › test
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/webhooks/{id}/test \
|
||||
curl -X POST http://localhost:20128/api/webhooks/{id}/test \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
@@ -88,7 +88,7 @@ curl -X POST https://localhost:20128/api/webhooks/{id}/test \
|
||||
POST webhooks › validate url
|
||||
|
||||
```bash
|
||||
curl -X POST https://localhost:20128/api/webhooks/validate-url \
|
||||
curl -X POST http://localhost:20128/api/webhooks/validate-url \
|
||||
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
|
||||
@@ -42,6 +42,8 @@ export interface ConnectionRowConnection {
|
||||
displayName?: string;
|
||||
rateLimitedUntil?: string;
|
||||
rateLimitProtection?: boolean;
|
||||
/** Set by GET /api/providers when the connection is auto-protected (isConnectionAutoProtected). */
|
||||
rateLimitAutoProtected?: boolean;
|
||||
testStatus?: string;
|
||||
isActive?: boolean;
|
||||
priority?: number;
|
||||
|
||||
45
tests/unit/connection-row-connection-fields.test.ts
Normal file
45
tests/unit/connection-row-connection-fields.test.ts
Normal file
@@ -0,0 +1,45 @@
|
||||
import { test } from "node:test";
|
||||
import assert from "node:assert/strict";
|
||||
import { readFileSync } from "node:fs";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import path from "node:path";
|
||||
|
||||
// Regression guard for the v3.8.52 base-red in #15306: b16bf50f made ConnectionRow read
|
||||
// `connection.rateLimitAutoProtected` (sent by GET /api/providers) without declaring it on
|
||||
// `ConnectionRowConnection`, which broke `check:dashboard-typecheck` with TS2339. The
|
||||
// dashboard is outside `typecheck:core`, so this static check keeps every field the row
|
||||
// reads off `connection` declared on the interface.
|
||||
const rowFile = path.join(
|
||||
path.dirname(fileURLToPath(import.meta.url)),
|
||||
"..",
|
||||
"..",
|
||||
"src",
|
||||
"app",
|
||||
"(dashboard)",
|
||||
"dashboard",
|
||||
"providers",
|
||||
"[id]",
|
||||
"components",
|
||||
"ConnectionRow.tsx"
|
||||
);
|
||||
|
||||
function declaredFields(source: string): Set<string> {
|
||||
const start = source.indexOf("export interface ConnectionRowConnection {");
|
||||
assert.notEqual(start, -1, "ConnectionRowConnection interface not found");
|
||||
const end = source.indexOf("\n}", start);
|
||||
const body = source.slice(start, end);
|
||||
return new Set([...body.matchAll(/^\s+([A-Za-z_]\w*)\??:/gm)].map((m) => m[1]));
|
||||
}
|
||||
|
||||
test("every connection.<field> read in ConnectionRow is declared on ConnectionRowConnection", () => {
|
||||
const source = readFileSync(rowFile, "utf8");
|
||||
const declared = declaredFields(source);
|
||||
const read = new Set([...source.matchAll(/\bconnection\.([A-Za-z_]\w*)/g)].map((m) => m[1]));
|
||||
const undeclared = [...read].filter((field) => !declared.has(field)).sort();
|
||||
assert.deepEqual(undeclared, []);
|
||||
});
|
||||
|
||||
test("rateLimitAutoProtected is declared as an optional boolean", () => {
|
||||
const source = readFileSync(rowFile, "utf8");
|
||||
assert.match(source, /^\s+rateLimitAutoProtected\?: boolean;$/m);
|
||||
});
|
||||
Reference in New Issue
Block a user