Skip to main content

Module fetch

Module fetch 

Source
Expand description

OrcaRouter fetch — combines /v1/dashboard/billing/usage and /v1/dashboard/billing/subscription under the shared cache + flock primitives. Mirrors openrouter::fetch semantics (fresh cache short-circuits; on failure, fall back to cache + mark stale), with the minimax-style key-fingerprint cache scope: a single key selects the account, so a cache written for one key must never be shown for another.

Structs§

Endpoints

Constants§

BASE_URL

Functions§

fetch_snapshot
Cache-aware fetch.

Type Aliases§

FetchOutcome
This vendor’s Outcome — the shared shape, specialised to its snapshot.