Back to GitHub
Connect Knoon AI with GitHub to automate AI workflows.
List pull requests for a repository.
githubDefaultListPullRequests
BETA
Internal
Permissions
Optional permissions
There are no items to display.
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| repository | file | GitHub repository in owner/repo format. | Yes |
| state | string | Optional PR state: open, closed, all. | No |
| base | mustache | Optional base branch name. | No |
| head | mustache | Optional head user or branch filter. | No |
| sort | string | Optional sort: created, updated, popularity, long-running. | No |
| direction | string | Optional direction: asc or desc. | No |
| perPage | mustache | Optional page size (1-100, default 30). | No |
| page | mustache | Optional page number (default 1). | No |
Returns
| Name | Type | Description |
|---|---|---|
| result | array | Pull request summaries. |