---
title: GraphSearchAutocompleteKey type | Wartiva GraphQL API
description: One autocomplete completion option for a key in a key value expression. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/graph-search-autocomplete-key.html
updated: 2026-10-07
---

Graph search · GraphQL type

# `GraphSearchAutocompleteKey` type

One autocomplete completion option for a key in a key value expression.

## Fields

| Field Name | Description |
|---|---|
| `label` - [`String!`](https://wartiva.com/api-docs/types/string.html) | Label for display in the drop down list of completion options. |
| `description` - [`String!`](https://wartiva.com/api-docs/types/string.html) | Description for optional display with the label describing the completion option or providing documentation. |
| `documentationUrl` - [`String!`](https://wartiva.com/api-docs/types/string.html) | URL to related documentation. |
| `replacement` - [`GraphSearchAutocompleteReplacement!`](https://wartiva.com/api-docs/types/graph-search-autocomplete-replacement.html) | The replacement search query to use if this option is selected. |
| `field` - [`SearchQuerySchemaField`](https://wartiva.com/api-docs/types/search-query-schema-field.html) | The schema field this option represents (see [SearchQuerySchemaField](https://wartiva.com/api-docs/types/search-query-schema-field.html)), null when the option does not correspond to a schema field. |

## Used by

- [`GraphSearchAutocompletePayload`](https://wartiva.com/api-docs/types/graph-search-autocomplete-payload.html) type: Completion suggestions for one graph search autocomplete request.

## Example

### Example

```json
{
  "label": "abc123",
  "description": "abc123",
  "documentationUrl": "xyz789",
  "replacement": GraphSearchAutocompleteReplacement,
  "field": SearchQuerySchemaField
}

```

---

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