personal-access-tokens

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

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

get/v1/users/me/pats

Response

Active PATs for the current user

created_atstring date-time required
expires_atstring date-time nullable
idstring uuid required
last_used_atstring date-time nullable
namestring required
prefixstring required

Last 8 chars of the original token — safe to display.

Changes

No recorded changes to this endpoint across all 1 revision of this API.