{
  "info": {
    "name": "Momentry Core API",
    "description": "Video RAG API for Momentry Core - Video search and management",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "http://localhost:3002/api/v1"
    }
  ],
  "item": [
    {
      "name": "Search",
      "item": [
        {
          "name": "Semantic Search",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"query\": \"charade\",\n  \"limit\": 5\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/search",
              "host": ["{{baseUrl}}"],
              "path": ["search"]
            },
            "description": "Semantic search across video chunks using vector embeddings"
          }
        },
        {
          "name": "Search with UUID Filter",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"query\": \"charade\",\n  \"limit\": 5,\n  \"uuid\": \"a1b10138a6bbb0cd\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/search",
              "host": ["{{baseUrl}}"],
              "path": ["search"]
            },
            "description": "Search within a specific video by UUID"
          }
        },
        {
          "name": "n8n Integration Search",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"query\": \"charade\",\n  \"limit\": 5\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/n8n/search",
              "host": ["{{baseUrl}}"],
              "path": ["n8n", "search"]
            },
            "description": "Search formatted for n8n workflow integration"
          }
        }
      ]
    },
    {
      "name": "Videos",
      "item": [
        {
          "name": "List All Videos",
          "request": {
            "method": "GET",
            "url": {
              "raw": "{{baseUrl}}/videos",
              "host": ["{{baseUrl}}"],
              "path": ["videos"]
            },
            "description": "Get list of all registered videos"
          }
        },
        {
          "name": "Get Video by UUID",
          "request": {
            "method": "GET",
            "url": {
              "raw": "{{baseUrl}}/videos/a1b10138a6bbb0cd",
              "host": ["{{baseUrl}}"],
              "path": ["videos", "a1b10138a6bbb0cd"]
            },
            "description": "Get details for a specific video"
          }
        },
        {
          "name": "Get Video Chunks",
          "request": {
            "method": "GET",
            "url": {
              "raw": "{{baseUrl}}/videos/a1b10138a6bbb0cd/chunks",
              "host": ["{{baseUrl}}"],
              "path": ["videos", "a1b10138a6bbb0cd", "chunks"]
            },
            "description": "Get all chunks for a video"
          }
        }
      ]
    }
  ]
}
