railway logs adds --latest and railway status adds activeDeployments
Introduced 2026-01-07 · score 0.91
HOW TO USE IT
When debugging a Railway service, run `railway logs --latest` to view logs from its latest deployment, and `railway status --json` to inspect the status payload, including `activeDeployments` (added in v4.17.0).
railway logs --latestrailway status --jsonWHY THIS HELPS
Retrieve the latest logs or inspect active deployments while debugging a Railway service.
REQUIREMENTS AND LIMITATIONS
- Version: v4.17.0
- --latest: For deployment logs, select the latest deployment, even if it failed or is still building.
- --json: Output status in JSON format.
- activeDeployments: Added to `status` output in v4.17.0; current docs do not describe its structure or sub-keys.
- Prerequisite: Authenticate with `railway login` before using the CLI.
- Prerequisite: `railway status` describes the linked project, environment, and resources.
FIRST-PARTY EVIDENCE
- https://github.com/railwayapp/cli/releases/tag/v4.17.0
- https://docs.railway.com/cli/logs
- https://docs.railway.com/cli/status
- https://docs.railway.com/cli
Check the installed version and the source before using it. Entry JSON