Account

Get the current key

Get the name, spend and remaining credit limit of the key you call with. Handy for checking a key works.

View as Markdown
GET/v1/key

Authorization

Response

  • dataobject

    The key.

    Show 8 child attributes
    • labelstring

      A shortened form of the key, safe to show, e.g. sk-orb-v1-1a2...f9c.

    • namestring

      The name you gave it.

    • usagenumber

      What it has spent, in US dollars.

    • limitnumber | null

      Its credit limit in US dollars, or null for none.

    • limit_remainingnumber | null

      What it can still spend under that limit, or null for no limit.

    • is_free_tierboolean

      Always true; kept for OpenRouter compatibility.

    • sandboxboolean

      true for a sandbox key (sk-orb-test-…): simulated output, never billed.

    • expires_atinteger | null

      When the key stops working, in Unix seconds: set only for a sandbox key made without an account, null otherwise.

Errors

The errors every endpoint shares: invalid input, keys, credits and cold starts. See Errors.