---
title: "List tokens"
method: GET
path: "/api/vega/tokens"
tags: ["Tokens"]
---

# List tokens

`GET /api/vega/tokens`

## Request

- Base URL: `https://getmyluna.app`
- URL: `https://getmyluna.app/api/vega/tokens`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `luna_session`

Every token issued for this family (never the secret).

## Response `200`

Success

- TokensResponse
  - `tokens` TokenInfo[], required
    - `id` string, required
    - `label` string, required
    - `username` string, required
    - `scopes` string[], required
    - `created_at` string, nullable, required

## Other responses

- `401`: Missing or invalid credentials

---

[API](https://skmtc.dev/getmyluna/apis/luna-api.md) · [All operations](https://skmtc.dev/getmyluna/apis/luna-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getmyluna/apis/luna-api/revisions/ef7b359c9648?raw)
