{
  "slug": "railway-private-network-status-and-update-commands-d68f36cd0ca5",
  "title": "railway private-network status and update commands",
  "tools": [
    "railway"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-06-19T11:18:19.000Z",
  "announced_at": "2026-06-19T11:18:19.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When you need to inspect or rename a service’s private networking endpoint, run `railway private-network status` or `railway private-network update <name>`. Supply project, environment, service, or network selectors as needed; `<name>` is the short endpoint prefix without `.internal`.",
    "examples": [
      "railway private-network status",
      "railway private-network status --service <service> --network <name-or-id> --json",
      "railway private-network update <name> --service <service>"
    ],
    "gotchas": [
      "Version: v5.17.0",
      "--service: Service name or ID; defaults to the linked service.",
      "--environment: Environment; defaults to the linked environment.",
      "--project: Project ID; defaults to the linked project.",
      "--network: Private network name, ID, or DNS name.",
      "--json: Output in JSON format.",
      "<name> (required): Endpoint name prefix, without the `.internal` suffix.",
      "Prerequisite: Authenticate with a Railway account using `railway login`; for CI, use `RAILWAY_TOKEN` for project-level actions.",
      "Prerequisite: Use an installed Railway CLI. The docs list Homebrew, npm, Scoop, binaries, and installer options; npm requires Node.js 16 or higher.",
      "The status command reports networking for the selected project, environment, and service.",
      "The update command takes the endpoint short name; full `.internal` hostnames are rejected, and only the short prefix is accepted.",
      "The update command validates malformed and reserved names and checks name availability before renaming."
    ]
  },
  "why_it_matters": "Inspect or rename a service's private networking endpoint from the CLI.",
  "sources": [
    "https://github.com/railwayapp/cli/releases/tag/v5.17.0",
    "https://github.com/railwayapp/cli/pull/977",
    "https://raw.githubusercontent.com/railwayapp/cli/v5.17.0/src/commands/private_network.rs",
    "https://github.com/railwayapp/docs/blob/main/content/docs/cli.md"
  ],
  "rank": 0.95029,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave1b-20261016",
    "verdict_id": "wave1b-20261016:wave1b-20261016-639e055066a07ff5-0:gate",
    "evidence_hash": "f7a2a73b94a931fb7b2aba4432d60fca356cfe0f05531ba93c4df00097958d0d"
  },
  "review": {
    "draft_hash": "5f80fa3cf9a36a003ae737e4dd6d59e006ee74972fc4c290fb47401592e2e381",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-20261016:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.95 >= 0.9; 2 needed) and Jev gave 0.79 (>= 0.6 needed)."
  }
}
