---
title: "Documents"
method: POST
path: "/documents"
---

# Documents

`POST /documents`

## Request

- Base URL: `https://memory.primaxiom.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://memory.primaxiom.ai/documents`
- Auth: HTTP bearer

Remember a whole document: .txt / .md / .pdf. Text is extracted, split into
sentences and stored under ``doc-<name>`` (or the given session).

## Headers

- `authorization` string, nullable
- `x-api-key` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/primaxiom/apis/reasongraph-cloud-api.md) · [All operations](https://skmtc.dev/primaxiom/apis/reasongraph-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/primaxiom/apis/reasongraph-cloud-api/revisions/3ccb0b943aff?raw)
