Skip to main content
POST
/
v1
/
deepresearch
/
tasks
/
{id}
/
update
Add a follow-up instruction to a running task
curl --request POST \
  --url https://api.valyu.ai/v1/deepresearch/tasks/{id}/update \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "instruction": "Also compare the safety profiles across all trials"
}
'
{
  "success": true,
  "message": "Task updated successfully",
  "deepresearch_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Get yours at platform.valyu.ai.

Path Parameters

id
string
required

DeepResearch task ID.

Body

application/json

Follow-up instruction to guide a running research task. Can only be sent before the writing phase begins.

instruction
string
required

Follow-up instruction for the research agent.

Example:

"Also compare the safety profiles across all trials"

Response

Instruction added successfully.

success
boolean
required

Whether the operation succeeded.

Example:

true

message
string
required

Human-readable status message.

Example:

"Instruction added"

deepresearch_id
string
required

ID of the affected task.

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"