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_idstringRequiredformat: "uuid"
Chat Room ID

Query parameters

pageintegerOptional

Page number (default: 1)

page_sizeintegerOptional

Items per page (default: 50, max: 100)

Response

Agent context
datalist of objects
metaobject

Errors