latestOpenAPI 3.1.02026-08-1963241304.5 KB

ae394a06c465

statistics

Get PR exit reasons by interval

Count of pull request queue-session exits by reason, grouped by time intervals. Each queue session (enter → leave) is counted once. A PR re-queued after failure appears in each session separately.

get/repos/{owner}/{repository}/stats/queues_pr_exit_reasons

Path parameters

ownerstring required

The owner of the repository

The owner of the repository

repositorystring required

The name of the repository

The name of the repository

Query parameters

base_refstring[] nullable

Base reference(s) of the pull requests

Base reference(s) of the pull requests

queue_namestring[] nullable

Name of the merge queue(s) for the pull requests

Name of the merge queue(s) for the pull requests

priority_rule_namestring[] nullable

Name of the priority rule(s) of the pull requests

Name of the priority rule(s) of the pull requests

start_atstring date-time nullable

Get the stats until this date, default 1 day before end_at

Get the stats until this date, default 1 day before end_at

end_atstring date-time nullable

Get the stats from this date, default now

Get the stats from this date, default now

Response

Successful Response