List personal access tokens
Changed onLists your own personal access tokens. You only ever see the tokens you created.
ℹ️ Note: Personal access tokens are managed with your own login session. A request authenticated with an API key, a personal access token included, is rejected with a 403.
Request
- Base URLhttps://api.nullplatform.com
- URLhttps://api.nullplatform.com/pat
- AuthHTTP bearer
Query parameters
Matches a token's name, or the key or value of one of its tags. Case-insensitive, up to 255 characters.
One or more statuses, separated by commas: active, expiring_soon (expires within the next 7 days), and expired.
Tokens that expire between two dates, inclusive, as from,to. A date without a time covers the whole UTC day.
Tokens that expire on or after this date.
Tokens that expire on or before this date.
The order of the results. Tokens never used sort last when sorting by last_used_at.
Maximum number of tokens per page, from 1 to 100. Defaults to 30.
The number of tokens to skip. Defaults to 0.
Response
The operation was successful.
Example response
{
"paging": {
"limit": 30,
"total": 5
},
"results": [
{
"id": 1234,
"name": "local-scripts",
"masked_api_key": "AAAAxxxxxPTs=",
"access": "same_as_user",
"tags": [
{
"key": "team",
"value": "platform"
}
],
"grants": [
{
"id": 5678,
"nrn": "organization=1:account=2",
"role_id": 700317756,
"role_slug": "developer",
"actions": [
"application:read",
"deployment:create"
]
}
],
"personal": true,
"owner_id": 42,
"acting_user_id": 42,
"last_used_at": "2026-10-08T12:00:00.000Z",
"expires_at": "2027-01-06T00:00:00.000Z",
"created_at": "2026-10-08T00:00:00.000Z",
"updated_at": "2026-10-08T00:00:00.000Z"
}
]
}Changes
- info
endpoint added
- info