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