A key is how your own software reads the team's knowledge. Each key is read-only, scoped to one knowledge set, rate-limited, and billed to the team. This page explains the model, then walks through minting one, calling it, and revoking it.
๐คWho uses it
Your warehouse tool, support desk, internal search, a scheduled job, or an LLM connected over MCP. Anything that is not a signed-in person.
๐What it can read
One knowledge set โ the rooms bound to it. Not the whole team, and never a room that is not bound.
๐ซWhat it cannot do
Write, delete, publish, or change anything. There is no write scope to grant, by design.
๐ณWho pays
The team. Every call is metered to the account that owns the knowledge, exactly like the team's AI and its website chatbot.
| Thing | Who or what it is for |
|---|---|
| Seat | A person on the roster, with admin rights. Not a credential. |
| Key | A program. Read-only, scoped, revocable, rate-limited. |
| Chatbot | An anonymous website visitor, through a widget token. |
| Room membership | Whether a person may enter a room. A key never grants rooms. |
Keys are listed per knowledge set, because that is what they are scoped to. A team with two sets has two key sections, and a key in one cannot read the other.
| On the page | What it tells you |
|---|---|
| Label | Your own name for the key โ โWarehouse toolโ, โZendeskโ. Use it. |
| Scopes | What the key may do: search & info, ask, export. |
| Limit | Calls per hour, enforced on the token itself. |
| Calls | How many requests it has made. |
| Last used | The quickest way to spot a key nothing uses any more. |
| Revoke | Kills it immediately. The next call fails. |
Your knowledge, in your tools
A support agent should see the same answers your website chatbot gives. A key lets your own software ask the team's knowledge instead of a second copy of it.
Scoped by default
One key reads one set. If it leaks, the blast radius is that set โ and you can revoke it in one click.
Auditable
Calls and last-used dates are on the page. A key that nobody has used for months is a key you should revoke.
Billed where the knowledge is
Usage lands on the team that owns the set, not on whoever deployed the integration. That is the same payer rule as everywhere else.
| Scope | Lets you | Surface |
|---|---|---|
| Search & info | Search the set and read what it contains. | knowledge:read |
| Ask | Get a written answer with citations. | query:invoke |
| Export items | Pull the approved items out, cursor-paginated. | export:read |
Three surfaces read the same knowledge: a REST answer endpoint, a REST export endpoint, and an MCP endpoint for tools that speak that protocol. All of them are read-only and all of them are metered.
Authorization: Bearer nec_โฆ. A key in a URL ends up in access logs, referrers and error trackers.Acme Picnic Co. keeps its supplier terms in the Acme โ All Knowledge set. They want their warehouse tool to answer โwhat is the lead time for hampers?โ from that set, without giving the tool any write access.
Make sure there is a set to read
Keys are per knowledge set. If the team has none, the Connection settings page says so and there is nothing to issue. Create the set and add rooms first โ see the knowledge tutorial.
Open Keys and fill in the form
Choose a label you will recognise in six months โ Acme warehouse tool, not โtestโ. Tick Search & info and Ask. Leave Export off unless the tool really needs the raw items.
Set a limit you can live with
Calls / hour defaults to 60. Set it to the tool's real burst, not to a round number that makes you feel safe โ a background sync and a human clicking a button need very different ceilings.
Optionally restrict by IP
Allowed IPs is an extra lock: if the caller's address is not on the list, the key is refused. It is abuse damping, not authentication โ a server-to-server caller can be behind anything. The key is the credential.
Copy it โ once
Press Create key. The plaintext appears once, in a panel, with an I have copied it button. It is stored hashed; nobody โ including an admin โ can read it again. If it is lost, revoke it and mint another.
Call it
A query is one authenticated POST with a JSON body:
curl -X POST https://notaelibrary.com/api/enterprise/corpus/query \
-H "Authorization: Bearer nec_โฆ" \
-H "Content-Type: application/json" \
-d '{"query":"What is the lead time for hampers?","limit":5}'The answer comes back with the text, a confidence, the citations it used, and any cap status. If the answer is passages only, degraded is true โ that means a spend cap was reached, not that the request failed.
Watch it, then rotate it
The row shows calls and last-used. When a tool is retired, revoke its key the same day โ revocation is immediate, and a revoked key fails on the next request, not at the end of a billing period.
Every authenticated call is metered to the team that owns the knowledge, on the same meter as its AI and its chatbot. The key does not have its own balance.
โฑ๏ธRate limit
Calls per hour, enforced durably on the key. A rejected call does not count as usage.
๐Spend caps
A team can set a monthly cap. At the ceiling the endpoint answers from retrieved passages and sets degraded, rather than failing the request.
๐ท๏ธUnpriced calls
If a model has no pricing row, the call is recorded as unpriced โ honest, not free. The Spend report counts them separately.
๐IP allowlist
Optional. Empty means any address, which is the normal case for a hosted integration.
โThis team has no knowledge set yet.โ
Keys are scoped to a set, so there is nothing to issue one for. Create a knowledge set and bind at least one room first.
401 Missing bearer token.
The key is not in the Authorization header. A key in the URL or a query string is not read.
403 Token lacks the query:invoke scope.
The key has read access but not โAskโ. Mint a key with that scope, or use the search endpoint if the scope is enough.
429, or โrate limitedโ.
The per-hour ceiling on the key was reached. Raise it in the key's row, or batch your calls โ the limit is on the key, not on the tool.
โIP not allowedโ.
The caller's address is not in the allowlist, or the allowlist entry is a hostname where an IP was expected. Clear the field to allow any address.
The key stopped working overnight.
It was revoked, or the set it reads was unbound / the team was deactivated. Check the row for โrevokedโ, then Settings โ Rooms.
The knowledge tutorial
What the set is, and how to bind the rooms a key will read.
The spend tutorial
See what those calls cost, by knowledge set, room, surface or member.
The Teams tutorial
The whole model โ teams, seats, corpora, keys and billing.
Open your Teams
Go straight to a team and its Keys tab.
Last verified against the code on 2026-11-25. If this page and the product disagree, the product is right โ tell us and the roadmap says what is not built yet.