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

# List team API keys

`GET /api-keys`

List all team API keys

## Response `200`

Successfully returned all team API keys

- TeamAPIKey[]
  - `id` string, uuid, required — Identifier of the API key
  - `name` string, required — Name of the API key
  - `mask` IdentifierMaskingDetails, required
    - `prefix` string, required — Prefix that identifies the token or key type
    - `valueLength` integer, required — Length of the token or key
    - `maskedValuePrefix` string, required — Prefix used in masked version of the token or key
    - `maskedValueSuffix` string, required — Suffix used in masked version of the token or key
  - `createdAt` string, date-time, required — Timestamp of API key creation
  - `createdBy` TeamUser
    - `id` string, uuid, required — Identifier of the user
    - `email` string, nullable, required — Email of the user
  - `lastUsed` string, date-time, nullable — Last time this API key was used

## Other responses

- `401` — Authentication error
- `500` — Server error

## Changes

> 53 revisions in range; 5 could not be searched.

- **2026-07-24** `93ed246a4c10` — 2 info
  - the endpoint scheme security `AdminApiKeyAuth AND AdminTeamAuth` was added to the API
  - the endpoint scheme security `Supabase1TokenAuth AND Supabase2TeamAuth` was removed from the API
- **2026-05-27** `e13ef89d456c` — 1 breaking, 2 info
  - the response property `items/createdBy/allOf[#/components/schemas/TeamUser]/email` became nullable for the status `200`
  - the endpoint scheme security `AuthProviderBearerAuth AND AuthProviderTeamAuth` was added to the API
  - response property `items/createdBy/allOf[#/components/schemas/TeamUser]/email` deprecated
- **2025-07-18** `c1fe6498cb2f` — 3 breaking, 1 info
  - the response property `items/createdBy` became optional for the status `200`
  - the response property `items/lastUsed` became optional for the status `200`
  - removed the required property `items/keyMask` from the response with the `200` status
  - added the required property `items/mask` to the response with the `200` status
- **2025-03-21** `ca973917d2e1` — 1 info
  - endpoint added
- **2023-11-15** `897ba2f1c7b6` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/e2b-dev/apis/e2b-api/changes/api-keys/get.md)

---

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