cURL
Planning Questions
curl --request POST \ --url https://api.valyu.ai/v1/deepresearch/tasks/{id}/respond \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "interaction_id": "int_abc123", "response": { "answers": [ { "question": "What geographic regions?", "answer": "North America and EU" }, { "question": "Specific competitors?", "answer": "Tesla, BYD, Rivian" } ] } } '
{ "success": true, "status": "running", "deepresearch_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890" }
Reference for responding to a human-in-the-loop checkpoint via POST /v1/deepresearch/tasks/{id}/respond.
API key for authentication. Get yours at platform.valyu.ai.
DeepResearch task ID.
The interaction_id from the task's interaction field.
Response data — shape depends on the checkpoint type (interaction.type).
interaction.type
Show child attributes
Response accepted. Task resumes processing.
true
running if container was still alive, queued if task was re-enqueued from paused state.
running
queued
"running"
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Was this page helpful?