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

# List API Keys

`GET /v0/api-keys`

## Query parameters

- `limit` integer — Limit of number of items returned.
- `page_token` string — Page token for pagination.
- `ascending` boolean — Sort in ascending temporal order.

## Response `200`

- ListApiKeysResponse
  - `count` integer, required — Number of items returned.
  - `next_page_token` string — Page token for pagination.
  - `api_keys` ApiKey[], required — Ordered by `created_at` descending.
    - `api_key_id` string, required — ID of api key.
    - `prefix` string, required — Prefix of api key.
    - `name` string, required — Name of api key.
    - `pod_id` string, nullable — Pod ID the api key is scoped to. If set, the key can only access resources within this pod.
    - `inbox_id` string, nullable — Inbox ID the api key is scoped to. If set, the key can only access resources within this inbox.
    - `used_at` string, date-time, nullable — Time at which api key was last used.
    - `created_at` string, date-time, required — Time at which api key was created.

## Changes

- **2026-03-18** `f49e3de8fad0` — 1 info
  - added the optional property `api_keys/items/inbox_id` to the response with the `200` status
- **2026-03-06** `161e9f5d786c` — 1 info
  - added the optional property `api_keys/items/pod_id` to the response with the `200` status
- **2026-03-05** `6e84a95db8ff` — 1 info
  - added the new optional `query` request parameter `ascending`

[Change history](https://skmtc.dev/agentmail-to/apis/api/changes/v0/api-keys/get.md)

---

[API](https://skmtc.dev/agentmail-to/apis/api.md) · [All operations](https://skmtc.dev/agentmail-to/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agentmail-to/api/revisions/7fdcd6b4651f/schema)
