> ## 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.

# Get Citation Text • Rust AI Agent SDK

> get_citation_text: Extract the text that a citation refers to

# get\_citation\_text

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**DeepResearchResponse**](../classes/DeepResearchResponse) class in the [**extras**](../modules/extras) module.

Extract the text that a citation refers to

## Signature

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

## Parameters

<ParamField query="citation" type="&Citation" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="&str">
  The result of the operation.
</ResponseField>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust Citations" icon="quote-left" href="/docs/rust/citations" />
</CardGroup>
