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

# storage.getUploadSession()

> Public low-code contract, signatures and examples for storage.getUploadSession.

## `storage.getUploadSession()`

Returns the current upload session state together with uploaded part manifests.

Notes:

* Available with `readOnly: true` because it only reads session state.
* Multipart sessions expose uploaded parts with computed byte ranges.

### Overloads

```ts theme={null}
static getUploadSession(
      storageUploadSessionId: string,
    ): Promise<StorageUploadSessionView>;

static getUploadSession(
      namespace: string,
      storageUploadSessionId: string,
    ): Promise<StorageUploadSessionView>;
```

### Example

```ts theme={null}
const state = await storage.getUploadSession(storageUploadSessionId);
```

See [all storage methods](https://docs.revoengine.com/low-code/reference/storage.md) or [runtime basics](https://docs.revoengine.com/low-code/overview.md).


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