Runpod REST API v1 Is Retired: How to Move to v2
Updated · Independent guide
If a script that starts, stops or lists your Runpod Pods suddenly stopped working in mid-November, this is probably why. Runpod retired version 1 of its REST API on 15 November 2026, and calls to the old host no longer work. The replacement, REST API v2, is not just a new address. Paths, field names and some defaults changed, and a few of those changes fail silently rather than with an error. This guide covers what moved, the changes most likely to bite, and a sensible order for fixing your own tooling.
What happened and when
Runpod's migration guide said that REST API v1 was deprecated and would be retired on 15 November 2026, and asked users to move their integrations to v2 before then. The release notes entry for that date confirms the retirement and says to migrate to REST API v2 to restore access.
The same month brought two related changes worth knowing about:
- 12 November 2026: scoped API keys. Runpod's release notes say you can now choose each key's access to Runpod services separately, including per-scope access for REST API v2. There is no default full-access option, so you select only the scopes a key needs. Existing keys keep working on every service with no action needed.
- Late October 2026: tooling built on v2. The release notes list version 2.0.0 of Runpod's Terraform provider on 27 October, built on REST API v2 and making no v1 calls. Runpod's November agents update also mentions a TypeScript SDK as a 0.x release generated from REST v2.
If you only ever use the web console, nothing here changes your day. It matters if you have scripts, CI jobs, a Terraform setup or an agent that calls the API directly.
The new address and paths
The base URL moves from https://rest.runpod.io/v1 to https://api.runpod.io/v2, and the OpenAPI schema moves to https://api.runpod.io/v2/openapi.json. Authentication is unchanged: you still send Authorization: Bearer followed by your API key. The migration guide says you do not need to change key management or scopes just to call v2.
Several resource paths were renamed. From Runpod's mapping table:
- Pods:
/podsbecomes/v2/pods. - Serverless:
/endpointsbecomes/v2/serverless. - Network volumes:
/networkvolumesbecomes/v2/network-volumes. - Container registry auth:
/containerregistryauthbecomes/v2/registries. - Serverless billing:
/billing/endpointsbecomes/v2/billing/serverless. - Instant Clusters, which had no v1 endpoint, are at
/v2/clusters.
Path parameters are now a generic {id} rather than {podId} or {endpointId}.
Starting and stopping Pods
This is the change most hobby scripts will hit first. In v1, start, stop, reset and restart were separate endpoints. In v2 there is one: POST /v2/pods/{id}/action with a JSON body such as {"action":"stop"}. The accepted actions are start, stop, restart and terminate. The v1 reset action has no v2 equivalent.
Updating a Pod in place is now PATCH /v2/pods/{id}, and deleting one is DELETE /v2/pods/{id}. Serverless endpoints are updated with PATCH /v2/serverless/{id}.
Changes that fail loudly
Some mistakes return an error straight away, which makes them easy to find:
- v2 rejects unknown fields in a request body with a 422 error. Runpod's example is
dataCenterId, which is nowdataCenteron network volumes. - A renamed path returns a 404.
- CUDA and per-GPU settings moved under
gpu. For example,minRAMPerGPUis nowgpu.minRamPerGpu. - Errors follow RFC 9457, with
title,statusanddetailfields. A valid key that lacks access to a resource gets a 403.
Changes that fail silently
These are the ones to read twice, because your code keeps running and does the wrong thing. All of them come from the migration guide:
- Query filters are ignored. Unknown query parameters are silently dropped, so
GET /v2/pods?desiredStatus=RUNNINGreturns every Pod. Filter on your side instead. A script that lists running Pods and then stops them could act on more than you meant. - No storage by default. In v1 a new Pod got a 20GB volume at
/workspace. In v2, a Pod created withoutmountshas no persistent storage. - No ports by default.
portshas no default value, so include22/tcpif you want SSH. - Lists are paginated. List responses return up to 1,000 items per page. Follow
pagination.nextCursoruntilpagination.hasNextPageis false. Responses are also wrapped in an object such as{"pods":[...]}rather than a bare array. - Same name, new meaning.
/billing/endpointsnow refers to Public Endpoint billing, not your own Serverless endpoints. - Renamed fields.
desiredStatusbecomesstatus, which reports the actual state.dockerStartCmd(an array) becomesargs(a single string),dockerEntrypointbecomesentrypoint, andexecutionTimeoutMsbecomestimeout, which Runpod suggests setting explicitly. - FlashBoot is off by default. It now takes
OFF,FLASHBOOTorPRIORITY_FLASHBOOT, defaulting toOFF. - Templates are copied, not linked. A template is copied when a resource is created, so later edits to the template do not reach existing Pods or endpoints.
What was removed
A handful of v1 features have no v2 equivalent, according to the migration guide. The ones most likely to affect GPU renters are Spot Pods (the interruptible options), a Pod GPU fallback list with several GPU types, savings plans, server-side list filters and country code filters. If a script relied on asking for "any of these three GPUs", you now need to handle the fallback yourself.
There are additions too. v2 adds catalog endpoints for GPUs, CPUs and data centers, Pod logs at GET /v2/pods/{id}/logs, Serverless worker listings and logs, and an aggregated GET /v2/billing.
A sensible migration order
- Find every caller. Search your scripts, CI config and dotfiles for
rest.runpod.io. Anything that still points there needs changing. - Change the host and paths using the mapping above, or regenerate your client from the v2 OpenAPI schema, which Runpod recommends.
- Rewrite Pod lifecycle calls to the single
/actionendpoint. - Set storage and ports explicitly on anything that creates Pods, so you do not end up with a Pod that has no
/workspacevolume or no SSH. - Move filtering client-side and handle pagination before you let any script stop or terminate Pods based on a list.
- Upgrade Terraform to provider 2.0.0 if you use it. Runpod's release notes say moving from 1.x needs configuration and state changes, and that a custom
base_urlshould be removed. - Review your keys. Old keys still work, but a new scoped key with only the access a script needs limits the damage if it leaks.
If you use a coding agent, Runpod's docs also point to a /runpod:migrate command in its skills plugin that attempts the migration automatically. Review whatever it changes like any other code.
What this means if you rent GPUs
- Check any "auto-stop" script today. The scripts that shut idle Pods down are the ones that save you money, and they are exactly the kind that broke on 15 November. A Pod that never stops keeps billing.
- Test against a cheap Pod first. Create a small Pod with your updated script, check its storage and ports, then stop and terminate it through the API.
- Do not rely on Spot Pods through the API for new tooling, as v2 has no equivalent.
- Use the console for one-off jobs. If you rent a GPU a few times a month, clicking Deploy and Stop is still the simplest path, and nothing about it changed.
Details in this article come from Runpod's migration guide, release notes and documentation as checked on 1 December 2026. APIs change, so check Runpod's current API reference before you rely on any field or path named here.
Sources
Scripts fixed and ready to rent again?
I use Runpod for short-lived GPU experiments where buying the hardware would not make sense, and shut the Pods down once the job is done.
Try Runpod with my referral link →Referral disclosure: this is a referral link. Any credits or rewards are subject to Runpod's current referral terms. How the Runpod referral bonus works.