{ "info": { "_postman_id": "b8f9e9a1-5c8e-4a8e-9b8e-1f8e9a1f8e9a", "name": "edmond_cad_refund", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "N8N - Search Knowledgebase", "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "password", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"query\": \"how to get a refund for electronics?\",\n \"use_reranker\": true,\n \"final_k\": 5,\n \"persona\": [\"standard\"],\n \"tier\": [\"gold\"]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/webhook/search", "host": [ "{{base_url}}" ], "path": [ "webhook", "search" ] }, "description": "Main endpoint used by N8N to retrieve context chunks." }, "response": [] }, { "name": "Admin - Rebuild Index", "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "1234", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [], "url": { "raw": "{{base_url}}/admin/rebuild_index", "host": [ "{{base_url}}" ], "path": [ "admin", "rebuild_index" ] }, "description": "Completely deletes and rebuilds the FAISS index from sources." }, "response": [] }, { "name": "Admin - Update Index (Incremental)", "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "1234", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"max_new_files\": 50\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/admin/update_faiss_index", "host": [ "{{base_url}}" ], "path": [ "admin", "update_faiss_index" ] }, "description": "Adds only new files to the existing index." }, "response": [] }, { "name": "Admin - Upload Source File", "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "1234", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "file", "type": "file", "src": "" } ] }, "url": { "raw": "{{base_url}}/admin/upload/vehicle.csv", "host": [ "{{base_url}}" ], "path": [ "admin", "upload", "vehicle.csv" ] }, "description": "Uploads a replacement source file using the filename in the URL, archives the previous file with the same name, and rebuilds the index." }, "response": [] }, { "name": "Public - Status", "request": { "method": "GET", "header": [], "url": { "raw": "{{base_url}}/status", "host": [ "{{base_url}}" ], "path": [ "status" ] } }, "response": [] } ], "variable": [ { "key": "base_url", "value": "http://localhost:5000", "type": "string" } ] }