---
title: "Get authentication info"
method: GET
path: "/auth/info"
---

# Get authentication info

`GET /auth/info`

Returns info about the authenticated API key.

## Response `200`

Authentication info

- AuthInfo — Information about the authenticated caller.
  - `type` 'api_key' | 'user', required — Type of authentication used.
  - `api_key` ApiKeyInfo — Information about the API key used for authentication.
    - `prefix` string, required — Stable prefix identifier for the API key (starts with `gt_`), identifying the key without exposing the secret.
    - `name` string, required — User-provided label for the API key.
    - `created_at` string, date-time, required — Time the API key was created.
    - `space_id` string, required — Space the API key is scoped to.
    - `space_name` string, required — Name of the space the API key is scoped to.
    - `user_id` string, required — ID of the user who created the API key.
    - `user_email` string, required — Email of the user who created the API key.
    - `user_name` string, required — Name of the user who created the API key.
  - `user` UserInfo — Authenticated user details.
    - `id` string, required — User ID.
    - `email` string, required — User email address.
    - `name` string, required — User's full name.

## Other responses

- `default` — Error response

## Changes

- **2026-08-11** `42816b90d8d6` — 1 warning
  - added the new `signups_disabled` enum value to the `code` response property for the response status `default`
- **2026-06-23** `d0e78bae6ce1` — 1 warning
  - added the new `compute_limit_exceeded` enum value to the `code` response property for the response status `default`
- **2026-06-22** `bdf92f48aec1` — 1 info
  - added the optional property `code` to the response with the `default` status
- **2026-06-04** `8220077d4c3a` — 3 info
  - added the required property `api_key/created_at` to the response with the `200` status
  - added the required property `api_key/name` to the response with the `200` status
  - added the required property `api_key/prefix` to the response with the `200` status
- **2026-04-17** `a7becb6668ec` — 3 breaking, 1 warning
  - removed the required property `api_key/created_at` from the response with the `200` status
  - removed the required property `api_key/name` from the response with the `200` status
  - removed the required property `api_key/prefix` from the response with the `200` status
  - removed the optional property `code` from the response with the `default` status

[Change history](https://skmtc.dev/timescale/apis/ghost-api/changes/auth/info/get.md)

---

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