---
title: "Current session"
method: GET
path: "/api/session"
tags: ["session"]
---

# Current session

`GET /api/session`

## Request

- The document declares no server URL.
- Auth: none declared

The id of the session this request belongs to. Workspaces live in a session, so a tool that wants to read the very workspaces a browser is editing has to address that session — the app hands this id to an embedding host (see the embedded-session handshake) which passes it on to that tool. The id is the session cookie's value and therefore grants full access to the session: treat it as a credential.

## Response `200`

OK

- SessionDTO
  - `id` string

## Changes

- **2026-09-30** `2305e06b5c37`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/soptim/apis/rdfarchitect-backend/changes/api/session/get.md)

---

[API](https://skmtc.dev/soptim/apis/rdfarchitect-backend.md) - [All operations](https://skmtc.dev/soptim/apis/rdfarchitect-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/soptim/apis/rdfarchitect-backend/revisions/21e6477d8dd8?raw)
