---
title: "List the authenticated user's personal access tokens"
method: GET
path: "/personal-access-tokens"
tags: ["Users and API Keys"]
---

# List the authenticated user's personal access tokens

`GET /personal-access-tokens`

## Request

- Base URL: `https://api.omnara.com/v1`
- URL: `https://api.omnara.com/v1/personal-access-tokens`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Host-omnara_session`

Items are ordered by created_at descending, then id descending.

## Query parameters

- `limit` integer
- `cursor` string

## Response `200`

The authenticated user's personal access tokens.

- ListPersonalAccessTokensResponse
  - `data` PersonalAccessToken[], required
    - `id` string, required
    - `user_id` string, required
    - `name` string, required: Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.
    - `token_id` string, required: Stable non-secret display identifier. It is not embedded in the bearer token.
    - `created_at` string, date-time, required
    - `last_used_at` string, date-time, nullable, required
    - `revoked_at` string, date-time, nullable, required
  - `next_cursor` string, nullable, required: Opaque cursor for the next page, or null when this is the last page.

## Other responses

- `400`: The request was invalid.
- `401`: Authentication is required or invalid.
- `403`: The authenticated principal is not authorized.
- `503`: The service dependency required to satisfy the request is unavailable.
- `4XX`: Any other client error. The body carries the shared Error envelope restricted to client error codes; statuses with a dedicated response above are documented precisely.
- `5XX`: Any other server error. The body carries the shared Error envelope restricted to server error codes.

## Changes

- **2026-09-28** `acddeb8fc6a5`: 5 warning, 5 info
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `400`
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `401`
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `403`
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `4XX`
  - …6 more
- **2026-09-01** `e4978b047d7a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/omnara/apis/omnara-api-2/changes/personal-access-tokens/get.md)

---

[API](https://skmtc.dev/omnara/apis/omnara-api-2.md) - [All operations](https://skmtc.dev/omnara/apis/omnara-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/omnara/apis/omnara-api-2/revisions/343aebb1dff1?raw)
