# close_session

> **Function** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/client/close_session)

Close the session.

## Signature

```python
close_session(
    session: requests.Session,
) -> None
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `session` | `requests.Session` | Yes | The session to close. |

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/687fc8d527a28504432f52bd08c75f2894c209fe/python/langsmith/client.py#L615)