Skip to main content

API

The CLI is the recommended SDK surface for now.

The hosted API is available at:

https://api.wendellai.com

Health check:

curl /health

OpenAPI JSON:

curl /openapi/v1.json

Run these requests against the hosted API base above, or against your configured staging, preview, or local API when testing overrides.

Common API-backed CLI flows

FlowCLI commands
Register runnerwendell register
Create Playbook draftwendell playbook create
Review Playbook summarywendell playbook review
Apply review answerswendell playbook apply
Approve summarywendell playbook approve
Publish suitewendell suites publish
Run suitewendell run

Authentication

The CLI sends a scoped runner API key.

Local credentials are read from:

~/.config/wendell/credentials.json

CI can provide:

WENDELL_INKPASS_API_KEY

Runner Scopes

Runner keys for hosted suites should use product-facing suite scopes:

wendell:test-suites:read
wendell:runs:create
wendell:runs:read

Playbook authoring and publishing keys also need:

wendell:test-suites:create
wendell:test-suites:update
wendell:test-suites:publish

Use the narrow run-only scopes for CI jobs that only execute an already published suite. Use the broader authoring scopes only for trusted automation that creates, reviews, generates, or publishes suites.