Store and update text documents with vector embeddings in isolated namespaces. Build RAG pipelines, agent memory, and semantic stores with a single API call.
The IteraTools Vector Memory Upsert API stores text documents as vector embeddings (OpenAI text-embedding-3-small, 1536 dimensions) in a persistent SQLite database. Each document is identified by a namespace + id pair. If the document already exists it's updated. Namespaces are automatically isolated per API key, so your data stays private. Perfect for building RAG (Retrieval-Augmented Generation) pipelines, agent long-term memory, knowledge bases, and semantic search stores.
| namespace | string (required) | Logical namespace (e.g. my-agent, user-facts) |
| id | string (required) | Unique document ID (upserted if exists) |
| text | string (required) | Text content to embed and store |
| metadata | object (optional) | Key-value metadata for filtering or display |
| Endpoint | POST /memory/upsert |
| Price | $0.003 / request |
| Embedding model | OpenAI text-embedding-3-small (1536 dims) |
| Isolation | Per API key (namespaces prefixed automatically) |
| Auth | Bearer token or x402 micropayment |
| Base URL | https://api.iteratools.com |