16 days ago
Is there a way of getting / seeing the deployment status of a single service via the CLI?
I feel like railway status --json is prettycumbersome to use for that purpose. I am asking because I have to use railway up --detach as a workaround to prevent build stream errors. But that leads to the issue of not knowing if that service has successfully deployed.
6 Replies
16 days ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
15 days ago
You can do railway deployment list --service <serviceId>
Output looks something like this:
You'd need to make sure that the Railway CLI is linked to a project instead of one specific service.
0x5b62656e5d
You can do railway deployment list --service <serviceId>Output looks something like this:$ railway deployment list Recent Deployments 0e44b24c-709e-4c75-a165-32d3cca8832f | REMOVED | 2025-11-24 09:34:48 +08:00 190e0613-4fa1-4f72-a484-37ee89fb657c | REMOVED | 2025-11-18 08:36:16 +08:00 7513e3e4-4963-4fe4-9e52-1edea354c084 | SLEEPING | 2025-11-18 08:36:03 +08:00 0c81fb22-d5fc-467b-bc58-60109ad666fd | REMOVED | 2025-11-18 08:34:15 +08:00 b5aca1ef-d9d1-4880-97a3-10e7df276e80 | REMOVED | 2025-11-18 08:33:02 +08:00 70d7de38-b72a-4637-832d-980278508452 | REMOVED | 2025-11-18 08:32:15 +08:00 dd9405d2-5abb-47e0-b494-e3c110b82c4e | REMOVED | 2025-11-18 08:03:18 +08:00 cc5e9628-634b-4751-a9b0-32c829378c98 | REMOVED | 2025-11-13 21:38:24 +08:00 392cec90-adf3-4ef1-abe0-449ea6e9a6a4 | REMOVED | 2025-11-13 21:37:51 +08:00You'd need to make sure that the Railway CLI is linked to a project instead of one specific service.
14 days ago
Thanks, but my CLI does not have a "deployment" option. I also do not see it in the docs
https://docs.railway.com/reference/cli-api
14 days ago
Have you tried reinstalling/updating your CLI? railway deployment is a valid command in the CLI.
https://github.com/railwayapp/cli/blob/master/src/commands/deployment.rs
0x5b62656e5d
Have you tried reinstalling/updating your CLI? railway deployment is a valid command in the CLI.https://github.com/railwayapp/cli/blob/master/src/commands/deployment.rs
14 days ago
Uprading helped! Thanks. Seems like the docs need an update
Status changed to Solved noahd • 14 days ago
0x5b62656e5d
Have you tried reinstalling/updating your CLI? railway deployment is a valid command in the CLI.https://github.com/railwayapp/cli/blob/master/src/commands/deployment.rs
14 days ago
The deployments that are shown for a corresponding service are completely off in my case.
The dates, the UUIDs of the deployment, the stati.
Does that work correctly for you?
Status changed to Awaiting Railway Response Railway • 14 days ago
Status changed to Solved nikolandgraf • 14 days ago
