---
title: "Changes to Get which scopes cover the files of a directory"
method: GET
path: "/orgs/{owner}/repositories/{repository}/scopes/coverage"
---

# Changes to Get which scopes cover the files of a directory

`GET /orgs/{owner}/repositories/{repository}/scopes/coverage`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 10 of 128 revisions.

- **2026-11-20** `e6ed7cbf3cff`: 18 warning
- **2026-11-20** `e9a0452da665`: 54 warning
- **2026-11-19** `99133917be9f`: 12 warning
- **2026-11-19** `09c0c9a74c80`: 6 info
- **2026-11-19** `3b00e8b70c7e`: 18 warning
- **2026-11-18** `fcb8448506b6`: 6 warning
- **2026-11-18** `1848125f504d`: 6 warning
- **2026-11-17** `d469719637b1`: 5 warning, 2 info
- **2026-11-17** `9c054789482b`: 15 warning
- **2026-11-17** `af3c3994d548`: 1 info

## Changes

- **2026-11-20** `e6ed7cbf3cff`: 18 warning
  - added the new `PIPELINE_CACHE_STATS_INVALID_TIME_RANGE` enum value to the `anyOf[subschema #1: ConfigurationInvalidBody]/error_code` response property for the response status `422`
  - added the new `PIPELINE_CACHE_STATS_INVALID_TIME_RANGE` enum value to the `anyOf[subschema #2: APIErrorBody]/error_code` response property for the response status `422`
  - added the new `PIPELINE_CACHE_STATS_INVALID_TIME_RANGE` enum value to the `error_code` response property for the response status `400`
  - added the new `PIPELINE_CACHE_STATS_INVALID_TIME_RANGE` enum value to the `error_code` response property for the response status `404`
  - added the new `PIPELINE_CACHE_STATS_INVALID_TIME_RANGE` enum value to the `error_code` response property for the response status `409`
  - added the new `PIPELINE_CACHE_STATS_INVALID_TIME_RANGE` enum value to the `error_code` response property for the response status `503`
  - added the new `TEST_FAILURE_NOT_FOUND` enum value to the `anyOf[subschema #1: ConfigurationInvalidBody]/error_code` response property for the response status `422`
  - added the new `TEST_FAILURE_NOT_FOUND` enum value to the `anyOf[subschema #2: APIErrorBody]/error_code` response property for the response status `422`
  - added the new `TEST_FAILURE_NOT_FOUND` enum value to the `error_code` response property for the response status `400`
  - added the new `TEST_FAILURE_NOT_FOUND` enum value to the `error_code` response property for the response status `404`
  - added the new `TEST_FAILURE_NOT_FOUND` enum value to the `error_code` response property for the response status `409`
  - added the new `TEST_FAILURE_NOT_FOUND` enum value to the `error_code` response property for the response status `503`
  - added the new `TEST_NOT_FOUND` enum value to the `anyOf[subschema #1: ConfigurationInvalidBody]/error_code` response property for the response status `422`
  - added the new `TEST_NOT_FOUND` enum value to the `anyOf[subschema #2: APIErrorBody]/error_code` response property for the response status `422`
  - added the new `TEST_NOT_FOUND` enum value to the `error_code` response property for the response status `400`
  - added the new `TEST_NOT_FOUND` enum value to the `error_code` response property for the response status `404`
  - added the new `TEST_NOT_FOUND` enum value to the `error_code` response property for the response status `409`
  - added the new `TEST_NOT_FOUND` enum value to the `error_code` response property for the response status `503`
- **2026-11-20** `e9a0452da665`: 54 warning
  - added the new `MERGE_QUEUE_POLICY_INVALID_PATTERN` enum value to the `anyOf[subschema #1: ConfigurationInvalidBody]/error_code` response property for the response status `422`
  - added the new `MERGE_QUEUE_POLICY_INVALID_PATTERN` enum value to the `anyOf[subschema #2: APIErrorBody]/error_code` response property for the response status `422`
  - added the new `MERGE_QUEUE_POLICY_INVALID_PATTERN` enum value to the `error_code` response property for the response status `400`
  - added the new `MERGE_QUEUE_POLICY_INVALID_PATTERN` enum value to the `error_code` response property for the response status `404`
  - added the new `MERGE_QUEUE_POLICY_INVALID_PATTERN` enum value to the `error_code` response property for the response status `409`
  - added the new `MERGE_QUEUE_POLICY_INVALID_PATTERN` enum value to the `error_code` response property for the response status `503`
  - added the new `MERGE_QUEUE_POLICY_LIMIT_REACHED` enum value to the `anyOf[subschema #1: ConfigurationInvalidBody]/error_code` response property for the response status `422`
  - added the new `MERGE_QUEUE_POLICY_LIMIT_REACHED` enum value to the `anyOf[subschema #2: APIErrorBody]/error_code` response property for the response status `422`
  - added the new `MERGE_QUEUE_POLICY_LIMIT_REACHED` enum value to the `error_code` response property for the response status `400`
  - added the new `MERGE_QUEUE_POLICY_LIMIT_REACHED` enum value to the `error_code` response property for the response status `404`
  - added the new `MERGE_QUEUE_POLICY_LIMIT_REACHED` enum value to the `error_code` response property for the response status `409`
  - added the new `MERGE_QUEUE_POLICY_LIMIT_REACHED` enum value to the `error_code` response property for the response status `503`
  - added the new `MERGE_QUEUE_POLICY_NAME_TAKEN` enum value to the `anyOf[subschema #1: ConfigurationInvalidBody]/error_code` response property for the response status `422`
  - added the new `MERGE_QUEUE_POLICY_NAME_TAKEN` enum value to the `anyOf[subschema #2: APIErrorBody]/error_code` response property for the response status `422`
  - added the new `MERGE_QUEUE_POLICY_NAME_TAKEN` enum value to the `error_code` response property for the response status `400`
  - added the new `MERGE_QUEUE_POLICY_NAME_TAKEN` enum value to the `error_code` response property for the response status `404`
  - added the new `MERGE_QUEUE_POLICY_NAME_TAKEN` enum value to the `error_code` response property for the response status `409`
  - added the new `MERGE_QUEUE_POLICY_NAME_TAKEN` enum value to the `error_code` response property for the response status `503`
  - added the new `MERGE_QUEUE_POLICY_NOT_FOUND` enum value to the `anyOf[subschema #1: ConfigurationInvalidBody]/error_code` response property for the response status `422`
  - added the new `MERGE_QUEUE_POLICY_NOT_FOUND` enum value to the `anyOf[subschema #2: APIErrorBody]/error_code` response property for the response status `422`
  - added the new `MERGE_QUEUE_POLICY_NOT_FOUND` enum value to the `error_code` response property for the response status `400`
  - added the new `MERGE_QUEUE_POLICY_NOT_FOUND` enum value to the `error_code` response property for the response status `404`
  - added the new `MERGE_QUEUE_POLICY_NOT_FOUND` enum value to the `error_code` response property for the response status `409`
  - added the new `MERGE_QUEUE_POLICY_NOT_FOUND` enum value to the `error_code` response property for the response status `503`
  - added the new `PIPELINE_CACHE_ENTRIES_FILTER_REQUIRED` enum value to the `anyOf[subschema #1: ConfigurationInvalidBody]/error_code` response property for the response status `422`
  - added the new `PIPELINE_CACHE_ENTRIES_FILTER_REQUIRED` enum value to the `anyOf[subschema #2: APIErrorBody]/error_code` response property for the response status `422`
  - added the new `PIPELINE_CACHE_ENTRIES_FILTER_REQUIRED` enum value to the `error_code` response property for the response status `400`
  - added the new `PIPELINE_CACHE_ENTRIES_FILTER_REQUIRED` enum value to the `error_code` response property for the response status `404`
  - added the new `PIPELINE_CACHE_ENTRIES_FILTER_REQUIRED` enum value to the `error_code` response property for the response status `409`
  - added the new `PIPELINE_CACHE_ENTRIES_FILTER_REQUIRED` enum value to the `error_code` response property for the response status `503`
  - added the new `PIPELINE_CACHE_ENTRY_NOT_FOUND` enum value to the `anyOf[subschema #1: ConfigurationInvalidBody]/error_code` response property for the response status `422`
  - added the new `PIPELINE_CACHE_ENTRY_NOT_FOUND` enum value to the `anyOf[subschema #2: APIErrorBody]/error_code` response property for the response status `422`
  - added the new `PIPELINE_CACHE_ENTRY_NOT_FOUND` enum value to the `error_code` response property for the response status `400`
  - added the new `PIPELINE_CACHE_ENTRY_NOT_FOUND` enum value to the `error_code` response property for the response status `404`
  - added the new `PIPELINE_CACHE_ENTRY_NOT_FOUND` enum value to the `error_code` response property for the response status `409`
  - added the new `PIPELINE_CACHE_ENTRY_NOT_FOUND` enum value to the `error_code` response property for the response status `503`
  - added the new `PIPELINE_CACHE_NOT_ENABLED` enum value to the `anyOf[subschema #1: ConfigurationInvalidBody]/error_code` response property for the response status `422`
  - added the new `PIPELINE_CACHE_NOT_ENABLED` enum value to the `anyOf[subschema #2: APIErrorBody]/error_code` response property for the response status `422`
  - added the new `PIPELINE_CACHE_NOT_ENABLED` enum value to the `error_code` response property for the response status `400`
  - added the new `PIPELINE_CACHE_NOT_ENABLED` enum value to the `error_code` response property for the response status `404`
  - …14 more
- **2026-11-19** `99133917be9f`: 12 warning
  - added the new `API_VERSION_NOT_NEWER` enum value to the `anyOf[subschema #1: ConfigurationInvalidBody]/error_code` response property for the response status `422`
  - added the new `API_VERSION_NOT_NEWER` enum value to the `anyOf[subschema #2: APIErrorBody]/error_code` response property for the response status `422`
  - added the new `API_VERSION_NOT_NEWER` enum value to the `error_code` response property for the response status `400`
  - added the new `API_VERSION_NOT_NEWER` enum value to the `error_code` response property for the response status `404`
  - added the new `API_VERSION_NOT_NEWER` enum value to the `error_code` response property for the response status `409`
  - added the new `API_VERSION_NOT_NEWER` enum value to the `error_code` response property for the response status `503`
  - added the new `API_VERSION_ROLLBACK_UNAVAILABLE` enum value to the `anyOf[subschema #1: ConfigurationInvalidBody]/error_code` response property for the response status `422`
  - added the new `API_VERSION_ROLLBACK_UNAVAILABLE` enum value to the `anyOf[subschema #2: APIErrorBody]/error_code` response property for the response status `422`
  - added the new `API_VERSION_ROLLBACK_UNAVAILABLE` enum value to the `error_code` response property for the response status `400`
  - added the new `API_VERSION_ROLLBACK_UNAVAILABLE` enum value to the `error_code` response property for the response status `404`
  - added the new `API_VERSION_ROLLBACK_UNAVAILABLE` enum value to the `error_code` response property for the response status `409`
  - added the new `API_VERSION_ROLLBACK_UNAVAILABLE` enum value to the `error_code` response property for the response status `503`
- **2026-11-19** `09c0c9a74c80`: 6 info
  - removed the `CI_ID_TOKEN_EXCHANGE_NOT_ENABLED` enum value from the `anyOf[subschema #1: ConfigurationInvalidBody]/error_code` response property for the response status `422`
  - removed the `CI_ID_TOKEN_EXCHANGE_NOT_ENABLED` enum value from the `anyOf[subschema #2: APIErrorBody]/error_code` response property for the response status `422`
  - removed the `CI_ID_TOKEN_EXCHANGE_NOT_ENABLED` enum value from the `error_code` response property for the response status `400`
  - removed the `CI_ID_TOKEN_EXCHANGE_NOT_ENABLED` enum value from the `error_code` response property for the response status `404`
  - removed the `CI_ID_TOKEN_EXCHANGE_NOT_ENABLED` enum value from the `error_code` response property for the response status `409`
  - removed the `CI_ID_TOKEN_EXCHANGE_NOT_ENABLED` enum value from the `error_code` response property for the response status `503`
- **2026-11-19** `3b00e8b70c7e`: 18 warning
  - added the new `STORAGE_POLICY_LIMIT_REACHED` enum value to the `anyOf[subschema #1: ConfigurationInvalidBody]/error_code` response property for the response status `422`
  - added the new `STORAGE_POLICY_LIMIT_REACHED` enum value to the `anyOf[subschema #2: APIErrorBody]/error_code` response property for the response status `422`
  - added the new `STORAGE_POLICY_LIMIT_REACHED` enum value to the `error_code` response property for the response status `400`
  - added the new `STORAGE_POLICY_LIMIT_REACHED` enum value to the `error_code` response property for the response status `404`
  - added the new `STORAGE_POLICY_LIMIT_REACHED` enum value to the `error_code` response property for the response status `409`
  - added the new `STORAGE_POLICY_LIMIT_REACHED` enum value to the `error_code` response property for the response status `503`
  - added the new `STORAGE_POLICY_NAME_TAKEN` enum value to the `anyOf[subschema #1: ConfigurationInvalidBody]/error_code` response property for the response status `422`
  - added the new `STORAGE_POLICY_NAME_TAKEN` enum value to the `anyOf[subschema #2: APIErrorBody]/error_code` response property for the response status `422`
  - added the new `STORAGE_POLICY_NAME_TAKEN` enum value to the `error_code` response property for the response status `400`
  - added the new `STORAGE_POLICY_NAME_TAKEN` enum value to the `error_code` response property for the response status `404`
  - added the new `STORAGE_POLICY_NAME_TAKEN` enum value to the `error_code` response property for the response status `409`
  - added the new `STORAGE_POLICY_NAME_TAKEN` enum value to the `error_code` response property for the response status `503`
  - added the new `STORAGE_POLICY_NOT_FOUND` enum value to the `anyOf[subschema #1: ConfigurationInvalidBody]/error_code` response property for the response status `422`
  - added the new `STORAGE_POLICY_NOT_FOUND` enum value to the `anyOf[subschema #2: APIErrorBody]/error_code` response property for the response status `422`
  - added the new `STORAGE_POLICY_NOT_FOUND` enum value to the `error_code` response property for the response status `400`
  - added the new `STORAGE_POLICY_NOT_FOUND` enum value to the `error_code` response property for the response status `404`
  - added the new `STORAGE_POLICY_NOT_FOUND` enum value to the `error_code` response property for the response status `409`
  - added the new `STORAGE_POLICY_NOT_FOUND` enum value to the `error_code` response property for the response status `503`
- **2026-11-18** `fcb8448506b6`: 6 warning
  - added the new `GITHUB_TWO_FACTOR_AUTHENTICATION_NONCOMPLIANT` enum value to the `anyOf[subschema #1: ConfigurationInvalidBody]/error_code` response property for the response status `422`
  - added the new `GITHUB_TWO_FACTOR_AUTHENTICATION_NONCOMPLIANT` enum value to the `anyOf[subschema #2: APIErrorBody]/error_code` response property for the response status `422`
  - added the new `GITHUB_TWO_FACTOR_AUTHENTICATION_NONCOMPLIANT` enum value to the `error_code` response property for the response status `400`
  - added the new `GITHUB_TWO_FACTOR_AUTHENTICATION_NONCOMPLIANT` enum value to the `error_code` response property for the response status `404`
  - added the new `GITHUB_TWO_FACTOR_AUTHENTICATION_NONCOMPLIANT` enum value to the `error_code` response property for the response status `409`
  - added the new `GITHUB_TWO_FACTOR_AUTHENTICATION_NONCOMPLIANT` enum value to the `error_code` response property for the response status `503`
- **2026-11-18** `1848125f504d`: 6 warning
  - added the new `STATISTICS_SCOPE_PERIOD_TOO_LARGE` enum value to the `anyOf[subschema #1: ConfigurationInvalidBody]/error_code` response property for the response status `422`
  - added the new `STATISTICS_SCOPE_PERIOD_TOO_LARGE` enum value to the `anyOf[subschema #2: APIErrorBody]/error_code` response property for the response status `422`
  - added the new `STATISTICS_SCOPE_PERIOD_TOO_LARGE` enum value to the `error_code` response property for the response status `400`
  - added the new `STATISTICS_SCOPE_PERIOD_TOO_LARGE` enum value to the `error_code` response property for the response status `404`
  - added the new `STATISTICS_SCOPE_PERIOD_TOO_LARGE` enum value to the `error_code` response property for the response status `409`
  - added the new `STATISTICS_SCOPE_PERIOD_TOO_LARGE` enum value to the `error_code` response property for the response status `503`
- **2026-11-17** `d469719637b1`: 5 warning, 2 info
  - added the new `API_VERSION_UNKNOWN` enum value to the `anyOf[subschema #1: ConfigurationInvalidBody]/error_code` response property for the response status `422`
  - added the new `API_VERSION_UNKNOWN` enum value to the `anyOf[subschema #2: APIErrorBody]/error_code` response property for the response status `422`
  - added the new `API_VERSION_UNKNOWN` enum value to the `error_code` response property for the response status `404`
  - added the new `API_VERSION_UNKNOWN` enum value to the `error_code` response property for the response status `409`
  - added the new `API_VERSION_UNKNOWN` enum value to the `error_code` response property for the response status `503`
  - added the new optional `header` request parameter `Mergify-Version`
  - added the non-success response with the status `400`
- **2026-11-17** `9c054789482b`: 15 warning
  - added the new `FLAKY_DETECTION_NOT_CONFIGURED` enum value to the `anyOf[subschema #1: ConfigurationInvalidBody]/error_code` response property for the response status `422`
  - added the new `FLAKY_DETECTION_NOT_CONFIGURED` enum value to the `anyOf[subschema #2: APIErrorBody]/error_code` response property for the response status `422`
  - added the new `FLAKY_DETECTION_NOT_CONFIGURED` enum value to the `error_code` response property for the response status `404`
  - added the new `FLAKY_DETECTION_NOT_CONFIGURED` enum value to the `error_code` response property for the response status `409`
  - added the new `FLAKY_DETECTION_NOT_CONFIGURED` enum value to the `error_code` response property for the response status `503`
  - added the new `KNOWN_TESTS_BEING_COMPUTED` enum value to the `anyOf[subschema #1: ConfigurationInvalidBody]/error_code` response property for the response status `422`
  - added the new `KNOWN_TESTS_BEING_COMPUTED` enum value to the `anyOf[subschema #2: APIErrorBody]/error_code` response property for the response status `422`
  - added the new `KNOWN_TESTS_BEING_COMPUTED` enum value to the `error_code` response property for the response status `404`
  - added the new `KNOWN_TESTS_BEING_COMPUTED` enum value to the `error_code` response property for the response status `409`
  - added the new `KNOWN_TESTS_BEING_COMPUTED` enum value to the `error_code` response property for the response status `503`
  - added the new `KNOWN_TESTS_NOT_SERVED` enum value to the `anyOf[subschema #1: ConfigurationInvalidBody]/error_code` response property for the response status `422`
  - added the new `KNOWN_TESTS_NOT_SERVED` enum value to the `anyOf[subschema #2: APIErrorBody]/error_code` response property for the response status `422`
  - added the new `KNOWN_TESTS_NOT_SERVED` enum value to the `error_code` response property for the response status `404`
  - added the new `KNOWN_TESTS_NOT_SERVED` enum value to the `error_code` response property for the response status `409`
  - added the new `KNOWN_TESTS_NOT_SERVED` enum value to the `error_code` response property for the response status `503`
- **2026-11-17** `af3c3994d548`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/mergify/apis/mergify-api/docs/orgs/:owner/repositories/:repository/scopes/coverage/get.md) - [API](https://skmtc.dev/mergify/apis/mergify-api.md) - [Page](https://skmtc.dev/mergify/apis/mergify-api/changes/orgs/:owner/repositories/:repository/scopes/coverage/get)
