> ## 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.putObject()

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

## `storage.putObject()`

Uploads a small object in one request in the default `explorer` namespace.

Notes:

* Unavailable with `readOnly: true` (throws an error).

### Overloads

```ts theme={null}
static putObject(data: StorageBinaryPutObjectInput): Promise<StorageEntryView>;

static putObject(namespace: string, data: StorageBinaryPutObjectInput): Promise<StorageEntryView>;
```

### Example

```ts theme={null}
const file = await storage.putObject({
  name: 'summary.md',
  data: '# Daily summary',
  mimeType: 'text/markdown',
  computeStats: 'sync',
});
```

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.