---
title: "List Tokens"
method: GET
path: "/api/v1/tokens/"
tags: ["API Keys"]
---

# List Tokens

`GET /api/v1/tokens/`

## Request

- Base URL: `https://api.primeintellect.ai`
- URL: `https://api.primeintellect.ai/api/v1/tokens/`
- Auth: HTTP bearer

## Query parameters

- `offset` integer
- `limit` integer

## Response `200`

Successful Response

- GenericPaginationResponseListAPITokenConfig
  - `total_count` integer: Total number of items available in the dataset
  - `offset` integer: Number of items to skip before starting to collect the result set
  - `limit` integer: Maximum number of items to return
  - `data` APITokenConfig[], required
    - `id` string, required: Unique identifier for the API key.
    - `name` string, nullable: Name of the API key.
    - `tokenPrefix` string, required: Non-secret prefix identifying the key.
    - `scope` object: Permissions granted to the key.
    - `isEnabled` boolean, required: Whether the key is enabled.
    - `createdAt` string, date-time, required
    - `expiresAt` string, date-time, nullable
    - `maxConcurrentSandboxes` integer, nullable
    - `maxSandboxCreationsPerHour` integer, nullable
    - `maxSandboxCpuCores` integer, nullable
    - `maxSandboxGpuCount` integer, nullable
    - `maxConcurrentTunnels` integer, nullable
    - `maxTunnelCreationsPerHour` integer, nullable
    - `maxTunnelTtlHours` integer, nullable
  - `status` string, nullable: Response status

## Other responses

- `401`: Authorization failed
- `422`: Invalid request data

## Changes

> 49 revisions in range; 1 not diffed.

- **2026-10-23** `2679f86dd4ce`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/primeintellect/apis/pi-api/changes/api/v1/tokens/get.md)

---

[API](https://skmtc.dev/primeintellect/apis/pi-api.md) - [All operations](https://skmtc.dev/primeintellect/apis/pi-api/llms.txt) - [OpenAPI document](https://skmtc.dev/primeintellect/apis/pi-api/revisions/7f032a9306b0?raw)
