describe_session
Retrieve full details of an agent session, including event messages and final output, to analyze execution and results.
Instructions
Get detailed information about a specific agent session.
Returns the full session record including all event messages emitted during agent execution and the final text output produced by the agent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The session ID to retrieve full details for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | No | Final text output produced by the agent; extracted from the inference-succeeded event. None if the session has not completed or produced no text output. | |
| status | Yes | Session status (RUNNING, COMPLETE, FAILED) | |
| end_time | No | ISO 8601 end timestamp; None if the session is still RUNNING | |
| messages | No | Ordered list of session event messages captured during agent execution | |
| agent_name | No | Name of the agent that ran | |
| session_id | Yes | Unique session identifier | |
| started_at | No | ISO 8601 start timestamp | |
| duration_ms | No | Total session duration in milliseconds |