---
title: "List your API keys for this team"
method: GET
path: "/api/v1/api-keys"
tags: ["API keys"]
---

# List your API keys for this team

`GET /api/v1/api-keys`

## Request

- Base URL: `http://localhost:5180`
- URL: `http://localhost:5180/api/v1/api-keys`
- Auth: API key in cookie `better-auth.session_token`

The keys you made for this team that still open it. Somebody else’s keys are theirs, and a key is never shown in full after it is made.

## Response `200`

Your keys, newest first.

- object
  - `ok` unknown, required
  - `data` object, required
    - `keys` object[], required
      - `id` string, required
      - `name` string, required: What the owner called it, and the name its changes are audited under.
      - `access` 'read' | 'write', required: `read` may only read. `write` may also file and change records.
      - `hint` string, required: The first characters of the key, so two keys can be told apart. The key itself is never shown again.
      - `createdAt` string, required: ISO 8601 timestamp.
      - `lastUsedAt` string, nullable, required: ISO 8601 timestamp.
  - `meta` object, required
    - `requestId` string, required: Echoed in the x-request-id header. Quote it in a bug report.

---

[API](https://skmtc.dev/dardaris/apis/dardaris-api.md) · [All operations](https://skmtc.dev/dardaris/apis/dardaris-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dardaris/apis/dardaris-api/revisions/4aff33835c73?raw)
