Customer API
Turn on a read-only Cloud Portal API for scripts and for an AI assistant. A code is required on every new conversation.
Customer API
Use Administration → API keys for two jobs: the scripts and SIEM feeds you already run, and an AI assistant that asks the portal questions. Both are read-only. The organization license key is only for TAO / GenGuard enrollment.
The whole API is off until an Owner or Admin turns Customer API on and names at least one approver email. Existing keys stay listed so you can revoke them. They do not answer while the switch is off.
A signed-in operator who wants the same kind of answer inside the portal uses Pulse. Pulse does not use an API key, an emailed code, or an AI provider. An assistant outside the portal still uses the API below, and that assistant sees whatever the tool returns.
What it can answer
- Organization name, plan, modules, and what one policy enforces
- Whether a named device is in the fleet, plus status and last seen
- Recent alerts, without evidence frames
- Recent audit events, shortened, with tokens removed
Unlock codes, vault secrets, file fingerprints, and evidence frames are left out. The AI vendor sees whatever the tool returns.
Connect an assistant
- Turn Customer API on and add the approver emails.
- Create a key and choose the scopes that match the questions you want answered.
- Point the assistant at the remote MCP address shown on the page, with
Authorization: Bearer trst_live_…. - On each new conversation the assistant loads the connector skill, calls
start_session, you paste the emailed code, and it callsconfirm_session.
Two-factor check on every new conversation. It turns on with the API and cannot be turned off. The API key is the first factor. The code expires in 10 minutes. The session lasts four hours. Revoking the key ends an open session immediately.
Create a key
- Open Administration → API keys.
- Enter a name (for example
siem-prodorgrok). - Select one or more scopes. Unchecked scopes return HTTP 403.
- Select Create API key and copy the
trst_live_…value immediately. - For a script, call
https://www.trustity.io/api/v1withAuthorization: Bearer <key>.
Revoke
Revoke unused or leaked keys on the same page. Revocation takes effect immediately. Create a new key if scopes must change.
Reference
The request contract, MCP tools, and error codes live in Developer Central: TCP Customer API.
