ChunkFilter is a JSON object which can be used to filter chunks. This is useful for when you want to filter chunks by arbitrary metadata. Unlike with tag filtering, there is a performance hit for filtering on metadata.
The tracking_ids of the chunks to be used as negative examples for the recommendation. The chunks in this array will be used to filter out similar chunks.
Set slim_chunks to true to avoid returning the content and chunk_html of the chunks. This is useful for when you want to reduce amount of data over the wire for latency improvement (typicall 10-50ms). Default is false.
Strategy to use for recommendations, either "average_vector" or "best_score". The default is "average_vector". The "average_vector" strategy will construct a single average vector from the positive and negative samples then use it to perform a pseudo-search. The "best_score" strategy is more advanced and navigates the HNSW with a heuristic of picking edges where the point is closer to the positive samples than it is the negatives.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Trieve","colors":{"primary":"#a33eb5","light":"#a33eb5","dark":"#a33eb5"},"favicon":"/icons/android-chrome-512x512-new.png","logo":{"light":"https://mintlify.s3.us-west-1.amazonaws.com/trieve/icons/trieve-logo.png","dark":"https://mintlify.s3.us-west-1.amazonaws.com/trieve/icons/trieve-logo.png","href":"https://trieve.ai"},"api":{"openapi":"https://beta-api.trieve.ai/api-docs/openapi.json"},"navbar":{"links":[{"label":"Support","href":"mailto:humans@trieve.ai"},{"label":"Dashboard","href":"https://dashboard.trieve.ai"}],"primary":{"type":"github","href":"https://github.com/devflowinc/trieve"}},"footer":{"socials":{"x":"https://x.com/trieveai","discord":"https://discord.gg/eBJXXZDB8z","github":"https://github.com/devflowinc","linkedin":"https://www.linkedin.com/company/trieveai","website":"https://trieve.ai"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"TypeScript SDK","href":"https://ts-sdk.trieve.ai","icon":"js"},{"anchor":"Github","href":"https://github.com/devflowinc/trieve","icon":"github"},{"anchor":"Community","href":"https://discord.com/invite/E9sPRZqpDT","icon":"users"},{"anchor":"Blog","href":"https://trieve.ai/blog","icon":"newspaper"},{"anchor":"System Status","href":"https://status.trieve.ai","icon":"satellite-dish"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"trieve","hasAudioNarration":false,"actualSubdomain":"trieve","customDomains":["docs.trieve.ai"],"gitSource":{"type":"github","owner":"devflowinc","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21f60f74bd683e723c3ad0","collectionId":"94bd8055-ab4f-4535-9548-a3032b69bedc","schemaVersion":"v2"},"feedback":{"issues":true,"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae290ee419382350a86cdb0:success","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"API Reference","count":139},{"language":"default","tag":"Documentation","count":23},{"language":"default","tag":"Chunk","count":18},{"language":"default","tag":"Dataset","count":18},{"language":"default","tag":"Chunk Group","count":17},{"language":"default","tag":"Guides","count":17},{"language":"default","tag":"Vector Inference","count":16},{"language":"default","tag":"Analytics","count":14},{"language":"default","tag":"Get Started","count":11},{"language":"default","tag":"File","count":10}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"img{border-radius:.25rem}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.25rem}"}],"page":{"pagePath":"api-reference/chunk/get-recommended-chunks","slug":"/api-reference/chunk/get-recommended-chunks","pageMetadata":{"openapi":"post /api/chunk/recommend","title":"Get Recommended Chunks","description":"Get recommendations of chunks similar to the positive samples in the request and dissimilar to the negative.","href":"/api-reference/chunk/get-recommended-chunks","hidden":false},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Get recommendations of chunks similar to the positive samples in the request and dissimilar to the negative.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"post /api/chunk/recommend","title":"Get Recommended Chunks","description":"Get recommendations of chunks similar to the positive samples in the request and dissimilar to the negative.","href":"/api-reference/chunk/get-recommended-chunks","hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Chunk"],"summary":"Get Recommended Chunks","description":"Get recommendations of chunks similar to the positive samples in the request and dissimilar to the negative.","operationId":"get_recommended_chunks","parameters":["ba76911e-7309-4ac9-b977-65e89428bfaa","535be038-ea47-4e4e-95f6-b8a8cf6d82f4"],"requestBody":"afff4bef-12b1-4a46-9deb-4781edeadc61","responses":{"200":"ddd017b4-347d-4114-aa70-018c8a82fa00","400":"0d7ed127-4250-481f-b191-0e6cfea80802"},"security":["0cdbc204-4cb4-4083-8650-56a72256400d"],"method":"post","type":"path","servers":["2f9b8af5-1d01-4863-b9c9-46a5af77efd6","f8cd735f-4869-4d97-9c1c-3f5db410bca0"],"path":"/api/chunk/recommend","baseUrlOptions":["https://api.trieve.ai","http://localhost:8090"],"title":"Get Recommended Chunks","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"ba76911e-7309-4ac9-b977-65e89428bfaa":{"name":"TR-Dataset","in":"header","description":"The dataset id or tracking_id to use for the request. We assume you intend to use an id if the value is a valid uuid.","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"description":"The dataset id or tracking_id to use for the request. We assume you intend to use an id if the value is a valid uuid.","uniqueKey":"","typeLabel":"string\u003cuuid>"}},"535be038-ea47-4e4e-95f6-b8a8cf6d82f4":{"name":"X-API-Version","in":"header","description":"The API version to use for this request. Defaults to V2 for orgs created after July 12, 2024 and V1 otherwise.","required":false,"schema":{"oneOf":[{"type":"string","enum":["V1","V2"],"description":"The API version to use for this request. Defaults to V2 for orgs created after July 12, 2024 and V1 otherwise.","uniqueKey":"oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The API version to use for this request. Defaults to V2 for orgs created after July 12, 2024 and V1 otherwise.","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring> | null"}}},"requestBody":{"description":"JSON request payload to get recommendations of chunks similar to the chunks in the request","content":{"application/json":{"schema":{"type":"object","properties":{"filters":{"oneOf":[{"type":"object","description":"ChunkFilter is a JSON object which can be used to filter chunks. This is useful for when you want to filter chunks by arbitrary metadata. Unlike with tag filtering, there is a performance hit for filtering on metadata.","example":{"must":[{"field":"tag_set","match_all":["A","B"]},{"field":"num_value","range":{"gte":10,"lte":25}}]},"properties":{"must":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"object","description":"Filters can be constructed using either fields on the chunk objects, ids or tracking ids of chunks, and finally ids or tracking ids of groups.","required":["field"],"example":{"field":"metadata.key1","range":{"gt":0,"gte":0,"lt":1,"lte":1}},"properties":{"field":{"type":"string","description":"Field is the name of the field to filter on. Commonly used fields are `timestamp`, `link`, `tag_set`, `location`, `num_value`, `group_ids`, and `group_tracking_ids`. The field value will be used to check for an exact substring match on the metadata values for each existing chunk. This is useful for when you want to filter chunks by arbitrary metadata. To access fields inside of the metadata that you provide with the card, prefix the field name with `metadata.`.","isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.field","typeLabel":"string"},"boolean":{"oneOf":[{"type":"boolean","description":"Boolean is a true false value for a field. This only works for boolean fields. You can specify this if you want values to be true or false.","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.boolean.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Boolean is a true false value for a field. This only works for boolean fields. You can specify this if you want values to be true or false.","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.boolean.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.boolean","typeLabel":"boolean | null"},"date_range":{"oneOf":[{"type":"object","description":"DateRange is a JSON object which can be used to filter chunks by a range of dates. This leverages the time_stamp field on chunks in your dataset. You can specify this if you want values in a certain range. You must provide ISO 8601 combined date and time without timezone.","example":{"gt":"2021-01-01 00:00:00.000","gte":"2021-01-01 00:00:00.000","lt":"2021-01-01 00:00:00.000","lte":"2021-01-01 00:00:00.000"},"properties":{"gt":{"oneOf":[{"type":"string","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.gt.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.gt.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.gt","typeLabel":"string | null"},"gte":{"oneOf":[{"type":"string","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.gte.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.gte.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.gte","typeLabel":"string | null"},"lt":{"oneOf":[{"type":"string","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.lt.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.lt.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.lt","typeLabel":"string | null"},"lte":{"oneOf":[{"type":"string","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.lte.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.lte.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.lte","typeLabel":"string | null"}},"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.date_range","typeLabel":"object | null"},"geo_bounding_box":{"oneOf":[{"type":"object","required":["top_left","bottom_right"],"properties":{"bottom_right":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.bottom_right.lat.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.bottom_right.lat.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.bottom_right.lat","typeLabel":"integer\u003cint64> | number\u003cdouble>"},"lon":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.bottom_right.lon.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.bottom_right.lon.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.bottom_right.lon","typeLabel":"integer\u003cint64> | number\u003cdouble>"}},"isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.bottom_right","typeLabel":"object"},"top_left":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.top_left.lat.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.top_left.lat.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.top_left.lat","typeLabel":"integer\u003cint64> | number\u003cdouble>"},"lon":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.top_left.lon.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.top_left.lon.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.top_left.lon","typeLabel":"integer\u003cint64> | number\u003cdouble>"}},"isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.top_left","typeLabel":"object"}},"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box","typeLabel":"object | null"},"geo_polygon":{"oneOf":[{"type":"object","required":["exterior"],"properties":{"exterior":{"type":"array","items":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.exterior.items.[INDEX].lat.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.exterior.items.[INDEX].lat.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.exterior.items.[INDEX].lat","typeLabel":"integer\u003cint64> | number\u003cdouble>"},"lon":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.exterior.items.[INDEX].lon.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.exterior.items.[INDEX].lon.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.exterior.items.[INDEX].lon","typeLabel":"integer\u003cint64> | number\u003cdouble>"}},"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.exterior.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.exterior","typeLabel":"object[]"},"interior":{"oneOf":[{"type":"array","items":{"type":"array","items":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0.items.[INDEX].items.[INDEX].lat.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0.items.[INDEX].items.[INDEX].lat.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0.items.[INDEX].items.[INDEX].lat","typeLabel":"integer\u003cint64> | number\u003cdouble>"},"lon":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0.items.[INDEX].items.[INDEX].lon.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0.items.[INDEX].items.[INDEX].lon.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0.items.[INDEX].items.[INDEX].lon","typeLabel":"integer\u003cint64> | number\u003cdouble>"}},"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0.items.[INDEX].items.[INDEX]","typeLabel":"object"},"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0.items.[INDEX]","typeLabel":"object[]"},"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0","typeLabel":"object[][]"},{"type":"null","items":{"type":"array","items":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"lon":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]}}}},"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior","typeLabel":"object[][] | null"}},"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_polygon","typeLabel":"object | null"},"geo_radius":{"oneOf":[{"type":"object","required":["center","radius"],"properties":{"center":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0.center.lat.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0.center.lat.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0.center.lat","typeLabel":"integer\u003cint64> | number\u003cdouble>"},"lon":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0.center.lon.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0.center.lon.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0.center.lon","typeLabel":"integer\u003cint64> | number\u003cdouble>"}},"isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0.center","typeLabel":"object"},"radius":{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0.radius","typeLabel":"number\u003cdouble>"}},"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.geo_radius","typeLabel":"object | null"},"match_all":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.match_all.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","format":"int64","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.match_all.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.match_all.oneOf.0.items.[INDEX].oneOf.2","typeLabel":"number\u003cdouble>"}],"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.match_all.oneOf.0.items.[INDEX]","typeLabel":"string | integer\u003cint64> | number\u003cdouble>"},"description":"Match all lets you pass in an array of values that will return results if all of the items match. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. If both match_all and match_any are provided, the match_any condition will be used.","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.match_all.oneOf.0","typeLabel":"(string | integer\u003cint64> | number\u003cdouble>)[]"},{"type":"null","items":{"oneOf":[{"type":"string"},{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"description":"Match all lets you pass in an array of values that will return results if all of the items match. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. If both match_all and match_any are provided, the match_any condition will be used.","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.match_all.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.match_all","typeLabel":"(string | integer\u003cint64> | number\u003cdouble>)[] | null"},"match_any":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.match_any.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","format":"int64","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.match_any.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.match_any.oneOf.0.items.[INDEX].oneOf.2","typeLabel":"number\u003cdouble>"}],"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.match_any.oneOf.0.items.[INDEX]","typeLabel":"string | integer\u003cint64> | number\u003cdouble>"},"description":"Match any lets you pass in an array of values that will return results if any of the items match. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. If both match_all and match_any are provided, the match_any condition will be used.","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.match_any.oneOf.0","typeLabel":"(string | integer\u003cint64> | number\u003cdouble>)[]"},{"type":"null","items":{"oneOf":[{"type":"string"},{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"description":"Match any lets you pass in an array of values that will return results if any of the items match. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. If both match_all and match_any are provided, the match_any condition will be used.","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.match_any.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.match_any","typeLabel":"(string | integer\u003cint64> | number\u003cdouble>)[] | null"},"range":{"oneOf":[{"type":"object","example":{"gt":0,"gte":0,"lt":1,"lte":1},"properties":{"gt":{"oneOf":[{"type":"number","format":"double","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.gt.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"integer","format":"int64","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.gt.oneOf.1","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.gt.oneOf.2","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.gt","typeLabel":"number\u003cdouble> | integer\u003cint64> | null"},"gte":{"oneOf":[{"type":"number","format":"double","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.gte.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"integer","format":"int64","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.gte.oneOf.1","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.gte.oneOf.2","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.gte","typeLabel":"number\u003cdouble> | integer\u003cint64> | null"},"lt":{"oneOf":[{"type":"number","format":"double","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.lt.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"integer","format":"int64","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.lt.oneOf.1","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.lt.oneOf.2","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.lt","typeLabel":"number\u003cdouble> | integer\u003cint64> | null"},"lte":{"oneOf":[{"type":"number","format":"double","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.lte.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"integer","format":"int64","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.lte.oneOf.1","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.lte.oneOf.2","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.lte","typeLabel":"number\u003cdouble> | integer\u003cint64> | null"}},"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0.range","typeLabel":"object | null"}},"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Filters can be constructed using either fields on the chunk objects, ids or tracking ids of chunks, and finally ids or tracking ids of groups.","properties":{"ids":{"oneOf":[{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.1.ids.oneOf.0.items.[INDEX]","typeLabel":"string\u003cuuid>"},"description":"Ids of the chunks to apply a match_any condition with. Only chunks with one of these ids will be returned.","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.1.ids.oneOf.0","typeLabel":"string\u003cuuid>[]"},{"type":"null","items":{"type":"string","format":"uuid"},"description":"Ids of the chunks to apply a match_any condition with. Only chunks with one of these ids will be returned.","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.1.ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.1.ids","typeLabel":"string\u003cuuid>[] | null"},"tracking_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.1.tracking_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Tracking ids of the chunks to apply a match_any condition with. Only chunks with one of these tracking ids will be returned.","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.1.tracking_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"Tracking ids of the chunks to apply a match_any condition with. Only chunks with one of these tracking ids will be returned.","uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.1.tracking_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.1.tracking_ids","typeLabel":"string[] | null"}},"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"filters.oneOf.0.must.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"All of these field conditions have to match for the chunk to be included in the result set.","uniqueKey":"filters.oneOf.0.must.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"oneOf":[{"type":"object","description":"Filters can be constructed using either fields on the chunk objects, ids or tracking ids of chunks, and finally ids or tracking ids of groups.","required":["field"],"example":{"field":"metadata.key1","range":{"gt":0,"gte":0,"lt":1,"lte":1}},"properties":{"boolean":{"oneOf":[{"type":"boolean","description":"Boolean is a true false value for a field. This only works for boolean fields. You can specify this if you want values to be true or false."},{"type":"null","description":"Boolean is a true false value for a field. This only works for boolean fields. You can specify this if you want values to be true or false."}]},"date_range":{"oneOf":[{"type":"object","description":"DateRange is a JSON object which can be used to filter chunks by a range of dates. This leverages the time_stamp field on chunks in your dataset. You can specify this if you want values in a certain range. You must provide ISO 8601 combined date and time without timezone.","example":{"gt":"2021-01-01 00:00:00.000","gte":"2021-01-01 00:00:00.000","lt":"2021-01-01 00:00:00.000","lte":"2021-01-01 00:00:00.000"},"properties":{"gt":{"oneOf":[{"type":"string"},{"type":"null"}]},"gte":{"oneOf":[{"type":"string"},{"type":"null"}]},"lt":{"oneOf":[{"type":"string"},{"type":"null"}]},"lte":{"oneOf":[{"type":"string"},{"type":"null"}]}}},{"type":"null"}]},"field":{"type":"string","description":"Field is the name of the field to filter on. Commonly used fields are `timestamp`, `link`, `tag_set`, `location`, `num_value`, `group_ids`, and `group_tracking_ids`. The field value will be used to check for an exact substring match on the metadata values for each existing chunk. This is useful for when you want to filter chunks by arbitrary metadata. To access fields inside of the metadata that you provide with the card, prefix the field name with `metadata.`."},"geo_bounding_box":{"oneOf":[{"type":"object","required":["top_left","bottom_right"],"properties":{"bottom_right":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"lon":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]}}},"top_left":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"lon":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]}}}}},{"type":"null"}]},"geo_polygon":{"oneOf":[{"type":"object","required":["exterior"],"properties":{"exterior":{"type":"array","items":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"lon":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]}}}},"interior":{"oneOf":[{"type":"array","items":{"type":"array","items":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"lon":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]}}}}},{"type":"null","items":{"type":"array","items":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"lon":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]}}}}}]}}},{"type":"null"}]},"geo_radius":{"oneOf":[{"type":"object","required":["center","radius"],"properties":{"center":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"lon":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]}}},"radius":{"type":"number","format":"double"}}},{"type":"null"}]},"match_all":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"description":"Match all lets you pass in an array of values that will return results if all of the items match. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. If both match_all and match_any are provided, the match_any condition will be used."},{"type":"null","items":{"oneOf":[{"type":"string"},{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"description":"Match all lets you pass in an array of values that will return results if all of the items match. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. If both match_all and match_any are provided, the match_any condition will be used."}]},"match_any":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"description":"Match any lets you pass in an array of values that will return results if any of the items match. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. If both match_all and match_any are provided, the match_any condition will be used."},{"type":"null","items":{"oneOf":[{"type":"string"},{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"description":"Match any lets you pass in an array of values that will return results if any of the items match. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. If both match_all and match_any are provided, the match_any condition will be used."}]},"range":{"oneOf":[{"type":"object","example":{"gt":0,"gte":0,"lt":1,"lte":1},"properties":{"gt":{"oneOf":[{"type":"number","format":"double"},{"type":"integer","format":"int64"},{"type":"null"}]},"gte":{"oneOf":[{"type":"number","format":"double"},{"type":"integer","format":"int64"},{"type":"null"}]},"lt":{"oneOf":[{"type":"number","format":"double"},{"type":"integer","format":"int64"},{"type":"null"}]},"lte":{"oneOf":[{"type":"number","format":"double"},{"type":"integer","format":"int64"},{"type":"null"}]}}},{"type":"null"}]}}},{"type":"object","description":"Filters can be constructed using either fields on the chunk objects, ids or tracking ids of chunks, and finally ids or tracking ids of groups.","properties":{"ids":{"oneOf":[{"type":"array","items":{"type":"string","format":"uuid"},"description":"Ids of the chunks to apply a match_any condition with. Only chunks with one of these ids will be returned."},{"type":"null","items":{"type":"string","format":"uuid"},"description":"Ids of the chunks to apply a match_any condition with. Only chunks with one of these ids will be returned."}]},"tracking_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"Tracking ids of the chunks to apply a match_any condition with. Only chunks with one of these tracking ids will be returned."},{"type":"null","items":{"type":"string"},"description":"Tracking ids of the chunks to apply a match_any condition with. Only chunks with one of these tracking ids will be returned."}]}}}]},"description":"All of these field conditions have to match for the chunk to be included in the result set.","uniqueKey":"filters.oneOf.0.must.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must","typeLabel":"object[] | null"},"must_not":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"object","description":"Filters can be constructed using either fields on the chunk objects, ids or tracking ids of chunks, and finally ids or tracking ids of groups.","required":["field"],"example":{"field":"metadata.key1","range":{"gt":0,"gte":0,"lt":1,"lte":1}},"properties":{"field":{"type":"string","description":"Field is the name of the field to filter on. Commonly used fields are `timestamp`, `link`, `tag_set`, `location`, `num_value`, `group_ids`, and `group_tracking_ids`. The field value will be used to check for an exact substring match on the metadata values for each existing chunk. This is useful for when you want to filter chunks by arbitrary metadata. To access fields inside of the metadata that you provide with the card, prefix the field name with `metadata.`.","isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.field","typeLabel":"string"},"boolean":{"oneOf":[{"type":"boolean","description":"Boolean is a true false value for a field. This only works for boolean fields. You can specify this if you want values to be true or false.","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.boolean.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Boolean is a true false value for a field. This only works for boolean fields. You can specify this if you want values to be true or false.","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.boolean.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.boolean","typeLabel":"boolean | null"},"date_range":{"oneOf":[{"type":"object","description":"DateRange is a JSON object which can be used to filter chunks by a range of dates. This leverages the time_stamp field on chunks in your dataset. You can specify this if you want values in a certain range. You must provide ISO 8601 combined date and time without timezone.","example":{"gt":"2021-01-01 00:00:00.000","gte":"2021-01-01 00:00:00.000","lt":"2021-01-01 00:00:00.000","lte":"2021-01-01 00:00:00.000"},"properties":{"gt":{"oneOf":[{"type":"string","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.gt.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.gt.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.gt","typeLabel":"string | null"},"gte":{"oneOf":[{"type":"string","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.gte.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.gte.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.gte","typeLabel":"string | null"},"lt":{"oneOf":[{"type":"string","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.lt.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.lt.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.lt","typeLabel":"string | null"},"lte":{"oneOf":[{"type":"string","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.lte.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.lte.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.lte","typeLabel":"string | null"}},"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.date_range","typeLabel":"object | null"},"geo_bounding_box":{"oneOf":[{"type":"object","required":["top_left","bottom_right"],"properties":{"bottom_right":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.bottom_right.lat.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.bottom_right.lat.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.bottom_right.lat","typeLabel":"integer\u003cint64> | number\u003cdouble>"},"lon":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.bottom_right.lon.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.bottom_right.lon.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.bottom_right.lon","typeLabel":"integer\u003cint64> | number\u003cdouble>"}},"isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.bottom_right","typeLabel":"object"},"top_left":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.top_left.lat.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.top_left.lat.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.top_left.lat","typeLabel":"integer\u003cint64> | number\u003cdouble>"},"lon":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.top_left.lon.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.top_left.lon.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.top_left.lon","typeLabel":"integer\u003cint64> | number\u003cdouble>"}},"isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.top_left","typeLabel":"object"}},"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box","typeLabel":"object | null"},"geo_polygon":{"oneOf":[{"type":"object","required":["exterior"],"properties":{"exterior":{"type":"array","items":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.exterior.items.[INDEX].lat.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.exterior.items.[INDEX].lat.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.exterior.items.[INDEX].lat","typeLabel":"integer\u003cint64> | number\u003cdouble>"},"lon":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.exterior.items.[INDEX].lon.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.exterior.items.[INDEX].lon.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.exterior.items.[INDEX].lon","typeLabel":"integer\u003cint64> | number\u003cdouble>"}},"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.exterior.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.exterior","typeLabel":"object[]"},"interior":{"oneOf":[{"type":"array","items":{"type":"array","items":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0.items.[INDEX].items.[INDEX].lat.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0.items.[INDEX].items.[INDEX].lat.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0.items.[INDEX].items.[INDEX].lat","typeLabel":"integer\u003cint64> | number\u003cdouble>"},"lon":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0.items.[INDEX].items.[INDEX].lon.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0.items.[INDEX].items.[INDEX].lon.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0.items.[INDEX].items.[INDEX].lon","typeLabel":"integer\u003cint64> | number\u003cdouble>"}},"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0.items.[INDEX].items.[INDEX]","typeLabel":"object"},"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0.items.[INDEX]","typeLabel":"object[]"},"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0","typeLabel":"object[][]"},{"type":"null","items":{"type":"array","items":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"lon":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]}}}},"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior","typeLabel":"object[][] | null"}},"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_polygon","typeLabel":"object | null"},"geo_radius":{"oneOf":[{"type":"object","required":["center","radius"],"properties":{"center":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0.center.lat.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0.center.lat.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0.center.lat","typeLabel":"integer\u003cint64> | number\u003cdouble>"},"lon":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0.center.lon.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0.center.lon.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0.center.lon","typeLabel":"integer\u003cint64> | number\u003cdouble>"}},"isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0.center","typeLabel":"object"},"radius":{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0.radius","typeLabel":"number\u003cdouble>"}},"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.geo_radius","typeLabel":"object | null"},"match_all":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.match_all.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","format":"int64","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.match_all.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.match_all.oneOf.0.items.[INDEX].oneOf.2","typeLabel":"number\u003cdouble>"}],"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.match_all.oneOf.0.items.[INDEX]","typeLabel":"string | integer\u003cint64> | number\u003cdouble>"},"description":"Match all lets you pass in an array of values that will return results if all of the items match. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. If both match_all and match_any are provided, the match_any condition will be used.","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.match_all.oneOf.0","typeLabel":"(string | integer\u003cint64> | number\u003cdouble>)[]"},{"type":"null","items":{"oneOf":[{"type":"string"},{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"description":"Match all lets you pass in an array of values that will return results if all of the items match. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. If both match_all and match_any are provided, the match_any condition will be used.","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.match_all.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.match_all","typeLabel":"(string | integer\u003cint64> | number\u003cdouble>)[] | null"},"match_any":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.match_any.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","format":"int64","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.match_any.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.match_any.oneOf.0.items.[INDEX].oneOf.2","typeLabel":"number\u003cdouble>"}],"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.match_any.oneOf.0.items.[INDEX]","typeLabel":"string | integer\u003cint64> | number\u003cdouble>"},"description":"Match any lets you pass in an array of values that will return results if any of the items match. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. If both match_all and match_any are provided, the match_any condition will be used.","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.match_any.oneOf.0","typeLabel":"(string | integer\u003cint64> | number\u003cdouble>)[]"},{"type":"null","items":{"oneOf":[{"type":"string"},{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"description":"Match any lets you pass in an array of values that will return results if any of the items match. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. If both match_all and match_any are provided, the match_any condition will be used.","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.match_any.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.match_any","typeLabel":"(string | integer\u003cint64> | number\u003cdouble>)[] | null"},"range":{"oneOf":[{"type":"object","example":{"gt":0,"gte":0,"lt":1,"lte":1},"properties":{"gt":{"oneOf":[{"type":"number","format":"double","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.gt.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"integer","format":"int64","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.gt.oneOf.1","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.gt.oneOf.2","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.gt","typeLabel":"number\u003cdouble> | integer\u003cint64> | null"},"gte":{"oneOf":[{"type":"number","format":"double","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.gte.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"integer","format":"int64","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.gte.oneOf.1","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.gte.oneOf.2","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.gte","typeLabel":"number\u003cdouble> | integer\u003cint64> | null"},"lt":{"oneOf":[{"type":"number","format":"double","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.lt.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"integer","format":"int64","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.lt.oneOf.1","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.lt.oneOf.2","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.lt","typeLabel":"number\u003cdouble> | integer\u003cint64> | null"},"lte":{"oneOf":[{"type":"number","format":"double","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.lte.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"integer","format":"int64","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.lte.oneOf.1","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.lte.oneOf.2","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.lte","typeLabel":"number\u003cdouble> | integer\u003cint64> | null"}},"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0.range","typeLabel":"object | null"}},"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Filters can be constructed using either fields on the chunk objects, ids or tracking ids of chunks, and finally ids or tracking ids of groups.","properties":{"ids":{"oneOf":[{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.1.ids.oneOf.0.items.[INDEX]","typeLabel":"string\u003cuuid>"},"description":"Ids of the chunks to apply a match_any condition with. Only chunks with one of these ids will be returned.","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.1.ids.oneOf.0","typeLabel":"string\u003cuuid>[]"},{"type":"null","items":{"type":"string","format":"uuid"},"description":"Ids of the chunks to apply a match_any condition with. Only chunks with one of these ids will be returned.","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.1.ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.1.ids","typeLabel":"string\u003cuuid>[] | null"},"tracking_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.1.tracking_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Tracking ids of the chunks to apply a match_any condition with. Only chunks with one of these tracking ids will be returned.","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.1.tracking_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"Tracking ids of the chunks to apply a match_any condition with. Only chunks with one of these tracking ids will be returned.","uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.1.tracking_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.1.tracking_ids","typeLabel":"string[] | null"}},"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"filters.oneOf.0.must_not.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"None of these field conditions can match for the chunk to be included in the result set.","uniqueKey":"filters.oneOf.0.must_not.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"oneOf":[{"type":"object","description":"Filters can be constructed using either fields on the chunk objects, ids or tracking ids of chunks, and finally ids or tracking ids of groups.","required":["field"],"example":{"field":"metadata.key1","range":{"gt":0,"gte":0,"lt":1,"lte":1}},"properties":{"boolean":{"oneOf":[{"type":"boolean","description":"Boolean is a true false value for a field. This only works for boolean fields. You can specify this if you want values to be true or false."},{"type":"null","description":"Boolean is a true false value for a field. This only works for boolean fields. You can specify this if you want values to be true or false."}]},"date_range":{"oneOf":[{"type":"object","description":"DateRange is a JSON object which can be used to filter chunks by a range of dates. This leverages the time_stamp field on chunks in your dataset. You can specify this if you want values in a certain range. You must provide ISO 8601 combined date and time without timezone.","example":{"gt":"2021-01-01 00:00:00.000","gte":"2021-01-01 00:00:00.000","lt":"2021-01-01 00:00:00.000","lte":"2021-01-01 00:00:00.000"},"properties":{"gt":{"oneOf":[{"type":"string"},{"type":"null"}]},"gte":{"oneOf":[{"type":"string"},{"type":"null"}]},"lt":{"oneOf":[{"type":"string"},{"type":"null"}]},"lte":{"oneOf":[{"type":"string"},{"type":"null"}]}}},{"type":"null"}]},"field":{"type":"string","description":"Field is the name of the field to filter on. Commonly used fields are `timestamp`, `link`, `tag_set`, `location`, `num_value`, `group_ids`, and `group_tracking_ids`. The field value will be used to check for an exact substring match on the metadata values for each existing chunk. This is useful for when you want to filter chunks by arbitrary metadata. To access fields inside of the metadata that you provide with the card, prefix the field name with `metadata.`."},"geo_bounding_box":{"oneOf":[{"type":"object","required":["top_left","bottom_right"],"properties":{"bottom_right":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"lon":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]}}},"top_left":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"lon":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]}}}}},{"type":"null"}]},"geo_polygon":{"oneOf":[{"type":"object","required":["exterior"],"properties":{"exterior":{"type":"array","items":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"lon":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]}}}},"interior":{"oneOf":[{"type":"array","items":{"type":"array","items":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"lon":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]}}}}},{"type":"null","items":{"type":"array","items":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"lon":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]}}}}}]}}},{"type":"null"}]},"geo_radius":{"oneOf":[{"type":"object","required":["center","radius"],"properties":{"center":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"lon":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]}}},"radius":{"type":"number","format":"double"}}},{"type":"null"}]},"match_all":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"description":"Match all lets you pass in an array of values that will return results if all of the items match. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. If both match_all and match_any are provided, the match_any condition will be used."},{"type":"null","items":{"oneOf":[{"type":"string"},{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"description":"Match all lets you pass in an array of values that will return results if all of the items match. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. If both match_all and match_any are provided, the match_any condition will be used."}]},"match_any":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"description":"Match any lets you pass in an array of values that will return results if any of the items match. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. If both match_all and match_any are provided, the match_any condition will be used."},{"type":"null","items":{"oneOf":[{"type":"string"},{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"description":"Match any lets you pass in an array of values that will return results if any of the items match. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. If both match_all and match_any are provided, the match_any condition will be used."}]},"range":{"oneOf":[{"type":"object","example":{"gt":0,"gte":0,"lt":1,"lte":1},"properties":{"gt":{"oneOf":[{"type":"number","format":"double"},{"type":"integer","format":"int64"},{"type":"null"}]},"gte":{"oneOf":[{"type":"number","format":"double"},{"type":"integer","format":"int64"},{"type":"null"}]},"lt":{"oneOf":[{"type":"number","format":"double"},{"type":"integer","format":"int64"},{"type":"null"}]},"lte":{"oneOf":[{"type":"number","format":"double"},{"type":"integer","format":"int64"},{"type":"null"}]}}},{"type":"null"}]}}},{"type":"object","description":"Filters can be constructed using either fields on the chunk objects, ids or tracking ids of chunks, and finally ids or tracking ids of groups.","properties":{"ids":{"oneOf":[{"type":"array","items":{"type":"string","format":"uuid"},"description":"Ids of the chunks to apply a match_any condition with. Only chunks with one of these ids will be returned."},{"type":"null","items":{"type":"string","format":"uuid"},"description":"Ids of the chunks to apply a match_any condition with. Only chunks with one of these ids will be returned."}]},"tracking_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"Tracking ids of the chunks to apply a match_any condition with. Only chunks with one of these tracking ids will be returned."},{"type":"null","items":{"type":"string"},"description":"Tracking ids of the chunks to apply a match_any condition with. Only chunks with one of these tracking ids will be returned."}]}}}]},"description":"None of these field conditions can match for the chunk to be included in the result set.","uniqueKey":"filters.oneOf.0.must_not.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.must_not","typeLabel":"object[] | null"},"should":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"object","description":"Filters can be constructed using either fields on the chunk objects, ids or tracking ids of chunks, and finally ids or tracking ids of groups.","required":["field"],"example":{"field":"metadata.key1","range":{"gt":0,"gte":0,"lt":1,"lte":1}},"properties":{"field":{"type":"string","description":"Field is the name of the field to filter on. Commonly used fields are `timestamp`, `link`, `tag_set`, `location`, `num_value`, `group_ids`, and `group_tracking_ids`. The field value will be used to check for an exact substring match on the metadata values for each existing chunk. This is useful for when you want to filter chunks by arbitrary metadata. To access fields inside of the metadata that you provide with the card, prefix the field name with `metadata.`.","isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.field","typeLabel":"string"},"boolean":{"oneOf":[{"type":"boolean","description":"Boolean is a true false value for a field. This only works for boolean fields. You can specify this if you want values to be true or false.","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.boolean.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Boolean is a true false value for a field. This only works for boolean fields. You can specify this if you want values to be true or false.","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.boolean.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.boolean","typeLabel":"boolean | null"},"date_range":{"oneOf":[{"type":"object","description":"DateRange is a JSON object which can be used to filter chunks by a range of dates. This leverages the time_stamp field on chunks in your dataset. You can specify this if you want values in a certain range. You must provide ISO 8601 combined date and time without timezone.","example":{"gt":"2021-01-01 00:00:00.000","gte":"2021-01-01 00:00:00.000","lt":"2021-01-01 00:00:00.000","lte":"2021-01-01 00:00:00.000"},"properties":{"gt":{"oneOf":[{"type":"string","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.gt.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.gt.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.gt","typeLabel":"string | null"},"gte":{"oneOf":[{"type":"string","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.gte.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.gte.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.gte","typeLabel":"string | null"},"lt":{"oneOf":[{"type":"string","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.lt.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.lt.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.lt","typeLabel":"string | null"},"lte":{"oneOf":[{"type":"string","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.lte.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.lte.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0.lte","typeLabel":"string | null"}},"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.date_range.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.date_range","typeLabel":"object | null"},"geo_bounding_box":{"oneOf":[{"type":"object","required":["top_left","bottom_right"],"properties":{"bottom_right":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.bottom_right.lat.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.bottom_right.lat.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.bottom_right.lat","typeLabel":"integer\u003cint64> | number\u003cdouble>"},"lon":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.bottom_right.lon.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.bottom_right.lon.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.bottom_right.lon","typeLabel":"integer\u003cint64> | number\u003cdouble>"}},"isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.bottom_right","typeLabel":"object"},"top_left":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.top_left.lat.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.top_left.lat.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.top_left.lat","typeLabel":"integer\u003cint64> | number\u003cdouble>"},"lon":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.top_left.lon.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.top_left.lon.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.top_left.lon","typeLabel":"integer\u003cint64> | number\u003cdouble>"}},"isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0.top_left","typeLabel":"object"}},"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_bounding_box","typeLabel":"object | null"},"geo_polygon":{"oneOf":[{"type":"object","required":["exterior"],"properties":{"exterior":{"type":"array","items":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.exterior.items.[INDEX].lat.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.exterior.items.[INDEX].lat.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.exterior.items.[INDEX].lat","typeLabel":"integer\u003cint64> | number\u003cdouble>"},"lon":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.exterior.items.[INDEX].lon.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.exterior.items.[INDEX].lon.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.exterior.items.[INDEX].lon","typeLabel":"integer\u003cint64> | number\u003cdouble>"}},"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.exterior.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.exterior","typeLabel":"object[]"},"interior":{"oneOf":[{"type":"array","items":{"type":"array","items":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0.items.[INDEX].items.[INDEX].lat.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0.items.[INDEX].items.[INDEX].lat.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0.items.[INDEX].items.[INDEX].lat","typeLabel":"integer\u003cint64> | number\u003cdouble>"},"lon":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0.items.[INDEX].items.[INDEX].lon.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0.items.[INDEX].items.[INDEX].lon.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0.items.[INDEX].items.[INDEX].lon","typeLabel":"integer\u003cint64> | number\u003cdouble>"}},"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0.items.[INDEX].items.[INDEX]","typeLabel":"object"},"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0.items.[INDEX]","typeLabel":"object[]"},"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.0","typeLabel":"object[][]"},{"type":"null","items":{"type":"array","items":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"lon":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]}}}},"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0.interior","typeLabel":"object[][] | null"}},"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_polygon.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_polygon","typeLabel":"object | null"},"geo_radius":{"oneOf":[{"type":"object","required":["center","radius"],"properties":{"center":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0.center.lat.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0.center.lat.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0.center.lat","typeLabel":"integer\u003cint64> | number\u003cdouble>"},"lon":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0.center.lon.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0.center.lon.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0.center.lon","typeLabel":"integer\u003cint64> | number\u003cdouble>"}},"isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0.center","typeLabel":"object"},"radius":{"type":"number","format":"double","isRequired":true,"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0.radius","typeLabel":"number\u003cdouble>"}},"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_radius.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.geo_radius","typeLabel":"object | null"},"match_all":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.match_all.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","format":"int64","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.match_all.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.match_all.oneOf.0.items.[INDEX].oneOf.2","typeLabel":"number\u003cdouble>"}],"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.match_all.oneOf.0.items.[INDEX]","typeLabel":"string | integer\u003cint64> | number\u003cdouble>"},"description":"Match all lets you pass in an array of values that will return results if all of the items match. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. If both match_all and match_any are provided, the match_any condition will be used.","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.match_all.oneOf.0","typeLabel":"(string | integer\u003cint64> | number\u003cdouble>)[]"},{"type":"null","items":{"oneOf":[{"type":"string"},{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"description":"Match all lets you pass in an array of values that will return results if all of the items match. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. If both match_all and match_any are provided, the match_any condition will be used.","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.match_all.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.match_all","typeLabel":"(string | integer\u003cint64> | number\u003cdouble>)[] | null"},"match_any":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.match_any.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","format":"int64","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.match_any.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.match_any.oneOf.0.items.[INDEX].oneOf.2","typeLabel":"number\u003cdouble>"}],"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.match_any.oneOf.0.items.[INDEX]","typeLabel":"string | integer\u003cint64> | number\u003cdouble>"},"description":"Match any lets you pass in an array of values that will return results if any of the items match. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. If both match_all and match_any are provided, the match_any condition will be used.","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.match_any.oneOf.0","typeLabel":"(string | integer\u003cint64> | number\u003cdouble>)[]"},{"type":"null","items":{"oneOf":[{"type":"string"},{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"description":"Match any lets you pass in an array of values that will return results if any of the items match. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. If both match_all and match_any are provided, the match_any condition will be used.","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.match_any.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.match_any","typeLabel":"(string | integer\u003cint64> | number\u003cdouble>)[] | null"},"range":{"oneOf":[{"type":"object","example":{"gt":0,"gte":0,"lt":1,"lte":1},"properties":{"gt":{"oneOf":[{"type":"number","format":"double","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.gt.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"integer","format":"int64","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.gt.oneOf.1","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.gt.oneOf.2","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.gt","typeLabel":"number\u003cdouble> | integer\u003cint64> | null"},"gte":{"oneOf":[{"type":"number","format":"double","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.gte.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"integer","format":"int64","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.gte.oneOf.1","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.gte.oneOf.2","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.gte","typeLabel":"number\u003cdouble> | integer\u003cint64> | null"},"lt":{"oneOf":[{"type":"number","format":"double","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.lt.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"integer","format":"int64","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.lt.oneOf.1","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.lt.oneOf.2","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.lt","typeLabel":"number\u003cdouble> | integer\u003cint64> | null"},"lte":{"oneOf":[{"type":"number","format":"double","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.lte.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"integer","format":"int64","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.lte.oneOf.1","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.lte.oneOf.2","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0.lte","typeLabel":"number\u003cdouble> | integer\u003cint64> | null"}},"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.range.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0.range","typeLabel":"object | null"}},"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Filters can be constructed using either fields on the chunk objects, ids or tracking ids of chunks, and finally ids or tracking ids of groups.","properties":{"ids":{"oneOf":[{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.1.ids.oneOf.0.items.[INDEX]","typeLabel":"string\u003cuuid>"},"description":"Ids of the chunks to apply a match_any condition with. Only chunks with one of these ids will be returned.","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.1.ids.oneOf.0","typeLabel":"string\u003cuuid>[]"},{"type":"null","items":{"type":"string","format":"uuid"},"description":"Ids of the chunks to apply a match_any condition with. Only chunks with one of these ids will be returned.","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.1.ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.1.ids","typeLabel":"string\u003cuuid>[] | null"},"tracking_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.1.tracking_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Tracking ids of the chunks to apply a match_any condition with. Only chunks with one of these tracking ids will be returned.","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.1.tracking_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"Tracking ids of the chunks to apply a match_any condition with. Only chunks with one of these tracking ids will be returned.","uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.1.tracking_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.1.tracking_ids","typeLabel":"string[] | null"}},"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"filters.oneOf.0.should.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Only one of these field conditions has to match for the chunk to be included in the result set.","uniqueKey":"filters.oneOf.0.should.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"oneOf":[{"type":"object","description":"Filters can be constructed using either fields on the chunk objects, ids or tracking ids of chunks, and finally ids or tracking ids of groups.","required":["field"],"example":{"field":"metadata.key1","range":{"gt":0,"gte":0,"lt":1,"lte":1}},"properties":{"boolean":{"oneOf":[{"type":"boolean","description":"Boolean is a true false value for a field. This only works for boolean fields. You can specify this if you want values to be true or false."},{"type":"null","description":"Boolean is a true false value for a field. This only works for boolean fields. You can specify this if you want values to be true or false."}]},"date_range":{"oneOf":[{"type":"object","description":"DateRange is a JSON object which can be used to filter chunks by a range of dates. This leverages the time_stamp field on chunks in your dataset. You can specify this if you want values in a certain range. You must provide ISO 8601 combined date and time without timezone.","example":{"gt":"2021-01-01 00:00:00.000","gte":"2021-01-01 00:00:00.000","lt":"2021-01-01 00:00:00.000","lte":"2021-01-01 00:00:00.000"},"properties":{"gt":{"oneOf":[{"type":"string"},{"type":"null"}]},"gte":{"oneOf":[{"type":"string"},{"type":"null"}]},"lt":{"oneOf":[{"type":"string"},{"type":"null"}]},"lte":{"oneOf":[{"type":"string"},{"type":"null"}]}}},{"type":"null"}]},"field":{"type":"string","description":"Field is the name of the field to filter on. Commonly used fields are `timestamp`, `link`, `tag_set`, `location`, `num_value`, `group_ids`, and `group_tracking_ids`. The field value will be used to check for an exact substring match on the metadata values for each existing chunk. This is useful for when you want to filter chunks by arbitrary metadata. To access fields inside of the metadata that you provide with the card, prefix the field name with `metadata.`."},"geo_bounding_box":{"oneOf":[{"type":"object","required":["top_left","bottom_right"],"properties":{"bottom_right":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"lon":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]}}},"top_left":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"lon":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]}}}}},{"type":"null"}]},"geo_polygon":{"oneOf":[{"type":"object","required":["exterior"],"properties":{"exterior":{"type":"array","items":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"lon":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]}}}},"interior":{"oneOf":[{"type":"array","items":{"type":"array","items":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"lon":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]}}}}},{"type":"null","items":{"type":"array","items":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"lon":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]}}}}}]}}},{"type":"null"}]},"geo_radius":{"oneOf":[{"type":"object","required":["center","radius"],"properties":{"center":{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"lon":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}]}}},"radius":{"type":"number","format":"double"}}},{"type":"null"}]},"match_all":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"description":"Match all lets you pass in an array of values that will return results if all of the items match. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. If both match_all and match_any are provided, the match_any condition will be used."},{"type":"null","items":{"oneOf":[{"type":"string"},{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"description":"Match all lets you pass in an array of values that will return results if all of the items match. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. If both match_all and match_any are provided, the match_any condition will be used."}]},"match_any":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"description":"Match any lets you pass in an array of values that will return results if any of the items match. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. If both match_all and match_any are provided, the match_any condition will be used."},{"type":"null","items":{"oneOf":[{"type":"string"},{"type":"integer","format":"int64"},{"type":"number","format":"double"}]},"description":"Match any lets you pass in an array of values that will return results if any of the items match. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. If both match_all and match_any are provided, the match_any condition will be used."}]},"range":{"oneOf":[{"type":"object","example":{"gt":0,"gte":0,"lt":1,"lte":1},"properties":{"gt":{"oneOf":[{"type":"number","format":"double"},{"type":"integer","format":"int64"},{"type":"null"}]},"gte":{"oneOf":[{"type":"number","format":"double"},{"type":"integer","format":"int64"},{"type":"null"}]},"lt":{"oneOf":[{"type":"number","format":"double"},{"type":"integer","format":"int64"},{"type":"null"}]},"lte":{"oneOf":[{"type":"number","format":"double"},{"type":"integer","format":"int64"},{"type":"null"}]}}},{"type":"null"}]}}},{"type":"object","description":"Filters can be constructed using either fields on the chunk objects, ids or tracking ids of chunks, and finally ids or tracking ids of groups.","properties":{"ids":{"oneOf":[{"type":"array","items":{"type":"string","format":"uuid"},"description":"Ids of the chunks to apply a match_any condition with. Only chunks with one of these ids will be returned."},{"type":"null","items":{"type":"string","format":"uuid"},"description":"Ids of the chunks to apply a match_any condition with. Only chunks with one of these ids will be returned."}]},"tracking_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"Tracking ids of the chunks to apply a match_any condition with. Only chunks with one of these tracking ids will be returned."},{"type":"null","items":{"type":"string"},"description":"Tracking ids of the chunks to apply a match_any condition with. Only chunks with one of these tracking ids will be returned."}]}}}]},"description":"Only one of these field conditions has to match for the chunk to be included in the result set.","uniqueKey":"filters.oneOf.0.should.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.oneOf.0.should","typeLabel":"object[] | null"}},"uniqueKey":"filters.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"filters.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters","typeLabel":"object | null"},"limit":{"oneOf":[{"type":"integer","format":"int64","description":"The number of chunks to return. This is the number of chunks which will be returned in the response. The default is 10.","minimum":0,"uniqueKey":"limit.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","description":"The number of chunks to return. This is the number of chunks which will be returned in the response. The default is 10.","minimum":0,"uniqueKey":"limit.oneOf.1","typeLabel":"null"}],"uniqueKey":"limit","typeLabel":"integer\u003cint64> | null"},"metadata":{"oneOf":[{"description":"Metadata is any metadata you want to associate w/ the event that is created from this request","uniqueKey":"metadata.oneOf.0","typeLabel":"any"},{"description":"Metadata is any metadata you want to associate w/ the event that is created from this request","type":"null","uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"any | null"},"negative_chunk_ids":{"oneOf":[{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"negative_chunk_ids.oneOf.0.items.[INDEX]","typeLabel":"string\u003cuuid>"},"description":"The ids of the chunks to be used as negative examples for the recommendation. The chunks in this array will be used to filter out similar chunks.","uniqueKey":"negative_chunk_ids.oneOf.0","typeLabel":"string\u003cuuid>[]"},{"type":"null","items":{"type":"string","format":"uuid"},"description":"The ids of the chunks to be used as negative examples for the recommendation. The chunks in this array will be used to filter out similar chunks.","uniqueKey":"negative_chunk_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"negative_chunk_ids","typeLabel":"string\u003cuuid>[] | null"},"negative_tracking_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"negative_tracking_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The tracking_ids of the chunks to be used as negative examples for the recommendation. The chunks in this array will be used to filter out similar chunks.","uniqueKey":"negative_tracking_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"The tracking_ids of the chunks to be used as negative examples for the recommendation. The chunks in this array will be used to filter out similar chunks.","uniqueKey":"negative_tracking_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"negative_tracking_ids","typeLabel":"string[] | null"},"positive_chunk_ids":{"oneOf":[{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"positive_chunk_ids.oneOf.0.items.[INDEX]","typeLabel":"string\u003cuuid>"},"description":"The ids of the chunks to be used as positive examples for the recommendation. The chunks in this array will be used to find similar chunks.","uniqueKey":"positive_chunk_ids.oneOf.0","typeLabel":"string\u003cuuid>[]"},{"type":"null","items":{"type":"string","format":"uuid"},"description":"The ids of the chunks to be used as positive examples for the recommendation. The chunks in this array will be used to find similar chunks.","uniqueKey":"positive_chunk_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"positive_chunk_ids","typeLabel":"string\u003cuuid>[] | null"},"positive_tracking_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"positive_tracking_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The tracking_ids of the chunks to be used as positive examples for the recommendation. The chunks in this array will be used to find similar chunks.","uniqueKey":"positive_tracking_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"The tracking_ids of the chunks to be used as positive examples for the recommendation. The chunks in this array will be used to find similar chunks.","uniqueKey":"positive_tracking_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"positive_tracking_ids","typeLabel":"string[] | null"},"recommend_type":{"oneOf":[{"type":"string","description":"The type of recommendation to make. This lets you choose whether to recommend based off of `semantic` or `fulltext` similarity. The default is `semantic`.","enum":["semantic","fulltext","bm25"],"uniqueKey":"recommend_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"recommend_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"recommend_type","typeLabel":"enum\u003cstring> | null"},"slim_chunks":{"oneOf":[{"type":"boolean","description":"Set slim_chunks to true to avoid returning the content and chunk_html of the chunks. This is useful for when you want to reduce amount of data over the wire for latency improvement (typicall 10-50ms). Default is false.","uniqueKey":"slim_chunks.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Set slim_chunks to true to avoid returning the content and chunk_html of the chunks. This is useful for when you want to reduce amount of data over the wire for latency improvement (typicall 10-50ms). Default is false.","uniqueKey":"slim_chunks.oneOf.1","typeLabel":"null"}],"uniqueKey":"slim_chunks","typeLabel":"boolean | null"},"strategy":{"oneOf":[{"type":"string","description":"Strategy to use for recommendations, either \"average_vector\" or \"best_score\". The default is \"average_vector\". The \"average_vector\" strategy will construct a single average vector from the positive and negative samples then use it to perform a pseudo-search. The \"best_score\" strategy is more advanced and navigates the HNSW with a heuristic of picking edges where the point is closer to the positive samples than it is the negatives.","enum":["average_vector","best_score"],"uniqueKey":"strategy.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"strategy.oneOf.1","typeLabel":"null"}],"uniqueKey":"strategy","typeLabel":"enum\u003cstring> | null"},"user_id":{"oneOf":[{"type":"string","description":"User ID is the id of the user who is making the request. This is used to track user interactions with the recommendation results.","uniqueKey":"user_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"User ID is the id of the user who is making the request. This is used to track user interactions with the recommendation results.","uniqueKey":"user_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"user_id","typeLabel":"string | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"filters":{"must":[{"field":"tag_set","match_all":["A","B"]},{"field":"num_value","range":{"gte":10,"lte":25}}]},"limit":1,"metadata":"\u003cunknown>","negative_chunk_ids":["3c90c3cc-0d44-4b50-8888-8dd25736052a"],"negative_tracking_ids":["\u003cstring>"],"positive_chunk_ids":["3c90c3cc-0d44-4b50-8888-8dd25736052a"],"positive_tracking_ids":["\u003cstring>"],"slim_chunks":true,"user_id":"\u003cstring>"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"ddd017b4-347d-4114-aa70-018c8a82fa00":{"description":"Chunks with embedding vectors which are similar to positives and dissimilar to negatives","content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"V2","required":["id","chunks"],"properties":{"chunks":{"type":"array","items":{"type":"object","title":"V2","required":["chunk","score"],"properties":{"chunk":{"oneOf":[{"type":"object","title":"SlimChunkMetadataWithArrayTagSet","required":["id","created_at","updated_at","dataset_id","weight"],"properties":{"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"dataset_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.dataset_id","typeLabel":"string\u003cuuid>"},"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.id","typeLabel":"string\u003cuuid>"},"updated_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"weight":{"type":"number","format":"double","isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.weight","typeLabel":"number\u003cdouble>"},"image_urls":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.image_urls.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.image_urls.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.image_urls.oneOf.0.items.[INDEX]","typeLabel":"string | null"},"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.image_urls.oneOf.0","typeLabel":"(string | null)[]"},{"type":"null","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.image_urls.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.image_urls","typeLabel":"(string | null)[] | null"},"link":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.link.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.link.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.link","typeLabel":"string | null"},"location":{"oneOf":[{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.location.oneOf.0.lat.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.location.oneOf.0.lat.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.location.oneOf.0.lat","typeLabel":"integer\u003cint64> | number\u003cdouble>"},"lon":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.location.oneOf.0.lon.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.location.oneOf.0.lon.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.location.oneOf.0.lon","typeLabel":"integer\u003cint64> | number\u003cdouble>"}},"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.location.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.location.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.location","typeLabel":"object | null"},"metadata":{"oneOf":[{},{"type":"null","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.metadata","typeLabel":"null"},"num_value":{"oneOf":[{"type":"number","format":"double","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.num_value.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.num_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.num_value","typeLabel":"number\u003cdouble> | null"},"tag_set":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.tag_set.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.tag_set.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.tag_set.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.tag_set","typeLabel":"string[] | null"},"time_stamp":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.time_stamp.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.time_stamp.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.time_stamp","typeLabel":"string\u003cdate-time> | null"},"tracking_id":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.tracking_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.tracking_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0.tracking_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.0","typeLabel":"SlimChunkMetadataWithArrayTagSet · object"},{"type":"object","title":"V2","required":["id","created_at","updated_at","dataset_id","weight"],"example":{"chunk_html":"\u003cp>Hello, world!\u003c/p>","created_at":"2021-01-01 00:00:00.000","dataset_id":"e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3","id":"e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3","link":"https://trieve.ai","metadata":{"key":"value"},"tag_set":"[tag1,tag2]","time_stamp":"2021-01-01 00:00:00.000","tracking_id":"e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3","updated_at":"2021-01-01 00:00:00.000","weight":0.5},"properties":{"created_at":{"type":"string","format":"date-time","description":"Timestamp of the creation of the chunk","isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"dataset_id":{"type":"string","format":"uuid","description":"ID of the dataset which the chunk belongs to","isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.dataset_id","typeLabel":"string\u003cuuid>"},"id":{"type":"string","format":"uuid","description":"Unique identifier of the chunk, auto-generated uuid created by Trieve","isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.id","typeLabel":"string\u003cuuid>"},"updated_at":{"type":"string","format":"date-time","description":"Timestamp of the last update of the chunk","isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.updated_at","typeLabel":"string\u003cdate-time>"},"weight":{"type":"number","format":"double","description":"Weight of the chunk, can be any float. Used as a multiplier on a chunk's relevance score for ranking purposes.","isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.weight","typeLabel":"number\u003cdouble>"},"chunk_html":{"oneOf":[{"type":"string","description":"HTML content of the chunk, can also be an arbitrary string which is not HTML","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.chunk_html.oneOf.0","typeLabel":"string"},{"type":"null","description":"HTML content of the chunk, can also be an arbitrary string which is not HTML","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.chunk_html.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.chunk_html","typeLabel":"string | null"},"image_urls":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.image_urls.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.image_urls.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.image_urls.oneOf.0.items.[INDEX]","typeLabel":"string | null"},"description":"Image URLs of the chunk, can be any list of strings. Used for image search and RAG.","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.image_urls.oneOf.0","typeLabel":"(string | null)[]"},{"type":"null","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"Image URLs of the chunk, can be any list of strings. Used for image search and RAG.","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.image_urls.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.image_urls","typeLabel":"(string | null)[] | null"},"link":{"oneOf":[{"type":"string","description":"Link to the chunk, should be a URL","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.link.oneOf.0","typeLabel":"string"},{"type":"null","description":"Link to the chunk, should be a URL","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.link.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.link","typeLabel":"string | null"},"location":{"oneOf":[{"type":"object","description":"Location that you want to use as the center of the search.","required":["lat","lon"],"properties":{"lat":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.location.oneOf.0.lat.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.location.oneOf.0.lat.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.location.oneOf.0.lat","typeLabel":"integer\u003cint64> | number\u003cdouble>"},"lon":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.location.oneOf.0.lon.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"number","format":"double","isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.location.oneOf.0.lon.oneOf.1","typeLabel":"number\u003cdouble>"}],"isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.location.oneOf.0.lon","typeLabel":"integer\u003cint64> | number\u003cdouble>"}},"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.location.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.location.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.location","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Metadata of the chunk, can be any JSON object","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.metadata.oneOf.0","typeLabel":"any"},{"description":"Metadata of the chunk, can be any JSON object","type":"null","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.metadata","typeLabel":"any | null"},"num_value":{"oneOf":[{"type":"number","format":"double","description":"Numeric value of the chunk, can be any float. Can represent the most relevant numeric value of the chunk, such as a price, quantity in stock, rating, etc.","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.num_value.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Numeric value of the chunk, can be any float. Can represent the most relevant numeric value of the chunk, such as a price, quantity in stock, rating, etc.","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.num_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.num_value","typeLabel":"number\u003cdouble> | null"},"tag_set":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.tag_set.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.tag_set.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.tag_set.oneOf.0.items.[INDEX]","typeLabel":"string | null"},"description":"Tag set of the chunk, can be any list of strings. Used for tag-filtered searches.","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.tag_set.oneOf.0","typeLabel":"(string | null)[]"},{"type":"null","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"Tag set of the chunk, can be any list of strings. Used for tag-filtered searches.","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.tag_set.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.tag_set","typeLabel":"(string | null)[] | null"},"time_stamp":{"oneOf":[{"type":"string","format":"date-time","description":"Timestamp of the chunk, can be any timestamp. Specified by the user.","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.time_stamp.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Timestamp of the chunk, can be any timestamp. Specified by the user.","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.time_stamp.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.time_stamp","typeLabel":"string\u003cdate-time> | null"},"tracking_id":{"oneOf":[{"type":"string","description":"Tracking ID of the chunk, can be any string, determined by the user. Tracking ID's are unique identifiers for chunks within a dataset. They are designed to match the unique identifier of the chunk in the user's system.","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.tracking_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tracking ID of the chunk, can be any string, determined by the user. Tracking ID's are unique identifiers for chunks within a dataset. They are designed to match the unique identifier of the chunk in the user's system.","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.tracking_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1.tracking_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.1","typeLabel":"V2 · object"},{"type":"object","title":"ContentChunkMetadata","required":["id","weight"],"example":{"id":"e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3","time_stamp":"2021-01-01 00:00:00.000","tracking_id":"e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3","weight":0.5},"properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.2.id","typeLabel":"string\u003cuuid>"},"weight":{"type":"number","format":"double","isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.2.weight","typeLabel":"number\u003cdouble>"},"chunk_html":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.2.chunk_html.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.2.chunk_html.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.2.chunk_html","typeLabel":"string | null"},"image_urls":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.2.image_urls.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.2.image_urls.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.2.image_urls.oneOf.0.items.[INDEX]","typeLabel":"string | null"},"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.2.image_urls.oneOf.0","typeLabel":"(string | null)[]"},{"type":"null","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.2.image_urls.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.2.image_urls","typeLabel":"(string | null)[] | null"},"num_value":{"oneOf":[{"type":"number","format":"double","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.2.num_value.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.2.num_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.2.num_value","typeLabel":"number\u003cdouble> | null"},"time_stamp":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.2.time_stamp.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.2.time_stamp.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.2.time_stamp","typeLabel":"string\u003cdate-time> | null"},"tracking_id":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.2.tracking_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.2.tracking_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.2.tracking_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk.oneOf.2","typeLabel":"ContentChunkMetadata · object"}],"isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].chunk","typeLabel":"SlimChunkMetadataWithArrayTagSet · object | V2 · object | ContentChunkMetadata · object"},"score":{"type":"number","format":"float","isRequired":true,"uniqueKey":"oneOf.0.chunks.items.[INDEX].score","typeLabel":"number\u003cfloat>"},"highlights":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.chunks.items.[INDEX].highlights.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.0.chunks.items.[INDEX].highlights.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"oneOf.0.chunks.items.[INDEX].highlights.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.chunks.items.[INDEX].highlights","typeLabel":"string[] | null"}},"example":{"chunk":{"chunk_html":"\u003cp>Some HTML content\u003c/p>","content":"Some content","id":"d290f1ee-6c54-4b01-90e6-d701748f0851","link":"https://example.com","metadata":{"key1":"value1","key2":"value2"},"time_stamp":"2021-01-01 00:00:00.000","weight":0.5},"highlights":["highlight is two tokens: high, light","whereas hello is only one token: hello"],"score":0.5},"uniqueKey":"oneOf.0.chunks.items.[INDEX]","typeLabel":"V2 · object"},"isRequired":true,"uniqueKey":"oneOf.0.chunks","typeLabel":"V2 · object[]"},"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"oneOf.0.id","typeLabel":"string\u003cuuid>"}},"uniqueKey":"oneOf.0","typeLabel":"V2 · object"},{"type":"array","items":{"type":"object","title":"V1","required":["id","created_at","updated_at","dataset_id","weight","score"],"properties":{"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"oneOf.1.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"dataset_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"oneOf.1.items.[INDEX].dataset_id","typeLabel":"string\u003cuuid>"},"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"oneOf.1.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"score":{"type":"number","format":"float","isRequired":true,"uniqueKey":"oneOf.1.items.[INDEX].score","typeLabel":"number\u003cfloat>"},"updated_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"oneOf.1.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time>"},"weight":{"type":"number","format":"double","isRequired":true,"uniqueKey":"oneOf.1.items.[INDEX].weight","typeLabel":"number\u003cdouble>"},"chunk_html":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.items.[INDEX].chunk_html.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.items.[INDEX].chunk_html.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.items.[INDEX].chunk_html","typeLabel":"string | null"},"link":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.items.[INDEX].link.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.items.[INDEX].link.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.items.[INDEX].link","typeLabel":"string | null"},"metadata":{"oneOf":[{},{"type":"null","uniqueKey":"oneOf.1.items.[INDEX].metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.items.[INDEX].metadata","typeLabel":"null"},"tag_set":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.items.[INDEX].tag_set.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.items.[INDEX].tag_set.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.items.[INDEX].tag_set","typeLabel":"string | null"},"time_stamp":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"oneOf.1.items.[INDEX].time_stamp.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"oneOf.1.items.[INDEX].time_stamp.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.items.[INDEX].time_stamp","typeLabel":"string\u003cdate-time> | null"},"tracking_id":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.items.[INDEX].tracking_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.items.[INDEX].tracking_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.items.[INDEX].tracking_id","typeLabel":"string | null"}},"example":{"chunk_html":"\u003cp>Hello, world!\u003c/p>","content":"Hello, world!","created_at":"2021-01-01 00:00:00.000","dataset_id":"e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3","id":"e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3","link":"https://trieve.ai","metadata":{"key":"value"},"score":0.9,"tag_set":"tag1,tag2","time_stamp":"2021-01-01 00:00:00.000","tracking_id":"e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3","updated_at":"2021-01-01 00:00:00.000","weight":0.5},"uniqueKey":"oneOf.1.items.[INDEX]","typeLabel":"V1 · object"},"uniqueKey":"oneOf.1","typeLabel":"V1 · object[]"}],"uniqueKey":"","typeLabel":"V2 · object | V1 · object[]"},"examples":{"Example":{"title":"Example","value":{"chunks":[{"chunk":{"chunk_html":"\u003cp>Some HTML content\u003c/p>","content":"Some content","id":"d290f1ee-6c54-4b01-90e6-d701748f0851","link":"https://example.com","metadata":{"key1":"value1","key2":"value2"},"time_stamp":"2021-01-01 00:00:00.000","weight":0.5},"highlights":["highlight is two tokens: high, light","whereas hello is only one token: hello"],"score":0.5}],"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}}},"exampleType":"generated"}},"exampleType":"generated"},"0d7ed127-4250-481f-b191-0e6cfea80802":{"description":"Service error relating to to getting similar chunks","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"example":{"message":"Bad Request"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Bad Request"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"0cdbc204-4cb4-4083-8650-56a72256400d":{"ApiKey":{"type":"apiKey","in":"header","name":"Authorization","scopes":["readonly"]}}},"servers":{"2f9b8af5-1d01-4863-b9c9-46a5af77efd6":{"url":"https://api.trieve.ai","description":"Production server"},"f8cd735f-4869-4d97-9c1c-3f5db410bca0":{"url":"http://localhost:8090","description":"Local development server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","scopes":["readonly"]},"schema":{"title":"Authorization","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKey","name":"Authorization"}],"title":"ApiKey"}]},"originalFileLocation":"https://beta-api.trieve.ai/api-docs/openapi.json"},"subdomain":"trieve","siteName":"Trieve","title":"Get Recommended Chunks - Trieve","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"api-reference/chunk/get-recommended-chunks.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Get recommendations of chunks similar to the positive samples in the request and dissimilar to the negative.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Trieve\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trieve/UgHWr4L5TQhL9HIO/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/trieve/UgHWr4L5TQhL9HIO/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trieve/UgHWr4L5TQhL9HIO/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/trieve/UgHWr4L5TQhL9HIO/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/trieve/UgHWr4L5TQhL9HIO/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trieve/UgHWr4L5TQhL9HIO/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trieve/UgHWr4L5TQhL9HIO/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/trieve/UgHWr4L5TQhL9HIO/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/trieve/UgHWr4L5TQhL9HIO/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Recommended Chunks - Trieve\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get recommendations of chunks similar to the positive samples in the request and dissimilar to the negative.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Trieve\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.trieve.ai/api-reference/chunk/get-recommended-chunks\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://trieve.mintlify.app/_mintlify/api/og/v2?division=Chunk\u0026amp;title=Get+Recommended+Chunks\u0026amp;description=Get+recommendations+of+chunks+similar+to+the+positive+samples+in+the+request+and+dissimilar+to+the+negative.\u0026amp;theme=5f46ca17884f21421b93e352\u0026amp;signature=c77e81c7120d2989cc730c4835cc71670b2cb62fcfa1d621615bfde4465e3a81\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get Recommended Chunks - Trieve\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get recommendations of chunks similar to the positive samples in the request and dissimilar to the negative.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://trieve.mintlify.app/_mintlify/api/og/v2?division=Chunk\u0026amp;title=Get+Recommended+Chunks\u0026amp;description=Get+recommendations+of+chunks+similar+to+the+positive+samples+in+the+request+and+dissimilar+to+the+negative.\u0026amp;theme=5f46ca17884f21421b93e352\u0026amp;signature=c77e81c7120d2989cc730c4835cc71670b2cb62fcfa1d621615bfde4465e3a81\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/trieve/UgHWr4L5TQhL9HIO/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Trieve\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#a33eb5\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.trieve.ai/api-reference/chunk/get-recommended-chunks\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/chunk/get-recommended-chunks.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.trieve.ai/#organization\",\"name\":\"Trieve\",\"url\":\"https://docs.trieve.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintlify.s3.us-west-1.amazonaws.com/trieve/icons/trieve-logo.png\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.trieve.ai#website\",\"name\":\"Trieve\",\"url\":\"https://docs.trieve.ai\",\"publisher\":{\"@id\":\"https://docs.trieve.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.trieve.ai/api-reference/chunk/get-recommended-chunks#webpage\",\"url\":\"https://docs.trieve.ai/api-reference/chunk/get-recommended-chunks\",\"name\":\"Get Recommended Chunks\",\"description\":\"Get recommendations of chunks similar to the positive samples in the request and dissimilar to the negative.\",\"isPartOf\":{\"@id\":\"https://docs.trieve.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.trieve.ai/api-reference/chunk/get-recommended-chunks#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.trieve.ai/api-reference/chunk/get-recommended-chunks#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Chunk\",\"item\":\"https://docs.trieve.ai/api-reference/chunk/create-or-upsert-chunk-or-chunks\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Recommended Chunks\",\"item\":\"https://docs.trieve.ai/api-reference/chunk/get-recommended-chunks\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.trieve.ai/api-reference/chunk/get-recommended-chunks#apireference\",\"headline\":\"Get Recommended Chunks\",\"name\":\"Get Recommended Chunks\",\"description\":\"Get recommendations of chunks similar to the positive samples in the request and dissimilar to the negative.\",\"url\":\"https://docs.trieve.ai/api-reference/chunk/get-recommended-chunks\",\"mainEntityOfPage\":{\"@id\":\"https://docs.trieve.ai/api-reference/chunk/get-recommended-chunks#webpage\"},\"publisher\":{\"@id\":\"https://docs.trieve.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.trieve.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Trieve\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Trieve","nav":{"global":{"anchors":[{"anchor":"TypeScript SDK","href":"https://ts-sdk.trieve.ai","icon":"js"},{"anchor":"Github","href":"https://github.com/devflowinc/trieve","icon":"github"},{"anchor":"Community","href":"https://discord.com/invite/E9sPRZqpDT","icon":"users"},{"anchor":"Blog","href":"https://trieve.ai/blog","icon":"newspaper"},{"anchor":"System Status","href":"https://status.trieve.ai","icon":"satellite-dish"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/getting-started/introduction"}]},{"tab":"API Reference","groups":[{"group":"Chunk","pages":[{"openapi":"post /api/chunk","title":"Create or Upsert Chunk or Chunks","href":"/api-reference/chunk/create-or-upsert-chunk-or-chunks"},{"openapi":"post /api/chunk/search","title":"Search","href":"/api-reference/chunk/search"},{"openapi":"post /api/chunk/autocomplete","title":"Autocomplete","description":"This route provides the primary autocomplete functionality for the API. This prioritize prefix matching with semantic or full-text search.","href":"/api-reference/chunk/autocomplete"},{"openapi":"post /api/chunk/recommend","title":"Get Recommended Chunks","href":"/api-reference/chunk/get-recommended-chunks"},{"openapi":"post /api/chunks/scroll","title":"Scroll Chunks","description":"Get paginated chunks from your dataset with filters and custom sorting. If sort by is not specified, the results will sort by the id's of the chunks in ascending order. Sort by and offset_chunk_id cannot be used together; if you want to scroll with a sort by then you need to use a must_not filter with the ids you have already seen. There is a limit of 1000 id's in a must_not filter at a time.","href":"/api-reference/chunk/scroll-chunks"},{"openapi":"post /api/chunk/count","title":"Count chunks above threshold","href":"/api-reference/chunk/count-chunks-above-threshold"},{"openapi":"post /api/chunk/suggestions","title":"Generate suggested queries","href":"/api-reference/chunk/generate-suggested-queries"},{"openapi":"post /api/chunk/generate","title":"RAG on Specified Chunks","href":"/api-reference/chunk/rag-on-specified-chunks"},{"openapi":"put /api/chunk","title":"Update Chunk","href":"/api-reference/chunk/update-chunk"},{"openapi":"put /api/chunk/tracking_id/update","title":"Update Chunk By Tracking Id","href":"/api-reference/chunk/update-chunk-by-tracking-id"},{"openapi":"get /api/chunk/{chunk_id}","title":"Get Chunk By Id","href":"/api-reference/chunk/get-chunk-by-id"},{"openapi":"get /api/chunk/tracking_id/{tracking_id}","title":"Get Chunk By Tracking Id","href":"/api-reference/chunk/get-chunk-by-tracking-id"},{"openapi":"post /api/chunks/tracking","title":"Get Chunks By Tracking Ids","href":"/api-reference/chunk/get-chunks-by-tracking-ids"},{"openapi":"post /api/chunks","title":"Get Chunks By Ids","href":"/api-reference/chunk/get-chunks-by-ids"},{"openapi":"delete /api/chunk/{chunk_id}","title":"Delete Chunk","href":"/api-reference/chunk/delete-chunk"},{"openapi":"delete /api/chunk/tracking_id/{tracking_id}","title":"Delete Chunk By Tracking Id","href":"/api-reference/chunk/delete-chunk-by-tracking-id"},{"openapi":"delete /api/chunk","title":"Bulk Delete Chunks","href":"/api-reference/chunk/bulk-delete-chunk"},{"openapi":"post /api/chunk/split","title":"Split HTML Content into Chunks","href":"/api-reference/chunk/split-html-content-into-chunks"}]},{"group":"Chunk Group","pages":[{"openapi":"post /api/chunk_group","title":"Create or Upsert Group or Groups","href":"/api-reference/chunk-group/create-or-upsert-group-or-groups"},{"openapi":"post /api/chunk_group/group_oriented_search","title":"Search Over Groups","href":"/api-reference/chunk-group/search-over-groups"},{"openapi":"post /api/chunk_group/group_oriented_autocomplete","title":"Autocomplete Search Over Groups","href":"/api-reference/chunk-group/autocomplete-search-over-groups"},{"openapi":"post /api/chunk_group/search","title":"Search Within Group","href":"/api-reference/chunk-group/search-within-group"},{"openapi":"post /api/chunk_group/recommend","title":"Get Recommended Groups","href":"/api-reference/chunk-group/get-recommended-groups"},{"openapi":"post /api/chunk_group/chunk/{group_id}","title":"Add Chunk to Group","href":"/api-reference/chunk-group/add-chunk-to-group"},{"openapi":"post /api/chunk_group/tracking_id/{tracking_id}","title":"Add Chunk to Group by Tracking ID","href":"/api-reference/chunk-group/add-chunk-to-group-by-tracking-id"},{"openapi":"post /api/chunk_group/chunks","title":"Get Groups for Chunks","href":"/api-reference/chunk-group/get-groups-for-chunks"},{"openapi":"get /api/chunk_group/tracking_id/{group_tracking_id}/{page}","title":"Get Chunks in Group by Tracking ID","href":"/api-reference/chunk-group/get-chunks-in-group-by-tracking-id"},{"openapi":"get /api/chunk_group/tracking_id/{tracking_id}","title":"Get Group by Tracking ID","href":"/api-reference/chunk-group/get-group-by-tracking-id"},{"openapi":"put /api/chunk_group","title":"Update Group","href":"/api-reference/chunk-group/update-group"},{"openapi":"delete /api/chunk_group/chunk/{group_id}","title":"Remove Chunk from Group","href":"/api-reference/chunk-group/remove-chunk-from-group"},{"openapi":"delete /api/chunk_group/tracking_id/{tracking_id}","title":"Delete Group by Tracking ID","href":"/api-reference/chunk-group/delete-group-by-tracking-id"},{"openapi":"delete /api/chunk_group/{group_id}","title":"Delete Group","href":"/api-reference/chunk-group/delete-group"},{"openapi":"get /api/chunk_group/{group_id}","title":"Get Group","href":"/api-reference/chunk-group/get-group"},{"openapi":"get /api/chunk_group/{group_id}/{page}","title":"Get Chunks in Group","href":"/api-reference/chunk-group/get-chunks-in-group"},{"openapi":"get /api/dataset/groups/{dataset_id}/{page}","title":"Get Groups for Dataset","href":"/api-reference/chunk-group/get-groups-for-dataset"}]},{"group":"Topic","pages":[{"openapi":"post /api/topic","title":"Create Topic","href":"/api-reference/topic/create-topic"},{"openapi":"post /api/topic/clone","title":"Clone Topic","href":"/api-reference/topic/clone-topic"},{"openapi":"put /api/topic","title":"Update Topic","href":"/api-reference/topic/update-topic"},{"openapi":"get /api/topic/owner/{owner_id}","title":"Get All Topics for Owner ID","href":"/api-reference/topic/get-all-topics-for-owner-id"},{"openapi":"delete /api/topic/{topic_id}","title":"Delete Topic","href":"/api-reference/topic/delete-topic"}]},{"group":"Message","pages":[{"openapi":"post /api/message","title":"Create message","href":"/api-reference/message/create-message"},{"openapi":"put /api/message","title":"Edit message","href":"/api-reference/message/edit-message"},{"openapi":"patch /api/message","title":"Regenerate message","href":"/api-reference/message/regenerate-message-1"},{"openapi":"post /api/message/get_tool_function_params","title":"Get tool function parameters","href":"/api-reference/message/get-tool-function-parameters"},{"openapi":"get /api/message/{message_id}","title":"Get a message by its ID","href":"/api-reference/message/get-a-message-by-its-id"},{"openapi":"get /api/messages/{messages_topic_id}","title":"Get all messages for a given topic","href":"/api-reference/message/get-all-messages-for-a-given-topic"},{"openapi":"post /api/message/edit_image","title":"Edit Image","href":"/api-reference/message/edit-image"},{"openapi":"post /api/message/generate_message_completions","title":"Generate Message Completions","href":"/api-reference/message/generate-message-completions"},{"openapi":"post /api/message/transcribe_audio","title":"Transcribe Audio","href":"/api-reference/message/transcribe-audio"}]},{"group":"Crawl","pages":[{"openapi":"get /api/crawl","title":"Get all crawl requests for a dataset","href":"/api-reference/crawl/get-all-crawl-requests-for-a-dataset"},{"openapi":"put /api/crawl","title":"Update a crawl request","href":"/api-reference/crawl/update-a-crawl-request"},{"openapi":"post /api/crawl","title":"Create a new crawl request","href":"/api-reference/crawl/create-a-new-crawl-request"},{"openapi":"delete /api/crawl/{crawl_id}","title":"Delete a crawl request","href":"/api-reference/crawl/delete-a-crawl-request"}]},{"group":"File","pages":[{"openapi":"post /api/file","title":"Upload File","href":"/api-reference/file/upload-file"},{"openapi":"post /api/file/csv_or_jsonl","title":"Create Presigned CSV/JSONL S3 PUT URL","href":"/api-reference/file/create-presigned-url-for-csv-jsonl"},{"openapi":"post /api/file/html_page","title":"Upload HTML Page","href":"/api-reference/file/upload-html-page"},{"openapi":"get /api/dataset/files/{dataset_id}/{page}","title":"Get Files and Group IDs for Dataset","href":"/api-reference/file/get-files-for-dataset"},{"openapi":"get /api/dataset/scroll_files","title":"Scroll Files with Groups","href":"/api-reference/file/scroll-files"},{"openapi":"get /api/file/{file_id}","title":"Get File with Signed URL","href":"/api-reference/file/get-file"},{"openapi":"delete /api/file/{file_id}","title":"Delete File","href":"/api-reference/file/delete-file"},{"openapi":"get /api/file/{file_id}","title":"Get File with Signed URL","href":"/api-reference/file/get-file-with-signed-url"},{"openapi":"get /api/dataset/files/{dataset_id}/{page}","deprecated":true,"title":"Get Files and Group IDs for Dataset","href":"/api-reference/file/get-files-and-group-ids-for-dataset"},{"openapi":"get /api/dataset/scroll_files","title":"Scroll Files with Groups","href":"/api-reference/file/scroll-files-with-groups"}]},{"group":"Analytics","pages":[{"openapi":"post /api/analytics","title":"Get Analytics","href":"/api-reference/analytics/get-analytics"},{"openapi":"post /api/analytics/events/all","title":"Get All User Events","href":"/api-reference/analytics/get-all-user-events"},{"openapi":"post /api/analytics/events/ctr","title":"Get CTR Analytics","href":"/api-reference/analytics/get-ctr-analytics"},{"openapi":"post /api/analytics/rag","title":"Get RAG Analytics","href":"/api-reference/analytics/get-rag-analytics"},{"openapi":"post /api/analytics/recommendations","title":"Get Recommendation Analytics","href":"/api-reference/analytics/get-recommendation-analytics"},{"openapi":"post /api/analytics/search","title":"Get Search Analytics","href":"/api-reference/analytics/get-search-analytics"},{"openapi":"post /api/analytics/search/cluster","title":"Get Cluster Analytics","href":"/api-reference/analytics/get-cluster-analytics"},{"openapi":"post /api/analytics/events/component","title":"Get Component Analytics","href":"/api-reference/analytics/get-component-analytics"},{"openapi":"post /api/analytics/top","title":"Get Top Datasets","href":"/api-reference/analytics/get-top-datasets"},{"openapi":"put /api/analytics/events","title":"Send User Event Data","href":"/api-reference/analytics/send-user-event-data"},{"openapi":"put /api/analytics/ctr","title":"Send CTR Data","href":"/api-reference/analytics/send-ctr-data"},{"openapi":"put /api/analytics/rag","title":"Rate RAG","href":"/api-reference/analytics/rate-rag"},{"openapi":"put /api/analytics/search","title":"Rate Search","href":"/api-reference/analytics/rate-search"},{"openapi":"get /api/analytics/events/{event_id}","title":"Get User Event By ID","href":"/api-reference/analytics/get-user-event-by-id"}]},{"group":"Experiments","pages":[{"openapi":"post /api/experiment","title":"Create Experiment","href":"/api-reference/experiment/create-experiment"},{"openapi":"post /api/experiment/ab-test","title":"Ab Test","href":"/api-reference/experiment/ab-test"},{"openapi":"put /api/experiment","title":"Update Experiment","href":"/api-reference/experiment/update-experiment"},{"openapi":"delete /api/experiment/{experiment_id}","title":"Delete Experiment","href":"/api-reference/experiment/delete-experiment"},{"title":"Get experiment","href":"/api-reference/experiment/get-experiment"}]},{"group":"Dataset","pages":[{"openapi":"post /api/dataset","title":"Create Dataset","href":"/api-reference/dataset/create-dataset"},{"openapi":"post /api/dataset/batch_create_datasets","title":"Batch Create Datasets","href":"/api-reference/dataset/batch-create-datasets"},{"openapi":"post /api/dataset/get_all_tags","title":"Get All Tags","href":"/api-reference/dataset/get-all-tags"},{"openapi":"post /api/dataset/events","title":"Get events for the dataset","href":"/api-reference/dataset/get-events-for-the-dataset"},{"openapi":"put /api/dataset","title":"Update Dataset by ID or Tracking ID","href":"/api-reference/dataset/update-dataset-by-id-or-tracking-id"},{"openapi":"put /api/dataset/clear/{dataset_id}","title":"Clear Dataset","href":"/api-reference/dataset/clear-dataset"},{"openapi":"get /api/dataset/{dataset_id}","title":"Get Dataset By ID","href":"/api-reference/dataset/get-dataset-by-id"},{"openapi":"get /api/dataset/tracking_id/{tracking_id}","title":"Get Dataset by Tracking ID","href":"/api-reference/dataset/get-dataset-by-tracking-id"},{"openapi":"get /api/dataset/organization/{organization_id}","title":"Get Datasets from Organization","href":"/api-reference/dataset/get-datasets-from-organization"},{"openapi":"post /api/etl/create_job","title":"Create ETL Job","href":"/api-reference/dataset/create-etl-job"},{"openapi":"put /api/dataset/pagefind","title":"Create Pagefind Index for Dataset","href":"/api-reference/dataset/create-pagefind-index-for-dataset"},{"openapi":"get /api/dataset/pagefind","title":"Get Pagefind Index Url for Dataset","href":"/api-reference/dataset/get-pagefind-index-url-for-dataset"},{"openapi":"get /api/dataset/usage/{dataset_id}","title":"Get Usage By Dataset ID","href":"/api-reference/dataset/get-usage-by-dataset-id"},{"openapi":"get /api/dataset/crawl_options/{dataset_id}","title":null,"href":"/api-reference/dataset/get-dataset-crawl-options"},{"openapi":"delete /api/dataset/{dataset_id}","title":"Delete Dataset","href":"/api-reference/dataset/delete-dataset"},{"openapi":"delete /api/dataset/tracking_id/{tracking_id}","title":"Delete Dataset by Tracking ID","href":"/api-reference/dataset/delete-dataset-by-tracking-id"},{"openapi":"post /api/dataset/clone","title":"Clone Dataset","href":"/api-reference/dataset/clone-dataset"},{"openapi":"get /api/dataset/get_dataset_queue_lengths","title":"Get file and chunk creation queue lengths","href":"/api-reference/dataset/get-file-and-chunk-creation-queue-lengths"}]},{"group":"Organization","pages":[{"openapi":"post /api/organization","title":"Create Organization","href":"/api-reference/organization/create-organization"},{"openapi":"post /api/organization/api_key","title":"Create Organization Api Key","href":"/api-reference/organization/create-organization-api-key"},{"openapi":"post /api/organization/update_dataset_configs","title":"Update All Dataset Configurations","href":"/api-reference/organization/update-all-dataset-configurations"},{"openapi":"put /api/organization","title":"Update Organization","href":"/api-reference/organization/update-organization"},{"openapi":"get /api/organization/api_key","title":"Get Organization Api Keys","href":"/api-reference/organization/get-organization-api-keys"},{"openapi":"get /api/organization/usage/{organization_id}","title":null,"href":"/api-reference/organization/get-organization-usage"},{"openapi":"get /api/organization/users/{organization_id}","title":"Get Organization Users","href":"/api-reference/organization/get-organization-users"},{"openapi":"get /api/organization/{organization_id}","title":"Get Organization","href":"/api-reference/organization/get-organization"},{"openapi":"delete /api/organization/{organization_id}","title":"Delete Organization","href":"/api-reference/organization/delete-organization"},{"openapi":"delete /api/organization/api_key/{api_key_id}","title":"Delete Organization Api Key","href":"/api-reference/organization/delete-organization-api-key"}]},{"group":"User","pages":[{"openapi":"put /api/user","title":"Update User Org Role","href":"/api-reference/user/update-user-org-role"},{"openapi":"get /api/user/api_key","title":"Get User Api Keys","href":"/api-reference/user/get-user-api-keys"},{"openapi":"delete /api/user/api_key/{api_key_id}","title":"Delete User Api Key","href":"/api-reference/user/delete-user-api-key"}]},{"group":"Auth","pages":[{"openapi":"get /api/auth","title":"Login","href":"/api-reference/auth/login"},{"openapi":"get /api/auth/callback","title":"OpenID Connect callback","href":"/api-reference/auth/openid-connect-callback"},{"openapi":"get /api/auth/me","title":"Get Me","href":"/api-reference/auth/get-me"},{"openapi":"delete /api/auth","title":"Logout","href":"/api-reference/auth/logout"},{"openapi":"post /api/auth/create_api_only_user","title":null,"href":"/api-reference/auth/post-apiauthcreate_api_only_user"}]},{"group":"Health","pages":[{"openapi":"get /api/health","title":"Health Check","href":"/api-reference/health/health-check"}]},{"group":"Invitation","pages":[{"openapi":"post /api/invitation","title":"Send Invitation","href":"/api-reference/invitation/send-invitation"},{"openapi":"get /api/invitations/{organization_id}","title":"Get Invitations","href":"/api-reference/invitation/get-invitations"},{"openapi":"delete /api/invitation/{invitation_id}","title":"Delete Invitation","href":"/api-reference/invitation/delete-invitation"}]},{"group":"Stripe","pages":[{"openapi":"post /api/stripe/checkout/setup/{organization_id}","title":"Update Payment Method","href":"/api-reference/stripe/create-checkout-session-setup"},{"openapi":"patch /api/stripe/subscription_plan/{subscription_id}/{plan_id}","title":"Update Subscription Plan","href":"/api-reference/stripe/update-subscription-plan"},{"openapi":"get /api/stripe/invoices/{organization_id}","title":"Get All Invoices","href":"/api-reference/stripe/get-all-invoices"},{"openapi":"get /api/stripe/payment_link/{plan_id}/{organization_id}","title":"Checkout","href":"/api-reference/stripe/checkout"},{"openapi":"get /api/stripe/plans","title":"Get All Plans","href":"/api-reference/stripe/get-all-plans"},{"openapi":"delete /api/stripe/subscription/{subscription_id}","title":"Cancel Subscription","href":"/api-reference/stripe/cancel-subscription"},{"openapi":"get /api/stripe/estimate_bill/{plan_id}","title":"Estimate Bill From Range","href":"/api-reference/stripe/estimate-bill-from-range"},{"openapi":"get /api/stripe/usage_plans","title":"Get All Usage Plans","href":"/api-reference/stripe/get-all-usage-plans"},{"openapi":"post /api/stripe/checkout/setup/{organization_id}","title":"Update Payment Method","href":"/api-reference/stripe/update-payment-method"}]},{"group":"Metrics","pages":[{"openapi":"post /metrics","title":"Get Prometheus Metrics","href":"/api-reference/metrics/get-prometheus-metrics"}]},{"group":"Public","pages":[{"openapi":"get /api/public_page/{dataset_id}","title":null,"href":"/api-reference/public/get-apipublic_page"},{"openapi":"post /api/shopify/user_event","title":"Send a Shopify user event","href":"/api-reference/public/send-a-shopify-user-event"}]}]},{"tab":"Vector Inference","pages":[{"title":"Vector Inference","href":"/vector-inference/introduction"}]},{"tab":"SiteSearch AI","pages":[{"title":"SiteSearch AI","href":"/site-search/introduction"}]}]},"title":"Get Recommended Chunks - Trieve","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-26-lDe7V.js","utils-CWQmgYtH.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-4-Aw3rSD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C2zjXYA5.js","snippetPresets-DFmpFA7C.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-FJpQavWq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D_GvPF7k.js","shallow-Bs2ZB0NO.js","getApiPlaygroundDisplay-DCcqJJk-.js","CodeSnippet-DzDxawVe.js","CodeSnippets-aUr7fU-7.js","Page-CT9uE8Ip.js","getPastedJson-Y1fKsj_I.js","icon-DI4zTsDr.js","MethodPill-C0nDlmSQ.js","DuplicateIcon-NUXbx2nQ.js","createIcon-BdTHrPAi.js","DynamicMarkdown-CtpgKJwj.js","SectionHeading-B3x35tOt.js","axios-vUo_bRtp.js","Markdown-3OmurJMP.js","clsx-DMKzROTp.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-1ms6tsT-.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Ke9xIMFx.js"]}