---
title: "List all API Keys"
method: GET
path: "/apikeys"
tags: ["apikeys"]
---

# List all API Keys

`GET /apikeys`

Requires the privilege [`API_KEYS_READ`](https://www.gremlin.com/docs/user-management/access-control/#privileges)

## Response `default`

default response

- ApiKeyJson[]
  - `identifier` string — The identifier of this API key.
  - `description` string — The description for the API key.
  - `created_at` string, date-time — The date when this API key was created.
  - `created_by` string — The user who created this API key.
  - `expires_at` string, date-time — The date when this API key expires.
  - `revoked_by` string — The user who revoked this API key.
  - `state` 'ACTIVE' | 'IDLE' | 'REVOKED' | 'INVITED' — The current state this API key is in.
  - `value` string — The API keys value. The core piece that is used for authentication
  - `org_id` string — The identifier of the team this API key is tied to.
  - `updated_at` string, date-time — The date this API key was last updated.
  - `last_used_at` string, date-time — The date this API key was last used.

## Other responses

- `401` — Authorization header missing or malformed. Please provide proper credentials in the authorization header.
- `403` — User requires privilege: API_KEYS_READ

---

[API](https://skmtc.net/gremlin/apis/gremlin-api.md) · [All operations](https://skmtc.net/gremlin/apis/gremlin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gremlin/gremlin-api/versions/70fe938a0b35/schema)
