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

> ## Agent Instructions
> Maximem Synap is a managed memory layer for AI agents: it ingests conversations and documents, extracts structured memory, and returns scoped context to the agent at retrieval time.
> The Python and JavaScript/TypeScript SDKs are the supported way to use Synap. Write integration code with SDK calls, not raw HTTP requests.
> Start with the Quickstart: https://docs.maximem.ai/getting-started/quickstart.md. Every SDK method is documented in the SDK reference: https://docs.maximem.ai/sdk-reference/overview.md.
> For requests about adding Vity memory to OpenClaw, Hermes, an MCP client, or a browser, start with the Vity Quickstart: https://docs.maximem.ai/vity/quickstart.md.

# Documents in the dashboard

> Add a document, set how long deleted documents stay restorable, restore or permanently delete them, and manage Google Drive connections.

Documents have three places in the dashboard: two cards on each instance's page, and the **Data & Connectors** page. Owners and admins see the instance cards; members do not.

> [!NOTE]
>
> The dashboard does not list every document you have sent, and it has no per-document processing screen. To follow a document you send from code, use [`memories.status`](https://docs.maximem.ai/sdk-reference/memories/status).

## Add a document

Open **Instances**, pick an instance, and find **Add a document (optional)**. The card appears only when documents are enabled on your instance.

1. Choose a file and select **Add document**. A file can be up to 10 MB.
2. Synap shows the **estimated cost** in credits and the document's key. The estimate is not the final price: the final cost is billed as the document is processed. See [Pricing](https://docs.maximem.ai/resources/pricing.md#documents).
3. The card then shows a short example of how to find the document in a fetch. The document is searchable once processing finishes.

A document added here is available across your whole app, not tied to one customer or user. To add a document for a specific customer or user, send it from your code with [`memories.create`](https://docs.maximem.ai/sdk-reference/memories/create), or use **Manual upload** on the Data & Connectors page.

If your instance has web page adding turned on, the card also takes a **Web page URL**. Tick **I own this site or may crawl it** to confirm, and the page is queued and appears once it has been read.

### When your balance is too low

If the document would cost more than your balance and overages are off, nothing is stored. The card shows how many credits the document needs, your balance, and an **Add credits** link to **Credits & Usage**. Turning on [overages](https://docs.maximem.ai/resources/pricing.md#overage--hard-caps) lets the document through; the shortfall is billed as overage.

## The Documents card

On the same instance page, the **Documents** card holds the document settings.

**Days deleted data stays restorable.** A whole number from 0 to 30. When a document or memory is deleted it is hidden at once, and removed for good after this many days. At 0 it is removed on the next pass. Changing the number never shortens the time already given to something deleted earlier. Every change is recorded.

**Third-party processing.** On by default. When on, documents may be sent to outside parsing services; when off, the instance uses only the parsers that run inside Synap. Turning it on does not enable a parser that your plan does not allow.

**Deleted documents.** Documents waiting to be removed, each with when it was deleted and the date it will be removed for good.

* **Restore** makes the document visible to search and retrieval again, with the memories its deletion hid. Anything forgotten or deleted separately stays hidden. A restore is refused if a newer document now holds the same `document_id`.
* **Delete permanently** removes the document, every version, its search entries, its memories and the original file right now. It cannot be undone or restored. You confirm by typing `permanently delete`.

## Google Drive

**Setup → Data & Connectors → Connectors** is where you connect Drive folders and manage each connection: its status, last sync, filters and removal.

## Related

* [Deleting memories](https://docs.maximem.ai/dashboard/deleting-memories.md)
* [Pricing](https://docs.maximem.ai/resources/pricing.md)


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