---
title: GraphSearchAutocompleteInput input | Wartiva GraphQL API
description: Graph search autocomplete input parameters. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/graph-search-autocomplete-input.html
updated: 2026-10-07
---

Graph search · GraphQL input

# `GraphSearchAutocompleteInput` input

Graph search autocomplete input parameters. The whereFragment is a partially typed graph search where clause (the query string form accepted by [GraphParseQueryInput](https://wartiva.com/api-docs/types/graph-parse-query-input.html)) and position is the cursor's offset into it counting UTF-8 characters (runes); suggestions are computed for the expression the cursor is editing.

## Fields

| Input Field | Description |
|---|---|
| `orgId` - [`OrganizationId!`](https://wartiva.com/api-docs/types/organization-id.html) | The Organization whose indexed values are suggested. |
| `objectType` - [`GraphObjectType!`](https://wartiva.com/api-docs/types/graph-object-type.html) | The graph object type scoping the where clause; only its keys and values are suggested. |
| `whereFragment` - [`String!`](https://wartiva.com/api-docs/types/string.html) | The partially typed where-clause fragment to complete. |
| `position` - [`Int!`](https://wartiva.com/api-docs/types/int.html) | The cursor's offset into whereFragment counting UTF-8 characters (runes), in the range 0 to the fragment's rune count — the same unit as the position returned in [GraphSearchAutocompleteReplacement](https://wartiva.com/api-docs/types/graph-search-autocomplete-replacement.html), so a selected replacement's position can be resubmitted directly. |
| `highlight` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | When true each suggestion's label wraps the matched portion in ** tags. Default = `false` |
| `first` - [`Int`](https://wartiva.com/api-docs/types/int.html) | Returns the first *n* value suggestions. By default the first 100 are returned. Max is 1,000. |

## Example

### Example

```json
{
  "orgId": "615f3b3b28284380e28a7342",
  "objectType": "ACCOUNT_POLICY",
  "whereFragment": "abc123",
  "position": 123,
  "highlight": true,
  "first": 987
}

```

---

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