# CheckpointRef

> **Class** in `langchain_azure_ai`

📖 [View in docs](https://reference.langchain.com/python/langchain-azure-ai/agents/hosting/_responses/checkpoint_ref/CheckpointRef)

A LangGraph thread and checkpoint reference.

## Signature

```python
CheckpointRef(
    self,
    thread_id: str,
    checkpoint_id: str,
)
```

## Constructors

```python
__init__(
    self,
    thread_id: str,
    checkpoint_id: str,
) -> None
```

| Name | Type |
|------|------|
| `thread_id` | `str` |
| `checkpoint_id` | `str` |


## Properties

- `thread_id`
- `checkpoint_id`

## Methods

- [`from_dict()`](https://reference.langchain.com/python/langchain-azure-ai/agents/hosting/_responses/checkpoint_ref/CheckpointRef/from_dict)
- [`to_dict()`](https://reference.langchain.com/python/langchain-azure-ai/agents/hosting/_responses/checkpoint_ref/CheckpointRef/to_dict)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-azure/blob/7a6a664d617264df8dcb12fcfb1bacc09f21d504/libs/azure-ai/langchain_azure_ai/agents/hosting/_responses/checkpoint_ref.py#L13)