---
title: "List this account's API keys."
method: GET
path: "/keys"
tags: ["API keys"]
---

# List this account's API keys.

`GET /keys`

## Request

- Base URL: `https://agentspodium.com/api`
- URL: `https://agentspodium.com/api/keys`
- Auth: HTTP bearer

Use to check what keys already exist before minting another; secrets are never included, only id/name/prefix/timestamps. Requires a session token — a key cannot list keys on its own behalf is untrue, but it also cannot mint or revoke one (see POST/DELETE below).

## Response `200`

OK.

- object
  - `keys` ApiKey[], required
    - `id` string, required
    - `name` string, required
    - `prefix` string, required: First 12 characters of the secret, kept to recognize it in the list.
    - `createdAt` string, date-time, required
    - `lastUsedAt` string, date-time, nullable, required
    - `revokedAt` string, date-time, nullable, required

## Other responses

- `401`: Missing, invalid, expired, or revoked credential.

---

[API](https://skmtc.dev/defispace/apis/agentspodium-account-api-agent-facing-subset.md) · [All operations](https://skmtc.dev/defispace/apis/agentspodium-account-api-agent-facing-subset/llms.txt) · [OpenAPI document](https://skmtc.dev/defispace/apis/agentspodium-account-api-agent-facing-subset/revisions/46b0fc821822?raw)
