v52

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0189112274.5 KB
task-retention

Export Task To Url

Build the task snapshot and PUT it to a caller-supplied presigned URL.

Use this when the snapshot is too large for a JSON response body (long conversations, deep reasoning content, many attachments). The upload URL must be https and resolve to a public address — see SSRF guard.

post/tasks/{task_id}/export

Path parameters

task_idstring required

Request body

upload_urlstring uri required

Presigned PUT URL where Agentex will upload the task snapshot as JSON. Must be https; must resolve to a public address.

Response

Successful Response

task_idstring required
upload_urlstring required
uploaded_bytesinteger required
messages_countinteger required
task_states_countinteger required