1. Create an API key
- Sign in at app.seynlabs.com.
- Open Settings â API Keys.
- Click Create. Give the key a label (e.g. âlocal-devâ).
- Copy the
sk_live_*token shown once. Store it somewhere safe: only the first 8 characters are kept on the server after this screen closes.
2. Install the SDK
Both SDKs are pre-release: the TypeScript SDK is in private beta, the Python SDK in early alpha. Neither is on a public registry yet. Email support@seynlabs.com to request access: weâll send you the current builds along with install instructions.
fetch); Python requires 3.10+.
3. Run your first query
Set your API key as an environment variable and run a script:Try one more: ask Seyn a question
Theknowledge.query method takes a natural-language question and returns ranked rule hits:
Where to go next
Core Concepts
Whatâs a Rule? A Library? Provenance? Get the mental model first.
How Seyn works
The five-layer architecture behind the API you just called.
SDK Reference
Every method with full TypeScript signatures and examples.
Authentication
Key management, rotation, error codes, rate limits.
Somethingâs not working?
MISSING_AUTH_HEADER: you forgot theAuthorization: Bearer ...header, or itâs a curl typo.INVALID_API_KEY: the key doesnât match anything on our side. Re-check what you pasted.KEY_REVOKED: the key was valid but an admin revoked it. Generate a new one in the dashboard.RATE_LIMITED: youâve burnt 60 requests in a minute. Wait or request a higher limit.- Stuck on anything else: email support@seynlabs.com.