---
title: "GET /v1/users/me/pats — list the current user's active PATs."
method: GET
path: "/v1/users/me/pats"
tags: ["personal-access-tokens"]
---

# GET /v1/users/me/pats — list the current user's active PATs.

`GET /v1/users/me/pats`

Returns metadata only (`id`, `name`, `prefix`, timestamps). Raw token and
hash are never exposed.

## Response `200`

Active PATs for the current user

- PersonalAccessTokenResponse[]
  - `created_at` string, date-time, required
  - `expires_at` string, date-time, nullable
  - `id` string, uuid, required
  - `last_used_at` string, date-time, nullable
  - `name` string, required
  - `prefix` string, required — Last 8 chars of the original token — safe to display.

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.dev/microsandbox/apis/microsandbox-api.md) · [All operations](https://skmtc.dev/microsandbox/apis/microsandbox-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/microsandbox/microsandbox-api/revisions/23f2a45cb09b/schema)
