---
title: "List a project's access tokens"
method: GET
path: "/projects/{id}/access-tokens"
tags: ["Project Access Tokens"]
---

# List a project's access tokens

`GET /projects/{id}/access-tokens`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/projects/{id}/access-tokens`
- Auth: HTTP bearer

Lists the project's access tokens, newest first. Secrets are never
returned: only a hash is stored, so a token's value exists solely in the
response to the create call.

Only tokens that can still authenticate are returned by default, so
revoked and expired ones are hidden. Pass `include_revoked=true` to see
them, which is how you find out what a key did before it stopped working.

Requires a platform token. A project access token cannot manage project
access tokens, so a leaked credential cannot enumerate or replace itself.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `page` integer
- `limit` integer
- `search` string
- `include_revoked` boolean

## Response `200`

Successful response

- PaginatedProjectAccessTokens
  - `data` ProjectAccessToken[], required
    - `id` string, uuid, required
    - `project_id` string, uuid, required
    - `name` string, required: Unique per project.
    - `token_prefix` string, required: First 12 characters of the secret, for recognising a token in a list.
    - `scope` 'full' | 'read_only', required: What a project access token may do within its project. `full` is everything you can do to that one project, up to and including deleting it. It cannot manage access tokens, so a leaked token cannot mint a replacement or erase the record of its own use, but for a CI or agent credential that only deploys, prefer `read_only` where the job allows it. `read_only` refuses mutations. It is enforced by route classification rather than HTTP method, so the log and metrics query endpoints remain available even though they are POST requests that carry body filters. `read_only` also refuses the reads that return a credential — service keys, anon keys, variable values, and database connection strings. Those grant write access over the project's data and keep working after the token that fetched them is revoked, so returning one to a read-only credential would make the scope a formality. An anon key is included because its permissions are chosen per key and may include uploading, deleting, and publishing.
    - `status` 'active' | 'revoked' | 'expired', required: `revoked` means the token was deliberately revoked, by you or by the deletion of its project. `expired` means it simply reached `expires_at`; nothing was taken away. Both are refused, and both keep their record so a token's name, prefix, last use, and request history remain available after a leak. A token revoked before its expiry passed stays `revoked`, because that is the fact worth keeping.
    - `token_source` 'api' | 'cli' | 'dashboard', required: What created the token.
    - `expires_at` string, date-time, nullable: Absent for a token that does not expire.
    - `last_used_at` string, date-time, nullable: Updated at most once every few minutes, so it may lag slightly.
    - `created_at` string, date-time, required
    - `all_time_requests` integer, required: Requests authenticated with this token since it was created.
  - `page` integer, required
  - `limit` integer, required
  - `total` integer, required
  - `has_more` boolean, required
  - `next` string

## Other responses

- `401`: Unauthorized - invalid or missing token
- `403`: Forbidden - not the project owner, or a project access token was used
- `404`: Project not found

## Changes

- **2026-10-07** `23e7875e7c4c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/access-tokens/get.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
