Skip to main content
POST
Open saved documents into a chat session (shared, never copied).

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null

Path Parameters

session_id
string
required

Query Parameters

include_html
boolean
default:false

Include each document's full reassembled HTML body. Default false (token-light — recommended for AI agents enumerating or switching tabs): returns only ids, title, section count, focused flag, and page setup, omitting the body which can be hundreds of KB per document. The web app passes true to render document content.

Body

application/json
document_ids
string[]
required

Durable document ids (from GET /v1/documents) to open into the session.

Response

Successful Response