Skip to content

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:

Terminal window
gram status --api-key YOUR_API_KEY --project my-project

Check the status of a specific deployment:

Terminal window
gram status --id deployment-123 --api-key YOUR_API_KEY --project my-project

Get deployment status as JSON:

Terminal window
gram status --json --api-key YOUR_API_KEY --project my-project

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.

Terminal window
gram status --id deployment-123 [other options]

This option outputs the deployment status as JSON, which is useful for scripting and automation.

Terminal window
gram status --json [other options]