---
title: "Get current session ID"
method: GET
path: "/api/sessions/current"
tags: ["Sessions"]
---

# Get current session ID

`GET /api/sessions/current`

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

## Headers

- `X-Grafana-Org-Id` string

## Response `200`

Current session ID

- object
  - `sessionId` string — Current session ID (empty string if none)

## Other responses

- `401` — Unauthorized (missing or invalid authentication)
- `500` — Internal server error

---

[API](https://skmtc.net/consensys/apis/ask-o11y-ai-powered-observability-assistant-api.md) · [All operations](https://skmtc.net/consensys/apis/ask-o11y-ai-powered-observability-assistant-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/consensys/ask-o11y-ai-powered-observability-assistant-api/versions/3ccc03eccaef/schema)
