v1

latestOpenAPI 3.0.3MIT2026-07-17323590.7 KB
Sessions

Get current session ID

Returns the ID of the current active session for the user/org, or empty string if no current session is set.

get/api/sessions/current

Headers

X-Grafana-Org-Idstring

Grafana organization ID for multi-tenant isolation. Defaults to '1' if not provided.

Response

Current session ID

sessionIdstring

Current session ID (empty string if none)