Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions skills/cli-resilience/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,40 @@ omniroute --version
omniroute quota
```

### `quota status`

Show truthful OmniRoute gateway, quota, pool, and circuit state

**Example:**

```bash
omniroute quota status
```

### `quota preview`

Preview allocation enforcement without an upstream request

**Flags:**

- `--tokens <n>`

**Example:**

```bash
omniroute quota preview
```

### `quota ensure <json>`

Idempotently create or update a quota pool from a JSON object

**Example:**

```bash
omniroute quota ensure <json>
```

### `resilience`

**Example:**
Expand Down
40 changes: 40 additions & 0 deletions skills/omni-inference/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,24 @@ All requests require a valid Bearer token or session cookie. Obtain a token via

## Endpoints

### POST /api/v1/session-leases

Acquire, renew, or release an exclusive managed connection lease

Requires an API key with `lease:exclusive` and an explicit non-empty
`allowedConnections` policy. The opaque owner is bound to the authenticated API key;
the lease owns an eligible connection, not a provider or model. Managed inference
requests present the owner and exact generation headers. Temporary foreign occupancy
returns 429 `WAITING_FOR_CAPACITY` with `Retry-After`.


```bash
curl -X POST https://localhost:20128/api/v1/session-leases \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
-H "Content-Type: application/json" \
-d '{}'
```

### POST /api/v1/chat/completions

Create chat completion
Expand Down Expand Up @@ -112,6 +130,28 @@ curl -X POST https://localhost:20128/api/v1/embeddings \
-d '{}'
```

### GET /api/v1/multimodal-embeddings

List embedding models (Jina multimodal-embeddings alias)

```bash
curl https://localhost:20128/api/v1/multimodal-embeddings \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
```

### POST /api/v1/multimodal-embeddings

Create embeddings (Jina multimodal-embeddings alias)

Same handler as `POST /api/v1/embeddings`. Provided so Jina-compatible clients that call `/v1/multimodal-embeddings` do not receive HTTP 404 `unknown_route`.

```bash
curl -X POST https://localhost:20128/api/v1/multimodal-embeddings \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
-H "Content-Type: application/json" \
-d '{}'
```

### POST /api/v1/providers/{provider}/embeddings

Create embeddings (provider-specific)
Expand Down
Loading