Skip to main content
POST
Rehydrate Task

Path Parameters

task_id
string
required

Body

application/json

Either provide inline content (messages + task_states) or a snapshot_url pointing at a presigned JSON download. Mixing both is rejected.

The inline form is the canonical shape used by export's GET response, so snapshot → clean → rehydrate round-trips cleanly without serialization changes.

task_id
string
required
messages
TaskMessageEntity · object[]
task_states
StateEntity · object[]
snapshot_url
string<uri> | null

Presigned GET URL whose body is a JSON-encoded TaskSnapshotEntity. Must be https; must resolve to a public address. When set, messages/task_states must be empty.

Required string length: 1 - 2083

Response

Successful Response