# page on GET /enterprises/{}/dependabot/alerts stops working

Calls to GET /enterprises/{id}/dependabot/alerts, query parameter page on GitHub REST API stopped working on October 14, 2025.

## What to use instead

Paginate with the cursor-based before, after and per_page parameters (follow the Link header) instead.

- API: GitHub REST API (api.github.com)
- Kind: Parameter removal
- Announced: September 23, 2025
- Takes effect: October 14, 2025
- Calls after that day: fail
- Calls it hits: `GET /enterprises/{id}/dependabot/alerts`, `query parameter page`
- Source: [Announcement](https://github.blog/changelog/2025-09-23-upcoming-changes-to-github-dependabot-alerts-rest-api-offset-based-pagination-parameters-page-first-and-last)
- Verified: November 6, 2026, against GitHub REST API's own pages
- Page: https://www.okapi.bot/providers/github-rest-api/breaking-changes/page-on-get-enterprises-dependabot-alerts-stops-working/

## GitHub REST API's words

> Offset-based pagination parameters ( page , first , and last ) will be removed from all Dependabot alert endpoints on October 14, 2025.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
