OpenAPI 3.1.0raw.githubusercontent.com2026-08-05311409871.8 KB

382041c7ecb2

v2
chat
share
chat
share

Get Chat Share State

Return the chat's current share state.

The share modal calls this on open so it can render in the right mode (share-vs-revoke) and pre-select the auto-share toggle.

get/api/chat/sessions/{session_id}/share/state

Path parameters

session_idstring required

Response

Successful Response

is_sharedboolean
share_tokenstring nullable
auto_share_executionsboolean
message_countinteger
linked_run_countinteger
file_countinteger