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

# Interface: RequestStore

> Private durable storage scoped to one deployment and caller namespace.

[requests](/api/modules/requests).RequestStore

Private durable storage scoped to one deployment and caller namespace.
create is atomic: an existing identity must return its original envelope.
A write failure must never fall back to process memory.

## Methods

### create

▸ **create**(`envelope`): `Promise`\<[`RequestEnvelope`](/api/modules/requests#requestenvelope)>

#### Parameters

| Name | Type |
| :- | :- |
| `envelope` | [`RequestEnvelope`](/api/modules/requests#requestenvelope) |

#### Returns

`Promise`\<[`RequestEnvelope`](/api/modules/requests#requestenvelope)>

***

### load

▸ **load**(`requestId`): `Promise`\<[`RequestEnvelope`](/api/modules/requests#requestenvelope) | `null`>

#### Parameters

| Name | Type |
| :- | :- |
| `requestId` | [`RequestId`](/api/modules/requests#requestid) |

#### Returns

`Promise`\<[`RequestEnvelope`](/api/modules/requests#requestenvelope) | `null`>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.