# fetch_langsmith_project_url

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/config/fetch_langsmith_project_url)

Fetch the LangSmith project URL, returning None on any failure.

Thin back-compat wrapper around `fetch_langsmith_project_url_or_raise`
for passive callers (status banners, non-interactive output) that just
want a URL-or-nothing answer. Interactive callers that need to tell the
user *why* the lookup failed should use the raising variant directly.

## Signature

```python
fetch_langsmith_project_url(
    project_name: str,
) -> str | None
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `project_name` | `str` | Yes | LangSmith project name to look up. |

## Returns

`str | None`

Project URL string if found, None otherwise.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/d1c6946218b4f0f86ab7b02b6bb6af1e4b75cede/libs/code/deepagents_code/config.py#L2415)