Skip to content

Comprehensive Development Services to Accelerate Business Growth

From CRM solutions to web, mobile, AI, and custom software development.
CircleCI GraphQL API deprecation showing migration from GraphQL and v1 endpoints to the CircleCI V3 API
Migrate from deprecated CircleCI GraphQL and v1 endpoints to the V3 API to maintain reliable CI/CD workflows.

CircleCI GraphQL API Deprecation: Move Pipelines to V3

The CircleCI GraphQL API deprecation hits on 1 Jan 2027 and v1 trigger calls return 410 on 1 Feb. Find old calls and move pipelines to V3.

Editorial Team

Two cutoffs: GraphQL Unstable ends 1 January 2027; v1 and v1.1 trigger and rerun calls return 410 from 1 February 2027.

The CircleCI GraphQL API deprecation is now five weeks away. On 1 January 2027, CircleCI turns off its GraphQL Unstable endpoint, and every script or tool that still calls it will fail. One month later, on 1 February 2027, nine old v1 and v1.1 endpoints that trigger and rerun builds start answering with HTTP 410 Gone. If your team has a deploy script, a Slack bot or an internal dashboard that nobody has opened in years, there is a fair chance it uses one of them.

The risk is not dramatic, but it is annoying. Nothing breaks in your normal Git-push builds. What breaks is the side tooling: the button that kicks off a staging deploy, the bot that reruns a flaky job, the report that counts failed workflows. You usually find out when a release is stuck. CircleCI explains the change in its GraphQL Unstable end-of-life notice, and says the endpoint was never meant to be a stable production API.

TL;DR:GraphQL Unstable (circleci.com/graphql-unstable) stops working on 1 January 2027. Nine v1/v1.1 trigger and rerun endpoints return 410 from 1 February 2027. Search your code for both, move to the V3 REST API (cloud) or API v2 (server), and test triggers and reruns before the dates.

What is changing and when

The CircleCI GraphQL API deprecation is the first of two separate cutoffs. They hit different code, so treat them as two checks on one list.

1 January 2027: GraphQL Unstable reaches end of life

CircleCI will stop serving https://circleci.com/graphql-unstable. The recommended path is the CircleCI V3 API, which has versioned endpoints and a formal deprecation policy. If anyone on your team still runs CircleCI CLI version 0, upgrade it to version 1 as well. CircleCI Server customers are not affected by this cutoff.

1 February 2027: v1 and v1.1 endpoints return 410

The second change removes nine POST endpoints that start, retry or SSH-rerun builds. It applies to both CircleCI cloud and CircleCI server, and the date was pushed back from 1 November 2026. CircleCI lists the nine paths in its v1 and v1.1 removal notice. Other v1 and v1.1 endpoints, and all of API v2 and v3, keep working. Here are the affected calls:

POST /api/v1/project/:username/:repo/
POST /api/v1/project/:username/:repo/:build_num/retry
POST /api/v1/project/:username/:repo/:build_num/ssh
POST /api/v1/project/:username/:repo/tree/:branch
POST /api/v1.1/project/:vcs-type/:username/:repo/
POST /api/v1.1/project/:vcs-type/:username/:repo/:build_num/retry
POST /api/v1.1/project/:vcs-type/:username/:repo/:build_num/ssh
POST /api/v1.1/project/:vcs-type/:username/:repo/build
POST /api/v1.1/project/:vcs-type/:username/:repo/tree/:branch

CI pipeline migration checklist in four steps

Four-step CI pipeline migration checklist for CircleCI API deprecation, including finding calls, mapping endpoints to V3 or V2, updating code, and testing triggers
Follow four essential steps to migrate CircleCI pipelines: find deprecated API calls, map endpoints, update code, and test triggers.

This is the CI pipeline migration we run for clients when the CircleCI GraphQL API deprecation and the v1 removal land together. Most small teams finish it in a day or two. Bigger agencies with many client repos need longer, mostly for the search step.

The four steps: find the calls, map them to V3 or v2, update the code, then test triggers and reruns.

Step 1: Search scripts, dashboards and bots

Start with a plain text search. Look in application repos, infrastructure repos, shell scripts on build servers, serverless functions, Slack or Teams bots, and any low-code automation that makes HTTP calls. The CircleCI GraphQL API deprecation only breaks code that calls the endpoint, so this search is the real work. Search for these strings:

graphql-unstable
  • /api/v1/project/ and /api/v1.1/project/
  • /tree/ next to a CircleCI host, which is the old trigger-by-branch pattern
  • /retry and /ssh on CircleCI URLs

A quick command on any checked-out repo:

grep -rnE "graphql-unstable|/api/v1(.1)?/project/" 
  --include=*.{sh,js,ts,py,rb,go,yml,yaml,json} .

Do not stop at code. Old API calls also live in cron jobs, CI variables, wiki runbooks and third-party integrations you configured years ago. Ask each team for a list of anything that “starts a build” or “reruns a job” outside a normal Git push.

Step 2: Map each call to its CircleCI V3 API replacement

CircleCI maps by task, not one to one. Pick the replacement for what the old call did:

Old call or toolWhat it didReplacement (cloud)Replacement (server)
graphql-unstable queriesRead pipeline and org dataMatching V3 REST endpointNot affected
v1 / v1.1 …/tree/:branch, …/build, project rootTrigger a buildPOST /api/v3/runsPOST /api/v2/project/:provider/:org/:project/pipeline
v1 / v1.1 …/:build_num/retryRerun a buildPOST /api/v3/workflows/:id/rerunPOST /api/v2/workflow/:workflow-id/rerun
v1 / v1.1 …/:build_num/sshRerun with SSHV3 rerun with is_ssh_enabledv2 rerun with enable_ssh
CircleCI CLI v0Local commandsUpgrade to CLI v1Upgrade to CLI v1

Two details catch people out. First, addressing changes: v1 uses username and repo, v2 uses provider, organization and project, and V3 uses UUIDs, so you need to look up IDs once and store them. Second, reruns are now workflow-based. You rerun a workflow (and can choose which jobs), not a single numbered build. The rerun call returns a new workflow, so update any code that tracks build numbers.

If your team is also tightening pipeline security, this is a good moment to rotate the tokens these scripts use. We cover that side in our post on the DevSecOps bottleneck in CI/CD.

Step 3: Update the code

A typical old trigger script posted to a v1.1 branch URL. On cloud, the V3 version fires a run for a pipeline by its ID. The token goes in a Bearer header; V3 rejects tokens sent in the query string.

curl -X POST "https://circleci.com/api/v3/runs" 
  -H "Authorization: Bearer $CIRCLECI_TOKEN" 
  -H "Content-Type: application/json" 
  -d '{"pipeline_id": "<pipeline-uuid>"}'

A workflow rerun looks like this:

curl -X POST "https://circleci.com/api/v3/workflows/<workflow-uuid>/rerun" 
  -H "Authorization: Bearer $CIRCLECI_TOKEN"

When a Slack bot or dashboard holds the old call, change the URL, the auth header and the request body together. Keep the old version in source control until the new one has run cleanly for a week, so you have a quick way back if a field is wrong. Store the new pipeline and project UUIDs as settings, not hard-coded values.

On CircleCI Server, use API v2 instead, because V3 is cloud-only:

curl -X POST "https://<your-server>/api/v2/project/gh/<org>/<project>/pipeline" 
  -H "Circle-Token: $CIRCLECI_TOKEN" 
  -H "Content-Type: application/json" 
  -d '{"branch": "main"}'

Check the full request body for runs (branch, parameters and so on) in the CircleCI V3 developer’s guide before you ship, since the fields you need depend on your setup. It also covers pagination, scoping filters and error handling.

Step 4: Test triggers and reruns before the cutoffs

  1. Trigger a run from every migrated script, bot and dashboard on a test branch.
  2. Rerun a failed workflow, once with all jobs and once from failed jobs only.
  3. Handle 429 responses: wait for the Retry-After header, then back off.
  4. Do not blindly retry a rerun that timed out. Re-read the workflow list first, or you may start two runs.
  5. Add an alert for HTTP 410 and 404 from any CircleCI call, so a missed script fails loudly.
  6. Finish this testing well before the CircleCI GraphQL API deprecation date, then repeat it for the February cutoff.

When you write new tooling, design it for V3 from the start rather than porting old habits one line at a time.

Why the CircleCI GraphQL API deprecation hits side tooling hardest

Related walkthrough

Track Claude API Spend in Google Sheets with the New Usage and Cost Analytics API (Apps Script)

Practical guidance from the Outright Systems team. Watch on YouTube

Your main pipelines run from config in the repo and keep working. The trouble sits in code written once and forgotten: a release dashboard built by a contractor, a chat bot, a mobile release script on one engineer’s laptop. Nobody owns it, so nobody reads the deprecation emails. In 2027 it fails on the day you need it.

AI coding assistants can speed up the search-and-replace part. Just review the result, since they often suggest the old endpoints they learned from. Our guide to agentic coding explained shows how to keep a human check on that kind of change.

FAQ

When does the CircleCI GraphQL Unstable API stop working?

On 1 January 2027, the CircleCI GraphQL API deprecation takes effect. After that date, every request to circleci.com/graphql-unstable fails. CircleCI Server is not affected.

What does the CircleCI v1 endpoints 410 error mean?

From 1 February 2027, the nine v1 and v1.1 trigger, retry and SSH endpoints return HTTP 410 Gone. The endpoint is removed on purpose, so retrying will not help. Move the call to V3 or v2.

What replaces the CircleCI trigger API in v1?

On cloud, use POST /api/v3/runs, or the v2 pipeline/run endpoint. On CircleCI Server, use the v2 pipeline endpoint, because V3 is cloud-only.

Do I have to change my .circleci/config.yml?

Not for these cutoffs. They affect API calls made from outside the pipeline, plus the old CLI v0. Your config file keeps working.

Conclusion: get ahead of the deadlines

The CircleCI GraphQL API deprecation and the February 410 cutoff are small jobs if you start now and painful ones if you find them during a release. Search for the old calls this week, map them to V3 or v2, and test every trigger and rerun before 1 January.

Short on time? OutrightCRM’s DevOps team runs a focused CI/CD maintenance sprint: we search your repos, bots and dashboards, migrate the calls, and hand back tested scripts before the cutoffs. Get in touch to book a slot.

Discover our most-read articles, packed with expert insights, practical tips, and industry-leading knowledge.

Let's stay in touch!

We'll send you a newsletter once per week. No spam.