---
title: "GET /api-keys"
method: GET
path: "/api-keys"
tags: ["api-gateway"]
---

# GET /api-keys

`GET /api-keys`

## Response `200`

List of API keys

- GetApiKeysResponse
  - `api_keys` ApiKeyInfo[], required
    - `account_ids` string[], nullable — Accounts this key may act on. `null` means every account the owner can access; otherwise the key is restricted to exactly these accounts.
    - `allowed_ips` string[], nullable
    - `api_key` string, required
    - `created_at` string, date-time, required
    - `permissions` ApiKeyPermissions, required — Per-key permission flags, scoping what an API key may do on the accounts it targets. Mirrors the granular account permissions: the effective authority on a request is these flags intersected with the user's current permissions on the requested account, so a key can never out-rank its owner.
      - `can_list` boolean, required
      - `can_read` boolean, required
      - `can_reduce_or_close` boolean, required
      - `can_set_limits` boolean, required
      - `can_trade` boolean, required

---

[API](https://skmtc.net/architect/apis/ax-api-gateway.md) · [All operations](https://skmtc.net/architect/apis/ax-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/architect/ax-api-gateway/versions/2955c31c524d/schema)
