---
title: "List Access Tokens"
method: GET
path: "/api/auth/access_token"
tags: ["Auth API"]
---

# List Access Tokens

`GET /api/auth/access_token`

## Request

- The document declares no server URL.
- Auth: none declared

API to list all access tokens for a user, including their assigned roles.

## Headers

- `x-osmo-user` string, nullable

## Response `200`

Successful Response

- AccessTokenWithRoles[]
  - `user_name` string, required
  - `token_name` string, required
  - `expires_at` string, date-time, required
  - `description` string, required
  - `roles` string[]

## Other responses

- `422`: Validation Error

## Changes

- **2026-08-03** `b9d312a13f5d`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-04-08** `a8157dc3279d`: 2 info
  - `header` request parameter `x-osmo-user` list-of-types was widened by adding types `null`
  - for the `header` request parameter `x-osmo-user`, the type was generalized from `string` to no type
- **2026-02-27** `3b4b243276b5`: 7 breaking, 1 warning, 2 info
  - the response's body type changed from `object` to `array` for status `200`
  - removed the required property `access_type` from the response with the `200` status
  - removed the required property `description` from the response with the `200` status
  - removed the required property `expires_at` from the response with the `200` status
  - …6 more

[Operation history](https://skmtc.dev/nvidia/apis/nvidia-corporation-osmo-api/changes/api/auth/access_token/get.md)

---

[API](https://skmtc.dev/nvidia/apis/nvidia-corporation-osmo-api.md) - [All operations](https://skmtc.dev/nvidia/apis/nvidia-corporation-osmo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nvidia/apis/nvidia-corporation-osmo-api/revisions/845585a71dbb?raw)
