---
title: "The workspace's API keys, newest first, revoked ones included; never the key itself."
method: GET
path: "/v1/workspaces/{ws}/api-keys"
tags: ["apiKeys"]
---

# The workspace's API keys, newest first, revoked ones included; never the key itself.

`GET /v1/workspaces/{ws}/api-keys`

## Request

- Base URL: `https://api.storequant.com`
- URL: `https://api.storequant.com/v1/workspaces/{ws}/api-keys`
- Auth: HTTP bearer

The workspace's API keys, newest first, revoked ones included; never the key itself. Scope `apiKeys:read`; cache `none`.

## Path parameters

- `ws` string, required

## Query parameters

- `limit` integer
- `cursor` string

## Response `200`

A page; `meta.cursor` is present when more follow.

- object
  - `data` object[], required
    - `id` string, uuid, required
    - `name` string, required
    - `key_prefix` string, required
    - `scopes` string[], required
    - `last_used_at` string, date-time, nullable, required
    - `expires_at` string, date-time, nullable, required
    - `revoked_at` string, date-time, nullable, required
    - `created_at` string, date-time, required
  - `meta` object, required
    - `request_id` string, required
    - `as_of` string, date-time, required
    - `lag_hours` number
    - `cursor` string
    - `count` integer

## Other responses

- `4XX`: The one error shape.
- `5XX`: The one error shape.

---

[API](https://skmtc.dev/scrollstash/apis/storequant-api.md) · [All operations](https://skmtc.dev/scrollstash/apis/storequant-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scrollstash/apis/storequant-api/revisions/c556e643d689?raw)
