# endpoint_url

> **Attribute** in `langchain_huggingface`

📖 [View in docs](https://reference.langchain.com/python/langchain-huggingface/llms/huggingface_endpoint/HuggingFaceEndpoint/endpoint_url)

Endpoint URL to use. If repo_id is not specified then this needs to given or
should be pass as env variable in `HF_INFERENCE_ENDPOINT`

## Signature

```python
endpoint_url: str | None = None
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/85a5a04210452aec2eb3a06a02961c8fefd5c8b6/libs/partners/huggingface/langchain_huggingface/llms/huggingface_endpoint.py#L95)