Dismiss an issue suggestion
Dismisses a pending suggestion on an issue. Transitions the suggestion to dismissed without applying any change or creating a timeline event.
Requires triage access to the repository. This endpoint only supports issues, not pull requests.
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.
The unique identifier of the suggestion.
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": "approved", "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": 6430295168, "resolved_by": 583231, "created_at": "2026-06-01T14:20:00Z", "updated_at": "2026-06-01T15:05:00Z"}Forbidden
Basic Error
object
Examplegenerated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}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" ] } ]}