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

# List API keys

`GET /api-keys`

## Request

- Base URL: `https://api.caliuapp.com`
- URL: `https://api.caliuapp.com/api-keys`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `caliu_session`

List all API keys for the current user. Only the prefix is returned, never the full key.

## Response `200`

List of API keys

- object
  - `apiKeys` ApiKey[], required
    - `id` string, required
    - `name` string, required
    - `prefix` string, required: First 8 chars of the key for identification
    - `lastUsedAt` string, nullable
    - `expiresAt` string, nullable
    - `createdAt` string, required

---

[API](https://skmtc.dev/caliuapp/apis/caliu-api.md) · [All operations](https://skmtc.dev/caliuapp/apis/caliu-api/llms.txt) · [OpenAPI document](https://skmtc.dev/caliuapp/apis/caliu-api/revisions/1ba4d3f687fe?raw)
