Accounts and sharing
Everyone signs in. Each dataset belongs to the person who uploaded or read it, who decides who else may see it, review it or co-own it. One admin manages the accounts. No email is involved anywhere.
Signing in
- Accounts: the admin creates your account and gives you a starting password. At your first sign-in you choose your own.
- Wrong passwords: too many in a row lock the account for a while (see the limits below). The message is always "wrong username or password".
- Staying signed in: until you log out, or until you haven't used Knowtation for a while. Changing your password signs out your other sessions.
- Forgotten password: ask the admin to reset it; you get a new starting password to change at sign-in.
- Your account page (your name in the top bar): change your display name and password, manage your API token and your own LLM keys, and see your estimated LLM spending by month and model.
| Limit | Value |
|---|---|
| Password length | at least 12 characters |
| Wrong passwords before a lock-out | 5 in a row |
| Lock-out | 5 minutes |
| A session ends after | 14 days unused, or at logout |
Datasets: owners, co-owners and reviewers
Uploading files or reading a dataset from a URL makes you its owner. A dataset has exactly one owner until they transfer it. What each role may do:
| Admin | Owner | Co-owner | Reviewer | Signed in, dataset public | |
|---|---|---|---|---|---|
| See the dataset, its versions and history; export and download documents | ✓ | ✓ | ✓ | ✓ | ✓ |
| Review columns: accept, reject, edit; submit a review; try, approve (as your own rule set) or discard draft rules | ✓ | ✓ | ✓ | ✓ | – (controls not shown) |
| Start runs, try rules (Advanced), change metadata, save as rule pack, choose the default version, archive runs, retry a failed source or replace its files | ✓ | ✓ | ✓ | – | – |
| Invite reviewers and co-owners; remove members | ✓ | ✓ | ✓ (never the owner) | – | – |
| Make public or private | ✓ | ✓ | ✓ | – | – |
| Rename the dataset | ✓ | ✓ | ✓ | – | – |
| Delete the dataset | ✓ | ✓ | – | – | – |
| Transfer ownership | ✓ | ✓ | – | – | – |
| Leave the dataset (remove yourself) | – | – (transfer first) | ✓ | ✓ | – |
| Your account | Who |
|---|---|
| Upload files or read a dataset from a URL (you become its owner) | everyone |
| Accept or decline requests in your inbox | everyone |
| Change your display name and password; generate, regenerate or revoke your one API token | everyone |
| Create, edit, delete, make public or private your own rule sets and policies | everyone |
| Use and copy public and built-in rule sets and policies | everyone |
| Create, disable, enable and delete users; reset passwords | the admin |
| Choose who may use the server's LLMs, and each person's cap per run on them | the admin |
| Hide the server's LLM models and set LLM prices | the admin |
| Clear the LLM answer cache | the admin |
| See LLM spending by month, person and model, and each dataset's size | the admin |
| See your own LLM spending | everyone |
| Add, test and delete your own LLM keys, run with them, and set their cap per run | everyone |
| Use the server's LLMs (its paid keys and its Ollama) | the admin, and people the admin enabled |
Controls you may not use aren't shown. A dataset you can't see doesn't appear anywhere, and its address answers "not found".
Invitations and the inbox
Owners and co-owners invite someone by name on the dataset's Overview tab (Members), as a reviewer or co-owner. The invitation waits in that person's inbox (the tray in the top bar, with a count) until they Accept or Decline; nothing changes before. The sender can cancel it while it waits. The inbox holds only these requests and ownership offers; there is no other messaging.
Leaving and transferring
- Leaving: co-owners and reviewers can leave a dataset from Members. Owners transfer ownership first.
- Removing: owners and co-owners can remove co-owners and reviewers. The owner can't be removed: ownership only moves by transfer, or to whoever the admin chooses when deleting the owner's account.
- Transferring: the owner offers ownership to someone (Transfer ownership); it happens when they accept, and the old owner stays as a co-owner. Other pending ownership offers for that dataset are then cancelled.
Public datasets
An owner or co-owner can make a dataset public (Members → Public). Every signed-in user then sees it under Shared with everyone on the Datasets page and can read and export it; only members can review. There is no access without signing in.
Rule sets and policies
- Yours: rule sets and policies you import, edit or save as a pack belong to you. Only you (or the admin) add versions, delete versions or change their visibility.
- Private or public: they start private, visible only to you. Make one public on the Rules page to let everyone use and copy it.
- Others': you can use and Copy as mine anyone's public ones and the built-in ones. A name belongs to its author, so a copy needs a new name.
- Automatic selection: a run that doesn't name its rule sets uses the core rules plus the built-in packs, your own packs and public packs that suit the dataset. Each run records exactly which ones it used (Runs & versions).
Your API token
For scripts and other programs. Generate it on your account page; it is shown once. Send it as Authorization: Bearer kt_…; it acts as you, with your permissions. You have at most one: Regenerate replaces it (the old one stops working) and Revoke removes it.
Your LLM keys
On your account page you can add your own key for Anthropic, Google or OpenAI. Adding it asks the provider for its models (free); a key the provider refuses isn't stored. Keys are encrypted and never shown again, only their last four characters. Their models appear in a run's LLM list as Your key, and runs and trials you start on them are paid by you, within your cap per run: set it under Cap per run on your own keys (empty uses the server's default). Test asks the provider again; Delete removes the key at once (runs still waiting on it fail). Nobody else can use your keys, and the admin's hiding never applies to them.
For the admin
- The first admin is created at the first start from
KNOWTATION_ADMIN_USERNAMEandKNOWTATION_ADMIN_PASSWORD(deployment). - Users page (in the sidebar): create users with a starting password, reset passwords, disable or enable, and delete; below, everyone's LLM spending by month, person, model and who paid (the server's keys or people's own), LLM models and prices, and Storage (each dataset's files and database space).
- Server LLMs: a switch per user decides who may run LLMs on the server's keys and its Ollama. New users start without it; you always may. People without it can still run with rules only, or with their own keys.
- Cap per run: what one run or trial of that person's may spend on the server's keys. default uses
KNOWTATION_LLM_MAX_USD_PER_RUN; Change sets an amount, or empties it. - LLM models and prices: every model the server's keys can use, with a Hidden switch (hidden models aren't offered or accepted on the server's keys), where prices come from, and prices you set per million tokens, which win over the downloaded ones.
- Disable or delete: disabling blocks sign-in and the user's token at once and keeps their datasets; enabling restores the account. Deleting asks, for each dataset they own, who receives it, or whether to delete it; their rule sets and policies go to that person. Their name stays in review histories, and their LLM spending stays on record as name (deleted), so someone later given the same username doesn't see it.
- The admin can't be disabled or deleted.
- A forgotten admin password: someone with access to the server runs
podman compose exec api python -m knowtation_api.admin reset-password <username>and signs in with the temporary password it prints.