---
title: "Get the current authentication session"
method: GET
path: "/api/auth/session"
tags: ["auth"]
---

# Get the current authentication session

`GET /api/auth/session`

[cloud-only] Returns the current session state for the authenticated user, including user identity and active workspace.

## Response `200`

Session info

- AuthSession — [cloud-only] Current authentication session state.
  - `user` CloudUser, required — [cloud-only] A cloud-authenticated user profile.
    - `id` string, required
    - `email` string, email, required
    - `display_name` string
    - `avatar_url` string, uri
    - `created_at` string, date-time
  - `workspace` Workspace — [cloud-only] A cloud workspace for team collaboration.
    - `id` string, required
    - `name` string, required
    - `owner_id` string
    - `member_count` integer
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - `expires_at` string, date-time

## Other responses

- `401` — Unauthorized

## Changes

- **2026-05-08** `c9640fded659` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/comfy-org/apis/comfyui-api/changes/api/auth/session/get.md)

---

[API](https://skmtc.dev/comfy-org/apis/comfyui-api.md) · [All operations](https://skmtc.dev/comfy-org/apis/comfyui-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/comfy-org/comfyui-api/revisions/09a5075587c8/schema)
