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

# Constants

> Default settings and environment variable names for the TypeSafe Python SDK.

<a id="constants" />

<h2 id="typesafe_sdk.constants">
  typesafe\_sdk.constants
</h2>

Public environment-variable names and client defaults.

<h3 id="typesafe_sdk.constants.API_KEY_ENV">
  API\_KEY\_ENV <small><code>module-attribute</code></small>
</h3>

```python theme={null}
API_KEY_ENV = 'TYPESAFE_API_KEY'
```

Environment variable for the API key.

<h3 id="typesafe_sdk.constants.BASE_URL_ENV">
  BASE\_URL\_ENV <small><code>module-attribute</code></small>
</h3>

```python theme={null}
BASE_URL_ENV = 'TYPESAFE_BASE_URL'
```

Environment variable for the API base URL.

<h3 id="typesafe_sdk.constants.DEFAULT_MODEL_ENV">
  DEFAULT\_MODEL\_ENV <small><code>module-attribute</code></small>
</h3>

```python theme={null}
DEFAULT_MODEL_ENV = 'TYPESAFE_DEFAULT_MODEL'
```

Environment variable for the default model.

<h3 id="typesafe_sdk.constants.LOG_LEVEL_ENV">
  LOG\_LEVEL\_ENV <small><code>module-attribute</code></small>
</h3>

```python theme={null}
LOG_LEVEL_ENV = 'TYPESAFE_LOG_LEVEL'
```

Environment variable for the logging level.

<h3 id="typesafe_sdk.constants.DEFAULT_BASE_URL">
  DEFAULT\_BASE\_URL <small><code>module-attribute</code></small>
</h3>

```python theme={null}
DEFAULT_BASE_URL = 'https://api.typesafe.ai'
```

Default API base URL.

<h3 id="typesafe_sdk.constants.DEFAULT_MODEL">
  DEFAULT\_MODEL <small><code>module-attribute</code></small>
</h3>

```python theme={null}
DEFAULT_MODEL = 'jev-latest'
```

Default model name.

<h3 id="typesafe_sdk.constants.DEFAULT_TIMEOUT">
  DEFAULT\_TIMEOUT <small><code>module-attribute</code></small>
</h3>

```python theme={null}
DEFAULT_TIMEOUT = 10.0
```

Default timeout in seconds for each HTTP operation.
