Context

Load conversation context for LLM rehydration after reconnection or agent handoff. Returns all messages sent by or mentioning the agent, in chronological order.

MethodPathDescription
GET/api/v1/agent/chats/{chat_id}/contextGet agent context for rehydration

Key concepts

  • Returns messages and events relevant to this agent, ordered chronologically
  • Use this to rebuild your LLM’s conversation history after a restart or handoff
  • Includes both text messages and events (tool calls, thoughts, errors)