Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

15 pages for --session-id.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

scripting Claude Developer Platform · in the page cli-sdks-libraries/cli/scripting …er message"> Copy the session `id` from the previous output into `--session-id`: ```bash ant beta:sessions:events send \ --session-id session_01JZCh78XvmxJjiXVy3oSi7K \ --even… using Claude Developer Platform · in the page cli-sdks-libraries/cli/using …:agents retrieve --agent-id agent_01... ant beta:sessions:events list --session-id session_01... ``` ### Global flags | Flag | Description… budgets Claude Developer Platform · in the page managed-agents/budgets …} }' ``` ```bash CLI ant beta:sessions update \ --session-id "$SESSION_ID" \ --budget '{type: limit, max_list_cost: {amount: "500", currency: USD}}' ``` ```python Python… DCF Model Rubric Claude Developer Platform · in the page managed-agents/define-outcomes …ts working when it receives the event ant beta:sessions:events send --session-id "$SESSION_ID" <<YAML events: - type: user.define_outcome description: Build a DCF model for Costco in .xl… event-deltas Claude Developer Platform · in the page managed-agents/event-deltas …vent type to preview. ant beta:sessions:threads:events stream \ --session-id "$SESSION_ID" \ --thread-id "$THREAD_ID" \ --event-delta agent.message ``` ```python Python # List the… events-and-streaming Claude Developer Platform · in the page managed-agents/events-and-streaming …t: only later events are delivered. ant beta:sessions:events stream --session-id "$SESSION_ID" ``` ```python Python # Open the stream first, then send the user message with client.beta.sess… files Claude Developer Platform · in the page managed-agents/files …" }' ``` ```bash CLI ant beta:sessions:resources add \ --session-id "$SESSION_ID" \ --type file \ --file-id "$FILE_ID" ``` ```python Python resource = client.beta.session… github Claude Developer Platform · in the page managed-agents/github …# List resources on the session ant beta:sessions:resources list --session-id "$SESSION_ID" # Rotate the authorization token on a specific resource ant beta:sessions:resources update \ -… permission-policies Claude Developer Platform · in the page managed-agents/permission-policies …I # Allow the tool to execute ant beta:sessions:events send \ --session-id "$SESSION_ID" \ --event "{type: user.tool_confirmation, tool_use_id: $AGENT_TOOL_USE_EVENT_ID, result: allow}"… session-operations Claude Developer Platform · in the page managed-agents/session-operations …] } }' ``` ```bash CLI ant beta:sessions update --session-id "$SESSION_ID" <<'YAML' agent: tools: - type: agent_toolset_20260401 - type: mcp_toolset mcp… session-threads Claude Developer Platform · in the page managed-agents/session-threads …nts-2026-04-01" ``` ```bash CLI ant beta:sessions:threads list --session-id "$SESSION_ID" ``` ```python Python for thread in client.beta.sessions.threads.list(session.id): agent =… sessions Claude Developer Platform · in the page managed-agents/sessions …} ] }' ``` ```bash CLI ant beta:sessions:events send --session-id "$SESSION_ID" <<'YAML' events: - type: user.message content: - type: text text: List th… CLI reference Claude Code CLI · in the page cli-reference …| | `--session-id` | Use a specific session ID for the conversation (must be a valid UUID)… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …(#resume-sessions-after-stopping-the-server). Can't be combined with `--session-id`, `--spawn`, `--capacity`, or `--create-session-in-dir`. Requires Claude Code v2.1.200 or later. | | `--session-id <i… Test self-hosted environments end to end Claude Code CLI · in the page self-hosted-environments-testing …configure a session, such as `--resume`, `--continue`, `--teleport`, `--session-id`, or `--init-only`. `--cloud` is rejected with a session ID or URL, and in non-interactive runs when it carries a des…
Feedback