- Void Platform status commands show your active platform, connection state, and selected project.
- Run
void platform statusfrom a connected project directory for the fastest verification. - JSON output flags make status checks automation-friendly and CI-compatible.
- Connection issues usually trace back to authentication, platform selection, or expired credentials.
- Official documentation at void.cloud/reference/cli/platform covers current parameters and options.
What Void Platform Status Tells You
Void Platform is a cloud deployment and platform management tool built around the Void CLI, project deployment, authentication, and Cloudflare-based hosting. Before you deploy anything, you need a reliable way to answer one question: is my project correctly connected to the right platform, and is that platform healthy? That is exactly what status checks provide.
A status check answers three things at once: which platform the CLI is currently targeting, whether the local project is connected to a platform project, and what identity the session is using. Skipping this step is one of the most common causes of deploying to the wrong environment or hitting authentication errors mid-deployment.
| Status Field | What It Shows | Why It Matters |
|---|---|---|
| Active platform | Current platform the CLI targets | Prevents deploying to wrong environment |
| Connection state | Whether project is linked to platform | Broken link means deploy fails |
| Project name | Project the directory is associated with | Confirms deployment destination |
| Auth context | Session or credential in use | Detects expired or wrong identity |
| Output mode | Human-readable or JSON | JSON enables CI automation |
Check platform status before every manual deployment, after switching platforms, and after any change to credentials or CI configuration. It takes seconds and prevents the most common deployment failures.
Checking Void Platform Status Step-by-Step
The workflow follows a clear order: authenticate first, connect the project, then verify status. Each step builds on the previous one, so a failure at any stage points you directly to the fix.
Authenticate the CLI
Run void auth login to establish an interactive user session. CI environments should use non-interactive platform credentials instead of a browser login. Verify the active account before continuing.
Connect your project
Run void platform connect from the project directory to associate the local repository with the intended Void Platform project and environment. Confirm the project selection when prompted.
Run the status check
Execute the platform status command to display the current platform, connection state, and project context. Review the output carefully before any deployment.
Use JSON output for automation
Add the JSON output option when scripting status checks. Parsing structured output is more reliable than text matching in CI pipelines.
Fix discrepancies before deploying
If the platform, project, or identity is wrong, resolve it with connect or auth commands first. Never deploy while status output disagrees with your expectations.
If the status check shows a missing or stale connection, running void deploy will either fail or target the wrong project. Always repair the connection before starting a deployment workflow.
Status-Related CLI Commands Compared
The Void CLI groups its commands by workflow stage. Status verification sits alongside connection, deployment, and observability commands, and knowing which to reach for saves significant time.
| Command | Purpose | Status Role |
|---|---|---|
void auth login | Create interactive user session | Establishes identity used by status output |
void platform connect | Link project to platform | Creates the connection status verifies |
void platform status | Show platform and connection info | Core status check |
void deploy | Build and deploy project | Should only run after status confirms setup |
void logs | Inspect app and deployment logs | Runtime status after deploying |
Local Development
- Interactive login session
- Manual status checks before deploy
- Browser-based authentication
Team Workflows
- Individual member logins
- Project-scoped credentials
- Status verified per environment
CI Automation
- Non-interactive credentials
- JSON status output parsing
- Fail pipeline on bad connection
A user login session, a project credential, and an administrator token serve different purposes. Status output reflects whichever identity is active, so confirm you are using the right credential type for the workflow at hand.
Troubleshooting Common Status Problems
Most status failures fall into a small set of patterns. Work through them in order from most to least frequent.
| Symptom | Likely Cause | Fix |
|---|---|---|
| No active platform shown | CLI never connected | Run void platform connect |
| Authentication error | Expired or missing session | Re-run void auth login |
| Wrong project in status | Connected to stale project | Reconnect with correct selection |
| Connection works, deploy fails | Credential scope too narrow | Check project credential permissions |
| Status differs in CI | Wrong injected credentials | Verify CI secret configuration |
Status Verification Checklist:
- Auth session is active and uses the correct account
- Project directory is connected to the intended platform project
- Status output shows expected platform and project name
- CI jobs parse JSON status output, not raw text
- Credentials are scoped to the right project or environment
When everything is configured correctly, a status check completes in seconds and shows a consistent platform, project, and identity. Make this your pre-deploy baseline for every environment.
FAQ
Q: What does Void Platform status actually display?
It shows the currently selected platform, whether the local project is connected to a platform project, and the authentication context in use. This confirms your deployment target before you run void deploy.
Q: How do I check Void Platform status in a CI pipeline?
Use non-interactive platform credentials stored in the CI provider's encrypted secret store, then run the status command with JSON output. Parse the structured result and fail the job if the connection or project is incorrect.
Q: Why does my status show the wrong platform?
The project directory is likely connected to a different platform or environment than intended. Re-run `void platform connect` and carefully confirm the platform and project selection when prompted.
Q: Is platform status the same as application health?
No. Platform status verifies the CLI-to-platform connection and configuration. For runtime application behavior, use `void logs` to inspect deployment and application logs after deploying.