
GitHub Search
CertifiedSearch users
GitHub Search
Search users
Runs a GitHub user search and writes matching user metadata to Kestra internal storage. Anonymous execution skips private data and may omit fields, and authenticated runs default to JOINED sorted in ascending order.
type: io.kestra.plugin.github.users.SearchExamples
Search for users.
id: github_user_search_flow
namespace: company.team
tasks:
- id: search_users
type: io.kestra.plugin.github.users.Search
oauthToken: "{{ secret('GITHUB_ACCESS_TOKEN') }}"
query: "kestra-io in:login language:java"
Search for users with conditions.
id: github_user_search_flow
namespace: company.team
tasks:
- id: search_users
type: io.kestra.plugin.github.users.Search
oauthToken: "{{ secret('GITHUB_ACCESS_TOKEN') }}"
query: kestra-io
in: login
language: java
Properties
accountType string
USERORGANIZATIONAccount type
USER returns individual accounts and ORGANIZATION returns organization accounts
appInstallationToken string
GitHub App installation token
Installation access token generated by a GitHub App. Use this for repository-scoped app access instead of a user token.
created string
Joined date filter
Supports >, <, and range (..) syntax with YYYY-MM-DD
endpoint string
GitHub API endpoint
GitHub or GitHub Enterprise API base URL such as https://api.github.com or https://ghe.acme.com/api/v3. Set this when targeting GitHub Enterprise or a non-default API endpoint.
fetchType string
STORESTOREFETCHFETCH_ONENONEResult handling mode
Controls how hits are exposed in outputs; default FETCH returns all hits in the response. FETCH_ONE returns only the first hit, STORE writes hits to Kestra storage and returns a URI, and NONE leaves outputs empty.
followers string
Followers filter
Supports >, <, and range (..) follower counts
in string
Fields to search (in: )
Restricts the search to fields accepted by GitHub such as login, fullname, or email
jwtToken string
GitHub JWT token
GitHub App JWT used for app-level authentication. Use this when the task should authenticate as the app rather than a user.
language string
Language filter
Language name or alias applied to repositories the user owns
location string
Location filter
Matches the public profile location field
login string
GitHub login
GitHub login used with oauthToken for authenticated requests. Leave unset when authenticating with jwtToken or appInstallationToken.
oauthToken string
GitHub OAuth token
GitHub personal access token used for authenticated requests. Can be used alone or with login.
order string
ASCASCDESCSort direction
ASC sorts ascending (default); DESC sorts descending.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
query string
Search keywords and qualifiers
User search syntax combining keywords with qualifiers like location, followers, language.
repositories integerstring
Repository count filter
Exact repository count to match
sort string
JOINEDJOINEDREPOSITORIESFOLLOWERSSort field
JOINED sorts by join date (default); REPOSITORIES by public repo count; FOLLOWERS by follower count.
Outputs
row object
First hit
Available only when fetchType=FETCH_ONE; contains the first hit source.
rows array
Fetched hits
Available only when fetchType=FETCH; contains hit sources for the current response page.
size integer
Returned hit count
Number of hits included in outputs for the selected fetch type.
total integer
Total hits reported
Total hits reported by GitHub search, regardless of pagination.
uri string
uriStored hits URI
Available only when fetchType=STORE; Kestra internal storage path to the Ion file.