curl --request POST \
--url https://api.valyu.ai/v1/deepresearch/tasks/{id}/public \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"public": true
}'{
"success": true,
"message": "Public flag updated",
"deepresearch_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"public": true
}Toggle Public Access
Reference for toggling public access on a DeepResearch task via POST /v1/deepresearch/tasks/{id}/public.
POST
/
v1
/
deepresearch
/
tasks
/
{id}
/
public
curl --request POST \
--url https://api.valyu.ai/v1/deepresearch/tasks/{id}/public \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"public": true
}'{
"success": true,
"message": "Public flag updated",
"deepresearch_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"public": true
}Change whether a task can be accessed through a public share link. When public access is enabled, the share link does not require authentication.
Keep reports private unless the user deliberately chooses to share them. Review the report and supporting material before enabling public access, particularly when a task includes uploaded files or private context.
To share a report with specific people instead, and keep it private for everyone else, see share a report with specific people.
Authorizations
API key for authentication. Get yours at platform.valyu.ai.
Body
application/json
Response
Public flag updated.
Was this page helpful?