# SearchPeopleResultType

> Type in domain **Libraries**

- HTML: [SearchPeopleResultType.html](SearchPeopleResultType.html)
- Raw SDL: [SearchPeopleResultType.sdl](SearchPeopleResultType.sdl)
- Covered by: [llms.txt](../llms.txt)

## Fields

- `nextCursor`: `String` _(beta)_ — Pass to `cursor` to fetch the next page; `null` means there is no further page.
- `items`: `[Person!]!` _(beta)_ — The matched people, in the sort order of the query.

## Reach via

Example queries that can return this type from the root `Query`.

### `library › searchPeople`

```graphql
query LibrarySearchPeople {
  library(id: "…") {
    searchPeople(
      input: {
        limit: 0
      }
    ) {
      __typename
      items {
        name
        id
      }
      nextCursor
    }
  }
}
```

Raw: [`LibrarySearchPeople.sdl`](../examples/LibrarySearchPeople.sdl)

### `brand › libraries › searchPeople`

```graphql
query BrandLibrariesSearchPeople {
  brand(id: "…") {
    libraries(limit: 25, page: 1) {
      items {
        searchPeople(
          input: {
            limit: 0
          }
        ) {
          __typename
          items {
            name
            id
          }
          nextCursor
        }
      }
    }
  }
}
```

Raw: [`BrandLibrariesSearchPeople.sdl`](../examples/BrandLibrariesSearchPeople.sdl)

### `webhooks › project › searchPeople`

```graphql
query WebhooksProjectSearchPeople {
  webhooks(limit: 25, page: 1) {
    items {
      ... on ProjectWebhook {
        project {
          ... on DocumentLibrary {
            searchPeople(
              input: {
                limit: 0
              }
            ) {
              __typename
              items {
                name
                id
              }
              nextCursor
            }
          }
        }
      }
    }
  }
}
```

Raw: [`WebhooksProjectSearchPeople.sdl`](../examples/WebhooksProjectSearchPeople.sdl)

### `brands › libraries › searchPeople`

```graphql
query BrandsLibrariesSearchPeople {
  brands {
    libraries(limit: 25, page: 1) {
      items {
        searchPeople(
          input: {
            limit: 0
          }
        ) {
          __typename
          items {
            name
            id
          }
          nextCursor
        }
      }
    }
  }
}
```

Raw: [`BrandsLibrariesSearchPeople.sdl`](../examples/BrandsLibrariesSearchPeople.sdl)
