---
title: "Lists API keys (metadata only, no plain text keys)"
method: GET
path: "/v1/api_keys"
---

# Lists API keys (metadata only, no plain text keys)

`GET /v1/api_keys`

Returns metadata for your personal API keys and the workspace and team API keys you can manage. Organization admins also receive every member's personal API keys, each with an owner identifying the member it belongs to.

## Response `200`

- APIKeysV1 — A list of API keys.
  - `keys` APIKeyInfoV1[], required — A list of API key information
    - `prefix` string, required — The prefix of the API key
    - `name` string, nullable — Optional name for the API key
    - `type` 'PERSONAL' | 'WORKSPACE_MANAGE_ALL' | 'WORKSPACE_EXPORT_METRICS' | 'WORKSPACE_INVOKE' | 'WORKSPACE_MANAGE_API_KEYS', required — Enum representing the category of an API key.
    - `model_ids` string[], nullable — List of model IDs to scope the API key to, only present if type is 'WORKSPACE_EXPORT_METRICS' or 'WORKSPACE_INVOKE'
    - `team_name` string, nullable — The name of the team associated with the API key
    - `owner` APIKeyOwnerV1 — The user who owns a personal API key.
      - `user_id` string, required — Unique identifier for the user
      - `email` string, nullable — Email address of the user
      - `name` string, nullable — Display name of the user

---

[API](https://skmtc.net/baseten/apis/baseten-inference-api.md) · [All operations](https://skmtc.net/baseten/apis/baseten-inference-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/baseten/baseten-inference-api/versions/a55a2f64c3c5/schema)
