---
title: SearchQuerySchemaKey interface | Wartiva GraphQL API
description: Search query key composite type representing a struct union or enum. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/search-query-schema-key.html
updated: 2026-10-07
---

Graph search · GraphQL interface

# `SearchQuerySchemaKey` interface

Search query key composite type representing a struct union or enum. For example the key: "Service.Report.DHCPv4.Packet.TransactionID" will have a SearchQuerySchemaKey for Service Report DHCPv4 Packet

## Used by

- [`GraphSearchSchemaPayload`](https://wartiva.com/api-docs/types/graph-search-schema-payload.html) type: Payload containing the graph search schema.
- [`SearchQuerySchemaFieldComposite`](https://wartiva.com/api-docs/types/search-query-schema-field-composite.html) type: A composite can either be a: struct union or enum.

## Example

### Example

```json
{
  "keyType": "STRUCT",
  "name": "xyz789",
  "description": "xyz789"
}

```

---

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