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

# GET /api/v1/api-keys

`GET /api/v1/api-keys`

List all API keys for the authenticated tenant

## Query parameters

- `pageSize` integer — Default 20, max 100
- `pageToken` string — Pass next_page_token from a prior response

## Response `200`

Default Response

- ListApiKeysResponse
  - `apiKeys` ApiKey[], required
    - `apiKeyId` string, uuid, required — API key ID
    - `tenantId` string, uuid, required — Tenant ID
    - `name` string, required — API key name/label
    - `prefix` string, required — API key prefix for identification
    - `active` boolean, required — Whether the API key is active
    - `createdAt` string, date-time, required — API key creation timestamp
    - `updatedAt` string, date-time, required — API key last update timestamp
    - `lastUsedAt` string, date-time — API key last used timestamp
    - `metadata` Metadata
  - `page` PaginationResult, required
    - `nextPageToken` string — Empty if no more pages
    - `total` integer — Optional total count if cheap to compute

---

[API](https://skmtc.net/stables/apis/stables-api.md) · [All operations](https://skmtc.net/stables/apis/stables-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stables/stables-api/revisions/40ed0bdb89e1/schema)
