Tasks

Exports the full task conversation history (all prompts and agent responses) as a downloadable file. The file format is selected by the format query parameter.

get/api/v1/projects/{projectId}/tasks/{taskId}/export

Request

Path parameters

projectIdinteger required
Example:1

The unique identifier of the agent.

taskIdstring required
Example:f1b9aaf0-5e4e-11eb-ae93-0242ac130002

The task ID. This is the value returned in data.id when you create a task via POST /tasks.

Query parameters

format'json' | 'excel' | 'csv' | 'pdf'
Example:csv

Export file format. Selects how the conversation history (all prompts and agent responses) is serialised in the downloaded file.

Response

Full task conversation history (all prompts and agent responses) returned as a downloadable file in the format selected by the format query parameter (csv, excel, pdf, or json).

Changes