When to use
- Browse all projects in the authenticated organization
- Check project status and deployment state
- Find a project ID for subsequent commands like
get project - List archived projects for cleanup
Prerequisites
codikaCLI installed and authenticated- API key with
projects:readscope
Command
Options
| Option | Description | Default |
|---|---|---|
--archived | Show archived projects instead of active ones | false |
--limit <n> | Number of results (max: 100) | 50 |
--api-url <url> | Override API URL | — |
--api-key <key> | Override API key | — |
--profile <name> | Use a specific profile instead of the active one | — |
--json | Output as JSON | — |
Examples
Output
Human-readable (default)
JSON output (--json)
Access control
- Admin keys and org admins/owners see all projects in the organization
- Regular members see only projects they created
Exit codes
| Code | Meaning |
|---|---|
0 | Success |
1 | API error |
2 | CLI validation error (missing API key) |