---
title: "Current session (console)"
method: GET
path: "/v1/auth/me"
tags: ["auth"]
---

# Current session (console)

`GET /v1/auth/me`

## Request

- Base URL: `https://api.hyperresearch.ai`
- URL: `https://api.hyperresearch.ai/v1/auth/me`
- Auth: API key in cookie `hr_session`

Reads the `hr_session` cookie and echoes the CSRF token to use for cookie-authenticated mutations. A pure read: a caller that presents a token this session still accepts (the live one, or the token a rotation superseded, inside its grace window) gets it echoed back unchanged; a caller that presents none gets `csrf_token: null` and mints one with `POST /v1/auth/csrf`. This endpoint never rotates the session token — doing so on a read is what let a second tab, a focus revalidation or the console's own probe invalidate a request already in flight (E2E5-01, fault 76).

## Response `200`

Session

- AuthMeResult
  - `account` AuthAccount, required
    - `id` string, required
    - `email` string, required
    - `name` string, nullable, required
    - `plan` string, required
    - `status` string, required
    - `card_on_file` boolean, required
    - `trial` object, required
      - `light_remaining` number, required
      - `full_remaining` number, required
      - `premier_remaining` number, required
    - `free_deep_available` boolean
    - `deletion` object, nullable
      - `status` 'scheduled' | 'purging' | 'purged', required
      - `scheduled_for` string, nullable, required
      - `cancellable` boolean, required
  - `user` object, required
    - `id` string, required
    - `email` string, required
    - `role` string, required
  - `workspace` object, required
    - `id` string, required
    - `name` string, required
    - `status` string, required
  - `csrf_token` string, nullable, required
  - `session` AuthSessionExpiry, required
    - `expires_at` string, required
  - `card_required` boolean, required
  - `platform_operator` boolean, required

## Other responses

- `400`: Invalid request
- `401`: Authentication failed
- `403`: Insufficient scope or plan
- `404`: Not found
- `429`: Rate limited or over quota
- `500`: Internal error

---

[API](https://skmtc.dev/hyperresearch/apis/hyperresearch-cloud-api.md) · [All operations](https://skmtc.dev/hyperresearch/apis/hyperresearch-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hyperresearch/apis/hyperresearch-cloud-api/revisions/726ef831ebf4?raw)
