sincecutoff.com
← all changes

Railway CLI volume list JSON output

Introduced 2026-01-08 · score 0.95

HOW TO USE IT

When a script needs to inspect Railway volumes, run `railway volume list --json` to print the listing as JSON.

railway volume list --json

WHY THIS HELPS

Read volume listings as JSON in a script that inspects Railway volumes.

REQUIREMENTS AND LIMITATIONS

  • Version: v4.18.1
  • --json: Output in JSON format.
  • --service <SERVICE>: Select a service ID.
  • --environment <ENV>: Select an environment ID.
  • --project <PROJECT_ID>: Select a project ID.
  • Prerequisite: Authenticate with a Railway account using `railway login`; for CI/CD, set `RAILWAY_TOKEN` or `RAILWAY_API_TOKEN` as appropriate.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card