# get_last_update_check_time

> **Function** in `deepagents_code`

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

Return the epoch time of the last PyPI update check, or `None`.

Reads the `checked_at` stamp recorded in `CACHE_FILE` when the update cache
is written (primarily by `get_latest_version`; also seeded by
`_write_release_prerelease_pins`). Missing, corrupt, or non-numeric
data fail-soft to `None` so callers can render an "unknown" state without
contacting the network.

## Signature

```python
get_last_update_check_time() -> float | None
```

---

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