Get agent context for rehydration
Returns all messages relevant to the agent for execution context/rehydration.
This includes:
- All messages the agent sent (any type: text, tool_call, tool_result, thought, etc.)
- All text messages that @mention the agent
Use this endpoint to load the complete context an external agent needs to resume execution.
Messages are returned in chronological order (oldest first).
Authentication
X-API-Keystring
Enter your API key for programmatic access
Path parameters
chat_id
Chat Room ID
Query parameters
page
Page number (default: 1)
page_size
Items per page (default: 50, max: 100)
Response
Agent context
data
meta