Semantic search over your stored vector memory using cosine similarity. Retrieve the most relevant documents by meaning โ not just keyword matching.
The IteraTools Vector Memory Search API retrieves documents from your namespace by semantic similarity. It embeds your query with OpenAI text-embedding-3-small and ranks stored documents by cosine similarity. Returns the top_k most relevant results with their scores (0โ1, higher = more similar), original text, and metadata. Namespace isolation ensures your data is private to your API key.
| namespace | string (required) | Namespace to search in |
| query | string (required) | Natural language search query |
| top_k | integer (optional) | Max results to return (default: 5, max: 100) |
| Endpoint | POST /memory/search |
| Price | $0.002 / request |
| Similarity metric | Cosine similarity (0โ1) |
| 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 |