For the complete documentation index, see llms.txt. This page is also available as Markdown.

Authentication

SDK authentication — API keys, env vars, key scoping.

API key

Generate at Premium → Settings → API keys. Set as env var:

export LAYERLENS_STRATIX_API_KEY="ll_..."

Or pass explicitly:

client = Stratix(api_key="ll_...")

Scoping

API keys can be scoped to a subset of permissions: traces:read, traces:write, replay:execute, feedback:write, feedback:read, admin, ingest. Scope keys narrowly when issuing for CI runners or third-party integrations.

Rotation

Rotate via Settings → API keys → Rotate. The old key works for 24 hours during the grace period.

See also

Last updated

Was this helpful?