sessions
Get Session Script
Generate a Python script from a session’s trajectory.
This endpoint generates executable Python code that replicates the session’s actions,
with proper client.AgentFallback blocks for steps that were executed by agents.
Returns both a Python script and JSON actions list.
GET
Get Session Script