---
title: SearchQueryExpression interface | Wartiva GraphQL API
description: A polymorphic query expression allowing operator expression nesting of the different query expressions. Wartiva GraphQL API reference with examples.
url: https://wartiva.com/api-docs/types/search-query-expression.html
updated: 2026-10-07
---

Graph search · GraphQL interface

# `SearchQueryExpression` interface

A polymorphic query expression allowing operator expression nesting of the different query expressions. The expressionType discriminator is selectable without an inline fragment; every other field requires a fragment on the concrete type. Note that GraphQL field merging still requires one type per response name across fragments — the differently-typed leaf value fields are named intValue / timeValue / boolValue / value for that reason.

## Used by

- [`SearchParseQueryResult`](https://wartiva.com/api-docs/types/search-parse-query-result.html) type: The abstract syntax tree result of parsing a graph search where-clause string.
- [`SearchQueryMatchKeyValueBooleanExpression`](https://wartiva.com/api-docs/types/search-query-match-key-value-boolean-expression.html) type: Search expression matching a boolean-typed key against true or false.
- [`SearchQueryMatchKeyValueNumericExpression`](https://wartiva.com/api-docs/types/search-query-match-key-value-numeric-expression.html) type: Search expression matching a numeric key against a number.
- [`SearchQueryMatchKeyValueTimeExpression`](https://wartiva.com/api-docs/types/search-query-match-key-value-time-expression.html) type: Search expression matching a time-typed key against a point in time.
- [`SearchQueryOperatorExpression`](https://wartiva.com/api-docs/types/search-query-operator-expression.html) type: Search query operator expression consisting of one operator and a list of operand expressions.

## Example

### Example

```json
{"expressionType": "OPERATOR"}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
