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

# List API keys

`GET /v1/api-keys`

List all API keys for the authenticated user.

Args:
    pagination: The pagination options

Returns:
    A list of API keys belonging to the user.

## Query parameters

- `limit` integer — Maximum number of items to return per page
- `offset` integer — Offset of the first item to return

## Response `200`

A list of API keys for the user

- ApiKeyListResponse
  - `pagination` PaginationWithTotal, required — Pagination model that includes total count of items.
    - `limit` integer — Maximum number of items to return per page
    - `offset` integer — Offset of the first item to return
    - `total` integer — Total number of items available
  - `object` 'list' — The object type of the response
  - `data` ApiKey[], required — The list of API keys
    - `id` string, required — The ID of the API key
    - `name` string, required — The name of the API key
    - `redacted_value` string, required — The redacted value of the API key
    - `expires_at` string, date-time, nullable — The expiration datetime of the API key
    - `created_at` string, date-time, required — The creation datetime of the API key
    - `updated_at` string, date-time, required — The last update datetime of the API key
    - `last_active_at` string, date-time, nullable — The last active datetime of the API key
    - `object` 'api_key' — The type of the object
    - `scope` Scope[], nullable — The scope of the API key
      - `method` 'read' | 'write' | 'delete' | 'list' | 'create' | 'search', required
      - `resource_type` 'store', nullable
      - `resource_id` union
        - string
        - string, uuid

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mixedbread/apis/mxbai-omni.md) · [All operations](https://skmtc.net/mixedbread/apis/mxbai-omni/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mixedbread/mxbai-omni/revisions/2eece97b5ae5/schema)
