Developers

API and MCP

Send Authorization: Bearer and a workspace API key. The MCP endpoint is https://trigi.ai/mcp. Setup for Claude, ChatGPT, and other clients is on API and MCP setup. Keys are created in Settings after you sign in.

API base URL

https://trigi.ai/api/v1

Warning: Any API key for a workspace, including free-trial keys, can read every deal's amount and win/loss outcome.

On Themes in the app, export this workspace as Themes CSV, Atoms CSV, or Quotes CSV.

Fields

A Theme id is thm_ plus the theme id. themeId is that same id. An unthemed Atom row uses an atm_ id. phraseId is the deprecated phr_ id for the same Atom. atomId is the Atom row id on a quote: the evidence id and the href segment, not a Theme id and not an atm_ id. label and descriptor are the name. phrase is a deprecated alias of label. kind is theme or atom. A Theme needs at least 3 distinct calls in the current filters. A group on 1 or 2 calls is left out. calls and accounts are distinct calls and accounts in those filters. A text query does not shrink them. matchedCalls, matchedAccounts, and matchedAtoms count the Atoms that matched q. themes counts Themes. phrases is a deprecated alias of that count. atoms counts unthemed Atoms and is separate from themes. get_quotes pages with limit and cursor. The default page is 50 quotes and the maximum is 100. truncated is true when nextCursor is set. Any API key for a workspace, including free-trial keys, can read every deal's amount and win/loss outcome.

Endpoints

Deprecated

These aliases still respond. GET /api/v1/phrases — Deprecated alias of /api/v1/themes. Also returns unthemed Atoms. GET /api/v1/phrases/{id}/evidence — Deprecated alias of /api/v1/themes/{id}/quotes. GET /api/v1/categories/{category}/phrases — Deprecated alias of /api/v1/categories/{category}/themes.

MCP tools

tools/list omits search_buyer_language, get_category, get_evidence, get_ready_fields. A client can still call those names.