Sessions changedapi/compliance/apps/sessions
Nearest release: v2.1.327, published an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+12added
Lines−2removed
From line
802
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits22to this page, all time
The whole hunk
from line 802, old and new numbered
/
from line 802
802802
803803Retrieve one remote session's transcript: user prompts, assistant
804804responses, and tool calls and results. Thinking blocks and images are
805not included.
805not included. Some notes for the assistant that Claude's apps add to a user's
806message, without showing them to the user, are withheld: such a `text` block
807is returned empty with `added_as_context: true`. Other added text is returned
808in full.
806809
807810Messages are returned oldest first by default; pass `order=desc` to
808811reverse. Pagination uses the same `page`/`next_page` scheme as the
from line 902
899902
900903 default: text
901904
905 - `added_as_context: boolean`
906
907 True when the server recognized this text block, by its exact wording, as a note that a Claude app adds to a user's message for the assistant, and withheld it: `text` is then empty. The match is on the text alone, so it does not prove that an app wrote the block. False does not mean that the user typed the text: other added text, including some of the apps' notes, is exported in full. Always false on assistant messages.
908
909 default: false
910
902911 - `text: string`
903912
904 Text content from the user or the assistant
913 Text content from the user or the assistant. Empty when the text is withheld: see `added_as_context`.
905914
906915 - `truncated: boolean`
907916
from line 1091
10821091 "id": "id",
10831092 "content": [
10841093 {
1094 "added_as_context": true,
10851095 "text": "text",
10861096 "truncated": true,
10871097 "type": "text"
No line in this hunk matches that.