Protected endpoints require an API key in the x-api-key header.
Create self-serve API tokens from https://dashboard.esheria.ai/. Dashboard
signup requires a verified Google or GitHub email, resolves your workspace,
and lets you choose plan-allowed packs before creating/revoking data tokens.
Public email/password signup is not enabled in production.
GET /healthz and GET /readyz are operational endpoints. Regulatory pack endpoints under /api/v1 require authentication.
In billing-enabled workspaces, API keys are workspace tokens. Management tokens
can create and revoke data tokens and read billing state. Dashboard-created and
OAuth connector data tokens use regulatory:read by default. Hosted-state
mutations require an explicitly created operator data token with
monitoring:write, graph:write, or customer:write; read scope alone is
rejected. Data-token requests are charged against workspace credits.
The dashboard uses server-side management credentials for token, billing,
workspace, checkout, and playground operations. Do not put management tokens or
dashboard server credentials in browser applications.
Mutating Requests
All mutating requests require an idempotency key. This applies to POST workflows such as claim verification, applicability checks, and graph applicability checks.
Use a stable key for a single request intent. Reusing the same key with the same
payload allows replay protection; reusing it with a different payload returns a
conflict. Authentication and current scope/pack/feature authorization run
before replay, and stored responses are isolated by workspace and token.
Trace IDs
Every response includes a trace_id.
Store trace_id with user-visible decisions, support tickets, and agent outputs. It is the fastest way to connect a downstream answer to the API request that produced it.
Example
Failure Modes
Do not put API keys in docs, repositories, browser screenshots, support
tickets, agent transcripts, or browser bundles. Use the dashboard token list
and trace_id values for debugging instead of raw token secrets.