## Search memory entries `search.memories(SearchMemoriesParams**kwargs) -> SearchMemoriesResponse` **post** `/v4/search` Search memory entries - Low latency for conversational ### Parameters - `q: str` Search query string - `aggregate: Optional[bool]` If true, aggregates information from multiple memories to create new synthesized memories. The result will be a mix of aggregated and non-aggregated memories, reranked by relevance to the query. Works in conjunction with reranking. - `container_tag: Optional[str]` Optional tag this search should be containerized by. This can be an ID for your user, a project ID, or any other identifier you wish to use to filter memories. - `filepath: Optional[str]` Filter search results by filepath. Exact match for full paths, prefix match if ending with / - `filters: Optional[Filters]` Optional filters to apply to the search. Can be a JSON string or Query object. - `class FiltersOr: …` - `or_: Iterable[FiltersOrOr]` Array of OR filter expressions - `class FiltersOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOr: …` - `or_: Iterable[FiltersOrOrOrOr]` OR: Array of conditions or nested expressions - `class FiltersOrOrOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrOr: …` - `or_: Iterable[FiltersOrOrOrOrOrOr]` OR: Array of conditions or nested expressions - `class FiltersOrOrOrOrOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrOrOrOr: …` - `or_: Iterable[FiltersOrOrOrOrOrOrOrOr]` OR: Array of conditions or nested expressions - `class FiltersOrOrOrOrOrOrOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrOrOrOrOrOr: …` - `or_: Iterable[FiltersOrOrOrOrOrOrOrOrOrOr]` OR: Array of conditions or nested expressions - `class FiltersOrOrOrOrOrOrOrOrOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrOrOrOrOrOrOrOr: …` - `or_: Iterable[FiltersOrOrOrOrOrOrOrOrOrOrOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrOrOrOrOrOrOrAnd: …` - `and_: Iterable[FiltersOrOrOrOrOrOrOrOrOrOrAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrOrOrOrOrAnd: …` - `and_: Iterable[FiltersOrOrOrOrOrOrOrOrAndAnd]` AND: Array of conditions or nested expressions - `class FiltersOrOrOrOrOrOrOrOrAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrOrOrOrOrAndAndOr: …` - `or_: Iterable[FiltersOrOrOrOrOrOrOrOrAndAndOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrOrOrOrOrAndAndAnd: …` - `and_: Iterable[FiltersOrOrOrOrOrOrOrOrAndAndAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrOrOrAnd: …` - `and_: Iterable[FiltersOrOrOrOrOrOrAndAnd]` AND: Array of conditions or nested expressions - `class FiltersOrOrOrOrOrOrAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrOrOrAndAndOr: …` - `or_: Iterable[FiltersOrOrOrOrOrOrAndAndOrOr]` OR: Array of conditions or nested expressions - `class FiltersOrOrOrOrOrOrAndAndOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrOrOrAndAndOrOrOr: …` - `or_: Iterable[FiltersOrOrOrOrOrOrAndAndOrOrOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrOrOrAndAndOrOrAnd: …` - `and_: Iterable[FiltersOrOrOrOrOrOrAndAndOrOrAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrOrOrAndAndAnd: …` - `and_: Iterable[FiltersOrOrOrOrOrOrAndAndAndAnd]` AND: Array of conditions or nested expressions - `class FiltersOrOrOrOrOrOrAndAndAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrOrOrAndAndAndAndOr: …` - `or_: Iterable[FiltersOrOrOrOrOrOrAndAndAndAndOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrOrOrAndAndAndAndAnd: …` - `and_: Iterable[FiltersOrOrOrOrOrOrAndAndAndAndAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrAnd: …` - `and_: Iterable[FiltersOrOrOrOrAndAnd]` AND: Array of conditions or nested expressions - `class FiltersOrOrOrOrAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrAndAndOr: …` - `or_: Iterable[FiltersOrOrOrOrAndAndOrOr]` OR: Array of conditions or nested expressions - `class FiltersOrOrOrOrAndAndOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrAndAndOrOrOr: …` - `or_: Iterable[FiltersOrOrOrOrAndAndOrOrOrOr]` OR: Array of conditions or nested expressions - `class FiltersOrOrOrOrAndAndOrOrOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrAndAndOrOrOrOrOr: …` - `or_: Iterable[FiltersOrOrOrOrAndAndOrOrOrOrOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrAndAndOrOrOrOrAnd: …` - `and_: Iterable[FiltersOrOrOrOrAndAndOrOrOrOrAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrAndAndOrOrAnd: …` - `and_: Iterable[FiltersOrOrOrOrAndAndOrOrAndAnd]` AND: Array of conditions or nested expressions - `class FiltersOrOrOrOrAndAndOrOrAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrAndAndOrOrAndAndOr: …` - `or_: Iterable[FiltersOrOrOrOrAndAndOrOrAndAndOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrAndAndOrOrAndAndAnd: …` - `and_: Iterable[FiltersOrOrOrOrAndAndOrOrAndAndAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrAndAndAnd: …` - `and_: Iterable[FiltersOrOrOrOrAndAndAndAnd]` AND: Array of conditions or nested expressions - `class FiltersOrOrOrOrAndAndAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrAndAndAndAndOr: …` - `or_: Iterable[FiltersOrOrOrOrAndAndAndAndOrOr]` OR: Array of conditions or nested expressions - `class FiltersOrOrOrOrAndAndAndAndOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrAndAndAndAndOrOrOr: …` - `or_: Iterable[FiltersOrOrOrOrAndAndAndAndOrOrOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrAndAndAndAndOrOrAnd: …` - `and_: Iterable[FiltersOrOrOrOrAndAndAndAndOrOrAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrAndAndAndAndAnd: …` - `and_: Iterable[FiltersOrOrOrOrAndAndAndAndAndAnd]` AND: Array of conditions or nested expressions - `class FiltersOrOrOrOrAndAndAndAndAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrAndAndAndAndAndAndOr: …` - `or_: Iterable[FiltersOrOrOrOrAndAndAndAndAndAndOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrOrOrAndAndAndAndAndAndAnd: …` - `and_: Iterable[FiltersOrOrOrOrAndAndAndAndAndAndAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAnd: …` - `and_: Iterable[FiltersOrOrAndAnd]` AND: Array of conditions or nested expressions - `class FiltersOrOrAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndOr: …` - `or_: Iterable[FiltersOrOrAndAndOrOr]` OR: Array of conditions or nested expressions - `class FiltersOrOrAndAndOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndOrOrOr: …` - `or_: Iterable[FiltersOrOrAndAndOrOrOrOr]` OR: Array of conditions or nested expressions - `class FiltersOrOrAndAndOrOrOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndOrOrOrOrOr: …` - `or_: Iterable[FiltersOrOrAndAndOrOrOrOrOrOr]` OR: Array of conditions or nested expressions - `class FiltersOrOrAndAndOrOrOrOrOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndOrOrOrOrOrOrOr: …` - `or_: Iterable[FiltersOrOrAndAndOrOrOrOrOrOrOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndOrOrOrOrOrOrAnd: …` - `and_: Iterable[FiltersOrOrAndAndOrOrOrOrOrOrAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndOrOrOrOrAnd: …` - `and_: Iterable[FiltersOrOrAndAndOrOrOrOrAndAnd]` AND: Array of conditions or nested expressions - `class FiltersOrOrAndAndOrOrOrOrAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndOrOrOrOrAndAndOr: …` - `or_: Iterable[FiltersOrOrAndAndOrOrOrOrAndAndOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndOrOrOrOrAndAndAnd: …` - `and_: Iterable[FiltersOrOrAndAndOrOrOrOrAndAndAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndOrOrAnd: …` - `and_: Iterable[FiltersOrOrAndAndOrOrAndAnd]` AND: Array of conditions or nested expressions - `class FiltersOrOrAndAndOrOrAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndOrOrAndAndOr: …` - `or_: Iterable[FiltersOrOrAndAndOrOrAndAndOrOr]` OR: Array of conditions or nested expressions - `class FiltersOrOrAndAndOrOrAndAndOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndOrOrAndAndOrOrOr: …` - `or_: Iterable[FiltersOrOrAndAndOrOrAndAndOrOrOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndOrOrAndAndOrOrAnd: …` - `and_: Iterable[FiltersOrOrAndAndOrOrAndAndOrOrAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndOrOrAndAndAnd: …` - `and_: Iterable[FiltersOrOrAndAndOrOrAndAndAndAnd]` AND: Array of conditions or nested expressions - `class FiltersOrOrAndAndOrOrAndAndAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndOrOrAndAndAndAndOr: …` - `or_: Iterable[FiltersOrOrAndAndOrOrAndAndAndAndOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndOrOrAndAndAndAndAnd: …` - `and_: Iterable[FiltersOrOrAndAndOrOrAndAndAndAndAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndAnd: …` - `and_: Iterable[FiltersOrOrAndAndAndAnd]` AND: Array of conditions or nested expressions - `class FiltersOrOrAndAndAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndAndAndOr: …` - `or_: Iterable[FiltersOrOrAndAndAndAndOrOr]` OR: Array of conditions or nested expressions - `class FiltersOrOrAndAndAndAndOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndAndAndOrOrOr: …` - `or_: Iterable[FiltersOrOrAndAndAndAndOrOrOrOr]` OR: Array of conditions or nested expressions - `class FiltersOrOrAndAndAndAndOrOrOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndAndAndOrOrOrOrOr: …` - `or_: Iterable[FiltersOrOrAndAndAndAndOrOrOrOrOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndAndAndOrOrOrOrAnd: …` - `and_: Iterable[FiltersOrOrAndAndAndAndOrOrOrOrAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndAndAndOrOrAnd: …` - `and_: Iterable[FiltersOrOrAndAndAndAndOrOrAndAnd]` AND: Array of conditions or nested expressions - `class FiltersOrOrAndAndAndAndOrOrAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndAndAndOrOrAndAndOr: …` - `or_: Iterable[FiltersOrOrAndAndAndAndOrOrAndAndOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndAndAndOrOrAndAndAnd: …` - `and_: Iterable[FiltersOrOrAndAndAndAndOrOrAndAndAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndAndAndAnd: …` - `and_: Iterable[FiltersOrOrAndAndAndAndAndAnd]` AND: Array of conditions or nested expressions - `class FiltersOrOrAndAndAndAndAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndAndAndAndAndOr: …` - `or_: Iterable[FiltersOrOrAndAndAndAndAndAndOrOr]` OR: Array of conditions or nested expressions - `class FiltersOrOrAndAndAndAndAndAndOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndAndAndAndAndOrOrOr: …` - `or_: Iterable[FiltersOrOrAndAndAndAndAndAndOrOrOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndAndAndAndAndOrOrAnd: …` - `and_: Iterable[FiltersOrOrAndAndAndAndAndAndOrOrAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndAndAndAndAndAnd: …` - `and_: Iterable[FiltersOrOrAndAndAndAndAndAndAndAnd]` AND: Array of conditions or nested expressions - `class FiltersOrOrAndAndAndAndAndAndAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndAndAndAndAndAndAndOr: …` - `or_: Iterable[FiltersOrOrAndAndAndAndAndAndAndAndOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersOrOrAndAndAndAndAndAndAndAndAnd: …` - `and_: Iterable[FiltersOrOrAndAndAndAndAndAndAndAndAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAnd: …` - `and_: Iterable[FiltersAndAnd]` Array of AND filter expressions - `class FiltersAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOr: …` - `or_: Iterable[FiltersAndAndOrOr]` OR: Array of conditions or nested expressions - `class FiltersAndAndOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrOr: …` - `or_: Iterable[FiltersAndAndOrOrOrOr]` OR: Array of conditions or nested expressions - `class FiltersAndAndOrOrOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrOrOrOr: …` - `or_: Iterable[FiltersAndAndOrOrOrOrOrOr]` OR: Array of conditions or nested expressions - `class FiltersAndAndOrOrOrOrOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrOrOrOrOrOr: …` - `or_: Iterable[FiltersAndAndOrOrOrOrOrOrOrOr]` OR: Array of conditions or nested expressions - `class FiltersAndAndOrOrOrOrOrOrOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrOrOrOrOrOrOrOr: …` - `or_: Iterable[FiltersAndAndOrOrOrOrOrOrOrOrOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrOrOrOrOrOrOrAnd: …` - `and_: Iterable[FiltersAndAndOrOrOrOrOrOrOrOrAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrOrOrOrOrAnd: …` - `and_: Iterable[FiltersAndAndOrOrOrOrOrOrAndAnd]` AND: Array of conditions or nested expressions - `class FiltersAndAndOrOrOrOrOrOrAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrOrOrOrOrAndAndOr: …` - `or_: Iterable[FiltersAndAndOrOrOrOrOrOrAndAndOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrOrOrOrOrAndAndAnd: …` - `and_: Iterable[FiltersAndAndOrOrOrOrOrOrAndAndAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrOrOrAnd: …` - `and_: Iterable[FiltersAndAndOrOrOrOrAndAnd]` AND: Array of conditions or nested expressions - `class FiltersAndAndOrOrOrOrAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrOrOrAndAndOr: …` - `or_: Iterable[FiltersAndAndOrOrOrOrAndAndOrOr]` OR: Array of conditions or nested expressions - `class FiltersAndAndOrOrOrOrAndAndOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrOrOrAndAndOrOrOr: …` - `or_: Iterable[FiltersAndAndOrOrOrOrAndAndOrOrOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrOrOrAndAndOrOrAnd: …` - `and_: Iterable[FiltersAndAndOrOrOrOrAndAndOrOrAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrOrOrAndAndAnd: …` - `and_: Iterable[FiltersAndAndOrOrOrOrAndAndAndAnd]` AND: Array of conditions or nested expressions - `class FiltersAndAndOrOrOrOrAndAndAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrOrOrAndAndAndAndOr: …` - `or_: Iterable[FiltersAndAndOrOrOrOrAndAndAndAndOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrOrOrAndAndAndAndAnd: …` - `and_: Iterable[FiltersAndAndOrOrOrOrAndAndAndAndAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrAnd: …` - `and_: Iterable[FiltersAndAndOrOrAndAnd]` AND: Array of conditions or nested expressions - `class FiltersAndAndOrOrAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrAndAndOr: …` - `or_: Iterable[FiltersAndAndOrOrAndAndOrOr]` OR: Array of conditions or nested expressions - `class FiltersAndAndOrOrAndAndOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrAndAndOrOrOr: …` - `or_: Iterable[FiltersAndAndOrOrAndAndOrOrOrOr]` OR: Array of conditions or nested expressions - `class FiltersAndAndOrOrAndAndOrOrOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrAndAndOrOrOrOrOr: …` - `or_: Iterable[FiltersAndAndOrOrAndAndOrOrOrOrOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrAndAndOrOrOrOrAnd: …` - `and_: Iterable[FiltersAndAndOrOrAndAndOrOrOrOrAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrAndAndOrOrAnd: …` - `and_: Iterable[FiltersAndAndOrOrAndAndOrOrAndAnd]` AND: Array of conditions or nested expressions - `class FiltersAndAndOrOrAndAndOrOrAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrAndAndOrOrAndAndOr: …` - `or_: Iterable[FiltersAndAndOrOrAndAndOrOrAndAndOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrAndAndOrOrAndAndAnd: …` - `and_: Iterable[FiltersAndAndOrOrAndAndOrOrAndAndAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrAndAndAnd: …` - `and_: Iterable[FiltersAndAndOrOrAndAndAndAnd]` AND: Array of conditions or nested expressions - `class FiltersAndAndOrOrAndAndAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrAndAndAndAndOr: …` - `or_: Iterable[FiltersAndAndOrOrAndAndAndAndOrOr]` OR: Array of conditions or nested expressions - `class FiltersAndAndOrOrAndAndAndAndOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrAndAndAndAndOrOrOr: …` - `or_: Iterable[FiltersAndAndOrOrAndAndAndAndOrOrOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrAndAndAndAndOrOrAnd: …` - `and_: Iterable[FiltersAndAndOrOrAndAndAndAndOrOrAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrAndAndAndAndAnd: …` - `and_: Iterable[FiltersAndAndOrOrAndAndAndAndAndAnd]` AND: Array of conditions or nested expressions - `class FiltersAndAndOrOrAndAndAndAndAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrAndAndAndAndAndAndOr: …` - `or_: Iterable[FiltersAndAndOrOrAndAndAndAndAndAndOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndOrOrAndAndAndAndAndAndAnd: …` - `and_: Iterable[FiltersAndAndOrOrAndAndAndAndAndAndAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAnd: …` - `and_: Iterable[FiltersAndAndAndAnd]` AND: Array of conditions or nested expressions - `class FiltersAndAndAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndOr: …` - `or_: Iterable[FiltersAndAndAndAndOrOr]` OR: Array of conditions or nested expressions - `class FiltersAndAndAndAndOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndOrOrOr: …` - `or_: Iterable[FiltersAndAndAndAndOrOrOrOr]` OR: Array of conditions or nested expressions - `class FiltersAndAndAndAndOrOrOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndOrOrOrOrOr: …` - `or_: Iterable[FiltersAndAndAndAndOrOrOrOrOrOr]` OR: Array of conditions or nested expressions - `class FiltersAndAndAndAndOrOrOrOrOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndOrOrOrOrOrOrOr: …` - `or_: Iterable[FiltersAndAndAndAndOrOrOrOrOrOrOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndOrOrOrOrOrOrAnd: …` - `and_: Iterable[FiltersAndAndAndAndOrOrOrOrOrOrAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndOrOrOrOrAnd: …` - `and_: Iterable[FiltersAndAndAndAndOrOrOrOrAndAnd]` AND: Array of conditions or nested expressions - `class FiltersAndAndAndAndOrOrOrOrAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndOrOrOrOrAndAndOr: …` - `or_: Iterable[FiltersAndAndAndAndOrOrOrOrAndAndOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndOrOrOrOrAndAndAnd: …` - `and_: Iterable[FiltersAndAndAndAndOrOrOrOrAndAndAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndOrOrAnd: …` - `and_: Iterable[FiltersAndAndAndAndOrOrAndAnd]` AND: Array of conditions or nested expressions - `class FiltersAndAndAndAndOrOrAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndOrOrAndAndOr: …` - `or_: Iterable[FiltersAndAndAndAndOrOrAndAndOrOr]` OR: Array of conditions or nested expressions - `class FiltersAndAndAndAndOrOrAndAndOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndOrOrAndAndOrOrOr: …` - `or_: Iterable[FiltersAndAndAndAndOrOrAndAndOrOrOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndOrOrAndAndOrOrAnd: …` - `and_: Iterable[FiltersAndAndAndAndOrOrAndAndOrOrAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndOrOrAndAndAnd: …` - `and_: Iterable[FiltersAndAndAndAndOrOrAndAndAndAnd]` AND: Array of conditions or nested expressions - `class FiltersAndAndAndAndOrOrAndAndAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndOrOrAndAndAndAndOr: …` - `or_: Iterable[FiltersAndAndAndAndOrOrAndAndAndAndOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndOrOrAndAndAndAndAnd: …` - `and_: Iterable[FiltersAndAndAndAndOrOrAndAndAndAndAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndAnd: …` - `and_: Iterable[FiltersAndAndAndAndAndAnd]` AND: Array of conditions or nested expressions - `class FiltersAndAndAndAndAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndAndAndOr: …` - `or_: Iterable[FiltersAndAndAndAndAndAndOrOr]` OR: Array of conditions or nested expressions - `class FiltersAndAndAndAndAndAndOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndAndAndOrOrOr: …` - `or_: Iterable[FiltersAndAndAndAndAndAndOrOrOrOr]` OR: Array of conditions or nested expressions - `class FiltersAndAndAndAndAndAndOrOrOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndAndAndOrOrOrOrOr: …` - `or_: Iterable[FiltersAndAndAndAndAndAndOrOrOrOrOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndAndAndOrOrOrOrAnd: …` - `and_: Iterable[FiltersAndAndAndAndAndAndOrOrOrOrAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndAndAndOrOrAnd: …` - `and_: Iterable[FiltersAndAndAndAndAndAndOrOrAndAnd]` AND: Array of conditions or nested expressions - `class FiltersAndAndAndAndAndAndOrOrAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndAndAndOrOrAndAndOr: …` - `or_: Iterable[FiltersAndAndAndAndAndAndOrOrAndAndOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndAndAndOrOrAndAndAnd: …` - `and_: Iterable[FiltersAndAndAndAndAndAndOrOrAndAndAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndAndAndAnd: …` - `and_: Iterable[FiltersAndAndAndAndAndAndAndAnd]` AND: Array of conditions or nested expressions - `class FiltersAndAndAndAndAndAndAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndAndAndAndAndOr: …` - `or_: Iterable[FiltersAndAndAndAndAndAndAndAndOrOr]` OR: Array of conditions or nested expressions - `class FiltersAndAndAndAndAndAndAndAndOrOrUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndAndAndAndAndOrOrOr: …` - `or_: Iterable[FiltersAndAndAndAndAndAndAndAndOrOrOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndAndAndAndAndOrOrAnd: …` - `and_: Iterable[FiltersAndAndAndAndAndAndAndAndOrOrAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndAndAndAndAndAnd: …` - `and_: Iterable[FiltersAndAndAndAndAndAndAndAndAndAnd]` AND: Array of conditions or nested expressions - `class FiltersAndAndAndAndAndAndAndAndAndAndUnionMember0: …` A single filter condition based on metadata, numeric values, array contents, or string matching - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndAndAndAndAndAndAndOr: …` - `or_: Iterable[FiltersAndAndAndAndAndAndAndAndAndAndOrOr]` OR: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `class FiltersAndAndAndAndAndAndAndAndAndAndAnd: …` - `and_: Iterable[FiltersAndAndAndAndAndAndAndAndAndAndAndAnd]` AND: Array of conditions - `key: str` - `value: str` - `filter_type: Optional[Literal["metadata", "numeric", "array_contains", "string_contains"]]` - `"metadata"` - `"numeric"` - `"array_contains"` - `"string_contains"` - `ignore_case: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `negate: Optional[Union[bool, Literal["true", "false"]]]` - `bool` - `Literal["true", "false"]` - `"true"` - `"false"` - `numeric_operator: Optional[Literal[">", "<", ">=", 2 more]]` - `">"` - `"<"` - `">="` - `"<="` - `"="` - `include: Optional[Include]` - `chunks: Optional[bool]` DEPRECATED: Use searchMode='hybrid' instead. If true, automatically switches to hybrid mode. This field is kept for backward compatibility only. - `documents: Optional[bool]` - `forgotten_memories: Optional[bool]` If true, include forgotten memories in search results. Forgotten memories are memories that have been explicitly forgotten or have passed their expiration date. - `related_memories: Optional[bool]` - `summaries: Optional[bool]` - `limit: Optional[int]` Maximum number of results to return - `rerank: Optional[bool]` If true, rerank the results based on the query. This is helpful if you want to ensure the most relevant results are returned. - `rewrite_query: Optional[bool]` If true, rewrites the query to make it easier to find documents. This increases the latency by about 400ms - `search_mode: Optional[Literal["memories", "hybrid", "documents"]]` Search mode. 'memories' searches only memory entries (default). 'hybrid' searches both memories and document chunks. 'documents' searches only document chunks. - `"memories"` - `"hybrid"` - `"documents"` - `threshold: Optional[float]` Threshold / sensitivity for memories selection. 0 is least sensitive (returns most memories, more results), 1 is most sensitive (returns lesser memories, accurate results) ### Returns - `class SearchMemoriesResponse: …` - `results: List[Result]` Array of matching memory entries and chunks with similarity scores. Contains memory results when searchMode='memories', both memory and chunk results when searchMode='hybrid', or only chunk results when searchMode='documents'. Memory results have 'memory' field, chunk results have 'chunk' field. BACKWARD COMPATIBILITY: When using deprecated include.chunks=true, only memory results are returned with chunks embedded in them (old format). - `id: str` Memory entry ID or chunk ID - `metadata: Optional[Dict[str, object]]` Memory metadata - `similarity: float` Similarity score between the query and memory entry - `updated_at: str` Memory last update date - `chunk: Optional[str]` The chunk content (only present for chunk results from hybrid search) - `chunks: Optional[List[ResultChunk]]` Relevant chunks from associated documents (only included when chunks=true) - `content: str` Content of the chunk - `document_id: str` ID of the document this chunk belongs to - `position: float` Position of chunk in the document (0-indexed) - `score: float` Similarity score between the query and chunk - `context: Optional[ResultContext]` Object containing version history (parents/children via updates) and related memories (extends/derives) - `children: Optional[List[ResultContextChild]]` - `memory: str` The contextual memory content - `relation: Literal["updates", "extends", "derives"]` Relation type between this memory and its parent/child - `"updates"` - `"extends"` - `"derives"` - `updated_at: str` Contextual memory last update date - `metadata: Optional[Dict[str, object]]` Contextual memory metadata - `version: Optional[float]` Relative version distance from the primary memory (+1 for direct child, +2 for grand-child, etc.) - `parents: Optional[List[ResultContextParent]]` - `memory: str` The contextual memory content - `relation: Literal["updates", "extends", "derives"]` Relation type between this memory and its parent/child - `"updates"` - `"extends"` - `"derives"` - `updated_at: str` Contextual memory last update date - `metadata: Optional[Dict[str, object]]` Contextual memory metadata - `version: Optional[float]` Relative version distance from the primary memory (-1 for direct parent, -2 for grand-parent, etc.) - `related: Optional[List[ResultContextRelated]]` - `memory: str` The related memory content - `relation: Literal["extends", "derives"]` Relation type - `"extends"` - `"derives"` - `updated_at: str` Related memory last update date - `metadata: Optional[Dict[str, object]]` Related memory metadata - `documents: Optional[List[ResultDocument]]` Associated documents for this memory entry - `id: str` Document ID - `created_at: str` Document creation date - `updated_at: str` Document last update date - `metadata: Optional[Dict[str, object]]` Document metadata (only included when documents=true) - `summary: Optional[str]` Document summary (only included when summaries=true) - `title: Optional[str]` Document title (only included when documents=true) - `type: Optional[str]` Document type (only included when documents=true) - `filepath: Optional[str]` Filepath of the source document this memory or chunk came from - `is_aggregated: Optional[bool]` Indicates if this memory was created by aggregating multiple source memories - `memory: Optional[str]` The memory content (only present for memory results) - `version: Optional[float]` Version number of this memory entry - `timing: float` Search execution time in milliseconds - `total: float` Total number of results returned ### Example ```python import os from supermemory import Supermemory client = Supermemory( api_key=os.environ.get("SUPERMEMORY_API_KEY"), # This is the default and can be omitted ) response = client.search.memories( q="what are the API rate limits", ) print(response.results) ``` #### Response ```json { "results": [ { "id": "mem_abc123", "metadata": { "source": "bar", "confidence": "bar" }, "similarity": 0.89, "updatedAt": "updatedAt", "chunk": "This is a chunk of content from a document...", "chunks": [ { "content": "This is a chunk of content from the document...", "documentId": "doc_xyz789", "position": 0, "score": 0.85 } ], "context": { "children": [ { "memory": "Later version: API rate limit increased to 100 req/min on the free tier.", "relation": "extends", "updatedAt": "updatedAt", "metadata": { "foo": "bar" }, "version": 1 } ], "parents": [ { "memory": "Earlier version: API rate limit is 50 req/min on the free tier.", "relation": "updates", "updatedAt": "updatedAt", "metadata": { "foo": "bar" }, "version": -1 } ], "related": [ { "memory": "memory", "relation": "extends", "updatedAt": "updatedAt", "metadata": { "foo": "bar" } } ] }, "documents": [ { "id": "doc_xyz789", "createdAt": "createdAt", "updatedAt": "updatedAt", "metadata": { "source": "bar", "language": "bar" }, "summary": "API rate limit policy: 100 req/min free, 1000 req/min pro.", "title": "API Rate Limiting Policy", "type": "web" } ], "filepath": "filepath", "isAggregated": false, "memory": "The user prefers detailed API responses over minimal ones.", "version": 3 } ], "timing": 245, "total": 5 } ```