---
title: "List Api Keys"
method: GET
path: "/api-keys"
tags: ["API Keys"]
---

# List Api Keys

`GET /api-keys`

## Request

- Base URL: `https://be.graph8.com/api/v1`
- URL: `https://be.graph8.com/api/v1/api-keys`
- Auth: HTTP bearer

List every API key in the caller's own org (never the secret).

## Headers

- `X-Target-Org-Id` string, nullable
- `Authorization` string, nullable

## Response `200`

Successful Response

- ApiResponseApiKeyListResponse
  - `data` ApiKeyListResponse, required
    - `keys` ApiKeyResponse[], required
      - `api_key_id` string, required
      - `name` string, required
      - `created_at` integer, nullable
      - `expires_at` integer, nullable
      - `is_agency` boolean: Whether this key is agency-scoped. Informational — this door cannot mint one.
      - `mode` string
      - `last_used_at` integer, nullable
      - `scopes` string[]
      - `is_legacy_unrestricted` boolean: True for a key minted before scopes existed. An empty scope list means unrestricted, not 'no access'.
      - `created_by` string, nullable
      - `ip_allowlist` string[]: CIDRs this key is restricted to. Empty = unrestricted.
      - `daily_credit_cap` integer, nullable: Daily spending cap in credits. Null = no daily cap.
      - `monthly_credit_cap` integer, nullable: Monthly spending cap in credits. Null = no monthly cap.
      - `spend_alert_threshold_pct` integer, nullable: Percent of a cap at which the key owner is alerted. Null when no cap is set.
    - `total` integer, required
  - `pagination` PaginationMeta
    - `page` integer, required: Current page number (1-indexed)
    - `limit` integer, required: Items per page
    - `total` integer, required: Total number of items
    - `has_next` boolean, required: Whether there are more pages
    - `next_cursor` string, nullable: Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers.
    - `total_available` integer, nullable: Search endpoints only: how many records really match, when known. Can be larger than `total`, which is capped at the 10,000 results that can be paged. For company search this is a distinct-company estimate. Null when unknown; absent outside search.
    - `total_is_lower_bound` boolean, nullable: Search endpoints only: true when more records match than `total` shows (the result set is larger than the 10,000 results that can be paged). Absent outside search.
    - `notes` string[], nullable: Search endpoints only: plain-language notes about the result, e.g. that more records match than can be paged, or that a reversed `between` range was put in order.

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-19** `2e7cfa0ca921`: 3 info
  - added the optional property `data/keys/items/daily_credit_cap` to the response with the `200` status
  - added the optional property `data/keys/items/monthly_credit_cap` to the response with the `200` status
  - added the optional property `data/keys/items/spend_alert_threshold_pct` to the response with the `200` status

[Operation history](https://skmtc.dev/graph8/apis/graph8-developer-api/changes/api-keys/get.md)

---

[API](https://skmtc.dev/graph8/apis/graph8-developer-api.md) · [All operations](https://skmtc.dev/graph8/apis/graph8-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/graph8/apis/graph8-developer-api/revisions/89fc11143b70?raw)
