API reference for error.
The metadata an OpenRouter error carries under "openrouter" (Effect's OpenRouterError): the error code, type and request id, with the x-ratelimit-* headers for a rate limit.
"openrouter"
OpenRouterError
x-ratelimit-*
On This Page