---
title: "List gateway keys"
method: GET
path: "/api/v1/gateway/keys"
tags: ["Keys"]
---

# List gateway keys

`GET /api/v1/gateway/keys`

## Request

- Base URL: `http://dobby-ai.com`
- URL: `http://dobby-ai.com/api/v1/gateway/keys`
- Auth: HTTP bearer

List all gateway API keys for the organization.

## Query parameters

- `key_type` 'user' | 'service' | 'temporary'
- `is_active` boolean

## Response `200`

List of keys (secrets not included)

- object
  - `keys` GatewayKey[]
    - `id` string
    - `key_prefix` string
    - `key_type` 'user' | 'service' | 'temporary'
    - `display_name` string
    - `scopes` string[]
    - `rate_limit_rpm` integer
    - `is_active` boolean
    - `last_used_at` string, date-time, nullable
    - `expires_at` string, date-time, nullable
    - `created_at` string, date-time

---

[API](https://skmtc.dev/dobby-ai/apis/dobby-gateway-api.md) · [All operations](https://skmtc.dev/dobby-ai/apis/dobby-gateway-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dobby-ai/apis/dobby-gateway-api/revisions/c189542f9647?raw)
