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

# Average Duration • Rust AI Agent SDK

> average_duration: Get average duration.

# average\_duration

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

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

Get average duration.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def average_duration(&self) -> Duration
```

### Returns

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

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust RAG" icon="magnifying-glass" href="/docs/rust/rag" />

  <Card title="Rust Retrieval" icon="search" href="/docs/rust/retrieval" />

  <Card title="Rust Vector Store" icon="database" href="/docs/rust/vector-store" />

  <Card title="Rust Chunking" icon="scissors" href="/docs/rust/chunking" />
</CardGroup>
