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

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

#### get\_key

```python theme={null}
get_key(config: dict[str, Any]) -> str
```

Get a unique identifier of a configuration.<br />

<b>Parameters:</b>

| Name     | Description                                                  |
| -------- | ------------------------------------------------------------ |
| `config` | A configuration.<br /><br />**Type:** dict\[str, typing.Any] |

<b>Returns:</b>

| Type | Description                                                       |
| ---- | ----------------------------------------------------------------- |
| str  | tuple: A unique identifier which can be used as a key for a dict. |

<br />
