Skip to main content
The Cekura CLI ships in the same package as the Python SDK. If you haven’t installed or authenticated yet, follow the Overview first.

Quickstart

Set defaults so you don’t have to repeat --project-id / --organization-id on every command:
On first sign-in (cekura auth login), the first organization and project the CLI sees on your account are saved as defaults automatically. You only need to override these when you want a different default — typically because you belong to multiple organizations or projects.

Common commands

Every command supports --help for a full flag listing:

JSON output for scripting

Add --format json to any list/get command for clean stdout you can pipe into jq, python -c, or your own tools:
This works on every list and detail command and is the recommended mode for shell scripts and CI pipelines.

Top-level command groups

Common workflows

  1. Generate an org-scoped API key in the dashboard.
  2. Add it as a CI secret named CEKURA_API_KEY.
  3. In your pipeline:
    Fail the pipeline on a non-passing run by parsing the JSON status field:
Prepare scenarios.json:
Apply:
The payload must be a JSON object with a top-level scenarios key, plus any of metric_ids_to_add, metric_ids_to_remove, tool_ids_to_add, etc.
Or build one from a production call log:
List and manage existing jobs:

Troubleshooting

  • OAuth users: your token may have expired. Run cekura auth login again.
  • API key users: verify cekura config get shows the right api_url and that CEKURA_API_KEY is set in the current shell. Generate a fresh key in Settings → API Keys if needed.
Several list endpoints require a scope filter (--project-id, --agent-id, or --organization-id). Pass one explicitly, or set defaults via cekura config set default_project_id <id>.
The platform enforces per-plan rate limits. Throttle your loop, batch where possible, or upgrade your plan. Check usage in Settings → API Usage.
Add --format json to any list/get command. Use jq or python -c to parse.

References

SDK guide

Use the same operations from Python with sync or async clients.

API Reference

Full endpoint documentation for every resource the CLI exposes.