---
title: "Get Current Session"
method: POST
path: "/sessions/tools/current"
tags: ["Sessions", "Sessions"]
---

# Get Current Session

`POST /sessions/tools/current`

## Request body

- CurrentSessionRequest
  - `session_id` string, required

## Response `200`

Successful Response

- CurrentSessionResponse
  - `session_id` string, required
  - `name` string, nullable
  - `url` string, nullable
  - `url_unavailable_reason` 'agent_reference_missing' | 'workspace_missing' | 'web_url_unavailable', nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-25** `ec21cdc5486c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/sessions/tools/current/post.md)

---

[API](https://skmtc.dev/agenta-ai/apis/agenta-api.md) · [All operations](https://skmtc.dev/agenta-ai/apis/agenta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agenta-ai/apis/agenta-api/revisions/72f2feba8ccb?raw)
