Tasks
List task files
List every file attached to a task.
GET
Returns the task’s files, split the way the task splits them:
input_filesare files people or integrations attached, including attachments that arrived by email or chat with the request.output_filesare files the task produced, such as an agent’s drafts.
file_ids normally appear here too.
To read a file, pass its id to Get task file text or Get task file download.
Authentication
Send an API key, or an OAuth access token with thetasks:read scope, as a bearer token in the Authorization header.
Path parameters
string
required
The task to read. Accepts a display id like
#12 or the task’s UUID.Response
string (uuid)
The task’s id.
object[]
Files attached to the task. Each has
id, file_name, content_type, content_length and sensitivity_label.object[]
Files the task produced, in the same shape as
input_files.