---
title: "List API keys"
method: GET
path: "/api/credentials/keys"
tags: ["Credentials"]
---

# List API keys

`GET /api/credentials/keys`

List all API keys for the authenticated user. Returns key metadata including name, token prefix, creation date, and active status. The `last_used` field is the most recent usage timestamp, or null if usage data is not available. Full tokens are never returned - only the first 8 characters where the first 4 are "key_".

## Response `200`

List of API keys

- object
  - `keys` ApiKeyWithLastUsedSchema[]
    - `created` string, date-time
    - `heron_id` string
    - `is_active` boolean
    - `last_used` string, date-time, nullable
    - `name` string
    - `token_prefix` string

---

[API](https://skmtc.dev/herondata/apis/heron-data-api.md) · [All operations](https://skmtc.dev/herondata/apis/heron-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/herondata/heron-data-api/revisions/f2e441edece2/schema)
