> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Deep Research Response • Rust AI Agent SDK

> DeepResearchResponse: Complete response from a Deep Research query

# DeepResearchResponse

> Defined in the [**extras**](../modules/extras) module.

<Badge color="orange">Rust AI Agent SDK</Badge>

Complete response from a Deep Research query

## Fields

| Name              | Type                           | Description                                     |
| ----------------- | ------------------------------ | ----------------------------------------------- |
| `report`          | `String`                       | The final research report text                  |
| `citations`       | `Vec&lt;Citation&gt;`          | List of citations with source metadata          |
| `reasoning_steps` | `Vec&lt;ReasoningStep&gt;`     | List of reasoning steps taken                   |
| `web_searches`    | `Vec&lt;WebSearchCall&gt;`     | List of web search queries executed             |
| `code_executions` | `Vec&lt;CodeExecutionStep&gt;` | List of code execution steps                    |
| `file_searches`   | `Vec&lt;FileSearchCall&gt;`    | List of file search calls (Gemini)              |
| `provider`        | `Provider`                     | The provider used                               |
| `interaction_id`  | `Option&lt;String&gt;`         | Interaction ID (Gemini) or Response ID (OpenAI) |

## Methods

### `new`

```rust theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
fn new(report: impl Into<String>) -> Self
```

Create a new deep research response

**Parameters:**

| Name     | Type                      |
| -------- | ------------------------- |
| `report` | `impl Into&lt;String&gt;` |

### `get_citation_text`

```rust theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
fn get_citation_text(&self, citation: &Citation) -> &str
```

Extract the text that a citation refers to

**Parameters:**

| Name       | Type        |
| ---------- | ----------- |
| `citation` | `&Citation` |

### `get_all_sources`

```rust theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
fn get_all_sources(&self) -> Vec<HashMap<String, String>>
```

Get a list of all unique sources cited

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-rust/praisonai/src/parity/extras.rs#L161">
  `praisonai/src/parity/extras.rs` at line 161
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust Web Search" icon="search" href="/docs/rust/web-search" />

  <Card title="Rust Query" icon="magnifying-glass" href="/docs/rust/query" />
</CardGroup>
