---
title: graphSearchSchema query | Wartiva GraphQL API
description: Describes every object type that can be searched and, for each, the fields a graph search where clause can filter on, with their search field types.
url: https://wartiva.com/api-docs/queries/graph-search-schema.html
updated: 2026-10-07
---

Graph search · GraphQL query

# `graphSearchSchema` query

Describes every object type that can be searched and, for each, the fields a graph search where clause can filter on, with their search field types. Use it to build or validate queries for [graphSearch](https://wartiva.com/api-docs/queries/graph-search.html); [graphObjectTypes](https://wartiva.com/api-docs/queries/graph-object-types.html) adds each type's relationships and the properties usable as columns and sort keys.

## Response

Returns a [`GraphSearchSchemaPayload!`](https://wartiva.com/api-docs/types/graph-search-schema-payload.html)

## Example

### Query

```graphql
query graphSearchSchema {
  graphSearchSchema {
    schema {
      keyType
      name
      description
    }
  }
}

```

### Response

```json
{
  "data": {
    "graphSearchSchema": {
      "schema": [SearchQuerySchemaKey]
    }
  }
}

```

---

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