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

# FAQ: Can I search for a candidate within my account?

> Can I search for a candidate within my account?

### How it works

You can:

* Filter by candidate fields such as `email`
* Use regex-based matching
* Apply pagination (`limit`, `direction`)
* Sort results (e.g., by `createdAt`)
* Select only the fields you need in the response

### Example: Search by Email

```graphql theme={null}
query {
  position(id: "<position-id>") {
    id
    interviewList(input: {
      filter: {
        email: {
          regex: "svelazquez@gmail.com"
        }
      },
      pagination: {
        limit: 1,
        direction: FORWARD
      },
      sort: [
        {
          field: createdAt,
          direction: DESC
        }
      ]
    }) {
      results {
        id
        candidate {
          email
        }
      }
    }
  }
}
```

### What This Example Does

* Searches within a specific position
* Filters interviews by candidate email using regex
* Sorts by `createdAt` in descending order (most recent first)
