# file_stat_from_response

> **Function** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/sandbox/_helpers/file_stat_from_response)

Build a FileStat from a HEAD response's headers.

## Signature

```python
file_stat_from_response(
    response: httpx.Response,
) -> FileStat
```

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/19d52419f47c93ca2c57a0d51c58d255f5949092/python/langsmith/sandbox/_helpers.py#L124)