Okapi Okapi

GitHub REST API first query parameter removal on GET /orgs/{id}/dependabot/alerts

Stopped workingSubscribe to GitHub REST APIShare

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


Calls it hits

  • GET /orgs/{id}/dependabot/alerts
  • query parameter first

What to use instead of these calls

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

In 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.

GitHub REST API, Announcement

Facts

API
GitHub REST API api.github.com
Kind
Parameter removal
Announced
September 23, 2025
Takes effect
October 14, 2025
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against GitHub REST API's own pages

Questions

When does this change take effect?

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

What happens to calls after October 14, 2025?

They have failed since October 14, 2025.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from GitHub REST API 10

  1. GET /enterprises/{id}/settings/billing/actionsEndpoint removal Stopped working
  2. GET /enterprises/{id}/settings/billing/packagesEndpoint removal Stopped working
  3. GET /enterprises/{id}/dependabot/alertsParameter removal Stopped working
  4. GET /repos/{id}/{id}/dependabot/alertsParameter removal Stopped working
  5. GET /enterprises/{id}/dependabot/alertsParameter removal Stopped working
  6. GET /orgs/{id}/dependabot/alertsParameter removal Stopped working
  7. GET /repos/{id}/{id}/dependabot/alertsParameter removal Stopped working
  8. GET /enterprises/{id}/dependabot/alertsParameter removal Stopped working
  9. GET /orgs/{id}/dependabot/alertsParameter removal Stopped working
  10. GET /repos/{id}/{id}/dependabot/alertsParameter removal Stopped working

You fixed this one by hand.

Okapi opens the pull request with the fix before the next breaking change reaches your code.

Add to GitHub

Get notifications

Subscribe to GitHub REST API

Hear about each breaking change GitHub REST API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • GitHub REST API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.