{ "opencollection": "1.0.0", "info": { "name": "Langbase Agent Memory API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Memory", "type": "folder" }, "items": [ { "info": { "name": "List memory stores.", "type": "http" }, "http": { "method": "GET", "url": "https://api.langbase.com/v1/memory" }, "docs": "List memory stores." }, { "info": { "name": "Create a memory store.", "type": "http" }, "http": { "method": "POST", "url": "https://api.langbase.com/v1/memory", "body": { "type": "json", "data": "{}" } }, "docs": "Create a memory store." }, { "info": { "name": "Delete a memory store.", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.langbase.com/v1/memory/:name", "params": [ { "name": "name", "value": "", "type": "path" } ] }, "docs": "Delete a memory store." }, { "info": { "name": "Retrieve similar chunks (RAG).", "type": "http" }, "http": { "method": "POST", "url": "https://api.langbase.com/v1/memory/retrieve", "body": { "type": "json", "data": "{}" } }, "docs": "Runs a semantic similarity search over one or more memory stores and returns the most relevant chunks, controlled by `topK` (default 20, max 100) and optional metadata filters." }, { "info": { "name": "List documents in a memory store.", "type": "http" }, "http": { "method": "GET", "url": "https://api.langbase.com/v1/memory/:name/documents", "params": [ { "name": "name", "value": "", "type": "path" } ] }, "docs": "List documents in a memory store." }, { "info": { "name": "Upload a document to a memory store.", "type": "http" }, "http": { "method": "POST", "url": "https://api.langbase.com/v1/memory/:name/documents", "params": [ { "name": "name", "value": "", "type": "path" } ], "body": { "type": "multipart-form", "data": [ { "name": "documentName", "type": "text", "value": "" }, { "name": "document", "type": "text", "value": "" } ] } }, "docs": "Upload a document to a memory store." }, { "info": { "name": "Delete a document from a memory store.", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.langbase.com/v1/memory/:name/documents/:documentName", "params": [ { "name": "name", "value": "", "type": "path" }, { "name": "documentName", "value": "", "type": "path" } ] }, "docs": "Delete a document from a memory store." } ] } ], "bundled": true }