---
title: "Get Session"
method: GET
path: "/api/agent-chat/sessions/{session_id}"
tags: ["Agent Chat"]
---

# Get Session

`GET /api/agent-chat/sessions/{session_id}`

Metadata + last_seq for client reconnect/init.

Clients call this once on page load, then open /stream?since=<last_seq>.
The `segment` object carries the segment-level lifecycle (status + paused
+ phase_entered_at) so the UI can render the status pill and input
placeholder before the first SSE event arrives.

## Path parameters

- `session_id` string, required

## Cookies

- `ex_access` string, nullable
- `ex_org` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

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