> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fire.rest/llms.txt
> Use this file to discover all available pages before exploring further.

# Get account context

> Returns the account and API key information derived from the x-api-key header. Use this to verify connectivity and discover your account_id.

<ParamField header="x-api-key" type="string" required>
  BOH API key.
</ParamField>

<ResponseField name="account_id" type="string">
  The account UUID associated with this key.
</ResponseField>

<ResponseField name="api_key" type="object">
  `{ id, key_prefix }` — the key's UUID and the non-secret prefix for display.
</ResponseField>

<ResponseField name="currency_id" type="string">
  UUID of the account's configured currency (or `null` if not set).
</ResponseField>

<ResponseField name="currency" type="object">
  `{ id, code, name, symbol, decimal_places }` — full currency detail, or `null`.
</ResponseField>

<ResponseExample>
  ```json 200 theme={null}
  {
    "account_id": "acc_01j5k...",
    "api_key": {
      "id": "key_01j5k...",
      "key_prefix": "boh_live_xxxx"
    },
    "currency_id": "cur_01...",
    "currency": {
      "id": "cur_01...",
      "code": "USD",
      "name": "US Dollar",
      "symbol": "$",
      "decimal_places": 2
    }
  }
  ```
</ResponseExample>
