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

# With Session ID • Rust AI Agent SDK

> with_session_id: Create with specific session ID

# with\_session\_id

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

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

Create with specific session ID

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def with_session_id(session_id: impl Into<String>) -> Self
```

## Parameters

<ParamField query="session_id" type="impl Into<String>" required={true}>
  No description available.
</ParamField>

### Returns

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

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust Sessions" icon="clock" href="/docs/rust/sessions" />

  <Card title="Rust Memory" icon="database" href="/docs/rust/memory" />
</CardGroup>
