Helium Logo
GET/api/v1/public/threads/{thread_id}/files

List Thread Files

Get a list of all files generated in a thread. This endpoint provides metadata about all files created during the task execution.

Request

curl -X GET \
"https://api.he2.ai/api/v1/public/threads/thread_456/files?project_id=proj_123" \
-H "X-API-Key: he-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

Path Parameters

ParameterTypeDescription
thread_idstring (required)The thread ID

Query Parameters

ParameterTypeDescription
project_idstring (required)Project ID

Response

{
"success": true,
"files": [
{
"file_id": "file_1",
"file_name": "index.html",
"file_size": 2048,
"file_type": "text/html"
}
],
"pagination": {
"current_page": 1,
"total_items": 1
}
}