---
title: "Get a project access token"
method: GET
path: "/projects/{id}/access-tokens/{tokenId}"
tags: ["Project Access Tokens"]
---

# Get a project access token

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

## Request

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

Returns one token's metadata. Never its secret, which is not stored in a
recoverable form.

Requires a platform token.

## Path parameters

- `id` string, uuid, required
- `tokenId` string, uuid, required

## Response `200`

Successful response

- ProjectAccessToken: A project access token: a control-plane credential bound to a single project. Unlike a platform token, which acts on every project its owner has, this one is limited to the project it was created in. The secret itself is never returned here. Only its hash is stored, so the plaintext exists solely in the response to the create call.
  - `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.

## Other responses

- `401`: Unauthorized - invalid or missing token
- `403`: Forbidden - not the project owner, or a project access token was used
- `404`: Token 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/:tokenId/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)
