List issue suggestions
Lists the suggestions on an issue. A suggestion is an agent-proposed change to an issue’s type, labels, fields, assignees, or closed state that a maintainer can approve or dismiss.
By default only pending suggestions are returned. Use state=all to return suggestions in every state, or state=<state> to filter to a single state. Use action=<action> to return only suggestions for a specific change.
This endpoint is only available while the issue suggestions feature is enabled for the repository, and only supports issues, not pull requests.
Requires triage access to the repository.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The account owner of the repository. The name is not case sensitive.
The name of the repository without the .git extension. The name is not case sensitive.
The number that identifies the issue.
Query Parameters
Section titled “Query Parameters”Filter suggestions by their state.
Filter suggestions by the change they propose.
The number of results per page (max 100). For more information, see “Using pagination in the REST API.”
The page number of the results to fetch. For more information, see “Using pagination in the REST API.”
Responses
Section titled “Responses”Response
An agent-proposed change to an issue that a maintainer can approve or dismiss.
object
The unique identifier of the suggestion.
The unique identifier of the issue the suggestion applies to.
The kind of change proposed.
The suggestion’s lifecycle state.
The identifier of the target the change applies to (issue type, label, field, assignee, or duplicate issue), when applicable.
The rationale the actor provided for the suggestion.
The actor’s confidence level in the suggestion.
The unique identifier of the actor that proposed the suggestion.
The identifier of the timeline event created when the suggestion was approved, when applicable.
The unique identifier of the user who approved or dismissed the suggestion.
The time the suggestion was created.
The time the suggestion was last updated.
Examples
[ { "id": 12, "issue_id": 4567, "action": "add_label", "state": "pending", "target_id": 208045946, "target_value": null, "rationale": "This looks like a bug report based on the stack trace in the description.", "confidence": "HIGH", "actor_id": 41898282, "issue_event_id": null, "resolved_by": null, "created_at": "2026-06-01T14:20:00Z", "updated_at": "2026-06-01T14:20:00Z" }, { "id": 13, "issue_id": 4567, "action": "set_type", "state": "pending", "target_id": 3, "target_value": "Bug", "rationale": "The report describes unexpected behaviour with reproduction steps.", "confidence": "MEDIUM", "actor_id": 41898282, "issue_event_id": null, "resolved_by": null, "created_at": "2026-06-01T14:21:00Z", "updated_at": "2026-06-01T14:21:00Z" }]Headers
Section titled “Headers”Example
<https://api.github.com/resource?page=2>; rel="next", <https://api.github.com/resource?page=5>; rel="last"Resource not found
Basic Error
object
Examplegenerated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}Validation failed, or the endpoint has been spammed.
Validation Error
object
object
Examplegenerated
{ "message": "example", "documentation_url": "example", "errors": [ { "resource": "example", "field": "example", "message": "example", "code": "example", "index": 1, "value": [ "example" ] } ]}