---
title: "Get list of API keys for the current user"
method: GET
path: "/zot/auth/apikey"
---

# Get list of API keys for the current user

`GET /zot/auth/apikey`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/project-zot/apis/open-container-initiative-distribution-specification/docs/zot/auth/apikey/get.ts> (a function with typed inputs; its response is checked against the schema)

Get list of all API keys for a logged in user

## Response `200`

ok

- string

## Other responses

- `401`: unauthorized
- `500`: internal server error

## Changes

- **2023-10-20** `c56ae3fa3f7d`: 1 info
  - endpoint added
- **2021-10-21** `81b68c5e4fde`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/project-zot/apis/open-container-initiative-distribution-specification/changes/zot/auth/apikey/get.md)

---

[API](https://skmtc.dev/project-zot/apis/open-container-initiative-distribution-specification.md) - [All operations](https://skmtc.dev/project-zot/apis/open-container-initiative-distribution-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/project-zot/apis/open-container-initiative-distribution-specification/revisions/7937343ee83f?raw)
