> For the complete documentation index, see [llms.txt](https://trillo.gitbook.io/trillo-workbench-python-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trillo.gitbook.io/trillo-workbench-python-sdk/memory-cache/retrieve-apis.md).

# Retrieve APIs

## getMemoryCache

Get memory cache

```
CacheApi.getMemoryCache()
```

Parameters

```
no parameters
```

Returns

```
InMemoryCache
```

## get

Retrieve a value from the cache by providing the cache name and key.

```
CacheApi.get(cacheName, key)
```

Parameters

```
cacheName: string
key: string
```

Returns

```
The value associated with the provided key in the cache.
```

## getNoLock

Retrieve a value from the cache without acquiring a lock.

```
Cache.getNoLock(cacheName, key)
```

Parameters

```
cacheName: string
key: string
```

Returns

```
A Result object indicating the success or failure of the operation.
```
