Skip to content

docs: docs: surface /runpod:migrate command for v1 REST and GraphQL migration - #806

Merged
lavanya-gunreddi merged 2 commits into
mainfrom
promptless/runpod-migrate-command
Aug 19, 2026
Merged

docs: docs: surface /runpod:migrate command for v1 REST and GraphQL migration#806
lavanya-gunreddi merged 2 commits into
mainfrom
promptless/runpod-migrate-command

Conversation

@promptless

@promptless promptless Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Open in Promptless

Surfaces the Runpod skills plugin's /runpod:migrate command as the automated path off the two deprecated APIs (REST v1 and GraphQL) and onto REST v2, at the points where developers with an existing integration land.

  • API v2 overview (api-reference-v2/overview.mdx): adds a note telling readers with a v1 REST or GraphQL integration they can migrate automatically with /runpod:migrate.
  • REST v1 deprecation notice (api-reference/overview.mdx): adds a sentence pointing to /runpod:migrate rest.
  • GraphQL deprecation notice (sdks/graphql/configurations.mdx): adds a sentence pointing to /runpod:migrate graphql.
  • Agent skills page (get-started/agent-skills.mdx): adds a runpod-migrate row to the skills table and a new "Migrate an existing integration" section documenting the command syntax, scope/path arguments, a worked example, and a branch-and-review safety note.
  • Migration guide (api-reference-v2/migrate-from-v1.mdx): adds a "Next steps" card so readers arriving directly discover the automated command.

Trigger Events


Tip: Worried about broken links? Ask Promptless to find and fix them automatically 🔗

Add guidance pointing users to the Runpod skills plugin's /runpod:migrate
command on the API v2 overview, the v1 REST and GraphQL deprecation notices,
and the agent skills page.
@promptless
promptless Bot requested a review from lavanya-gunreddi as a code owner August 19, 2026 19:06
The Runpod REST API v2 provides programmatic access to your Runpod resources over standard HTTP. Use it to create and manage Pods, query Serverless endpoints, provision storage, and retrieve billing data — without using the console.

<Note>
If you have an existing REST v1 or GraphQL integration, run `/runpod:migrate` with the [Runpod skills plugin](/get-started/agent-skills#migrate-an-existing-integration) installed in your coding agent to migrate it to v2 automatically. See the [migration guide](/api-reference-v2/migrate-from-v1) for details.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirms /runpod:migrate with no scope argument defaults to scope "all", which migrates both REST v1 and GraphQL integrations to v2, matching the doc's claim that running the bare command migrates an existing REST v1 or GraphQL integration.

Source: https://github.com/runpod/runpod-plugins-official/blob/d0c4a7b2a1d7ae30e5429392603fd2d13abf120b/plugins/runpod/commands/migrate.md#L3


<Warning>
REST API v1 is deprecated and will be retired on **November 15, 2026**. Migrate your integrations to REST API v2 before that date. See the [migration guide](/api-reference-v2/migrate-from-v1) to get started.
REST API v1 is deprecated and will be retired on **November 15, 2026**. Migrate your integrations to REST API v2 before that date. See the [migration guide](/api-reference-v2/migrate-from-v1) to get started. To migrate automatically, ask your coding agent to run `/runpod:migrate rest` once you've installed the [Runpod skills plugin](/get-started/agent-skills#migrate-an-existing-integration).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirms rest is a valid scope argument for /runpod:migrate that targets REST v1 only, matching the doc's claim that /runpod:migrate rest migrates the REST v1 integration.

Source: https://github.com/runpod/runpod-plugins-official/blob/d0c4a7b2a1d7ae30e5429392603fd2d13abf120b/plugins/runpod/commands/migrate.md#L3


<Warning>
The GraphQL API is deprecated and will be retired in early 2027. For new integrations, use [REST API v2](/api-reference-v2/overview).
The GraphQL API is deprecated and will be retired in early 2027. For new integrations, use [REST API v2](/api-reference-v2/overview). To migrate automatically, ask your coding agent to run `/runpod:migrate graphql` once you've installed the [Runpod skills plugin](/get-started/agent-skills#migrate-an-existing-integration).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirms graphql is a valid scope argument for /runpod:migrate that targets the GraphQL API only, matching the doc's claim that /runpod:migrate graphql migrates the GraphQL integration.

Source: https://github.com/runpod/runpod-plugins-official/blob/d0c4a7b2a1d7ae30e5429392603fd2d13abf120b/plugins/runpod/commands/migrate.md#L3

| **flash** | Writes and deploys your own Python code to Runpod Serverless using the [runpod-flash](/flash/overview) SDK. |
| **companion-clis** | Uses supporting CLIs such as Hugging Face, Docker, and the AWS CLI when a task needs them. |
| **runpod-usage** | Provides conceptual knowledge about Pods, Serverless, storage, and GPU selection. |
| **runpod-migrate** | Migrates a codebase from the GraphQL API or REST v1 to REST v2. It inventories which API each call site uses, rewrites the call sites, and verifies the result. |

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirms the runpod-migrate skill's description: migrates a codebase from the GraphQL API or REST v1 to REST v2, inventorying which API version each call site uses, rewriting call sites, and verifying — matching the new table row.

Source: https://github.com/runpod/runpod-plugins-official/blob/d0c4a7b2a1d7ae30e5429392603fd2d13abf120b/plugins/runpod/skills/runpod-migrate/SKILL.md#L4


## Migrate an existing integration

If you already have an integration built on the GraphQL API or REST v1, the `/runpod:migrate` command moves it to REST v2. It inventories which API version each part of your code uses, then rewrites the call sites, flags breaking changes, and verifies the result. It migrates one file at a time, with one commit per file.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirms the /runpod:migrate workflow inventories call sites, rewrites them, flags breaking changes, verifies the result, and migrates "one file per commit" (SKILL.md step 4 heading: "Migrate, one file per commit"), matching the section's description of the command's behavior.

Source: https://github.com/runpod/runpod-plugins-official/blob/d0c4a7b2a1d7ae30e5429392603fd2d13abf120b/plugins/runpod/skills/runpod-migrate/SKILL.md#L178

Because it edits and commits your code as it goes, run it on a feature branch and review each commit before you merge or deploy.

The command takes an optional scope and path:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirms the verbatim argument-hint for the /runpod:migrate command: "[scope: all | rest | graphql] [path]", matching the invocation syntax shown in the code block.

Source: https://github.com/runpod/runpod-plugins-official/blob/d0c4a7b2a1d7ae30e5429392603fd2d13abf120b/plugins/runpod/commands/migrate.md#L3


```bash
/runpod:migrate [scope: all | rest | graphql] [path]
```

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirms scope defaults to "all" (both REST v1 and GraphQL) and path defaults to the current working directory when no arguments are given, matching the doc's explanation of scope/path defaults.

Source: https://github.com/runpod/runpod-plugins-official/blob/d0c4a7b2a1d7ae30e5429392603fd2d13abf120b/plugins/runpod/commands/migrate.md#L13

@mintlify

mintlify Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
runpod-docs 🟢 Ready View Preview Aug 19, 2026, 7:07 PM

@promptless

promptless Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor Author

Just a reminder: If you'd like me to act on any feedback you have via Github comments, just type @Promptless in your suggestion and I'll get right on it! (I won't show up in the user dropdown, but I'll process any request that has @Promptless in the comment body.)

@lavanya-gunreddi
lavanya-gunreddi merged commit dd75a87 into main Aug 19, 2026
1 check passed
@lavanya-gunreddi
lavanya-gunreddi deleted the promptless/runpod-migrate-command branch August 19, 2026 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant