akili status
Check the health status of the Akili platform. This command performs three diagnostic checks against the control plane API and reports the results.
Synopsis
Section titled “Synopsis”akili statusDescription
Section titled “Description”akili status is a combined health check that verifies:
- API Health — Whether the control plane API is reachable (
/healthzendpoint) - API Readiness — Whether the API is ready to serve traffic (
/readyzendpoint) - Authentication — Whether the configured token is valid and identifies the authenticated user
No subcommands or arguments are required. The command checks all three dimensions and reports each with an OK, WARN, or FAIL indicator.
Output
Section titled “Output”Akili Platform Status
OK API Health: alive OK API Ready: ready OK Auth: authenticated (developer@example.com)Each check reports one of three states:
| State | Meaning |
|---|---|
OK | Check passed successfully |
WARN | Partial issue (e.g., no token configured, API returning non-200) |
FAIL | Check failed (e.g., API unreachable, authentication rejected) |
Examples
Section titled “Examples”# Quick health checkakili status
# Health check against a specific environmentakili status --api-url https://api.staging.akili.io
# Health check with a specific profileakili status --profile productionUse Cases
Section titled “Use Cases”CI/CD pre-flight check: Run akili status at the start of a deployment pipeline to verify the platform is reachable and credentials are valid before attempting any operations.
#!/bin/bashakili status || { echo "Platform unavailable"; exit 1; }akili product deploy daily-orders --version v2.1.0Debugging connectivity: When other commands fail with connection errors, akili status isolates whether the issue is network connectivity, API health, or authentication.
Exit Codes
Section titled “Exit Codes”| Code | Meaning |
|---|---|
0 | All checks passed |
1 | One or more checks failed |
Global Flags
Section titled “Global Flags”| Flag | Short | Default | Description |
|---|---|---|---|
--json | false | Output as JSON instead of tables | |
--no-color | false | Disable colored output | |
--profile | default | Config profile to use | |
--api-url | from config | API base URL override | |
--timeout | 30 | Request timeout in seconds |