Returns the events that make up the session timeline shown to users. This includes user and agent messages, as well as progress events emitted while the agent is working, such as file operations, planning updates, repository actions, and other execution steps. Clients can use these events both to render the conversation and to track the agent’s progress through the session.
Required API key scopes: any of sessions:read, sessions:all, all:read, 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
user_message, agent_message, system_message, session_finished, session_closed, merge_request_merged, merge_request_closed, agent_file_tree_browse, agent_file_read, agent_file_edit, agent_file_create, agent_file_remove, agent_file_move, agent_file_copy, agent_file_read_range, agent_read_around_match, agent_search_files, agent_search_files_v2, agent_plan_execution_update, agent_ask_user, user_ask_user_response, agent_branch_diff, agent_uncommitted_changes, agent_conflict_state, agent_check_target_branch_mergeability, agent_merge_remote_branch, agent_pull_from_remote, agent_push_to_remote, agent_abort_conflict_resolution, agent_rollback_uncommitted_changes, agent_http_request, agent_web_browse, agent_run_repository_command, agent_alert_created A message sent by the user to the agent within a session. This is the payload created by the send message endpoint.
completed, queued, processing, canceled