v1
Switch which document is focused in a multi-document session.
Switches the session’s focused document. Subsequent chat turns that omit document_id target the newly focused document. Returns the updated document roster.
POST
Switch which document is focused in a multi-document session.
Previous
Close (remove) a document from a multi-document session.Removes a document from the session's open documents (like closing an editor tab). If it was the focused document, focus moves to `next_focus` when provided and still open, otherwise to the next remaining document; closing the last document leaves the session empty. The close is durable across reconnects and session restores. Returns the updated roster plus the now-focused document's HTML. The session itself stays alive, and nothing is deleted from your storage.
Next
Switch which document is focused in a multi-document session.

