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

# search_users

> Search users and organizations — 'type:org language:rust'. Sees only publicly visible accounts, whatever the token. Rate limited to 30 requests per minute.

<div className="tool-route"><span className="tool-row-method" data-method="GET">GET</span><code>{"https://api.github.com/search/users"}</code></div>

```python github_search_users.py theme={null}
from charter.packs import github

result = await github.search_users.ainvoke({"q": ...})
```

<Note>
  Requires `repo`, `read:user`. Pages by number: `page` with `per_page`.
</Note>

## Query parameters

<div className="reference-table">
  | Field                                                     | Type                                                                  | Description                                                                                                                                                                                 |
  | --------------------------------------------------------- | --------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `perPage`                                                 | `integer`                                                             | The number of results per page (max 100). Defaults to 30. <span className="field-constraints">≥ 1; ≤ 100; defaults to `30`</span>                                                           |
  | `page`                                                    | `integer`                                                             | The page number of the results to fetch. Defaults to 1. <span className="field-constraints">≥ 1; defaults to `1`</span>                                                                     |
  | `order`                                                   | [SortDirection](/charter/charter/packs/github/issues/objects#sortdirection)   | Determines whether the first search result returned is the highest number of matches (`desc`) or lowest (`asc`). Ignored unless `sort` is provided. GitHub uses `desc` when this is absent. |
  | `q` <span className="required" title="required">\*</span> | `string`                                                              | The search query, with user qualifiers: `type:org`, `location:berlin`, `language:rust`, `followers:&gt;100`.                                                                                |
  | `sort`                                                    | [UserSearchSort](/charter/charter/packs/github/search/objects#usersearchsort) | Sorts the results by number of followers or repositories, or by when the account joined. Absent, results come back by best match.                                                           |
</div>
