Updates an existing sessions by ID.
Required API key scopes: any of sessions:write, sessions:all, all:write, all:all.
Documentation Index
Fetch the complete documentation index at: https://docs.agenhq.com/llms.txt
Use this file to discover all available pages before exploring further.
1Default Response
The unique identifier of the session inside Agen.
A short title generated from the initial prompt that helps identify the session.
The workspace that owns this session.
The user who created the session.
The git branch Agen should use for this session.
Whether Agen should automatically create git commits while working in the session.
The current lifecycle status of the session.
Where the session was created from, such as the app, API, or a deep work flow.
When the session was created.
When the session was last updated.
The sandbox currently assigned to this session.
The LLM model code to use for the session, if you want to override the workspace default.
The current execution status of the coding agent inside the session.
When the session changes were merged, if the related merge request has been merged.
The related deep work item ID, if this session was created from a deep work flow.