Count test states
Changed onCount the test states the list returns for the same filters, across every page.
Application key permission: quarantines: read.
Request
- Base URLhttps://api.mergify.com/v1
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
The name of the repository
The owner of the repository
Query parameters
The states to filter on.
The states to exclude.
The test identifier to filter on
The sources to filter on.
The branch name to filter on. Test states applying to every branch always match.
The branch name to exclude. Test states applying to every branch are kept.
The pipeline name to filter on. Test states applying to every pipeline always match.
The pipeline name to exclude. Test states applying to every pipeline are kept.
The job name to filter on. Test states applying to every job always match.
The job name to exclude. Test states applying to every job are kept.
The test name to filter on
The test name to exclude
The health status to filter on. Tests with no recent runs are left out.
The health status to exclude. Tests with no recent runs are kept.
Headers
The API version the request is written against, a date (YYYY-MM-DD). Without it, the request is served 2026-11-16. A version this server does not serve is refused with a 400, the error code API_VERSION_UNKNOWN and the versions it serves in served_versions.
Response
Successful Response
Changes
- warning
added the new
GITHUB_TWO_FACTOR_AUTHENTICATION_NONCOMPLIANTenum value to theresponse property for the response status - warning
added the new
GITHUB_TWO_FACTOR_AUTHENTICATION_NONCOMPLIANTenum value to theresponse property for the response status
- warning
- warning
added the new
STATISTICS_SCOPE_PERIOD_TOO_LARGEenum value to theresponse property for the response status - warning
added the new
STATISTICS_SCOPE_PERIOD_TOO_LARGEenum value to theresponse property for the response status
- warning