Agents
Fork Agent Session
Deep-copy a session into a new independent session. Every run is copied with a fresh run_id; the new session has a fresh session_id. The original is untouched. Use to explore alternative conversation paths without mutating the source.
Distinct from /continue?fork=true: that creates a sibling run inside the same session. This creates a sibling session.
post/agents/{agent_id}/sessions/{session_id}/fork
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
agent_idstring required
session_idstring required
Query parameters
user_idstring nullable
Response
Session forked successfully
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.