The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Remote
3url: https://platform.claude.com/docs/en/api/compliance/apps/sessions/remote
4---
5
16# Remote
27
38## List remote sessions
from line 79
7479
7580### Headers
7681
82- `"anthropic-version": optional string`
83
84 The version of the Claude API you want to use.
85
86 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
87
7788- `"x-api-key": optional string`
7889
7990### Returns
from line 326
315326
316327#### Headers
317328
329- `"anthropic-version": optional string`
330
331 The version of the Claude API you want to use.
332
333 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
334
318335- `"x-api-key": optional string`
319336
320337#### Returns
from line 352
335352
336353 Text content block.
337354
355 - `type: "text"`
356
357 default: text
358
338359 - `text: string`
339360
340361 Text content from the user or the assistant
from line 366
345366
346367 default: false
347368
348 - `type: "text"`
349
350 default: text
351
352369 - `ToolUse object`
353370
354371 Tool invocation requested by the assistant.
355372
373 - `type: "tool_use"`
374
375 default: tool_use
376
356377 - `id: string or null`
357378
358379 Tool-use ID, e.g. 'toolu_01AbC...'
from line 392
371392
372393 default: false
373394
374 - `type: "tool_use"`
375
376 default: tool_use
377
378395 - `ToolResult object`
379396
380397 Result returned by a tool invocation.
381398
399 - `type: "tool_result"`
400
401 default: tool_result
402
382403 - `content: array of object`
383404
384405 Text content returned by the tool. Non-text item types are omitted.
385406
386 - `text: string`
387
388 Text returned by the tool
389
390407 - `type: "text"`
391408
392409 default: text
393410
411 - `text: string`
412
413 Text returned by the tool
414
394415 - `is_error: boolean`
395416
396417 True when the tool reported an error
from line 429
408429 True when one or more text items in `content` were shortened. Pass `tool_result_max_bytes=-1` to request full content, subject to the server-side maximum.
409430
410431 default: false
411
412 - `type: "tool_result"`
413
414 default: tool_result
415432
416433 - `content_unavailable: boolean`
417434