---
title: SearchParseQueryResult type | Wartiva GraphQL API
description: The abstract syntax tree result of parsing a graph search where-clause string. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/search-parse-query-result.html
updated: 2026-10-07
---

Graph search · GraphQL type

# `SearchParseQueryResult` type

The abstract syntax tree result of parsing a graph search where-clause string.

## Fields

| Field Name | Description |
|---|---|
| `ast` - [`SearchQueryExpression!`](https://wartiva.com/api-docs/types/search-query-expression.html) | The abstract syntax tree representing the parsed query. Key, field, and enum value casing is autocorrected to the canonical schema names. |
| `prefixesFound` - [`[GraphObjectType!]!`](https://wartiva.com/api-docs/types/graph-object-type.html) | The graph object types referenced by the query's keys. |
| `hasUnscopedTopLevelExp` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | True when the query contains an unscoped top-level free-text term. |

## Used by

- [`GraphParseQueryPayload`](https://wartiva.com/api-docs/types/graph-parse-query-payload.html) type: The payload of graphParseQuery.

## Example

### Example

```json
{
  "ast": SearchQueryExpression,
  "prefixesFound": ["ACCOUNT_POLICY"],
  "hasUnscopedTopLevelExp": false
}

```

---

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