---
title: "List API keys"
method: GET
path: "/auth/keys"
tags: ["ApiKeys"]
---

# List API keys

`GET /auth/keys`

## Request

- Base URL: `https://api.crevio.co/v1`
- URL: `https://api.crevio.co/v1/auth/keys`
- Auth: API key in header `Authorization`

Returns the API keys for the current account. The secret is never returned here—only the last four characters (`last4`).

## Query parameters

- `starting_after` string
- `limit` integer

## Response `200`

List of API keys

- ListResponseApiKey
  - `object` 'list', required
  - `data` ApiKey[], required
    - `object` string, required
    - `id` string, required
    - `name` string, nullable, required
    - `last4` string, required
    - `token_type` string, required
    - `token` string, nullable, required
    - `last_used_at` string, nullable, required
    - `expires_at` string, nullable, required
    - `created_at` string, required
  - `has_more` boolean, required
  - `url` string, required

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Forbidden
- `429`: Rate limit exceeded — 600 requests per minute per credential. Retry after the number of seconds in `Retry-After`.
- `500`: Internal server error

---

[API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) · [All operations](https://skmtc.dev/crevio/apis/crevio-api-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/crevio/apis/crevio-api-v1/revisions/2219f18ad651?raw)
