---
title: "show api keys"
method: GET
path: "/api/v0/auth/apikeys/"
tags: ["Accounts"]
---

# show api keys

`GET /api/v0/auth/apikeys/`

Retrieves all API keys associated with the authenticated user.

CLI Usage: `vastai show api-keys`

## Response `200`

API keys successfully retrieved

- object
  - `apikeys` object[]
    - `id` integer
    - `user_id` integer
    - `rights` string
    - `team_id` integer
    - `team_name` string

## Other responses

- `400` — Bad Request - API Key not provided or not found
- `401` — Unauthorized - Invalid or missing authentication
- `429` — Too Many Requests

---

[API](https://skmtc.net/vast/apis/vast-ai-api.md) · [All operations](https://skmtc.net/vast/apis/vast-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vast/vast-ai-api/revisions/4ed14f79f796/schema)
