{
  "slug": "railway-usage-limit-commands-support-agent-and-workspace-targets-9e3dfa6bb504",
  "title": "railway usage limit commands support agent and workspace targets",
  "tools": [
    "railway"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-07-08T22:24:34.000Z",
  "announced_at": "2026-07-08T22:24:34.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "To inspect usage limits, run `railway usage limit status` for both types or add `--target agent|workspace` for one. To change a limit, specify `--target`; agent limits require `--hard` and accept cents, while workspace limits use whole dollars.",
    "examples": [
      "railway usage limit status",
      "railway usage limit status --target <agent|workspace>",
      "railway usage limit set --target agent --soft <DOLLARS> --hard <DOLLARS>"
    ],
    "gotchas": [
      "Version: v5.26.0",
      "--target (required): Required for `set`; `agent` selects Railway Agent usage and `workspace` selects compute usage.",
      "--soft <DOLLARS>: Optional email alert. Agent accepts up to two decimal places; workspace accepts 0 or whole dollars from $5 to $500,000.",
      "--hard <DOLLARS> (required): Required for agent limits; agent accepts up to two decimal places and `0` blocks additional agent usage. Workspace accepts 0 or whole dollars from $10 to $500,000.",
      "Agent hard limit is required when setting agent limits.",
      "Agent `--hard 0` is allowed and blocks agent usage.",
      "Workspace limits preserve whole-dollar validation."
    ]
  },
  "why_it_matters": "Inspect or change usage limits for an agent or workspace from a coding repository.",
  "sources": [
    "https://github.com/railwayapp/cli/releases/tag/v5.26.0",
    "https://github.com/railwayapp/cli/pull/1004",
    "https://docs.railway.com/cli/usage"
  ],
  "rank": 0.92024,
  "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-ac9db02a12f01ca0-0:gate",
    "evidence_hash": "8ed93abc041baf85057a963197634b9afee3cbebb59e7b76ff31d2cc8dea4f9e"
  },
  "review": {
    "draft_hash": "8e2faca9b234542bd291e7420454f4264ca246a752c7b1ff284bf4fb7c1d3416",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-20261016:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.92 >= 0.9; 2 needed) and Jev gave 0.76 (>= 0.6 needed)."
  }
}
