> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tappify.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# storageQueryKey

> Builds the cache key useTapStorage reads one collection's document under.

```ts theme={null}
function storageQueryKey(installId, collection): unknown[];
```

Builds the cache key `useTapStorage` reads one collection's document under.

## Parameters

### installId

`string`

### collection

`string`

## Returns

`unknown`\[]

## Remarks

The filters are not part of the key, because a stored document does not depend
on them. Call it only to reach the query cache directly.

## Example

```ts theme={null}
import { storageQueryKey } from '@tappify/extension-sdk';

const key = storageQueryKey('ins_test', 'preferences');
```
