---
title: "List temporary API keys"
method: GET
path: "/api/temporary-keys/"
tags: ["Temporary API Keys"]
---

# List temporary API keys

`GET /api/temporary-keys/`

## Request

- Base URL: `https://api.respan.ai`
- URL: `https://api.respan.ai/api/temporary-keys/`
- Auth: HTTP bearer

Returns unrevoked temporary API keys for your organization.

## Response `200`

Paginated API keys.

- object
  - `count` integer, required: Number of results on this page, not the total. Request pages until `next` is null to get every result.
  - `next` string, uri, nullable
  - `previous` string, uri, nullable
  - `current_filters` object
  - `results` object[], required
    - `id` string: API key ID.
    - `name` string: Key name.
    - `prefix` string: Key prefix.
    - `is_test` boolean: Test or production key.
    - `expiry_date` string, date-time: Expiry date.
    - `max_usage` integer: Max usage count. -1 = unlimited.
    - `rate_limit` number, nullable: Requests per minute. null uses the organization default.
    - `spending_limit` number, nullable: Spending limit in USD. `null` when not set.
    - `created` string, date-time: When the API key was created.
    - `unique_organization_id` string, nullable: Owning organization UUID.

## Other responses

- `403`: The API key is missing, invalid or expired.

## Changes

- **2026-10-21** `c30bcb383ee8`: 7 breaking, 3 info
  - the response property `next` became nullable for the status `200`
  - the response property `previous` became nullable for the status `200`
  - the response property `results/items/rate_limit` became nullable for the status `200`
  - the response property `results/items/spending_limit` became nullable for the status `200`
  - …6 more
- **2026-10-02** `b830b79cfd52`: 1 breaking, 2 info
  - the response property `results/items/spending_limit` became nullable for the status `200`
  - added the non-success response with the status `403`
  - removed the non-success response with the status `401`
- **2026-09-17** `6fa8242da8c2`: 1 warning, 1 info
  - deleted the `header` request parameter `Authorization`
  - the endpoint scheme security `RespanApiKey` was added to the API
- **2026-09-12** `22b868ef3f22`: 1 info
  - api operation id `list-api-keys` removed and replaced with `temporaryApiKeys_listApiKeys`
- **2026-08-13** `4e064cf81dae`: 16 breaking, 7 warning, 2 info
  - the response property `results/items/created` became optional for the status `200`
  - the response property `results/items/id` became optional for the status `200`
  - the response property `results/items/prefix` became optional for the status `200`
  - removed the required property `results/items/created_by` from the response with the `200` status
  - …21 more

[Operation history](https://skmtc.dev/keywordsai/apis/respan-api/changes/api/temporary-keys/get.md)

---

[API](https://skmtc.dev/keywordsai/apis/respan-api.md) - [All operations](https://skmtc.dev/keywordsai/apis/respan-api/llms.txt) - [OpenAPI document](https://skmtc.dev/keywordsai/apis/respan-api/revisions/900841387635?raw)
