---
title: "List server tokens"
method: GET
path: "/servers/{serverID}/tokens"
tags: ["Tokens"]
---

# List server tokens

`GET /servers/{serverID}/tokens`

Retrieves all active agent tokens for a server

## Path parameters

- `serverID` string, required

## Response `200`

OK

- GithubComPullbasePullbaseServerPkgModelsAgentToken[]
  - `created_at` string
  - `created_by_user_id` integer
  - `description` string
  - `expires_at` string
  - `id` integer
  - `is_active` boolean
  - `last_used_at` string
  - `server_id` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/pullbase/apis/untitled-api.md) · [All operations](https://skmtc.dev/pullbase/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pullbase/untitled-api/revisions/edf8355bf78c/schema)
