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

# autogen.oai.openai_utils.detect_gpt_assistant_api_version

<code class="doc-symbol doc-symbol-heading doc-symbol-function" />

#### detect\_gpt\_assistant\_api\_version

```python theme={null}
detect_gpt_assistant_api_version() -> str
```

Detect the openai assistant API version

<br />
