Helium Logo
POST/api/v1/public/threads/{thread_id}/response

Continue Conversation

Add a follow-up message to an existing conversation using FormData. This allows you to iterate on your project with additional requests.

Request

curl -X POST \
"https://api.he2.ai/api/v1/public/threads/thread_456/response?project_id=proj_123" \
-H "X-API-Key: he-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-F "prompt=Add authentication"

Path Parameters

ParameterTypeDescription
thread_idstring (required)The thread ID from the original task

Query Parameters

ParameterTypeDescription
project_idstring (required)Project ID

Body Parameters

ParameterTypeDescription
promptstring (optional)Follow-up message (1-5000 characters). Required if no files provided
filesfile[] (optional)File uploads

Response

{
"success": true,
"agent_run_id": "run_123",
"status": "running",
"message": "Follow-up accepted"
}

With Files

You can also include files in your follow-up message:

curl -X POST "https://api.he2.ai/api/v1/public/threads/thread_456/response?project_id=proj_123" \
-H "X-API-Key: he-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-F "prompt=Analyze this additional file" \
-F "files=@/path/to/document.pdf"