{"openapi":"3.1.0","components":{"securitySchemes":{"bearerAuth":{"scheme":"bearer","type":"http"}}},"info":{"title":"supermemory API","description":"The Memory API for the AI era. OpenAPI operations include x-codeSamples for the official TypeScript and Python SDKs (Mintlify-compatible).","version":"3.0.0"},"security":[{"bearerAuth":[]}],"servers":[{"description":"Production Server","url":"https://api.supermemory.ai"}],"tags":[{"name":"Ingest","description":"Ingest documents, files, URLs, conversations, and other content"},{"name":"Recall (Search)","description":"Semantic recall across your content — supports memories, hybrid, and documents modes"},{"name":"Profiles","description":"Entity profiles for users, participants, or any entity — includes profile search"},{"name":"Content Management","description":"List, get, update, and delete content and memories"},{"name":"Spaces","description":"Organize content into spaces (container tags)"},{"name":"Knowledge Graph","description":"Knowledge graph and entity relationships"},{"name":"Connections","description":"External service integrations"},{"name":"Settings","description":"Organization settings"},{"name":"Analytics","description":"Usage analytics and insights"},{"name":"Documents","description":"List, get, and search documents"}],"paths":{"/v3/documents":{"post":{"operationId":"postV3Documents","description":"Add a document with any content type (text, url, file, etc.) and metadata","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","required":["id","status"],"properties":{"id":{"type":"string","description":"Unique identifier of the document"},"status":{"type":"string","description":"Status of the document"}},"additionalProperties":false}}},"description":"Document added successfully"},"401":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Internal server error"}},"summary":"Add document","tags":["Ingest"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["content"],"properties":{"content":{"type":"string","description":"The content to extract and process into a document. This can be a URL to a website, a PDF, an image, or a video."},"containerTag":{"type":"string","description":"Optional tag this document should be containerized by. Max 100 characters, alphanumeric with hyphens, underscores, and dots only."},"containerTags":{"type":"array","items":{"type":"string"},"deprecated":true,"hidden":true},"entityContext":{"type":"string","description":"Optional entity context for this container tag. Max 1500 characters. Used during document processing to guide memory extraction.","title":"maxLength(1500)","maxLength":1500},"customId":{"type":"string","description":"Optional custom ID of the document. Max 100 characters, alphanumeric with hyphens, underscores, and dots only."},"metadata":{"type":"object","required":[],"properties":{},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]},"description":"Optional metadata for the document."},"taskType":{"type":"string","enum":["memory","superrag"],"description":"Task type: \"memory\" (default) for full context layer with SuperRAG built in, \"superrag\" for managed RAG as a service."},"filepath":{"type":"string","description":"Optional file path for the document. Used by supermemoryfs to store the full path of the file."},"filterByMetadata":{"type":"object","required":[],"properties":{},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]},"description":"Optional metadata filter to apply when pulling related memories and profile during ingestion. Only memories matching these filters will be used as context."},"dreaming":{"type":"string","enum":["instant","dynamic"],"description":"Processing mode. \"dynamic\" (default) groups related documents together so memories form from coherent, logical units rather than one isolated entry at a time. \"instant\" processes each document on its own right away, and bills one extra operation per document."}},"additionalProperties":false}}}},"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nconst doc = await client.add({\n  content: \"Sarah is being promoted to VP of Product.\",\n  containerTag: \"user_123\",\n  customId: \"chat_session_1\",\n  metadata: { type: \"conversation\" },\n  dreaming: \"instant\",\n});\n\nconsole.log(doc.id, doc.status); // queued → poll until done"},{"lang":"python","label":"Python SDK","source":"from supermemory import Supermemory\n\nclient = Supermemory()  # uses SUPERMEMORY_API_KEY\n\ndoc = client.add(\n    content=\"Sarah is being promoted to VP of Product.\",\n    container_tag=\"user_123\",\n    custom_id=\"chat_session_1\",\n    metadata={\"type\": \"conversation\"},\n    dreaming=\"instant\",\n)\nprint(doc.id, doc.status)"},{"lang":"bash","label":"cURL","source":"curl -X POST \"https://api.supermemory.ai/v3/documents\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"content\": \"Sarah is being promoted to VP of Product.\",\n    \"containerTag\": \"user_123\",\n    \"customId\": \"chat_session_1\",\n    \"metadata\": { \"type\": \"conversation\" },\n    \"dreaming\": \"instant\"\n  }'"}]}},"/v3/documents/batch":{"post":{"operationId":"postV3DocumentsBatch","description":"Add multiple documents in a single request. Each document can have any content type (text, url, file, etc.) and metadata","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","required":["results","failed","success"],"properties":{"results":{"type":"array","items":{"type":"object","required":["id","status"],"properties":{"id":{"type":"string","description":"Unique identifier of the document (empty string for failed items)"},"status":{"type":"string","description":"Status of the document (e.g. 'done', 'queued', 'error')"},"error":{"type":"string","description":"Error message when status is 'error'"},"details":{"type":"string","description":"Additional error details when status is 'error'"}},"additionalProperties":false},"description":"Array of results for each document in the batch"},"failed":{"type":"number","description":"Count of documents that failed to add"},"success":{"type":"number","description":"Count of documents successfully added"}},"additionalProperties":false}}},"description":"Documents added successfully"},"401":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Document token limit reached"},"500":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Internal server error"}},"summary":"Batch add documents","tags":["Ingest"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"containerTag":{"description":"Optional tag this document should be containerized by. This can be an ID for your user, a project ID, or any other identifier you wish to use to group documents.","example":"user_alex","type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$"},"containerTags":{"description":"(DEPRECATED: Use containerTag instead) Optional tags this document should be containerized by. This can be an ID for your user, a project ID, or any other identifier you wish to use to group documents.","deprecated":true,"hidden":true,"type":"array","items":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$"}},"metadata":{"description":"Optional metadata for the document. This is used to store additional information about the document. You can use this to store any additional information you need about the document. Metadata can be filtered through. Keys must be strings and are case sensitive. Values can be strings, numbers, or booleans. You cannot nest objects.","example":{"source":"upload","language":"en"},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"taskType":{"description":"Task type: \"memory\" (default) for full context layer with SuperRAG built in, \"superrag\" for managed RAG as a service.","example":"memory","type":"string","enum":["memory","superrag"]},"filepath":{"description":"Optional file path for the document (e.g., '/documents/reports/file.pdf'). Used by supermemoryfs to map documents to filesystem paths.","example":"/documents/reports/file.pdf","hidden":true,"type":"string"},"filterByMetadata":{"description":"Optional metadata filter scoping which existing memories are pulled as context during ingestion. Scalar values match exactly (AND across keys); array values match ANY (OR within key). Only memories whose source documents match this filter are used as context.","example":{"department":"engineering","region":"us"},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"entityContext":{"description":"Optional entity context for this container tag. Max 1500 characters. Used during document processing to guide memory extraction.","example":"User's name is {XYZ}","type":"string","maxLength":1500},"dreaming":{"description":"Processing mode. \"dynamic\" (default) groups related documents together so memories form from coherent, logical units rather than one isolated entry at a time. \"instant\" processes each document on its own right away, and bills one extra operation per document.","example":"instant","type":"string","enum":["instant","dynamic"]},"documents":{"anyOf":[{"minItems":1,"maxItems":600,"type":"array","items":{"type":"object","properties":{"containerTag":{"description":"Optional tag this document should be containerized by. This can be an ID for your user, a project ID, or any other identifier you wish to use to group documents.","example":"user_alex","type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$"},"containerTags":{"description":"(DEPRECATED: Use containerTag instead) Optional tags this document should be containerized by. This can be an ID for your user, a project ID, or any other identifier you wish to use to group documents.","deprecated":true,"hidden":true,"type":"array","items":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$"}},"content":{"type":"string","description":"The content to extract and process into a document. This can be a URL to a website, a PDF, an image, or a video. \n\nPlaintext: Any plaintext format\n\nURL: A URL to a website, PDF, image, or video\n\nWe automatically detect the content type from the url's response format.","example":"Our API rate limits are 100 req/min on free and 1000 on pro. Clients should use exponential backoff on 429s."},"customId":{"description":"Optional custom ID of the document. This could be an ID from your database that will uniquely identify this document.","example":"doc-api-rate-limits","type":"string"},"metadata":{"description":"Optional metadata for the document. This is used to store additional information about the document. You can use this to store any additional information you need about the document. Metadata can be filtered through. Keys must be strings and are case sensitive. Values can be strings, numbers, or booleans. You cannot nest objects.","example":{"source":"upload","language":"en"},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"taskType":{"description":"Task type: \"memory\" (default) for full context layer with SuperRAG built in, \"superrag\" for managed RAG as a service.","example":"memory","type":"string","enum":["memory","superrag"]},"filepath":{"description":"Optional file path for the document (e.g., '/documents/reports/file.pdf'). Used by supermemoryfs to map documents to filesystem paths.","example":"/documents/reports/file.pdf","hidden":true,"type":"string"},"filterByMetadata":{"description":"Optional metadata filter scoping which existing memories are pulled as context during ingestion. Scalar values match exactly (AND across keys); array values match ANY (OR within key). Only memories whose source documents match this filter are used as context.","example":{"department":"engineering","region":"us"},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"entityContext":{"description":"Optional entity context for this container tag. Max 1500 characters. Used during document processing to guide memory extraction.","example":"User's name is {XYZ}","type":"string","maxLength":1500},"dreaming":{"description":"Processing mode. \"dynamic\" (default) groups related documents together so memories form from coherent, logical units rather than one isolated entry at a time. \"instant\" processes each document on its own right away, and bills one extra operation per document.","example":"instant","type":"string","enum":["instant","dynamic"]}},"required":["content"]}},{"minItems":1,"maxItems":600,"type":"array","items":{"type":"string","description":"The content to extract and process into a document. This can be a URL to a website, a PDF, an image, or a video. \n\nPlaintext: Any plaintext format\n\nURL: A URL to a website, PDF, image, or video\n\nWe automatically detect the content type from the url's response format.","example":"Our API rate limits are 100 req/min on free and 1000 on pro. Clients should use exponential backoff on 429s."}}]},"content":{"type":"null"}},"required":["documents"]}}}},"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nconst res = await client.documents.batchAdd({\n  documents: [\n    {\n      content: \"Q3 roadmap notes\",\n      containerTag: \"user_123\",\n      customId: \"doc_roadmap\",\n    },\n    {\n      content: \"Gift policy for VP promotions\",\n      containerTag: \"user_123\",\n      customId: \"doc_gifts\",\n    },\n  ],\n});\nconsole.log(res);"},{"lang":"python","label":"Python SDK","source":"from supermemory import Supermemory\n\nclient = Supermemory()  # uses SUPERMEMORY_API_KEY\n\nres = client.documents.batch_add(\n    documents=[\n        {\n            \"content\": \"Q3 roadmap notes\",\n            \"container_tag\": \"user_123\",\n            \"custom_id\": \"doc_roadmap\",\n        },\n        {\n            \"content\": \"Gift policy for VP promotions\",\n            \"container_tag\": \"user_123\",\n            \"custom_id\": \"doc_gifts\",\n        },\n    ],\n)\nprint(res)"},{"lang":"bash","label":"cURL","source":"curl -X POST \"https://api.supermemory.ai/v3/documents/batch\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"documents\": [\n      {\n        \"content\": \"Q3 roadmap notes\",\n        \"containerTag\": \"user_123\",\n        \"customId\": \"doc_roadmap\"\n      }\n    ]\n  }'"}]}},"/v3/documents/{id}":{"patch":{"operationId":"patchV3DocumentsById","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"containerTag":{"description":"Optional tag this document should be containerized by. This can be an ID for your user, a project ID, or any other identifier you wish to use to group documents.","example":"user_alex","type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$"},"containerTags":{"description":"(DEPRECATED: Use containerTag instead) Optional tags this document should be containerized by. This can be an ID for your user, a project ID, or any other identifier you wish to use to group documents.","deprecated":true,"hidden":true,"type":"array","items":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$"}},"content":{"type":"string","description":"The content to extract and process into a document. This can be a URL to a website, a PDF, an image, or a video. \n\nPlaintext: Any plaintext format\n\nURL: A URL to a website, PDF, image, or video\n\nWe automatically detect the content type from the url's response format.","example":"Our API rate limits are 100 req/min on free and 1000 on pro. Clients should use exponential backoff on 429s."},"customId":{"description":"Optional custom ID of the document. This could be an ID from your database that will uniquely identify this document.","example":"doc-api-rate-limits","type":"string"},"metadata":{"description":"Optional metadata for the document. This is used to store additional information about the document. You can use this to store any additional information you need about the document. Metadata can be filtered through. Keys must be strings and are case sensitive. Values can be strings, numbers, or booleans. You cannot nest objects.","example":{"source":"upload","language":"en"},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"taskType":{"description":"Task type: \"memory\" (default) for full context layer with SuperRAG built in, \"superrag\" for managed RAG as a service.","example":"memory","type":"string","enum":["memory","superrag"]},"filepath":{"description":"Optional file path for the document (e.g., '/documents/reports/file.pdf'). Used by supermemoryfs to map documents to filesystem paths.","example":"/documents/reports/file.pdf","hidden":true,"type":"string"},"filterByMetadata":{"description":"Optional metadata filter scoping which existing memories are pulled as context during ingestion. Scalar values match exactly (AND across keys); array values match ANY (OR within key). Only memories whose source documents match this filter are used as context.","example":{"department":"engineering","region":"us"},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}}}}}}},"description":"Update a document with any content type (text, url, file, etc.) and metadata","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","required":["id","status"],"properties":{"id":{"type":"string","description":"Unique identifier of the document"},"status":{"type":"string","description":"Status of the document"}},"additionalProperties":false}}},"description":"Document updated successfully"},"401":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Document not found"},"500":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Internal server error"}},"summary":"Update document","tags":["Ingest"],"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nconst updated = await client.documents.update(\"doc_abc123\", {\n  content: \"Updated notes — Sarah is now VP of Product.\",\n  metadata: { type: \"conversation\" },\n});\nconsole.log(updated.id, updated.status);"},{"lang":"python","label":"Python SDK","source":"from supermemory import Supermemory\n\nclient = Supermemory()  # uses SUPERMEMORY_API_KEY\n\nupdated = client.documents.update(\n    \"doc_abc123\",\n    content=\"Updated notes — Sarah is now VP of Product.\",\n)\nprint(updated.id, updated.status)"},{"lang":"bash","label":"cURL","source":"curl -X PATCH \"https://api.supermemory.ai/v3/documents/doc_abc123\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{ \"content\": \"Updated notes — Sarah is now VP of Product.\" }'"}]},"get":{"operationId":"getV3DocumentsById","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"description":"Get a document by ID","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"connectionId":{"anyOf":[{"anyOf":[{"type":"string","minLength":22,"maxLength":22},{"type":"null"}],"description":"Optional ID of connection the document was created from. This is useful for identifying the source of the document.","example":"conn_gdrive_8f2k"},{"type":"null"}]},"content":{"anyOf":[{"type":"string","description":"The content to extract and process into a document. This can be a URL to a website, a PDF, an image, or a video. \n\nPlaintext: Any plaintext format\n\nURL: A URL to a website, PDF, image, or video\n\nWe automatically detect the content type from the url's response format.","examples":["Our API rate limits are 100 req/min on free and 1000 on pro. Clients should use exponential backoff on 429s.","https://docs.example.com/guides/authentication","https://youtube.com/watch?v=dQw4w9WgXcQ","https://example.com/podcasts/episode-42.mp3","https://example.com/reports/q3-summary.pdf","https://example.com/diagrams/architecture.png"]},{"type":"null"}]},"containerTags":{"readOnly":true,"description":"Optional tags this document should be containerized by. This can be an ID for your user, a project ID, or any other identifier you wish to use to group documents.","deprecated":true,"hidden":true,"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","description":"Creation timestamp","example":"1970-01-01T00:00:00.000Z","format":"datetime"},"customId":{"anyOf":[{"type":"string","maxLength":255,"description":"Optional custom ID of the document. This could be an ID from your database that will uniquely identify this document.","example":"doc-api-rate-limits"},{"type":"null"}]},"id":{"type":"string","minLength":22,"maxLength":22,"description":"Unique identifier of the document.","example":"acxV5LHMEsG2hMSNb4umbn"},"metadata":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{}}],"description":"Optional metadata for the document. This is used to store additional information about the document. You can use this to store any additional information you need about the document. Metadata can be filtered through. Keys must be strings and are case sensitive. Values can be strings, numbers, or booleans. You cannot nest objects.","example":{"source":"upload","language":"en"}},{"type":"null"}]},"ogImage":{"anyOf":[{"type":"string"},{"type":"null"}]},"raw":{"anyOf":[{"description":"Raw content of the document","example":"Our API rate limits are 100 req/min on free and 1000 on pro. Clients should use exponential backoff on 429s."},{"type":"null"}]},"source":{"anyOf":[{"type":"string","maxLength":255,"description":"Source of the document","example":"text"},{"type":"null"}]},"taskType":{"type":"string","enum":["memory","superrag"],"description":"Task type: \"memory\" (default) for full context layer with SuperRAG built in, \"superrag\" for managed RAG as a service.","example":"memory"},"status":{"type":"string","enum":["unknown","queued","extracting","chunking","embedding","indexing","done","failed"],"description":"Status of the document","example":"done"},"dreamingStatus":{"type":"string","enum":["dreaming","done"]},"summary":{"anyOf":[{"type":"string","description":"Summary of the document content","example":"API rate limit policy: 100 req/min free, 1000 req/min pro."},{"type":"null"}]},"title":{"anyOf":[{"type":"string","description":"Title of the document","example":"API Rate Limiting Policy"},{"type":"null"}]},"type":{"type":"string","enum":["text","pdf","tweet","google_doc","google_slide","google_sheet","image","video","audio","notion_doc","webpage","onedrive","github_markdown","granola"],"description":"Type of the document","example":"text"},"updatedAt":{"type":"string","description":"Last update timestamp","example":"1970-01-01T00:00:00.000Z","format":"datetime"},"url":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}],"description":"URL of the document","example":"https://docs.example.com/guides/rate-limits"},{"type":"null"}]},"filepath":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["connectionId","content","createdAt","customId","id","metadata","ogImage","raw","source","taskType","status","dreamingStatus","summary","title","type","updatedAt","filepath"],"description":"Document object","example":{"id":"acxV5LHMEsG2hMSNb4umbn","content":"Our API rate limits are 100 req/min on free and 1000 on pro.","title":"API Rate Limiting Policy","summary":"API rate limit policy: 100 req/min free, 1000 req/min pro.","status":"done","type":"text","metadata":{"source":"upload","language":"en"},"createdAt":"2025-04-15T09:30:00.000Z","updatedAt":"2025-04-15T09:31:00.000Z"}}}},"description":"Successfully retrieved document"},"401":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Document not found"},"500":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Internal server error"}},"summary":"Get document","tags":["Documents"],"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nconst doc = await client.documents.get(\"doc_abc123\");\nconsole.log(doc.status); // queued | extracting | … | done | failed"},{"lang":"python","label":"Python SDK","source":"from supermemory import Supermemory\n\nclient = Supermemory()  # uses SUPERMEMORY_API_KEY\n\ndoc = client.documents.get(\"doc_abc123\")\nprint(doc.status)"},{"lang":"bash","label":"cURL","source":"curl \"https://api.supermemory.ai/v3/documents/doc_abc123\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\""}]},"delete":{"operationId":"deleteV3DocumentsById","description":"Delete a document by ID or customId","responses":{"204":{"description":"Document deleted successfully"},"401":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Document not found"},"500":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Internal server error"}},"summary":"Delete document by ID or customId","tags":["Ingest"],"parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nawait client.documents.delete(\"doc_abc123\");\n// or by customId: await client.documents.delete(\"chat_session_1\");"},{"lang":"python","label":"Python SDK","source":"from supermemory import Supermemory\n\nclient = Supermemory()  # uses SUPERMEMORY_API_KEY\n\nclient.documents.delete(\"doc_abc123\")"},{"lang":"bash","label":"cURL","source":"curl -X DELETE \"https://api.supermemory.ai/v3/documents/doc_abc123\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\""}]}},"/v3/documents/file":{"post":{"operationId":"postV3DocumentsFile","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"description":"File to upload and process","format":"binary","type":"string"},"containerTag":{"description":"Optional container tag (e.g., 'user_123'). Use this for a single tag.","example":"user_alex","type":"string"},"containerTags":{"description":"Optional container tags. Can be either a JSON string of an array (e.g., '[\"user_123\", \"project_123\"]') or a single string (e.g., 'user_123'). Single strings will be automatically converted to an array.","deprecated":true,"hidden":true,"type":"string"},"fileType":{"description":"Optional file type override to force specific processing behavior. Valid values: text, pdf, tweet, google_doc, google_slide, google_sheet, image, video, notion_doc, webpage, onedrive","example":"image","hidden":true,"type":"string"},"mimeType":{"description":"Required when fileType is 'image' or 'video'. Specifies the exact MIME type to use (e.g., 'image/png', 'image/jpeg', 'video/mp4', 'video/webm')","hidden":true,"type":"string"},"metadata":{"description":"Optional metadata for the document as a JSON string. This is used to store additional information about the document. Keys must be strings and values can be strings, numbers, or booleans.","example":"{\"category\": \"technology\", \"isPublic\": true, \"readingTime\": 5}","type":"string"},"filterByMetadata":{"description":"Optional metadata filter as a JSON string. Scopes which existing memories are pulled as context during ingestion. Scalar values match exactly (AND across keys); array values match ANY (OR within key).","example":"{\"department\": \"engineering\"}","type":"string"},"filepath":{"description":"Optional file path for the uploaded file (e.g., '/documents/reports/file.pdf'). Used by supermemoryfs to map documents to filesystem paths.","example":"/documents/reports/file.pdf","hidden":true,"type":"string"},"useAdvancedProcessing":{"description":"DEPRECATED: This field is no longer used. Advanced PDF processing is now automatic with our hybrid Mistral OCR + Gemini pipeline. This parameter will be accepted but ignored for backwards compatibility.","example":"true","deprecated":true,"type":"string"},"customId":{"description":"Optional custom ID of the document. Max 100 characters, alphanumeric with hyphens, underscores, and colons only.","example":"mem_abc123","type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$"},"entityContext":{"description":"Optional entity context for this container tag. Max 1500 characters. Used during document processing to guide memory extraction.","example":"User's name is {XYZ}","type":"string","maxLength":1500},"taskType":{"description":"Task type: \"memory\" (default) for full context layer with SuperRAG built in, \"superrag\" for managed RAG as a service.","example":"memory","type":"string","enum":["memory","superrag"]},"dreaming":{"description":"Processing mode. \"dynamic\" (default) groups related documents together so memories form from coherent, logical units rather than one isolated entry at a time. \"instant\" processes each document on its own right away, and bills one extra operation per document.","example":"instant","type":"string","enum":["instant","dynamic"]}},"required":["file"],"description":"File upload form data schema","example":{"file":{},"containerTag":"user"}}}}},"description":"Upload a file to be processed","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","required":["id","status"],"properties":{"id":{"type":"string","description":"Unique identifier of the document"},"status":{"type":"string","description":"Status of the document"}},"additionalProperties":false}}},"description":"Successfully uploaded file"},"401":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Internal server error"}},"summary":"Upload a file","tags":["Ingest"],"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nimport fs from \"fs\";\n\nconst doc = await client.documents.uploadFile({\n  file: fs.createReadStream(\"./handbook.pdf\"),\n  // multipart field; pass a single tag string or JSON array string\n  containerTags: \"user_123\",\n});\n\nconsole.log(doc.id, doc.status);"},{"lang":"python","label":"Python SDK","source":"from supermemory import Supermemory\n\nclient = Supermemory()  # uses SUPERMEMORY_API_KEY\n\nfrom pathlib import Path\n\nwith Path(\"handbook.pdf\").open(\"rb\") as f:\n    doc = client.documents.upload_file(\n        file=f,\n        container_tags=\"user_123\",\n    )\nprint(doc.id, doc.status)"},{"lang":"bash","label":"cURL","source":"curl -X POST \"https://api.supermemory.ai/v3/documents/file\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -F \"file=@./handbook.pdf\" \\\n  -F \"containerTag=user_123\""}]}},"/v3/documents/list":{"post":{"operationId":"postV3DocumentsList","description":"Retrieves a paginated list of documents with their metadata and workflow status","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"memories":{"type":"array","items":{"type":"object","properties":{"connectionId":{"anyOf":[{"anyOf":[{"type":"string","minLength":22,"maxLength":22},{"type":"null"}],"description":"Optional ID of connection the document was created from. This is useful for identifying the source of the document.","example":"conn_gdrive_8f2k"},{"type":"null"}]},"containerTags":{"readOnly":true,"description":"Optional tags this document should be containerized by. This can be an ID for your user, a project ID, or any other identifier you wish to use to group documents.","deprecated":true,"hidden":true,"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","description":"Creation timestamp","example":"1970-01-01T00:00:00.000Z","format":"datetime"},"customId":{"anyOf":[{"type":"string","maxLength":255,"description":"Optional custom ID of the document. This could be an ID from your database that will uniquely identify this document.","example":"doc-api-rate-limits"},{"type":"null"}]},"filepath":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"type":"string","minLength":22,"maxLength":22,"description":"Unique identifier of the document.","example":"acxV5LHMEsG2hMSNb4umbn"},"metadata":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{}}],"description":"Optional metadata for the document. This is used to store additional information about the document. You can use this to store any additional information you need about the document. Metadata can be filtered through. Keys must be strings and are case sensitive. Values can be strings, numbers, or booleans. You cannot nest objects.","example":{"source":"upload","language":"en"}},{"type":"null"}]},"status":{"type":"string","enum":["unknown","queued","extracting","chunking","embedding","indexing","done","failed"],"description":"Status of the document","example":"done"},"summary":{"anyOf":[{"type":"string","description":"Summary of the document content","example":"API rate limit policy: 100 req/min free, 1000 req/min pro."},{"type":"null"}]},"title":{"anyOf":[{"type":"string","description":"Title of the document","example":"API Rate Limiting Policy"},{"type":"null"}]},"type":{"type":"string","enum":["text","pdf","tweet","google_doc","google_slide","google_sheet","image","video","audio","notion_doc","webpage","onedrive","github_markdown","granola"],"description":"Type of the document","example":"text"},"updatedAt":{"type":"string","description":"Last update timestamp","example":"1970-01-01T00:00:00.000Z","format":"datetime"},"url":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}],"description":"URL of the document","example":"https://docs.example.com/guides/rate-limits"},{"type":"null"}]},"content":{"description":"Content of the document (only included when includeContent=true)","example":"This is the content of the document...","type":"string"}},"required":["connectionId","createdAt","customId","filepath","id","metadata","status","summary","title","type","updatedAt"]}},"pagination":{"type":"object","properties":{"currentPage":{"type":"number"},"limit":{"default":10,"type":"number","maximum":1100},"totalItems":{"type":"number"},"totalPages":{"type":"number"}},"required":["currentPage","totalItems","totalPages"],"description":"Pagination metadata","example":{"currentPage":1,"limit":10,"totalItems":100,"totalPages":10}}},"required":["memories","pagination"],"description":"List of documents","example":{"memories":[{"id":"acxV5LHMEsG2hMSNb4umbn","title":"API Rate Limiting Policy","summary":"API rate limit policy: 100 req/min free, 1000 req/min pro.","status":"done","type":"text","createdAt":"2025-04-15T09:30:00.000Z","updatedAt":"2025-04-15T09:31:00.000Z"}],"pagination":{"currentPage":1,"limit":10,"totalItems":100,"totalPages":10}}}}},"description":"Successfully retrieved documents"},"400":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Invalid request"},"401":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Internal server error"}},"summary":"List documents","tags":["Documents"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"containerTags":{"description":"Optional tags this document should be containerized by. This can be an ID for your user, a project ID, or any other identifier you wish to use to group documents.","deprecated":true,"hidden":true,"type":"array","items":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$"}},"filters":{"description":"Optional filters to apply to the search. Can be a JSON string or Query object.","anyOf":[{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}],"description":"A logical filter expression that can combine conditions using AND/OR operations. Supports up to 5 levels of nesting."},"description":"Array of OR filter expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}],"description":"A logical filter expression that can combine conditions using AND/OR operations. Supports up to 5 levels of nesting."},"description":"Array of AND filter expressions"}},"required":["AND"]}]},"includeContent":{"default":false,"description":"Whether to include the content field in the response. Warning: This can make responses significantly larger.","example":false,"type":"boolean"},"limit":{"description":"Number of items per page","example":"10","anyOf":[{"type":"string","pattern":"^\\d+$"},{"type":"number"}]},"order":{"default":"desc","description":"Sort order","example":"desc","type":"string","enum":["asc","desc"]},"page":{"description":"Page number to fetch","example":"1","anyOf":[{"type":"string","pattern":"^\\d+$"},{"type":"number"}]},"sort":{"default":"createdAt","description":"Field to sort by","example":"createdAt","type":"string","enum":["createdAt","updatedAt"]},"filepath":{"description":"Filter documents by filepath. Exact match for full paths, prefix match if ending with /","hidden":true,"type":"string"}},"description":"Query parameters for listing documents","example":{"filters":{"AND":[{"filterType":"metadata","key":"group","negate":false,"value":"jira_users"},{"filterType":"numeric","key":"timestamp","negate":false,"numericOperator":">","value":"1742745777"}]},"limit":10,"order":"desc","page":1,"sort":"createdAt"}}}}},"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nconst page = await client.documents.list({\n  containerTags: [\"user_123\"],\n  limit: 20,\n});\nfor (const doc of page.memories ?? page.documents ?? []) {\n  console.log(doc.id, doc.status);\n}"},{"lang":"python","label":"Python SDK","source":"from supermemory import Supermemory\n\nclient = Supermemory()  # uses SUPERMEMORY_API_KEY\n\npage = client.documents.list(container_tags=[\"user_123\"], limit=20)\nprint(page)"},{"lang":"bash","label":"cURL","source":"curl -X POST \"https://api.supermemory.ai/v3/documents/list\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{ \"containerTags\": [\"user_123\"], \"limit\": 20 }'"}]}},"/v3/documents/processing":{"get":{"operationId":"getV3DocumentsProcessing","description":"Get documents that are currently being processed","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"documents":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":22,"maxLength":22,"description":"Unique identifier of the document.","example":"acxV5LHMEsG2hMSNb4umbn"},"customId":{"anyOf":[{"type":"string","maxLength":255,"description":"Optional custom ID of the document. This could be an ID from your database that will uniquely identify this document.","example":"doc-api-rate-limits"},{"type":"null"}]},"title":{"anyOf":[{"type":"string","description":"Title of the document","example":"API Rate Limiting Policy"},{"type":"null"}]},"type":{"type":"string","enum":["text","pdf","tweet","google_doc","google_slide","google_sheet","image","video","audio","notion_doc","webpage","onedrive","github_markdown","granola"],"description":"Type of the document","example":"text"},"status":{"type":"string","enum":["unknown","queued","extracting","chunking","embedding","indexing","done","failed"],"description":"Status of the document","example":"done"},"createdAt":{"type":"string","description":"Creation timestamp","example":"1970-01-01T00:00:00.000Z","format":"datetime"},"updatedAt":{"type":"string","description":"Last update timestamp","example":"1970-01-01T00:00:00.000Z","format":"datetime"},"metadata":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{}}],"description":"Optional metadata for the document. This is used to store additional information about the document. You can use this to store any additional information you need about the document. Metadata can be filtered through. Keys must be strings and are case sensitive. Values can be strings, numbers, or booleans. You cannot nest objects.","example":{"source":"upload","language":"en"}},{"type":"null"}]},"containerTags":{"readOnly":true,"description":"Optional tags this document should be containerized by. This can be an ID for your user, a project ID, or any other identifier you wish to use to group documents.","deprecated":true,"hidden":true,"type":"array","items":{"type":"string"}}},"required":["id","customId","title","type","status","createdAt","updatedAt","metadata"]}},"totalCount":{"type":"number","description":"Total number of processing documents","example":5}},"required":["documents","totalCount"],"description":"List of documents currently being processed","example":{"documents":[{"id":"doc_123","title":"My Document","type":"text","status":"extracting","createdAt":"2024-12-27T12:00:00Z","updatedAt":"2024-12-27T12:01:00Z"}],"totalCount":5}}}},"description":"Successfully retrieved processing documents"},"401":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Internal server error"}},"summary":"Get processing documents","tags":["Documents"],"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nconst processing = await client.documents.listProcessing();\nconsole.log(processing);"},{"lang":"python","label":"Python SDK","source":"from supermemory import Supermemory\n\nclient = Supermemory()  # uses SUPERMEMORY_API_KEY\n\nprocessing = client.documents.list_processing()\nprint(processing)"},{"lang":"bash","label":"cURL","source":"curl \"https://api.supermemory.ai/v3/documents/processing\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\""}]}},"/v3/documents/{id}/chunks":{"get":{"operationId":"getV3DocumentsByIdChunks","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"description":"Get all chunks for a document, ordered by position","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"documentId":{"type":"string","description":"The document ID"},"chunks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the chunk"},"position":{"type":"number","description":"Sequential position within the document"},"content":{"type":"string","description":"Chunk text content"},"type":{"type":"string","description":"Chunk type (text or image)"},"metadata":{"description":"Optional metadata attached to the chunk","anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"createdAt":{"type":"string","description":"Creation timestamp","format":"datetime"}},"required":["id","position","content","type","createdAt"],"description":"A single chunk of a document"},"description":"Ordered list of chunks"},"total":{"type":"number","description":"Total number of chunks"}},"required":["documentId","chunks","total"],"description":"Response for document chunks endpoint"}}},"description":"Document chunks retrieved successfully"},"401":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Document not found"},"500":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Internal server error"}},"summary":"Get document chunks","tags":["Documents"],"x-codeSamples":[{"lang":"bash","label":"cURL","source":"curl \"https://api.supermemory.ai/v3/documents/doc_abc123/chunks\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\""}]}},"/v3/documents/{id}/file-url":{"get":{"operationId":"getV3DocumentsByIdFileUrl","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"description":"Get a fresh presigned URL for a document's file. Returns a time-limited URL (24h) that can be used to download the file.","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"]}}},"description":"Presigned URL generated successfully"},"401":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Document not found or has no file"}},"summary":"Get presigned file URL","tags":["Documents"],"x-codeSamples":[{"lang":"bash","label":"cURL","source":"curl \"https://api.supermemory.ai/v3/documents/doc_abc123/file-url\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\""}]}},"/v3/documents/bulk":{"delete":{"operationId":"deleteV3DocumentsBulk","description":"Bulk delete documents by IDs or container tags","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Whether the bulk deletion was successful","example":true},"deletedCount":{"type":"number","description":"Number of documents successfully deleted","example":2},"errors":{"description":"Array of errors for documents that couldn't be deleted (only applicable when deleting by IDs)","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"error":{"type":"string"}},"required":["id","error"]}},"containerTags":{"description":"Container tags that were processed (only applicable when deleting by container tags)","deprecated":true,"hidden":true,"type":"array","items":{"type":"string"}}},"required":["success","deletedCount"],"description":"Response for bulk document deletion"}}},"description":"Bulk deletion completed successfully"},"400":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Bad request - either 'ids' or 'containerTags' must be provided"},"401":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message"},"details":{"type":"string","description":"Additional error details"}},"additionalProperties":false}}},"description":"Internal server error"}},"summary":"Bulk delete documents","tags":["Ingest"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"description":"Array of document IDs to delete (max 100 at once)","minItems":1,"maxItems":100,"type":"array","items":{"type":"string"}},"containerTags":{"description":"Array of container tags - all documents in these containers will be deleted","deprecated":true,"hidden":true,"minItems":1,"type":"array","items":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$"}},"filepath":{"description":"Delete documents matching this filepath. Exact match for full paths, prefix match if ending with /","hidden":true,"type":"string"}},"description":"Request body for bulk deleting documents by IDs or container tags","example":{"ids":["acxV5LHMEsG2hMSNb4umbn","bxcV5LHMEsG2hMSNb4umbn"]}}}}},"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nconst res = await client.documents.deleteBulk({\n  ids: [\"doc_abc123\", \"doc_def456\"],\n});\nconsole.log(res);"},{"lang":"python","label":"Python SDK","source":"from supermemory import Supermemory\n\nclient = Supermemory()  # uses SUPERMEMORY_API_KEY\n\nres = client.documents.delete_bulk(ids=[\"doc_abc123\", \"doc_def456\"])\nprint(res)"},{"lang":"bash","label":"cURL","source":"curl -X DELETE \"https://api.supermemory.ai/v3/documents/bulk\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{ \"ids\": [\"doc_abc123\", \"doc_def456\"] }'"}]}},"/v3/search":{"post":{"operationId":"postV3Search","description":"Search memories with advanced filtering","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"chunks":{"type":"array","items":{"type":"object","properties":{"content":{"type":"string","description":"Content of the matching chunk","example":"Rate limit headers are included in every response. Clients should implement exponential backoff when receiving 429 responses."},"isRelevant":{"type":"boolean","description":"Whether this chunk is relevant to the query","example":true},"score":{"type":"number","description":"Similarity score for this chunk","example":0.85,"maximum":1,"minimum":0}},"required":["content","isRelevant","score"],"description":"Matching content chunk","example":{"content":"Rate limit headers are included in every response. Clients should implement exponential backoff when receiving 429 responses.","isRelevant":true,"score":0.85}},"description":"Matching content chunks from the document","example":[{"content":"Rate limit headers are included in every response. Clients should implement exponential backoff when receiving 429 responses.","isRelevant":true,"score":0.85}]},"createdAt":{"type":"string","description":"Document creation date","example":"1970-01-01T00:00:00.000Z","format":"datetime"},"documentId":{"type":"string","description":"ID of the matching document","example":"doc_xyz789"},"metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}],"description":"Document metadata","example":{"source":"upload","language":"en"}},"score":{"type":"number","description":"Relevance score of the match","example":0.95,"maximum":1,"minimum":0},"summary":{"description":"Document summary","example":"API rate limit policy: 100 req/min free, 1000 req/min pro.","anyOf":[{"type":"string"},{"type":"null"}]},"content":{"description":"Full document content (only included when includeFullDocs=true)","example":"Our API rate limits are 100 req/min on free and 1000 on pro. Clients should use exponential backoff on 429s.","anyOf":[{"type":"string"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Document title","example":"API Rate Limiting Policy"},"updatedAt":{"type":"string","description":"Document last update date","example":"1970-01-01T00:00:00.000Z","format":"datetime"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Document type","example":"web"}},"required":["chunks","createdAt","documentId","metadata","score","title","updatedAt","type"]}},"timing":{"type":"number"},"total":{"type":"number"}},"required":["results","timing","total"]}}},"description":"Search results"},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Search quota or credits exhausted"},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Document not found"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Server error"}},"summary":"Search documents","tags":["Documents"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"chunkThreshold":{"description":"Threshold / sensitivity for chunk selection. 0 is least sensitive (returns most chunks, more results), 1 is most sensitive (returns lesser chunks, accurate results)","example":0.5,"maximum":1,"minimum":0,"default":0,"type":"number"},"containerTag":{"description":"Optional single container tag. Use this or containerTags.","example":"user_alex","type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$"},"containerTags":{"description":"Optional tags this search should be containerized by. This can be an ID for your user, a project ID, or any other identifier you wish to use to filter documents.","type":"array","items":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$"}},"docId":{"description":"Optional document ID to search within. You can use this to find chunks in a very large document.","type":"string","maxLength":255},"documentThreshold":{"description":"DEPRECATED: This field is no longer used in v3 search. The search now uses chunkThreshold only. This parameter will be ignored.","maximum":1,"minimum":0,"deprecated":true,"default":0,"type":"number"},"filters":{"description":"Optional filters to apply to the search. Can be a JSON string or Query object.","anyOf":[{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}],"description":"A logical filter expression that can combine conditions using AND/OR operations. Supports up to 5 levels of nesting."},"description":"Array of OR filter expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}],"description":"A logical filter expression that can combine conditions using AND/OR operations. Supports up to 5 levels of nesting."},"description":"Array of AND filter expressions"}},"required":["AND"]}]},"includeFullDocs":{"default":false,"description":"If true, include full document in the response. This is helpful if you want a chatbot to know the full context of the document. ","example":false,"type":"boolean"},"includeSummary":{"default":false,"description":"If true, include document summary in the response. This is helpful if you want a chatbot to know the full context of the document. ","type":"boolean"},"limit":{"default":10,"description":"Maximum number of results to return","example":10,"maximum":100,"minimum":1,"type":"integer","exclusiveMinimum":0},"onlyMatchingChunks":{"default":true,"description":"If true, only return matching chunks without context. Normally, we send the previous and next chunk to provide more context for LLMs. If you only want the matching chunk, set this to true.","type":"boolean"},"q":{"type":"string","minLength":1,"description":"Search query string","example":"what are the API rate limits"},"rerank":{"default":false,"description":"If true, rerank the results based on the query. This is helpful if you want to ensure the most relevant results are returned.","example":false,"type":"boolean"},"rewriteQuery":{"default":false,"description":"If true, rewrites the query to make it easier to find documents. This increases the latency by about 400ms","example":false,"type":"boolean"},"categoriesFilter":{"description":"DEPRECATED: Optional category filters","deprecated":true,"type":"array","items":{"type":"string"}},"filepath":{"description":"Filter search results by filepath. Exact match for full paths, prefix match if ending with /","hidden":true,"type":"string"}},"required":["q"]}}}},"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\n// Document / SuperRAG search (chunk-level)\nconst results = await client.search.documents({\n  q: \"gift policy for VP promotions\",\n  containerTags: [\"user_123\"],\n  limit: 5,\n});\n\nfor (const hit of results.results) {\n  // document hits expose documentId + score (not memory-style id/similarity)\n  console.log(hit.title ?? hit.documentId, hit.score);\n}"},{"lang":"python","label":"Python SDK","source":"from supermemory import Supermemory\n\nclient = Supermemory()  # uses SUPERMEMORY_API_KEY\n\nresults = client.search.documents(\n    q=\"gift policy for VP promotions\",\n    container_tags=[\"user_123\"],\n    limit=5,\n)\nfor hit in results.results:\n    print(getattr(hit, \"title\", None) or hit.document_id, hit.score)"},{"lang":"bash","label":"cURL","source":"curl -X POST \"https://api.supermemory.ai/v3/search\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"q\": \"gift policy for VP promotions\",\n    \"containerTags\": [\"user_123\"],\n    \"limit\": 5\n  }'"}]}},"/v3/settings":{"get":{"operationId":"getV3Settings","description":"Get settings for an organization","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"excludeItems":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{}}]},{"type":"null"}]},"filterPrompt":{"anyOf":[{"type":"string"},{"type":"null"}]},"googleDriveClientId":{"anyOf":[{"type":"string"},{"type":"null"}]},"googleDriveClientSecret":{"anyOf":[{"type":"string"},{"type":"null"}]},"googleDriveCustomKeyEnabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"includeItems":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{}}]},{"type":"null"}]},"notionClientId":{"anyOf":[{"type":"string"},{"type":"null"}]},"notionClientSecret":{"anyOf":[{"type":"string"},{"type":"null"}]},"notionCustomKeyEnabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"onedriveClientId":{"anyOf":[{"type":"string"},{"type":"null"}]},"onedriveClientSecret":{"anyOf":[{"type":"string"},{"type":"null"}]},"onedriveCustomKeyEnabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"githubClientId":{"anyOf":[{"type":"string"},{"type":"null"}]},"githubClientSecret":{"anyOf":[{"type":"string"},{"type":"null"}]},"githubCustomKeyEnabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"shouldLLMFilter":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"chunkSize":{"anyOf":[{"type":"integer","minimum":-2147483648,"maximum":2147483647},{"type":"null"}]},"profileBuckets":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z0-9][a-z0-9_-]*$","description":"Stable slug for the bucket, stored on each memory"},"description":{"default":"","description":"What belongs in this bucket — used to guide the ingestion classifier.","type":"string","maxLength":2000}},"required":["key"],"description":"Definition of a single profile bucket"},"description":"Profile bucket definitions"}}}}},"description":"Settings retrieved successfully"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Internal server error"}},"summary":"Get settings","tags":["Settings"],"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nconst settings = await client.settings.get();\nconsole.log(settings);"},{"lang":"python","label":"Python SDK","source":"from supermemory import Supermemory\n\nclient = Supermemory()  # uses SUPERMEMORY_API_KEY\n\nsettings = client.settings.get()\nprint(settings)"},{"lang":"bash","label":"cURL","source":"curl \"https://api.supermemory.ai/v3/settings\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\""}]},"patch":{"operationId":"patchV3Settings","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"excludeItems":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{}}]},{"type":"null"}]},"filterPrompt":{"anyOf":[{"type":"string"},{"type":"null"}]},"googleDriveClientId":{"anyOf":[{"type":"string"},{"type":"null"}]},"googleDriveClientSecret":{"anyOf":[{"type":"string"},{"type":"null"}]},"googleDriveCustomKeyEnabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"includeItems":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{}}]},{"type":"null"}]},"notionClientId":{"anyOf":[{"type":"string"},{"type":"null"}]},"notionClientSecret":{"anyOf":[{"type":"string"},{"type":"null"}]},"notionCustomKeyEnabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"onedriveClientId":{"anyOf":[{"type":"string"},{"type":"null"}]},"onedriveClientSecret":{"anyOf":[{"type":"string"},{"type":"null"}]},"onedriveCustomKeyEnabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"githubClientId":{"anyOf":[{"type":"string"},{"type":"null"}]},"githubClientSecret":{"anyOf":[{"type":"string"},{"type":"null"}]},"githubCustomKeyEnabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"shouldLLMFilter":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"chunkSize":{"anyOf":[{"type":"integer","minimum":-2147483648,"maximum":2147483647},{"type":"null"}]},"profileBuckets":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z0-9][a-z0-9_-]*$","description":"Stable slug for the bucket, stored on each memory"},"description":{"default":"","description":"What belongs in this bucket — used to guide the ingestion classifier.","type":"string","maxLength":2000}},"required":["key"],"description":"Definition of a single profile bucket"},"description":"Profile bucket definitions"}}}}}},"description":"Update settings for an organization","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"orgId":{"type":"string"},"orgSlug":{"type":"string"},"updated":{"type":"object","properties":{"excludeItems":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{}}]},{"type":"null"}]},"filterPrompt":{"anyOf":[{"type":"string"},{"type":"null"}]},"googleDriveClientId":{"anyOf":[{"type":"string"},{"type":"null"}]},"googleDriveClientSecret":{"anyOf":[{"type":"string"},{"type":"null"}]},"googleDriveCustomKeyEnabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"includeItems":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{}}]},{"type":"null"}]},"notionClientId":{"anyOf":[{"type":"string"},{"type":"null"}]},"notionClientSecret":{"anyOf":[{"type":"string"},{"type":"null"}]},"notionCustomKeyEnabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"onedriveClientId":{"anyOf":[{"type":"string"},{"type":"null"}]},"onedriveClientSecret":{"anyOf":[{"type":"string"},{"type":"null"}]},"onedriveCustomKeyEnabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"githubClientId":{"anyOf":[{"type":"string"},{"type":"null"}]},"githubClientSecret":{"anyOf":[{"type":"string"},{"type":"null"}]},"githubCustomKeyEnabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"shouldLLMFilter":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"chunkSize":{"anyOf":[{"type":"integer","minimum":-2147483648,"maximum":2147483647},{"type":"null"}]},"profileBuckets":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z0-9][a-z0-9_-]*$","description":"Stable slug for the bucket, stored on each memory"},"description":{"default":"","description":"What belongs in this bucket — used to guide the ingestion classifier.","type":"string","maxLength":2000}},"required":["key"],"description":"Definition of a single profile bucket"},"description":"Profile bucket definitions"}}}},"required":["orgId","orgSlug","updated"]}}},"description":"Settings updated successfully"},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Bad request"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Internal server error"}},"summary":"Update settings","tags":["Settings"],"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nconst updated = await client.settings.update({\n  // org customization fields\n});\nconsole.log(updated);"},{"lang":"python","label":"Python SDK","source":"from supermemory import Supermemory\n\nclient = Supermemory()  # uses SUPERMEMORY_API_KEY\n\nupdated = client.settings.update()\nprint(updated)"},{"lang":"bash","label":"cURL","source":"curl -X PATCH \"https://api.supermemory.ai/v3/settings\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{ }'"}]}},"/v3/settings/reset":{"post":{"operationId":"postV3SettingsReset","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"confirmation":{"type":"string","minLength":1}},"required":["confirmation"]}}}},"description":"Reset organization content: removes documents, memories, spaces (except default project), connections, and org settings. Preserves the org, members, and billing.","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","const":true},"deletedConnections":{"type":"number"},"deletedDocumentBatches":{"type":"number"},"deletedDocumentsApprox":{"type":"number"},"deletedMemoryRows":{"type":"number"},"deletedExtraSpaces":{"type":"number"},"clearedDefaultSpaceContext":{"type":"boolean"},"settingsReset":{"type":"boolean"}},"required":["success","deletedConnections","deletedDocumentBatches","deletedDocumentsApprox","deletedMemoryRows","deletedExtraSpaces","clearedDefaultSpaceContext","settingsReset"]}}},"description":"Organization reset completed"},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Bad request"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Internal server error"}},"summary":"Reset organization data","tags":["Settings"],"x-codeSamples":[{"lang":"bash","label":"cURL","source":"curl -X POST \"https://api.supermemory.ai/v3/settings/reset\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{ }'"}]}},"/v3/settings/suggest-buckets":{"post":{"operationId":"postV3SettingsSuggestBuckets","description":"Suggest profile bucket definitions based on the organization context prompt. Returns 3–6 bucket suggestions tailored to the use-case described in the prompt.","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"suggestions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z0-9][a-z0-9_-]*$","description":"Stable slug for the bucket, stored on each memory"},"description":{"default":"","description":"What belongs in this bucket — used to guide the ingestion classifier.","type":"string","maxLength":2000}},"required":["key"],"description":"Definition of a single profile bucket"}}},"required":["suggestions"]}}},"description":"Bucket suggestions generated"},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"No context available"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"}},"summary":"Suggest profile buckets","tags":["Settings"],"x-codeSamples":[{"lang":"bash","label":"cURL","source":"curl -X POST \"https://api.supermemory.ai/v3/settings/suggest-buckets\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{ }'"}]}},"/v3/container-tags/{containerTag}":{"get":{"operationId":"getV3ContainerTagsByContainerTag","description":"Get settings for a container tag","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"containerTag":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$","description":"The container tag identifier","example":"sm_project_default"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Display name for this container tag"},"entityContext":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Custom context prompt for this container tag. Used to provide additional context when processing documents in this container.","example":"This project contains research papers about machine learning."},"memoryFilesystemPaths":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Per-tag allowlist of filesystem paths that trigger memory generation for mount-ingested documents. Docs whose filepath does not match are ingested as 'superrag' (chunked and searchable, no memory extraction).","example":["/memory/","/user.md"],"hidden":true},"profileBuckets":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z0-9][a-z0-9_-]*$","description":"Stable slug for the bucket, stored on each memory"},"description":{"default":"","description":"What belongs in this bucket — used to guide the ingestion classifier.","type":"string","maxLength":2000}},"required":["key"],"description":"Definition of a single profile bucket"},"description":"Container-tag-level buckets added on top of the org buckets (add-only)"},"createdAt":{"type":"string","description":"Creation timestamp","format":"datetime"},"updatedAt":{"type":"string","description":"Last update timestamp","format":"datetime"}},"required":["containerTag","name","entityContext","memoryFilesystemPaths","profileBuckets","createdAt","updatedAt"],"description":"Container tag settings including entity context"}}},"description":"Container tag settings retrieved successfully"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Container tag not found"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Internal server error"}},"summary":"Get container tag settings","tags":["Container Tags"],"parameters":[{"schema":{"type":"string"},"in":"path","name":"containerTag","required":true}],"x-codeSamples":[{"lang":"bash","label":"cURL","source":"curl \"https://api.supermemory.ai/v3/container-tags/user_123\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\""}]},"patch":{"operationId":"patchV3ContainerTagsByContainerTag","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"description":"Display name for this container tag. This does not change the container tag identifier.","example":"Research Notes","minLength":1,"maxLength":100,"type":"string"},"entityContext":{"description":"Custom context prompt for this container tag. Used to provide additional context when processing documents in this container. Maximum 1500 characters.","example":"This project contains research papers about machine learning.","maxLength":1500,"anyOf":[{"type":"string","maxLength":1500},{"type":"null"}]},"memoryFilesystemPaths":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Per-tag allowlist of filesystem paths that trigger memory generation for mount-ingested documents. Docs whose filepath does not match are ingested as 'superrag' (chunked and searchable, no memory extraction).","example":["/memory/","/user.md"],"hidden":true},"profileBuckets":{"description":"Container-tag-level buckets to set (add-only on top of org buckets). Replaces this tag's own bucket list; cannot override or remove org buckets.","maxItems":50,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z0-9][a-z0-9_-]*$","description":"Stable slug for the bucket, stored on each memory"},"description":{"default":"","description":"What belongs in this bucket — used to guide the ingestion classifier.","type":"string","maxLength":2000}},"required":["key"],"description":"Definition of a single profile bucket"}}},"description":"Request body for updating container tag settings"}}}},"description":"Update settings for a container tag","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"containerTag":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$","description":"The container tag identifier","example":"sm_project_default"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Display name for this container tag"},"entityContext":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Custom context prompt for this container tag. Used to provide additional context when processing documents in this container.","example":"This project contains research papers about machine learning."},"memoryFilesystemPaths":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Per-tag allowlist of filesystem paths that trigger memory generation for mount-ingested documents. Docs whose filepath does not match are ingested as 'superrag' (chunked and searchable, no memory extraction).","example":["/memory/","/user.md"],"hidden":true},"profileBuckets":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z0-9][a-z0-9_-]*$","description":"Stable slug for the bucket, stored on each memory"},"description":{"default":"","description":"What belongs in this bucket — used to guide the ingestion classifier.","type":"string","maxLength":2000}},"required":["key"],"description":"Definition of a single profile bucket"},"description":"Container-tag-level buckets added on top of the org buckets (add-only)"},"updatedAt":{"type":"string","description":"Last update timestamp","format":"datetime"}},"required":["containerTag","name","entityContext","memoryFilesystemPaths","profileBuckets","updatedAt"],"description":"Response after updating container tag settings"}}},"description":"Container tag settings updated successfully"},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Bad request"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Container tag not found"}},"summary":"Update container tag settings","tags":["Container Tags"],"parameters":[{"schema":{"type":"string"},"in":"path","name":"containerTag","required":true}],"x-codeSamples":[{"lang":"bash","label":"cURL","source":"curl -X PATCH \"https://api.supermemory.ai/v3/container-tags/user_123\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{ }'"}]},"delete":{"operationId":"deleteV3ContainerTagsByContainerTag","description":"Delete a container tag and all its documents and memories. Only organization owners and admins can perform this action.","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Whether the deletion was successful"},"containerTag":{"type":"string","description":"The deleted container tag"},"deletedDocumentsCount":{"type":"number","description":"Number of documents deleted"},"deletedMemoriesCount":{"type":"number","description":"Number of memories marked as forgotten"}},"required":["success","containerTag","deletedDocumentsCount","deletedMemoriesCount"],"description":"Response after successfully deleting a container tag and all its associated data"}}},"description":"Container tag deleted successfully"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Forbidden - only owners and admins can delete container tags"},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Container tag not found"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Internal server error"}},"summary":"Delete container tag","tags":["Container Tags"],"parameters":[{"schema":{"type":"string"},"in":"path","name":"containerTag","required":true}],"x-codeSamples":[{"lang":"bash","label":"cURL","source":"curl -X DELETE \"https://api.supermemory.ai/v3/container-tags/user_123\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\""}]}},"/v3/container-tags/merge":{"post":{"operationId":"postV3ContainerTagsMerge","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["containerTags","targetContainerTag"],"properties":{"containerTags":{"type":"array","items":{"type":"string"},"description":"List of container tags to merge (min: 2, max: 2). All documents from these tags will be merged into the target."},"targetContainerTag":{"type":"string"}},"additionalProperties":false}}}},"description":"Merge multiple container tags into a target tag. All documents from the source tags will be updated to reference the target tag, and the source tags will be deleted after successful merge.","responses":{"202":{"content":{"application/json":{"schema":{"type":"object","required":["success","status","mergeId","targetTag","sourceTags"],"properties":{"success":{"type":"boolean","description":"Whether the merge job was queued successfully."},"status":{"type":"string","enum":["queued"],"description":"The queued status of the merge job."},"mergeId":{"type":"string","description":"Identifier for the queued merge job."},"targetTag":{"type":"string","description":"The target container tag that documents will be merged into."},"sourceTags":{"type":"array","items":{"type":"string"},"description":"List of source container tags queued for merge."}},"additionalProperties":false}}},"description":"Merge queued successfully"},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Bad request (e.g., invalid parameters)"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Forbidden - Only organization admins and owners can merge container tags"},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"One or more container tags not found"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Internal server error"}},"summary":"Merge container tags","tags":["Container Tags"],"x-codeSamples":[{"lang":"bash","label":"cURL","source":"curl -X POST \"https://api.supermemory.ai/v3/container-tags/merge\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{ \"from\": \"user_old\", \"to\": \"user_123\" }'"}]}},"/v3/container-tags/merge/{mergeId}":{"get":{"operationId":"getV3ContainerTagsMergeByMergeId","description":"Get queued container tag merge status","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]}}},"description":"Merge job status"},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Merge job not found"}},"summary":"Get container tag merge status","tags":["Container Tags"],"parameters":[{"schema":{"type":"string"},"in":"path","name":"mergeId","required":true}],"x-codeSamples":[{"lang":"bash","label":"cURL","source":"curl \"https://api.supermemory.ai/v3/container-tags/merge/merge_abc\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\""}]}},"/v4/memories":{"post":{"operationId":"postV4Memories","description":"Create memories directly, bypassing the document ingestion workflow. Generates embeddings and makes them immediately searchable.","responses":{"201":{"content":{"application/json":{"schema":{"type":"object","properties":{"documentId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ID of the source document created"},"memories":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"memory":{"type":"string"},"isStatic":{"type":"boolean"},"createdAt":{"type":"string"},"forgetAfter":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO datetime when this memory expires"},"forgetReason":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Reason for scheduled forgetting"},"metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}],"description":"Arbitrary key-value metadata attached to this memory, or null if none was provided"}},"required":["id","memory","isStatic","createdAt","forgetAfter","forgetReason","metadata"]}}},"required":["documentId","memories"],"description":"Response after creating memories"}}},"description":"Memories created successfully"},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Invalid request"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Space not found for the given containerTag"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Server error"}},"summary":"Create memories directly","tags":["Content Management"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"memories":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":10000,"description":"The memory text. Should be entity-centric, e.g. 'John prefers dark mode'.","example":"John prefers dark mode"},"isStatic":{"description":"Mark as true for permanent traits (name, profession, hometown). Defaults to false.","example":false,"type":"boolean"},"metadata":{"description":"Arbitrary key-value metadata to attach.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"forgetAfter":{"description":"ISO 8601 datetime string. The memory will be auto-forgotten after this time. Pass null or omit for no expiry.","format":"datetime","example":"2026-06-01T00:00:00Z","anyOf":[{"type":"string"},{"type":"null"}]},"forgetReason":{"description":"Optional reason for the scheduled forgetting. Only meaningful when forgetAfter is set.","example":"temporary project deadline","anyOf":[{"type":"string"},{"type":"null"}]},"temporalContext":{"description":"Structured temporal metadata. Merged into the metadata JSON column.","type":"object","properties":{"documentDate":{"description":"Date the document was authored","format":"datetime","anyOf":[{"type":"string"},{"type":"null"}]},"eventDate":{"description":"Dates of events referenced in the memory","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}}}},"required":["content"]},"description":"Array of memories to create"},"containerTag":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$","description":"The space / container tag these memories belong to.","example":"user_123"}},"required":["memories","containerTag"]}}}},"x-codeSamples":[{"lang":"bash","label":"cURL","source":"curl -X POST \"https://api.supermemory.ai/v4/memories\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"memories\": [\n      { \"content\": \"John prefers dark mode\", \"isStatic\": false },\n      { \"content\": \"John is from Seattle\", \"isStatic\": true }\n    ],\n    \"containerTag\": \"user_123\"\n  }'"}]},"delete":{"operationId":"deleteV4Memories","description":"Forget (soft delete) a memory entry. The memory is marked as forgotten but not permanently deleted.","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"ID of the memory that was forgotten","example":"mem_abc123"},"forgotten":{"type":"boolean","description":"Indicates the memory was successfully forgotten","example":true}},"required":["id","forgotten"],"description":"Response after forgetting a memory"}}},"description":"Memory forgotten successfully"},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Invalid request - missing id or content"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Memory not found"},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Memory already forgotten"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Server error"}},"summary":"Forget a memory","tags":["Content Management"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"id":{"description":"ID of the memory entry to operate on","example":"mem_abc123","type":"string"},"content":{"description":"Exact content match of the memory entry to operate on. Use this when you don't have the ID.","example":"John prefers dark mode","type":"string"},"containerTag":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$","description":"Container tag / space identifier. Required to scope the operation.","example":"user_123"}},"required":["containerTag"]},{"type":"object","properties":{"reason":{"description":"Optional reason for forgetting this memory","example":"outdated information","type":"string"}}}]}}}},"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nconst res = await client.memories.forget({\n  id: \"mem_abc123\",\n  containerTag: \"user_123\",\n});\nconsole.log(res);"},{"lang":"python","label":"Python SDK","source":"from supermemory import Supermemory\n\nclient = Supermemory()  # uses SUPERMEMORY_API_KEY\n\nres = client.memories.forget(\n    id=\"mem_abc123\",\n    container_tag=\"user_123\",\n)\nprint(res)"},{"lang":"bash","label":"cURL","source":"curl -X DELETE \"https://api.supermemory.ai/v4/memories\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{ \"id\": \"mem_abc123\", \"containerTag\": \"user_123\" }'"}]},"patch":{"operationId":"patchV4Memories","description":"Update a memory by creating a new version. The original memory is preserved with isLatest=false.","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"ID of the newly created memory version","example":"mem_xyz789"},"memory":{"type":"string","description":"The content of the new memory version","example":"John now prefers light mode"},"version":{"type":"number","description":"Version number of this memory entry","example":2},"parentMemoryId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ID of the memory this version updates","example":"mem_abc123"},"rootMemoryId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ID of the first memory in this version chain","example":"mem_abc123"},"createdAt":{"type":"string","description":"When this memory version was created","format":"datetime"},"forgetAfter":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"When this memory will be auto-forgotten, or null if no expiry","format":"datetime"},"forgetReason":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Reason for the scheduled forgetting, or null"},"metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}],"description":"Arbitrary key-value metadata attached to this memory, or null if none was provided"}},"required":["id","memory","version","parentMemoryId","rootMemoryId","createdAt","forgetAfter","forgetReason","metadata"],"description":"Response after updating a memory"}}},"description":"Memory updated successfully"},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Invalid request - missing required fields"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Memory not found"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Server error"}},"summary":"Update a memory (creates new version)","tags":["Content Management"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"id":{"description":"ID of the memory entry to operate on","example":"mem_abc123","type":"string"},"content":{"description":"Exact content match of the memory entry to operate on. Use this when you don't have the ID.","example":"John prefers dark mode","type":"string"},"containerTag":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$","description":"Container tag / space identifier. Required to scope the operation.","example":"user_123"}},"required":["containerTag"]},{"type":"object","properties":{"newContent":{"type":"string","minLength":1,"description":"The new content that will replace the existing memory","example":"John now prefers light mode"},"metadata":{"description":"Optional metadata. If not provided, inherits from the previous version.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"forgetAfter":{"description":"ISO 8601 datetime string. The memory will be auto-forgotten after this time. Pass null to clear an existing expiry. Omit to inherit from the previous version.","format":"datetime","example":"2026-06-01T00:00:00Z","anyOf":[{"type":"string"},{"type":"null"}]},"forgetReason":{"description":"Optional reason for the scheduled forgetting. Cleared automatically when forgetAfter is set to null.","example":"temporary project deadline","anyOf":[{"type":"string"},{"type":"null"}]},"temporalContext":{"description":"Structured temporal metadata. Merged into the metadata JSON column. If omitted, existing temporalContext is preserved.","type":"object","properties":{"documentDate":{"description":"Date the document was authored","format":"datetime","anyOf":[{"type":"string"},{"type":"null"}]},"eventDate":{"description":"Dates of events referenced in the memory","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}}}},"required":["newContent"]}]}}}},"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nconst updated = await client.memories.updateMemory({\n  id: \"mem_abc123\",\n  containerTag: \"user_123\",\n  newContent: \"John now prefers light mode\",\n});\nconsole.log(updated);"},{"lang":"python","label":"Python SDK","source":"from supermemory import Supermemory\n\nclient = Supermemory()  # uses SUPERMEMORY_API_KEY\n\nupdated = client.memories.update_memory(\n    id=\"mem_abc123\",\n    container_tag=\"user_123\",\n    new_content=\"John now prefers light mode\",\n)\nprint(updated)"},{"lang":"bash","label":"cURL","source":"curl -X PATCH \"https://api.supermemory.ai/v4/memories\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"id\": \"mem_abc123\",\n    \"containerTag\": \"user_123\",\n    \"newContent\": \"John now prefers light mode\"\n  }'"}]}},"/v4/memories/forget-matching":{"post":{"operationId":"postV4MemoriesForgetMatching","description":"Agentic mass-forget. Given a prompt or query, a tool-calling agent searches the container's memories and soft-deletes everything matching the target. Use dryRun to preview first.","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"dryRun":{"type":"boolean","description":"Whether this was a preview (no mutation) or a real forget"},"count":{"type":"number","description":"Number of memories selected / forgotten"},"forgetBatchId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ID tagged on every memory forgotten in this call (null on dryRun)"},"summary":{"type":"string","description":"The agent's one-line summary of what it did"},"candidates":{"description":"On dryRun: the memories that would be forgotten","type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Memory ID"},"memory":{"type":"string","description":"Memory content"},"score":{"type":"number","description":"Similarity score against the forget query"}},"required":["id","memory","score"]}},"forgotten":{"description":"On apply: the memories that were forgotten","type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Memory ID"},"memory":{"type":"string","description":"Memory content"},"score":{"type":"number","description":"Similarity score against the forget query"}},"required":["id","memory","score"]}}},"required":["dryRun","count","forgetBatchId","summary"],"description":"Response after an agentic mass-forget"}}},"description":"Forget operation completed (or previewed)"},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Invalid request"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Server error"}},"summary":"Forget memories matching a prompt/query","tags":["Content Management"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":2000,"description":"Natural-language instruction ('forget everything about Project Titan') or a bare topic ('Project Titan'). An agent searches the container's memories and selects matches to forget.","example":"forget everything about Project Titan"},"containerTag":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$","description":"Container tag / space the forget operation is scoped to.","example":"user_123"},"dryRun":{"default":false,"description":"When true, returns the memories that WOULD be forgotten without mutating anything. Defaults to false (forgets for real).","example":false,"type":"boolean"},"threshold":{"default":0.5,"description":"Minimum cosine similarity a memory must have to be considered. Lower = wider net. Defaults to 0.5.","example":0.5,"type":"number","minimum":0,"maximum":1},"maxForget":{"default":100,"description":"Maximum number of memories this call may forget. Defaults to 100, max 500.","example":100,"type":"integer","minimum":1,"maximum":500},"reason":{"description":"Optional reason stored as forgetReason on each memory.","example":"project cancelled","type":"string"}},"required":["query","containerTag"]}}}},"x-codeSamples":[{"lang":"bash","label":"cURL","source":"curl -X POST \"https://api.supermemory.ai/v4/memories/forget-matching\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"containerTag\": \"user_123\",\n    \"q\": \"outdated product preferences\"\n  }'"}]}},"/v4/memories/list":{"post":{"operationId":"postV4MemoriesList","description":"List all latest memory entries from specified container tags with their update history and source documents","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"memoryEntries":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the memory entry"},"memory":{"type":"string","description":"The memory content/text"},"version":{"type":"number","description":"Version number of this memory"},"isLatest":{"type":"boolean","description":"Whether this is the latest version"},"isForgotten":{"type":"boolean","description":"Whether this memory has been forgotten"},"isStatic":{"type":"boolean","description":"Whether this is a static profile memory"},"isInference":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Whether this is an inferred memory"},"createdAt":{"type":"string","description":"ISO timestamp of creation"},"updatedAt":{"type":"string","description":"ISO timestamp of last update"},"spaceId":{"type":"string","description":"ID of the space this memory belongs to"},"orgId":{"type":"string","description":"Organization ID"},"sourceCount":{"type":"number","description":"Number of source documents for this memory"},"parentMemoryId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ID of the parent memory (previous version)"},"rootMemoryId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ID of the root memory (first version)"},"forgetAfter":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO timestamp when memory should be forgotten"},"forgetReason":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Reason for forgetting"},"metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}],"description":"Metadata including temporal context and other information"},"memoryRelations":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","enum":["updates","extends","derives"]}},{"type":"null"}],"description":"Relations to other memories"},"temporalContext":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}],"description":"Temporal context metadata (alias for metadata field)"},"history":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"memory":{"type":"string"},"version":{"type":"number"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"parentMemoryId":{"anyOf":[{"type":"string"},{"type":"null"}]},"rootMemoryId":{"anyOf":[{"type":"string"},{"type":"null"}]},"isLatest":{"type":"boolean"},"isForgotten":{"type":"boolean"}},"required":["id","memory","version","createdAt","updatedAt","parentMemoryId","rootMemoryId","isLatest","isForgotten"],"description":"Historical version of a memory entry"},"description":"Previous versions of this memory"},"documentIds":{"type":"array","items":{"type":"string"},"description":"IDs of source documents for this memory"}},"required":["id","memory","version","isLatest","isForgotten","isStatic","isInference","createdAt","updatedAt","spaceId","orgId","sourceCount","parentMemoryId","rootMemoryId","forgetAfter","forgetReason","metadata","memoryRelations","temporalContext","history","documentIds"],"description":"Memory entry with history and document references"}},"pagination":{"type":"object","properties":{"currentPage":{"type":"number"},"limit":{"default":10,"type":"number","maximum":1100},"totalItems":{"type":"number"},"totalPages":{"type":"number"}},"required":["currentPage","totalItems","totalPages"],"description":"Pagination metadata","example":{"currentPage":1,"limit":10,"totalItems":100,"totalPages":10}}},"required":["memoryEntries","pagination"],"description":"List of memory entries with their history and source documents"}}},"description":"Successfully retrieved memory entries"},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Bad request - containerTags are required"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Internal server error"}},"summary":"List memory entries with history","tags":["Content Management"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"containerTags":{"minItems":1,"type":"array","items":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$"},"description":"Container tags to filter memory entries. At least one tag is required."},"filters":{"description":"Optional filters to apply to the search. Can be a JSON string or Query object.","anyOf":[{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}],"description":"A logical filter expression that can combine conditions using AND/OR operations. Supports up to 5 levels of nesting."},"description":"Array of OR filter expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}],"description":"A logical filter expression that can combine conditions using AND/OR operations. Supports up to 5 levels of nesting."},"description":"Array of AND filter expressions"}},"required":["AND"]}]},"limit":{"description":"Number of items per page","example":"10","anyOf":[{"type":"string","pattern":"^\\d+$"},{"type":"number"}]},"order":{"default":"desc","description":"Sort order","example":"desc","type":"string","enum":["asc","desc"]},"page":{"description":"Page number to fetch","example":"1","anyOf":[{"type":"string","pattern":"^\\d+$"},{"type":"number"}]},"sort":{"default":"createdAt","description":"Field to sort by","example":"createdAt","type":"string","enum":["createdAt","updatedAt"]}},"required":["containerTags"],"description":"Query parameters for listing memory entries with history"}}}},"x-codeSamples":[{"lang":"bash","label":"cURL","source":"curl -X POST \"https://api.supermemory.ai/v4/memories/list\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{ \"containerTag\": \"user_123\", \"limit\": 20 }'"}]}},"/v4/profile":{"post":{"operationId":"postV4Profile","description":"Get user profile with optional search results","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"profile":{"type":"object","properties":{"static":{"description":"Static profile information that remains relevant long-term","type":"array","items":{"type":"string"}},"dynamic":{"description":"Dynamic profile information (recent memories)","type":"array","items":{"type":"string"}},"buckets":{"description":"Per-bucket memory lists, keyed by bucket key","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"string"}}}}},"searchResults":{"description":"Search results if a search query was provided","type":"object","properties":{"results":{"type":"array","items":{},"description":"Search results for the provided query"},"total":{"type":"number","description":"Total number of search results"},"timing":{"type":"number","description":"Search timing in milliseconds"}},"required":["results","total","timing"]}},"required":["profile"]}}},"description":"User profile with optional search results"},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Search quota or credits exhausted (when search query is provided)"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Server error"}},"summary":"Get user profile","tags":["Profiles"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"q":{"description":"Optional search query to include search results in the response","type":"string"},"containerTag":{"type":"string","description":"Tag to filter the profile by. This can be an ID for your user, a project ID, or any other identifier you wish to use to filter memories."},"threshold":{"description":"Threshold for search results. Only results with a score above this threshold will be included.","type":"number","minimum":0,"maximum":1},"filters":{"description":"Optional metadata filters to apply to profile results and search results. Supports complex AND/OR queries with multiple conditions.","anyOf":[{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}],"description":"A logical filter expression that can combine conditions using AND/OR operations. Supports up to 5 levels of nesting."},"description":"Array of OR filter expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}],"description":"A logical filter expression that can combine conditions using AND/OR operations. Supports up to 5 levels of nesting."},"description":"Array of AND filter expressions"}},"required":["AND"]}]},"include":{"description":"Profile sections to return. Omit to return all sections. Pass a subset to reduce payload — e.g. [\"buckets\"] skips static and dynamic entirely.","type":"array","items":{"type":"string","enum":["static","dynamic","buckets"]}},"buckets":{"description":"Specific bucket keys to return. Omit to return all configured buckets. Only relevant when \"buckets\" is included.","type":"array","items":{"type":"string"}}},"required":["containerTag"]}}}},"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nconst { profile } = await client.profile({\n  containerTag: \"user_123\",\n});\n\nconsole.log(profile.static);  // long-term facts\nconsole.log(profile.dynamic); // recent context"},{"lang":"python","label":"Python SDK","source":"from supermemory import Supermemory\n\nclient = Supermemory()  # uses SUPERMEMORY_API_KEY\n\nresult = client.profile(container_tag=\"user_123\")\nprint(result.profile.static)\nprint(result.profile.dynamic)"},{"lang":"bash","label":"cURL","source":"curl -X POST \"https://api.supermemory.ai/v4/profile\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{ \"containerTag\": \"user_123\" }'"}]}},"/v4/profile/buckets":{"post":{"operationId":"postV4ProfileBuckets","description":"Returns the effective profile bucket definitions for a given container tag — org-level buckets merged with any container-tag-level additions.","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"buckets":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"description":{"type":"string"}},"required":["key","description"]}}},"required":["buckets"]}}},"description":"Effective bucket definitions"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"}},"summary":"Get profile buckets","tags":["Profiles"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"containerTag":{"type":"string","description":"Tag to resolve effective bucket definitions for. Can be a user ID, project ID, or any identifier used to scope memories."}},"required":["containerTag"]}}}},"x-codeSamples":[{"lang":"bash","label":"cURL","source":"curl -X POST \"https://api.supermemory.ai/v4/profile/buckets\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{ \"containerTag\": \"user_123\" }'"},{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nconst res = await fetch(\"https://api.supermemory.ai/v4/profile/buckets\", {\n  method: \"POST\",\n  headers: {\n    Authorization: `Bearer ${process.env.SUPERMEMORY_API_KEY}`,\n    \"Content-Type\": \"application/json\",\n  },\n  body: JSON.stringify({ containerTag: \"user_123\" }),\n});\nconst data = await res.json();\nconsole.log(data);"}]}},"/v4/search":{"post":{"operationId":"postV4Search","description":"Search memory entries - Low latency for conversational","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Memory entry ID or chunk ID","example":"mem_abc123"},"memory":{"description":"The memory content (only present for memory results)","example":"The user prefers detailed API responses over minimal ones.","type":"string"},"chunk":{"description":"The chunk content (only present for chunk results from hybrid search)","example":"This is a chunk of content from a document...","type":"string"},"metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}],"description":"Memory metadata","example":{"source":"conversation","confidence":0.9}},"updatedAt":{"type":"string","description":"Memory last update date","format":"datetime"},"similarity":{"type":"number","description":"Similarity score between the query and memory entry","example":0.89,"maximum":1,"minimum":0},"filepath":{"description":"Filepath of the source document this memory or chunk came from","hidden":true,"anyOf":[{"type":"string"},{"type":"null"}]},"version":{"description":"Version number of this memory entry","example":3,"anyOf":[{"type":"number"},{"type":"null"}]},"context":{"description":"Object containing version history (parents/children via updates) and related memories (extends/derives)","type":"object","properties":{"parents":{"type":"array","items":{"type":"object","properties":{"relation":{"type":"string","enum":["updates","extends","derives"],"description":"Relation type between this memory and its parent/child","example":"updates"},"version":{"description":"Relative version distance from the primary memory (-1 for direct parent, -2 for grand-parent, etc.)","example":-1,"anyOf":[{"type":"number"},{"type":"null"}]},"memory":{"type":"string","description":"The contextual memory content","example":"Earlier version: API rate limit is 50 req/min on the free tier."},"metadata":{"description":"Contextual memory metadata","anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"updatedAt":{"type":"string","description":"Contextual memory last update date","format":"datetime"}},"required":["relation","memory","updatedAt"]}},"children":{"type":"array","items":{"type":"object","properties":{"relation":{"type":"string","enum":["updates","extends","derives"],"description":"Relation type between this memory and its parent/child","example":"extends"},"version":{"description":"Relative version distance from the primary memory (+1 for direct child, +2 for grand-child, etc.)","example":1,"anyOf":[{"type":"number"},{"type":"null"}]},"memory":{"type":"string","description":"The contextual memory content","example":"Later version: API rate limit increased to 100 req/min on the free tier."},"metadata":{"description":"Contextual memory metadata","anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"updatedAt":{"type":"string","description":"Contextual memory last update date","format":"datetime"}},"required":["relation","memory","updatedAt"]}},"related":{"type":"array","items":{"type":"object","properties":{"relation":{"type":"string","enum":["extends","derives"],"description":"Relation type"},"memory":{"type":"string","description":"The related memory content"},"metadata":{"description":"Related memory metadata","anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"updatedAt":{"type":"string","description":"Related memory last update date"}},"required":["relation","memory","updatedAt"]}}}},"documents":{"description":"Associated documents for this memory entry","type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Document ID","example":"doc_xyz789"},"title":{"description":"Document title (only included when documents=true)","example":"API Rate Limiting Policy","type":"string"},"type":{"description":"Document type (only included when documents=true)","example":"web","type":"string"},"metadata":{"description":"Document metadata (only included when documents=true)","example":{"source":"upload","language":"en"},"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"summary":{"description":"Document summary (only included when summaries=true)","example":"API rate limit policy: 100 req/min free, 1000 req/min pro.","anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string","description":"Document creation date","format":"datetime"},"updatedAt":{"type":"string","description":"Document last update date","format":"datetime"}},"required":["id","createdAt","updatedAt"]}},"chunks":{"description":"Relevant chunks from associated documents (only included when chunks=true)","type":"array","items":{"type":"object","properties":{"content":{"type":"string","description":"Content of the chunk","example":"This is a chunk of content from the document..."},"score":{"type":"number","description":"Similarity score between the query and chunk","example":0.85,"maximum":1,"minimum":0},"position":{"type":"number","description":"Position of chunk in the document (0-indexed)","example":0},"documentId":{"type":"string","description":"ID of the document this chunk belongs to","example":"doc_xyz789"}},"required":["content","score","position","documentId"]}},"isAggregated":{"description":"Indicates if this memory was created by aggregating multiple source memories","example":false,"type":"boolean"}},"required":["id","metadata","updatedAt","similarity"]},"description":"Array of matching memory entries and chunks with similarity scores. Contains memory results when searchMode='memories', both memory and chunk results when searchMode='hybrid', or only chunk results when searchMode='documents'. Memory results have 'memory' field, chunk results have 'chunk' field. BACKWARD COMPATIBILITY: When using deprecated include.chunks=true, only memory results are returned with chunks embedded in them (old format)."},"timing":{"type":"number","description":"Search execution time in milliseconds","example":245},"total":{"type":"number","description":"Total number of results returned","example":5}},"required":["results","timing","total"]}}},"description":"Memory search results"},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Search quota or credits exhausted"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Server error"}},"summary":"Search memory entries","tags":["Recall (Search)"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"containerTag":{"description":"Optional tag this search should be containerized by. This can be an ID for your user, a project ID, or any other identifier you wish to use to filter memories.","example":"user_alex","type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$"},"threshold":{"description":"Threshold / sensitivity for memories selection. 0 is least sensitive (returns most memories, more results), 1 is most sensitive (returns lesser memories, accurate results)","example":0.5,"maximum":1,"minimum":0,"default":0.6,"type":"number"},"filters":{"description":"Optional filters to apply to the search. Can be a JSON string or Query object.","anyOf":[{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}],"description":"A logical filter expression that can combine conditions using AND/OR operations. Supports up to 5 levels of nesting."},"description":"Array of OR filter expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"OR: Array of conditions or nested expressions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},{"type":"object","properties":{"OR":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"OR: Array of conditions"}},"required":["OR"]},{"type":"object","properties":{"AND":{"type":"array","items":{"type":"object","properties":{"filterType":{"default":"metadata","type":"string","enum":["metadata","numeric","array_contains","string_contains"]},"key":{"type":"string"},"negate":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"ignoreCase":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"numericOperator":{"default":"=","type":"string","enum":[">","<",">=","<=","="]},"value":{"type":"string"}},"required":["key","value"],"description":"A single filter condition based on metadata, numeric values, array contents, or string matching"},"description":"AND: Array of conditions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}]},"description":"AND: Array of conditions or nested expressions"}},"required":["AND"]}],"description":"A logical filter expression that can combine conditions using AND/OR operations. Supports up to 5 levels of nesting."},"description":"Array of AND filter expressions"}},"required":["AND"]}]},"include":{"default":{"documents":false,"summaries":false,"relatedMemories":false,"forgottenMemories":false,"chunks":false},"type":"object","properties":{"documents":{"default":false,"type":"boolean"},"summaries":{"default":false,"type":"boolean"},"relatedMemories":{"default":false,"type":"boolean"},"forgottenMemories":{"default":false,"description":"If true, include forgotten memories in search results. Forgotten memories are memories that have been explicitly forgotten or have passed their expiration date.","example":false,"type":"boolean"},"chunks":{"default":false,"description":"DEPRECATED: Use searchMode='hybrid' instead. If true, automatically switches to hybrid mode. This field is kept for backward compatibility only.","example":false,"deprecated":true,"type":"boolean"}}},"limit":{"default":10,"description":"Maximum number of results to return","example":10,"maximum":100,"minimum":1,"type":"integer","exclusiveMinimum":0},"q":{"type":"string","minLength":1,"description":"Search query string","example":"what are the API rate limits"},"rerank":{"default":false,"description":"If true, rerank the results based on the query. This is helpful if you want to ensure the most relevant results are returned.","example":false,"type":"boolean"},"aggregate":{"default":false,"description":"If true, aggregates information from multiple memories to create new synthesized memories. The result will be a mix of aggregated and non-aggregated memories, reranked by relevance to the query. Works in conjunction with reranking.","example":false,"type":"boolean"},"rewriteQuery":{"default":false,"description":"If true, rewrites the query to make it easier to find documents. This increases the latency by about 400ms","example":false,"type":"boolean"},"searchMode":{"default":"memories","description":"Search mode. 'memories' searches only memory entries (default). 'hybrid' searches both memories and document chunks. 'documents' searches only document chunks.","example":"memories","type":"string","enum":["memories","hybrid","documents"]},"filepath":{"description":"Filter search results by filepath. Exact match for full paths, prefix match if ending with /","hidden":true,"type":"string"}},"required":["q"]}}}},"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nconst results = await client.search.memories({\n  q: \"gift ideas for a VP promotion after a Tokyo offsite\",\n  containerTag: \"user_123\",\n  searchMode: \"hybrid\", // memories | documents | hybrid\n  limit: 5,\n  include: { relatedMemories: true },\n});\n\nfor (const hit of results.results) {\n  console.log(hit.memory ?? hit.chunk, hit.similarity);\n}"},{"lang":"python","label":"Python SDK","source":"from supermemory import Supermemory\n\nclient = Supermemory()  # uses SUPERMEMORY_API_KEY\n\nresults = client.search.memories(\n    q=\"gift ideas for a VP promotion after a Tokyo offsite\",\n    container_tag=\"user_123\",\n    search_mode=\"hybrid\",  # memories | documents | hybrid\n    limit=5,\n    include={\"related_memories\": True},\n)\n\nfor hit in results.results:\n    print(getattr(hit, \"memory\", None) or getattr(hit, \"chunk\", None), hit.similarity)"},{"lang":"bash","label":"cURL","source":"curl -X POST \"https://api.supermemory.ai/v4/search\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"q\": \"gift ideas for a VP promotion after a Tokyo offsite\",\n    \"containerTag\": \"user_123\",\n    \"searchMode\": \"hybrid\",\n    \"limit\": 5,\n    \"include\": { \"relatedMemories\": true }\n  }'"}]}},"/v4/conversations":{"post":{"operationId":"postV4Conversations","description":"Ingest or update a conversation","responses":{"200":{"description":"Conversation ingested/updated successfully"},"400":{"description":"Invalid request parameters"},"401":{"description":"Unauthorized"},"402":{"description":"Quota exceeded"},"500":{"description":"Internal server error"}},"summary":"Ingest or update conversation","tags":["Ingest"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"conversationId":{"type":"string","minLength":1,"maxLength":255},"messages":{"minItems":1,"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["user","assistant","system","tool"]},"content":{"anyOf":[{"type":"string"},{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"text"},"text":{"type":"string"}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","const":"image_url"},"imageUrl":{"type":"object","properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"required":["type","imageUrl"]}]}}]},"name":{"type":"string"},"tool_calls":{"type":"array","items":{}},"tool_call_id":{"type":"string"}},"required":["role","content"]}},"containerTags":{"type":"array","items":{"type":"string"}},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},"required":["conversationId","messages"]}}}},"x-codeSamples":[{"lang":"bash","label":"cURL","source":"curl -X POST \"https://api.supermemory.ai/v4/conversations\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"messages\": [\n      { \"role\": \"user\", \"content\": \"Just got back from Tokyo.\" },\n      { \"role\": \"assistant\", \"content\": \"Glad it went well!\" },\n      { \"role\": \"user\", \"content\": \"Sarah is being promoted to VP of Product.\" }\n    ],\n    \"containerTag\": \"user_123\",\n    \"customId\": \"chat_offsite_2026\"\n  }'"},{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\n// Prefer client.add with a conversation transcript for most apps.\n// Use /v4/conversations when you have structured turns:\nconst res = await fetch(\"https://api.supermemory.ai/v4/conversations\", {\n  method: \"POST\",\n  headers: {\n    Authorization: `Bearer ${process.env.SUPERMEMORY_API_KEY}`,\n    \"Content-Type\": \"application/json\",\n  },\n  body: JSON.stringify({\n    messages: [\n      { role: \"user\", content: \"Sarah is being promoted to VP of Product.\" },\n    ],\n    containerTag: \"user_123\",\n    customId: \"chat_offsite_2026\",\n  }),\n});"}]}},"/v3/connections/list":{"post":{"operationId":"postV3ConnectionsList","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"containerTags":{"description":"Optional comma-separated list of container tags to filter documents by","example":["user_123","project_123"],"type":"array","items":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$"}}}}}}},"description":"List all connections","responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"createdAt":{"type":"string","format":"datetime"},"documentLimit":{"type":"number"},"email":{"type":"string"},"expiresAt":{"type":"string","format":"datetime"},"id":{"type":"string"},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"provider":{"type":"string"},"containerTags":{"deprecated":true,"hidden":true,"type":"array","items":{"type":"string"}},"lastSyncRun":{"type":"object","properties":{"status":{"type":"string"},"error":{"type":"string"},"startedAt":{"type":"string","format":"datetime"},"completedAt":{"type":"string","format":"datetime"}},"required":["status"]}},"required":["createdAt","id","provider"]}}}},"description":"Connections"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Internal server error"}},"summary":"List connections","tags":["Connections"],"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nconst connections = await client.connections.list({\n  containerTags: [\"user_123\"],\n});\nconsole.log(connections);"},{"lang":"python","label":"Python SDK","source":"from supermemory import Supermemory\n\nclient = Supermemory()  # uses SUPERMEMORY_API_KEY\n\nconnections = client.connections.list(container_tags=[\"user_123\"])\nprint(connections)"},{"lang":"bash","label":"cURL","source":"curl -X POST \"https://api.supermemory.ai/v3/connections/list\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{ \"containerTags\": [\"user_123\"] }'"}]}},"/v3/connections/{provider}":{"post":{"operationId":"postV3ConnectionsByProvider","parameters":[{"in":"path","name":"provider","schema":{"type":"string","enum":["notion","google-drive","onedrive","gmail","github","web-crawler","s3","granola"]},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"containerTag":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$"},"containerTags":{"type":"array","items":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$"}},"documentLimit":{"type":"integer","minimum":1,"maximum":10000},"metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},{"type":"null"}]},"redirectUrl":{"type":"string"}},"description":"Configuration for the connection"}}}},"description":"Initialize connection and get authorization URL","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"authLink":{"type":"string"},"expiresIn":{"type":"string"},"id":{"type":"string"},"redirectsTo":{"type":"string"}},"required":["authLink","expiresIn","id"]}}},"description":"Authorization URL"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"}},"summary":"Create connection","tags":["Connections"],"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nconst connection = await client.connections.create(\"notion\", {\n  containerTags: [\"user_123\"],\n  redirectUrl: \"https://yourapp.com/callbacks/notion\",\n});\nconsole.log(connection.authLink);"},{"lang":"python","label":"Python SDK","source":"from supermemory import Supermemory\n\nclient = Supermemory()  # uses SUPERMEMORY_API_KEY\n\nconnection = client.connections.create(\n    \"notion\",\n    container_tags=[\"user_123\"],\n    redirect_url=\"https://yourapp.com/callbacks/notion\",\n)\nprint(connection.auth_link)"},{"lang":"bash","label":"cURL","source":"curl -X POST \"https://api.supermemory.ai/v3/connections/notion\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"containerTags\": [\"user_123\"],\n    \"redirectUrl\": \"https://yourapp.com/callbacks/notion\"\n  }'"}]},"delete":{"operationId":"deleteV3ConnectionsByProvider","parameters":[{"in":"path","name":"provider","schema":{"type":"string","enum":["notion","google-drive","onedrive","gmail","github","web-crawler","s3","granola"]},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"containerTags":{"type":"array","items":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$"},"description":"Optional comma-separated list of container tags to filter connections by","example":["user_123","project_123"]}},"required":["containerTags"]}}}},"description":"Delete connection for a specific provider and container tags","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"provider":{"type":"string"}},"required":["id","provider"]}}},"description":"Connection deleted successfully"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Provider not found"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Internal server error"}},"summary":"Delete connection","tags":["Connections"],"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nawait client.connections.deleteByProvider(\"notion\", {\n  containerTags: [\"user_123\"],\n});"},{"lang":"python","label":"Python SDK","source":"from supermemory import Supermemory\n\nclient = Supermemory()  # uses SUPERMEMORY_API_KEY\n\nclient.connections.delete_by_provider(\n    \"notion\",\n    container_tags=[\"user_123\"],\n)"},{"lang":"bash","label":"cURL","source":"curl -X DELETE \"https://api.supermemory.ai/v3/connections/notion\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{ \"containerTags\": [\"user_123\"] }'"}]}},"/v3/connections/{connectionId}/resources":{"get":{"operationId":"getV3ConnectionsByConnectionIdResources","parameters":[{"in":"path","name":"connectionId","schema":{"type":"string"},"required":true},{"in":"query","name":"page","schema":{"default":1,"type":"number"}},{"in":"query","name":"parent_id","schema":{"type":"string"}},{"in":"query","name":"per_page","schema":{"default":30,"type":"number"}}],"description":"Fetch resources for a connection (supported providers: GitHub for now)","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"resources":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"total_count":{"type":"number"}},"required":["resources"]}}},"description":"List of accessible resources"},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Connection missing refresh token"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Connection not found"},"501":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Provider does not support resource fetching"}},"summary":"Fetch resources","tags":["Connections"],"x-codeSamples":[{"lang":"bash","label":"cURL","source":"curl \"https://api.supermemory.ai/v3/connections/conn_abc123/resources\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\""}]}},"/v3/connections/{connectionId}/configure":{"post":{"operationId":"postV3ConnectionsByConnectionIdConfigure","parameters":[{"in":"path","name":"connectionId","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"resources":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},"required":["resources"]}}}},"description":"Configure resources for a connection (supported providers: GitHub for now)","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"webhooksRegistered":{"type":"number"}},"required":["success","message"]}}},"description":"Resources configured successfully"},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Connection missing refresh token"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Connection not found"},"501":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Provider does not support resource configuration"}},"summary":"Configure connection","tags":["Connections"],"x-codeSamples":[{"lang":"bash","label":"cURL","source":"curl -X POST \"https://api.supermemory.ai/v3/connections/conn_abc123/configure\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{ }'"}]}},"/v3/connections/{connectionId}":{"get":{"operationId":"getV3ConnectionsByConnectionId","parameters":[{"in":"path","name":"connectionId","schema":{"type":"string"},"required":true}],"description":"Get connection details with id","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"createdAt":{"type":"string","format":"datetime"},"documentLimit":{"type":"number"},"email":{"type":"string"},"expiresAt":{"type":"string","format":"datetime"},"id":{"type":"string"},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"provider":{"type":"string"},"containerTags":{"deprecated":true,"hidden":true,"type":"array","items":{"type":"string"}},"lastSyncRun":{"type":"object","properties":{"status":{"type":"string"},"error":{"type":"string"},"startedAt":{"type":"string","format":"datetime"},"completedAt":{"type":"string","format":"datetime"}},"required":["status"]}},"required":["createdAt","id","provider"]}}},"description":"Connection details"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Connection not found"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Internal server error"}},"summary":"Get connection (by id)","tags":["Connections"],"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nconst connection = await client.connections.getByID(\"conn_abc123\");\nconsole.log(connection);"},{"lang":"python","label":"Python SDK","source":"from supermemory import Supermemory\n\nclient = Supermemory()  # uses SUPERMEMORY_API_KEY\n\nconnection = client.connections.get_by_id(\"conn_abc123\")\nprint(connection)"},{"lang":"bash","label":"cURL","source":"curl \"https://api.supermemory.ai/v3/connections/conn_abc123\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\""}]},"delete":{"operationId":"deleteV3ConnectionsByConnectionId","parameters":[{"in":"path","name":"connectionId","schema":{"type":"string"},"required":true},{"in":"query","name":"deleteDocuments","schema":{"default":"true","type":"string"},"description":"Whether to also delete documents imported by this connection. Defaults to true."}],"description":"Delete a specific connection by ID","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"provider":{"type":"string"}},"required":["id","provider"]}}},"description":"Connection deleted successfully"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Connection not found"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Internal server error"}},"summary":"Delete connection by ID","tags":["Connections"],"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nawait client.connections.deleteByID(\"conn_abc123\");"},{"lang":"python","label":"Python SDK","source":"from supermemory import Supermemory\n\nclient = Supermemory()  # uses SUPERMEMORY_API_KEY\n\nclient.connections.delete_by_id(\"conn_abc123\")"},{"lang":"bash","label":"cURL","source":"curl -X DELETE \"https://api.supermemory.ai/v3/connections/conn_abc123\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\""}]}},"/v3/connections/{provider}/connection":{"post":{"operationId":"postV3ConnectionsByProviderConnection","parameters":[{"in":"path","name":"provider","schema":{"type":"string","enum":["notion","google-drive","onedrive","gmail","github","web-crawler","s3","granola"]},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"containerTags":{"minItems":1,"type":"array","items":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$"},"description":"Comma-separated list of container tags to filter connection by","example":["user_123","project_123"]}},"required":["containerTags"]}}}},"description":"Get connection details with provider and container tags","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"createdAt":{"type":"string","format":"datetime"},"documentLimit":{"type":"number"},"email":{"type":"string"},"expiresAt":{"type":"string","format":"datetime"},"id":{"type":"string"},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"provider":{"type":"string"},"containerTags":{"deprecated":true,"hidden":true,"type":"array","items":{"type":"string"}},"lastSyncRun":{"type":"object","properties":{"status":{"type":"string"},"error":{"type":"string"},"startedAt":{"type":"string","format":"datetime"},"completedAt":{"type":"string","format":"datetime"}},"required":["status"]}},"required":["createdAt","id","provider"]}}},"description":"Connection details"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Connection not found"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Internal server error"}},"summary":"Get connection (by provider)","tags":["Connections"],"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nconst connection = await client.connections.getByTag(\"notion\", {\n  containerTags: [\"user_123\"],\n});\nconsole.log(connection);"},{"lang":"python","label":"Python SDK","source":"from supermemory import Supermemory\n\nclient = Supermemory()  # uses SUPERMEMORY_API_KEY\n\nconnection = client.connections.get_by_tag(\n    \"notion\",\n    container_tags=[\"user_123\"],\n)\nprint(connection)"},{"lang":"bash","label":"cURL","source":"curl -X POST \"https://api.supermemory.ai/v3/connections/notion/connection\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{ \"containerTags\": [\"user_123\"] }'"}]}},"/v3/connections/{provider}/documents":{"post":{"operationId":"postV3ConnectionsByProviderDocuments","parameters":[{"in":"path","name":"provider","schema":{"type":"string","enum":["notion","google-drive","onedrive","gmail","github","web-crawler","s3","granola"]},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"containerTags":{"description":"Optional comma-separated list of container tags to filter documents by","example":["user_123","project_123"],"type":"array","items":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$"}}}}}}},"description":"List documents indexed for a provider and container tags","responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"createdAt":{"type":"string","format":"datetime"},"id":{"type":"string"},"status":{"type":"string","format":"datetime"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":{"type":"string"},"updatedAt":{"type":"string","format":"datetime"}},"required":["createdAt","id","status","summary","title","type","updatedAt"]}}}},"description":"List of documents"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Provider not found"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Internal server error"}},"summary":"List documents","tags":["Connections"],"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nconst docs = await client.connections.listDocuments(\"notion\", {\n  containerTags: [\"user_123\"],\n});\nconsole.log(docs);"},{"lang":"python","label":"Python SDK","source":"from supermemory import Supermemory\n\nclient = Supermemory()  # uses SUPERMEMORY_API_KEY\n\ndocs = client.connections.list_documents(\n    \"notion\",\n    container_tags=[\"user_123\"],\n)\nprint(docs)"},{"lang":"bash","label":"cURL","source":"curl -X POST \"https://api.supermemory.ai/v3/connections/notion/documents\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{ \"containerTags\": [\"user_123\"] }'"}]}},"/v3/connections/{provider}/import":{"post":{"operationId":"postV3ConnectionsByProviderImport","parameters":[{"in":"path","name":"provider","schema":{"type":"string","enum":["notion","google-drive","onedrive","gmail","github","web-crawler","s3","granola"]},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"containerTags":{"description":"Optional comma-separated list of container tags to filter connections by","example":["user_123","project_123"],"type":"array","items":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_:-]+$"}}}}}}},"description":"Initiate a manual sync of connections","responses":{"202":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"Importing connections..."},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Bad request"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"details":{"description":"Additional error details","example":"Query must be at least 1 character long","type":"string"},"error":{"type":"string","description":"Error message","example":"Invalid request parameters"}},"required":["error"]}}},"description":"Internal server error"}},"summary":"Sync connection","tags":["Connections"],"x-codeSamples":[{"lang":"typescript","label":"TypeScript SDK","source":"import Supermemory from \"supermemory\";\n\nconst client = new Supermemory({\n  apiKey: process.env.SUPERMEMORY_API_KEY,\n});\n\nconst result = await client.connections.import(\"notion\", {\n  containerTags: [\"user_123\"],\n});\nconsole.log(result);"},{"lang":"bash","label":"cURL","source":"curl -X POST \"https://api.supermemory.ai/v3/connections/notion/import\" \\\n  -H \"Authorization: Bearer $SUPERMEMORY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{ \"containerTags\": [\"user_123\"] }'"}]}},"/brain/models":{"patch":{"operationId":"patchBrainModels","description":"Update the org's Company Brain model overrides","responses":{"200":{"description":"Resolved model configuration after the update"},"401":{"description":"Unauthorized"},"404":{"description":"Organization not found"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"main":{"anyOf":[{"type":"string","enum":["claude-sonnet-5","claude-opus-4.8","claude-sonnet-4.6","grok-4.5","gpt-5.6","gpt-5.5"]},{"type":"null"}]},"mainEffort":{"anyOf":[{"type":"string","enum":["low","medium","high","xhigh"]},{"type":"null"}]},"triage":{"anyOf":[{"type":"string","enum":["claude-haiku-4.5","claude-sonnet-5"]},{"type":"null"}]},"triageEffort":{"anyOf":[{"type":"string","enum":["low","medium","high","xhigh"]},{"type":"null"}]},"research":{"anyOf":[{"type":"string","enum":["grok-4.5","grok-4.3"]},{"type":"null"}]},"researchEffort":{"anyOf":[{"type":"string","enum":["low","medium","high","xhigh"]},{"type":"null"}]}}}}}}}}}}