sessions changedmanaged-agents/sessions
Nearest release: v2.1.307, 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+3added
Lines−6removed
From line
30
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits18to this page, all time
The whole hunk
from line 30, old and new numbered
/
from line 30
3030 ```
3131
3232 ```bash CLI
33 ant beta:sessions create \
34 --agent "$AGENT_ID" \
35 --environment-id "$ENVIRONMENT_ID"
33 ant beta:sessions create --agent "$AGENT_ID" --environment-id "$ENVIRONMENT_ID"
3634 ```
3735
3836 ```python Python
from line 466
468466
469467 ```bash CLI
470468 # The response's `agent` is the resolved snapshot: each override replaces that
471 # field for this session only, and the agent resource keeps its id and version.
469 # field for this session only, and the agent resource keeps its ID and version.
472470 ant beta:sessions create <<YAML
473471 agent:
474472 type: agent_with_overrides
from line 993
995993 ```
996994
997995 ```bash CLI
998 ant beta:sessions:events send \
999 --session-id "$SESSION_ID" <<'YAML'
996 ant beta:sessions:events send --session-id "$SESSION_ID" <<'YAML'
1000997 events:
1001998 - type: user.message
1002999 content:
No line in this hunk matches that.