> ## 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.

# FileTextSearchInput

> Input object in the GraphQL API.

| Field | Type | Required | Description |
| - | - | - | - |
| `projectReference` | [`String`](https://veryfront.com/docs/cloud/graphql/types/string) | No | Project UUID, slug or configured domain. Omit it to use the project of the request. |
| `ref` | [`String`](https://veryfront.com/docs/cloud/graphql/types/string) | No | Content to search: main, branch:\<name-or-id>, release:\<version> or env:\<name>. Omit for main. |
| `query` | [`String!`](https://veryfront.com/docs/cloud/graphql/types/string) | Yes | Literal text to find, or a regular expression when isRegex is true. |
| `pattern` | [`String`](https://veryfront.com/docs/cloud/graphql/types/string) | No | File path pattern, for example *.tsx or pages/*. |
| `isRegex` | [`Boolean`](https://veryfront.com/docs/cloud/graphql/types/boolean) | No | Read query as a regular expression (default false). |
| `caseSensitive` | [`Boolean`](https://veryfront.com/docs/cloud/graphql/types/boolean) | No | Match letter case exactly (default false). |
| `limit` | [`Int`](https://veryfront.com/docs/cloud/graphql/types/int) | No | Largest number of matching files, 1 to 100 (default 50). It limits files, not matching lines. |

[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.