Skip to main content
The Lehar control-plane API is a JSON REST API. All customer endpoints live under a versioned base path.
Base URLhttps://api.lehar.ai/ca/api/v0The base path is configurable per deployment (API_BASE_PATH, default /ca/api/v0). Confirm your host in the dashboard.

Authentication

Most routes accept either a workspace API key or a bearer login session. See Authentication for the full model, scopes, and the endpoints that require bearer auth.

Errors

Errors use a consistent envelope:

Pagination

List endpoints use offset pagination.

Versioning

The API is versioned in the path (/v0). Breaking changes ship under a new version prefix.