Credentials
Overview#
Your APIs need a token to accept a request. Credentials are where those tokens are stored — once, under a name — and attached to tools by that name.
They have their own tab on the Tools page, beside the tools themselves.
How a credential is kept#
A credential is write-only. The Tools page says it plainly: the tokens those calls authenticate with are stored encrypted, and never shown again once saved. You give the value when you create it or rotate it, and it never comes back — not to you, not to the editor, and never to an agent.
What you can see afterwards is its label and the words Token stored. That is deliberate: enough to know it is there, and nothing that would leak it.
When a tool makes a request, the credential is added to it on our servers. It is not written into the address, the headers or the body by you, and it is never visible to the model.
Creating one#
Choose Add a credential, give it a label you will recognise later, and paste the token. The list then shows the label and Token stored — which is all anyone can be told about it.
Name credentials after the system they open, not the person who made them — Policy API, Bookings sandbox. When you come to rotate or delete one, you want to know what it belongs to.
Only Bearer token is supported at the moment. It is the one kind the server knows how to add to a request.
Rotating a token#
When the token behind a credential changes, update the credential rather than making a new one. Every tool using it picks up the new value immediately, with nothing else to change.
Keep your own note of when a token was last changed — the list does not show it, and a token nobody has touched in a year is worth a look.
Deleting one#
Deleting a credential that is in use stops those tools working: the request goes out without the token and your API refuses it. Check which tools use it before removing one, and point them at another credential first.
There is no copy to fall back on
Because the value is never stored anywhere you can read it, a deleted credential cannot be recovered. You would need the original token again from whoever issued it.
Worth doing#
- Give each tool the narrowest token that works. A read-only token for a look-up tool means a mistake cannot write anything.
- Use separate credentials for test and live systems. Same API, different tokens, clearly named — it stops a trial run hitting production.
- Rotate when someone leaves. Tokens outlive the people who created them.