# Get research

Source: https://deeperesearch.com/docs/api/reference/operations/getresearch/

GET

/v1/research/{id}

```js
const url = 'https://deeperesearch.com/v1/research/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};


try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```sh
curl --request GET \
  --url https://deeperesearch.com/v1/research/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
  --header 'Authorization: Bearer <token>'
```

The research with each provider’s run, any merges and its attachments.

## Authorizations

- **[apiKey](https://deeperesearch.com/docs/api/reference/#apikey)**

## Parameters

### Path Parameters

**id**

required

string format: uuid

## Responses

### 200

The research

application/json

object

**id**

required

string format: uuid

**object**

required

string

Allowed value: research

**status**

required

string

Allowed values: queued running completed failed cancelled

**query**

required

string

**estimate_usd**

required

Expected cost when it started

number

**max_cost_usd**

required

Any of:

- number

  US dollars

  number

- null

  null

**charged_usd**

required

Charged so far; final once the research and its merges finish

number

**error**

required

string | null

**merge_config**

required

Any of:

- object

  The merge requested with the research

  object

  **model**

  required

  string

  **thinking**

  required

  string

  Allowed values: off low medium high

  **mode**

  required

  string

  Allowed values: comprehensive executive comparison

  **instructions**

  string

- null

  null

**via**

The coding agent that started it, when one did

string | null

**created_at**

required

ISO 8601 timestamp, UTC

string

**finished_at**

required

Any of:

- string

  ISO 8601 timestamp, UTC

  string

- null

  null

**runs**

One per provider

Array\<object>

One provider working on a research question.

object

**id**

required

string format: uuid

**vendor**

required

string

**offering**

required

string

**state**

required

string

Allowed values: pending submitting submitted needs_review completed failed timed_out cancelled

**charged_usd**

required

Charged when the run finished; null until then

Any of:

- number

  US dollars

  number

- null

  null

**error**

required

string | null

**submitted_at**

required

Any of:

- string

  ISO 8601 timestamp, UTC

  string

- null

  null

**finished_at**

required

Any of:

- string

  ISO 8601 timestamp, UTC

  string

- null

  null

**merges**

Array\<object>

A synthesis merge: several provider reports combined into one cited report.

object

**id**

required

string format: uuid

**object**

required

string

Allowed value: merge

**research_id**

required

string format: uuid

**trigger**

required

Auto: requested with the research; manual: started afterwards

string

Allowed values: auto manual

**model**

required

string

**thinking**

required

string

Allowed values: off low medium high

**mode**

required

string

Allowed values: comprehensive executive comparison

**instructions**

required

string | null

**state**

required

string

Allowed values: pending running completed failed skipped cancelled

**source_report_ids**

required

Array\<string>

**excluded_reports**

required

Array\<object>

A report left out of a merge, and why.

object

**report_id**

required

Any of:

- string

  string format: uuid

- null

  null

**vendor**

required

string

**offering**

required

string

**reason**

required

string

**resolved_provider**

required

string | null

**two_stage**

required

boolean

**estimate_usd**

required

US dollars

number

**charged_usd**

required

Any of:

- number

  US dollars

  number

- null

  null

**error**

required

string | null

**created_at**

required

ISO 8601 timestamp, UTC

string

**started_at**

required

Any of:

- string

  ISO 8601 timestamp, UTC

  string

- null

  null

**finished_at**

required

Any of:

- string

  ISO 8601 timestamp, UTC

  string

- null

  null

**attachments**

Files sent with the question (on GET /v1/research/{id})

Array\<object>

object

**id**

required

string format: uuid

**filename**

required

string

**mime_type**

required

string

#### Example

```json
{
  "object": "research",
  "status": "queued",
  "merge_config": {
    "thinking": "off",
    "mode": "comprehensive"
  },
  "runs": [
    {
      "state": "pending"
    }
  ],
  "merges": [
    {
      "object": "merge",
      "trigger": "auto",
      "thinking": "off",
      "mode": "comprehensive",
      "state": "pending"
    }
  ]
}
```

### 401

Missing or invalid API key (unauthorized)

application/json

object

**error**

required

object

**code**

required

Stable, machine-readable error code. See Errors in the docs.

string

**message**

required

What went wrong, written for people

string

#### Example generated

```json
{
  "error": {
    "code": "example",
    "message": "example"
  }
}
```

### 404

Not found in this organization (not_found)

application/json

object

**error**

required

object

**code**

required

Stable, machine-readable error code. See Errors in the docs.

string

**message**

required

What went wrong, written for people

string

#### Example generated

```json
{
  "error": {
    "code": "example",
    "message": "example"
  }
}
```

### 429

Rate limit, spending limit or quota reached (rate_limited, limit_reached, quota_exceeded). See Retry-After.

application/json

object

**error**

required

object

**code**

required

Stable, machine-readable error code. See Errors in the docs.

string

**message**

required

What went wrong, written for people

string

#### Example generated

```json
{
  "error": {
    "code": "example",
    "message": "example"
  }
}
```
