- Home
- Documentation
- Docs Home
- CLI reference
- gram status
gram status
The status command checks the status of a deployment in a Gram project. If
no deployment ID is provided, the command shows the status of the latest
deployment.
The gram status command requires you to specify an API key and project
slug. For more information on these values, see the global CLI
options.
Check the status of the latest deployment:
gram status --api-key YOUR_API_KEY --project my-projectCheck the status of a specific deployment:
gram status --id deployment-123 --api-key YOUR_API_KEY --project my-projectGet deployment status as JSON:
gram status --json --api-key YOUR_API_KEY --project my-projectOptions
Section titled “Options”This adds a deployment ID to specify which deployment you are checking the status for. If not provided, the command shows the status of the latest deployment.
gram status --id deployment-123 [other options]This option outputs the deployment status as JSON, which is useful for scripting and automation.
gram status --json [other options]