---
title: "ListMagicAuthTokens lists all the magic auth tokens for a specific project."
method: GET
path: "/v1/orgs/{org}/projects/{project}/tokens/magic"
---

# ListMagicAuthTokens lists all the magic auth tokens for a specific project.

`GET /v1/orgs/{org}/projects/{project}/tokens/magic`

## Path parameters

- `org` string, required
- `project` string, required

## Query parameters

- `pageSize` integer
- `pageToken` string

## Response `200`

A successful response.

- V1ListMagicAuthTokensResponse
  - `nextPageToken` string
  - `tokens` V1MagicAuthToken[]
    - `attributes` object
    - `createdByUserEmail` string
    - `createdByUserId` string
    - `createdOn` string, date-time
    - `displayName` string
    - `expiresOn` string, date-time
    - `fields` string[]
    - `id` string
    - `metricsViewFilters` object
    - `projectId` string
    - `resourceName` string
    - `resourceType` string
    - `resources` V1ResourceName[]
      - `name` string
      - `type` string
    - `state` string
    - `token` string
    - `url` string
    - `usedOn` string, date-time

## Other responses

- `default` — An unexpected error response.

## Changes

- **2026-01-09** (v1) `9517006b9437` — 1 warning
  - added the new `OPERATION_CAST` enum value to the `tokens/items/metricsViewFilters/additionalProperties/cond/op` response property for the response status `200`
- **2026-01-06** (v1) `f0c78da4fdcb` — 1 warning, 1 info
  - removed the optional property `tokens/items/filter` from the response with the `200` status
  - added the optional property `tokens/items/metricsViewFilters` to the response with the `200` status
- **2025-12-11** (v1) `f317ff96998d` — 1 warning, 1 info
  - removed the optional property `tokens/items/metricsViewFilters` from the response with the `200` status
  - added the optional property `tokens/items/filter` to the response with the `200` status

[Change history](https://skmtc.dev/rilldata/apis/rill-admin-api/changes/v1/orgs/:org/projects/:project/tokens/magic/get.md)

---

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