Cancel research
const url = 'https://deeperesearch.com/v1/research/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/cancel';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://deeperesearch.com/v1/research/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/cancel \ --header 'Authorization: Bearer <token>'Cancels queued or running research. Providers that haven’t finished aren’t charged; finished reports are kept.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”The cancelled research
object
Expected cost when it started
Charged so far; final once the research and its merges finish
The coding agent that started it, when one did
ISO 8601 timestamp, UTC
One per provider
One provider working on a research question.
object
A synthesis merge: several provider reports combined into one cited report.
object
Auto: requested with the research; manual: started afterwards
US dollars
ISO 8601 timestamp, UTC
Files sent with the question (on GET /v1/research/{id})
object
Example
{ "object": "research", "status": "queued", "merge_config": { "thinking": "off", "mode": "comprehensive" }, "runs": [ { "state": "pending" } ], "merges": [ { "object": "merge", "trigger": "auto", "thinking": "off", "mode": "comprehensive", "state": "pending" } ]}Missing or invalid API key (unauthorized)
object
object
Stable, machine-readable error code. See Errors in the docs.
What went wrong, written for people
Example generated
{ "error": { "code": "example", "message": "example" }}The key lacks the scope this needs (forbidden)
object
object
Stable, machine-readable error code. See Errors in the docs.
What went wrong, written for people
Example generated
{ "error": { "code": "example", "message": "example" }}Not found in this organization (not_found)
object
object
Stable, machine-readable error code. See Errors in the docs.
What went wrong, written for people
Example generated
{ "error": { "code": "example", "message": "example" }}Conflicts with the current state, e.g. not_cancellable or idempotency_conflict
object
object
Stable, machine-readable error code. See Errors in the docs.
What went wrong, written for people
Example generated
{ "error": { "code": "example", "message": "example" }}Rate limit, spending limit or quota reached (rate_limited, limit_reached, quota_exceeded). See Retry-After.
object
object
Stable, machine-readable error code. See Errors in the docs.
What went wrong, written for people
Example generated
{ "error": { "code": "example", "message": "example" }}