---
title: "Resume Widget Session"
method: GET
path: "/api/v1/public/text-widget/sessions/{session_id}"
tags: ["text-widget-public"]
---

# Resume Widget Session

`GET /api/v1/public/text-widget/sessions/{session_id}`

Return session info and recent messages for widget reload.

TODO: Surface pending ask_user tool calls in the response so the widget can
rebuild the question card after a page reload. The data is already persisted
in TextMessage.tool_calls (status="pending_user_input") — scan the last
assistant message and include a pending_question payload when present.

## Path parameters

- `session_id` string, uuid, required

## Headers

- `X-Session-Token` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

## Changes

> 19 revisions in range; 1 not diffed.

- **2026-09-03** `d65b8fefae34` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Change history](https://skmtc.dev/getanana/apis/cleon-api/changes/api/v1/public/text-widget/sessions/:session_id/get.md)

---

[API](https://skmtc.dev/getanana/apis/cleon-api.md) · [All operations](https://skmtc.dev/getanana/apis/cleon-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getanana/apis/cleon-api/revisions/34f2d9e81b0b?raw)
