# get_sdk_release_time

> **Function** in `deepagents_code`

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

Return the ISO-8601 upload time for `deepagents` SDK `version`.

Reads from `CACHE_FILE` under `sdk_release_times`, falling back to a
single PyPI fetch on cache miss and writing the result back so
subsequent calls stay local.

## Signature

```python
get_sdk_release_time(
    version: str | None,
    *,
    bypass_cache: bool = False,
) -> str | None
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `version` | `str \| None` | Yes | Installed SDK version string. |
| `bypass_cache` | `bool` | No | Skip the cache read and always hit PyPI.  The result is still written back to the cache. (default: `False`) |

## Returns

`str | None`

The ISO-8601 upload timestamp, or `None` on any failure (missing
version, unresolvable on PyPI, `requests` unavailable, or
network error).

---

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