> ## Documentation Index
> Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# KnowledgeSearchInput

> Input object in the GraphQL API.

| Field | Type | Required | Description |
| - | - | - | - |
| `query` | [`String`](https://veryfront.com/docs/cloud/graphql/types/string) | No | Text to match against knowledge file paths and frontmatter, 1 to 500 characters. Required on the first page. |
| `cursor` | [`String`](https://veryfront.com/docs/cloud/graphql/types/string) | No | The previous page's pageInfo.endCursor. |
| `lookupTarget` | [`KnowledgeLookupTargetInput`](https://veryfront.com/docs/cloud/graphql/types/knowledgelookuptargetinput) | No | Source to search; omit for the main preview branch. |
| `limit` | [`Int`](https://veryfront.com/docs/cloud/graphql/types/int) | No | Files per page, 1 to 12; default 6. |
| `shardCount` | [`Int`](https://veryfront.com/docs/cloud/graphql/types/int) | No | Number of shards, 1 to 8; default 1. |
| `shardIndex` | [`Int`](https://veryfront.com/docs/cloud/graphql/types/int) | No | Shard to read, 0 to shardCount - 1. |

[All GraphQL types](https://veryfront.com/docs/cloud/graphql/schema.md) · [Operations](https://veryfront.com/docs/cloud/graphql.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.