The Knouds API accepts two forms of authentication: session cookies when you’re calling from a browser, and API keys when you’re calling from scripts, CI pipelines, or external integrations. For programmatic access, API keys are the right choice.Documentation Index
Fetch the complete documentation index at: https://docs.knouds.ai/llms.txt
Use this file to discover all available pages before exploring further.
Generate an API key
- Open Settings → API Keys in the Knouds app.
- Click New API key and give the key a name (e.g.
production,ci-pipeline). - Copy the key that appears. It will not be shown again.
deployment-scoped key to a third party without granting full admin access).
Pass the key in requests
Include your API key in thex-api-key request header. Do not use Authorization: Bearer.
401 or 403 response.
Key scopes
Every API key carries a scope that controls which endpoints it can reach. Scopes are cumulative: a higher scope inherits all the permissions of lower scopes.| Scope | Default tier | Capabilities | Rate limit |
|---|---|---|---|
admin | Business / Enterprise | Run any model, create, update, and delete workflows | 1000 req/min |
deployment | Pro | Run deployed workflows, read schemas | 100 req/min |
free | Free | Run your own deployed workflows | 10 req/min |
429 RATE_LIMIT_EXCEEDED along with Retry-After (seconds until the window resets) and X-RateLimit-Reset (Unix epoch of the reset moment) response headers.
Scope errors
If your key’s scope is too low for the endpoint you’re calling, the API returns:required and actual fields tell you exactly which scope the endpoint needs and which scope your key has. To resolve this, either use a key with the required scope or upgrade your account tier.
Lost or compromised keys
If a key is lost or you suspect it has been exposed, delete it immediately from Settings → API Keys and generate a replacement. There is no way to recover the plaintext of an existing key. Keys you delete stop working instantly. Any integrations using the old key will begin receiving401 responses until you update them with the new key.