---
title: "Check current session status"
method: GET
path: "/user/me"
tags: ["user"]
---

# Check current session status

`GET /user/me`

Returns current session info and authentication context.

Response varies based on authentication method:
- Human session (JWT cookie): logged_in=true, includes username
- Trusted subnet (no auth): logged_in=false, admin=true (note about logging in for named session)
- Agent key (X-Jentic-API-Key): logged_in=false, agent_key=true, includes toolkit_id
- No auth: logged_in=false, agent_key=false

Useful for UI to determine what features to show and whether to require login.
Agents can call this to confirm their key is valid and see which toolkit they belong to.

This endpoint accepts requests with or without authentication (open passthrough).

## Response `200`

Successful Response

- UserOut — Current session status including authentication method and context (human session, agent key, or trusted subnet).
  - `logged_in` boolean — True if valid session exists
  - `username` string, nullable — Username of authenticated user, null if not logged in
  - `is_admin` boolean — True if user has admin privileges
  - `toolkit_id` string, nullable — Associated toolkit ID for this user, null if admin
  - `trusted_subnet` boolean — True if request originated from trusted subnet (127.0.0.0/8 or 10.0.0.0/8)

## Changes

- **2026-04-13** `76e8f6063728` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/jentic/apis/jentic-control-plane-api/changes/user/me/get.md)

---

[API](https://skmtc.dev/jentic/apis/jentic-control-plane-api.md) · [All operations](https://skmtc.dev/jentic/apis/jentic-control-plane-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jentic/jentic-control-plane-api/revisions/bd463fcefb14/schema)
