{ "info": { "name": "DIP Clustering Dual Python Modes", "_postman_id": "4c2f4f68-c9c3-4977-9627-b4f7422dd001", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description": "Direct vector-upload and compact runId Python endpoints." }, "variable": [ { "key": "pythonBaseUrl", "value": "http://localhost:8001" }, { "key": "runId", "value": "" } ], "item": [ { "name": "Health", "item": [ { "name": "GET /health", "request": { "method": "GET", "url": { "raw": "{{pythonBaseUrl}}/health", "host": [ "{{pythonBaseUrl}}" ], "path": [ "health" ] } } } ] }, { "name": "Direct vector upload", "item": [ { "name": "POST /cluster", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "url": { "raw": "{{pythonBaseUrl}}/cluster", "host": [ "{{pythonBaseUrl}}" ], "path": [ "cluster" ] }, "body": { "mode": "raw", "raw": "{\n \"algorithm\": \"KMEANS\",\n \"parameters\": {\n \"k\": 2,\n \"normalizeVectors\": true\n },\n \"reductionMethod\": \"NONE\",\n \"reductionDimensions\": null,\n \"items\": [\n {\n \"embeddingId\": \"11111111-1111-1111-1111-111111111111\",\n \"documentId\": \"22222222-2222-2222-2222-222222222222\",\n \"representationId\": \"33333333-3333-3333-3333-333333333333\",\n \"vector\": [\n 0.1,\n 0.2,\n 0.3\n ]\n },\n {\n \"embeddingId\": \"11111111-1111-1111-1111-111111111112\",\n \"documentId\": \"22222222-2222-2222-2222-222222222223\",\n \"representationId\": \"33333333-3333-3333-3333-333333333334\",\n \"vector\": [\n 0.11,\n 0.19,\n 0.31\n ]\n }\n ]\n}" } } } ] }, { "name": "Compact runId mode", "item": [ { "name": "POST /cluster-run", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "url": { "raw": "{{pythonBaseUrl}}/cluster-run", "host": [ "{{pythonBaseUrl}}" ], "path": [ "cluster-run" ] }, "body": { "mode": "raw", "raw": "{\n \"runId\": \"{{runId}}\"\n}" } } } ] } ] }