# get_default_api_token

> **Function** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/llms/databricks/get_default_api_token)

Get the default Databricks personal access token.
Raises an error if the token cannot be automatically determined.

## Signature

```python
get_default_api_token() -> str
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/llms/databricks.py#L198)