task-retention
Rehydrate Task
Restore content-bearing rows from a snapshot.
Two modes:
- Inline: caller provides messages and task_states in the request body.
- URL: caller provides snapshot_url; Agentex downloads and parses it.
Refuses if the task isn't currently in a cleaned state, or if any supplied message/state ID already exists in Mongo (catches double-rehydrate).
post/tasks/{task_id}/rehydrate
Path parameters
task_idstring required
Request body
Response
Successful Response