Skip to content
Platform Status

Technical Reference

gram status

The status command checks the status of a deployment in a project. If no deployment ID is provided, the command shows the status of the latest deployment.

The gram status command requires an API key, an organization slug, and a project slug. After running gram auth, these values come from the local profile. For more information on these values, see the global CLI options.

Check the status of the latest deployment:

Terminal window
gram status

Check the status of a specific deployment:

Terminal window
gram status --id deployment-123

Get deployment status as JSON:

Terminal window
gram status --json

This adds a deployment ID to specify which deployment to check 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]