action openindex_query_query_post { label: "Query" description: "Accepts search query objects array each with query and optional filter. Break down complex questions into sub-questions. Refine results by criteria, e.g. time / source, don't do this often. Split queries if ResponseTooLargeError occurs." provider: openindex method: POST path: "/query" encoding: json input: { type: "object" required: ["queries"] properties: { namespace: { type: "string" } queries: { type: "array" items: { type: "object" required: ["query"] properties: { filter: { type: "object" properties: { author: { type: "string" } collection_id: { type: "string" } document_id: { type: "string" } end_date: { type: "string" } keywords: { type: "array" items: { type: "string" } } language: { type: "string" } source: { type: "string" description: "An enumeration." enum: ["email", "web", "file", "chat"] } source_id: { type: "string" } start_date: { type: "string" } time_period: { type: "string" } user_id: { type: "string" } } } query: { type: "string" } top_k: { type: "integer" } } } } } } output: { type: "object" required: ["results"] properties: { results: { type: "array" items: { type: "object" required: ["query", "results"] properties: { query: { type: "string" } results: { type: "array" items: { type: "object" required: ["text", "metadata", "score"] properties: { embedding: { type: "array" items: { type: "number" } } id: { type: "string" } metadata: { type: "object" properties: { author: { type: "string" } collection_id: { type: "string" } created_at: { type: "string" } document_id: { type: "string" } keywords: { type: "array" items: { type: "string" } } language: { type: "string" } source: { type: "string" description: "An enumeration." enum: ["email", "web", "file", "chat"] } source_id: { type: "string" } time_period: { type: "string" } updated_at: { type: "string" } url: { type: "string" } user_id: { type: "string" } } } score: { type: "number" } text: { type: "string" } } } } } } } } } }