# GetOp

> **Class** in `langgraph.store`

📖 [View in docs](https://reference.langchain.com/python/langgraph.store/base/GetOp)

Operation to retrieve a specific item by its namespace and key.

This operation allows precise retrieval of stored items using their full path
(namespace) and unique identifier (key) combination.

???+ example "Examples"

    Basic item retrieval:

    ```python
    GetOp(namespace=("users", "profiles"), key="user123")
    GetOp(namespace=("cache", "embeddings"), key="doc456")
    ```

## Signature

```python
GetOp()
```

## Extends

- `NamedTuple`

## Properties

- `namespace`
- `key`
- `refresh_ttl`

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/97320843fe78b93bd5290ce366841ff9850bf379/libs/checkpoint/langgraph/store/base/__init__.py#L157)