API keys
An API key lets Claude, ChatGPT or your own code reach Minded as you, with your role and never more.
Who can make keys
Every member, whatever their role, in every organization. You make and revoke your own keys on Settings › Integrations › API keys.
A key acts as the member who made it. If your role cannot do something in Minded, neither can your key.
Make a key
- Open Settings › Integrations › API keys and press Create key.
- Name the key for what will hold it (
Claude Code,ChatGPT,Nightly report). A name is required. Chats the key starts show this name as their source. - Pick its Access (below).
- Press Create key.
Minded shows the key once, with Copy. Keep it somewhere safe, then give it to what will use it. After you press Done, the key's value is never shown again. Lost it? Revoke it and make a new one.
Access: areas and levels
A key picks, for each area, how far it reaches: None, Read only or Read and write. An area left at None is out of the key's reach.
| Area | What it covers | Phase 1 calls that need it |
|---|---|---|
| Chats | Prompts, replies, questions and approvals | send_prompt, answer_question and cancelling a wake-up need Read and write. read_chat, reading a reply as it streams, listing wake-ups and the action chats.find need Read only |
| Usage | Spend and usage left | read_usage needs Read only. The action billing.read needs Read only and a key made by an Admin |
| Analytics | Events and dashboards | No phase 1 call needs it yet |
| Agents | Agents, their versions and runs | The actions agents.find, agents.runs and agents.readRun need Read only (Actions). Starting agent runs with a key comes later |
| Monitoring | Runs and their health | No phase 1 call needs it yet |
| Quality | Reviews and scores | No phase 1 call needs it yet |
Read and write includes Read only: a key with Chats: Read and write also reads chats.
- All areas, the picker's first row, sets every area to one level at once.
- A new key starts with Chats: Read and write and Usage: Read only.
- A level never lifts your role. Read and write on an area reaches only what your role may change there.
A call outside the key's access is refused, and the refusal names the area and level it needs (Errors).
See and change your keys
The list shows each key's Name, Access, Created and Last used (Never, until it is used).
Open a key to change its access and see its Recent usage: each call made with the key, newest first, refused ones too, with the chat it reached.
Revoke a key
- On the key's row, open the menu and press Revoke (or press Revoke key in the key's details).
- Confirm.
Anything holding the key stops reaching Minded at once. A revoked key never works again.
When a key stops working
A key does not expire. It works until one of these happens:
- You revoke it.
- You leave the organization. Every key you made stops working.
- GitHub finds the key in public, for example in a pushed file. Minded turns it off, emails you, and the key's row reads Turned off for 30 days. Make a new key for what used it.
A call with a key that stopped working is refused, and no chat is made.
What a key can never do
- Do more than its maker's role allows.
- Skip roles or approvals.
- Reach an area left at None.
- Spend when no usage is left.
- Be shown again after you press Done.
Never put a key in an agent's code: agent code reaches Minded with its run's own token (Agent code).
Minded records making a key and revoking it. Each call made with the key lists in its Recent usage, and each prompt it sends shows the key's name as its source.
Limits
- A key makes at most 60 calls a minute, and an organization's keys at most 60 a minute together. A call over the limit is refused (Errors).
- A key's value starts with
mk_live_, so you and secret scanners can tell one when you see it.