Get app status
get_app_statusLive deployment status of a project: state (running/crash/stopped/pending), commit, deploy URL, last build status, pod readiness, restart count and start time. Defaults to the canonical (production) commit — pass commit to ask about a specific one — after deploy_files the fresh commit is not canonical yet and the default would answer about the version production still serves. The reply always names the commit it describes and whether that commit is canonical. While a rollback is running on the project the reply carries a rollback object: the commit and state shown are then not final and the data may not be restored yet; get_rollback_status reports the end.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit | No | optional commit hash, full or abbreviated (the 7-char form list_deployments returns is accepted); defaults to the canonical (production) commit. A fresh deploy_files commit is not canonical, so the default answers about the version production still serves; pass the new commit to see its own pod. | |
| project_id | Yes | the project id (from list_projects) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| site | No | ||
| ready | Yes | ||
| state | Yes | ||
| commit | No | ||
| frozen | No | ||
| healthy | Yes | ||
| restarts | Yes | ||
| rollback | No | present only while a rollback is running on this project: the commit and state in this answer are then not final, and the data may not be restored yet. Absent when no rollback is running | |
| log_drops | No | present only when lines were dropped in the last 24 hours because the app logged faster than its log limit; a gap in the logs is then expected | |
| deploy_url | No | ||
| expires_at | No | ||
| project_id | Yes | ||
| started_at | No | ||
| dev_session | No | ||
| build_status | No | ||
| google_login | Yes | ||
| is_canonical | Yes | ||
| unsaved_draft | No | present only when no draft is running and the last draft stopped on its own with changes that were never committed; sync_files brings them back into the next draft | |
| canonical_host | No | ||
| canonical_commit | No | ||
| available_at_site | Yes | ||
| google_login_mode | No | ||
| pod_read_age_seconds | Yes | age in seconds of the pod fields state, healthy, ready, restarts and started_at; 0 means read just now. They are reused for up to 5 seconds and refreshed after any write you make | |
| available_at_site_reason | No | ||
| google_login_allowed_emails | No |