---
title: "List API keys in this workspace"
method: GET
path: "/v1/keys"
tags: ["keys"]
---

# List API keys in this workspace

`GET /v1/keys`

## Request

- Base URL: `https://api.hyperresearch.ai`
- URL: `https://api.hyperresearch.ai/v1/keys`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `hr_session`

Every API key in the authenticated workspace, newest first, with its prefix, scopes, last use and whether rotation is due. The secret is never returned after creation.

## Response `200`

Keys

- ApiKeyList
  - `data` ApiKey[], required
    - `id` string, required
    - `name` string, nullable, required
    - `prefix` 'hr_live_' | 'hr_test_' | 'hr_chat_', required
    - `masked` string, required
    - `scopes` string[], required
    - `last_used_at` string, nullable, required
    - `expires_at` string, nullable, required
    - `revoked_at` string, nullable, required
    - `created_at` string, required
    - `ip_allowlist` string[], required
    - `rotate_by` string, nullable, required
    - `rotation_due` boolean, required

## Other responses

- `400`: Invalid request
- `401`: Authentication failed
- `403`: Insufficient scope or plan
- `404`: Not found
- `429`: Rate limited or over quota
- `500`: Internal error

---

[API](https://skmtc.dev/hyperresearch/apis/hyperresearch-cloud-api.md) · [All operations](https://skmtc.dev/hyperresearch/apis/hyperresearch-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hyperresearch/apis/hyperresearch-cloud-api/revisions/726ef831ebf4?raw)
