ultrarouter docs
API reference

Keys

API-key introspection.

API-key introspection.

This page is GENERATED from the OpenAPI spec (openapi.yaml) — it can never drift from the served API. Set UR_BASE_URL (required: your gateway’s URL) and UR_API_KEY (an ur_sk_* key); secrets are always the $UR_API_KEY placeholder.

Introspect the presented API key

GET /v1/key

The presented key describes itself: scopes, caps, and usage this period.

Auth: API key (Authorization: Bearer ur_sk_…).

curl -sS -X GET "$UR_BASE_URL/v1/key" \
  -H "Authorization: Bearer $UR_API_KEY"