---
title: "GetCurrentMagicAuthToken returns information about the current magic auth token."
method: GET
path: "/v1/magic-tokens/current"
---

# GetCurrentMagicAuthToken returns information about the current magic auth token.

`GET /v1/magic-tokens/current`

## Response `200`

A successful response.

- V1GetCurrentMagicAuthTokenResponse
  - `token` 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

> 54 revisions in range; 4 could not be searched.

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

[Change history](https://skmtc.dev/rilldata/apis/rill-admin-api/changes/v1/magic-tokens/current/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)
