Agents and API
Connect your own agent with the API and MCP
Access
API and MCP access is included on every plan. An owner or admin connects under Settings, API keys or Connect your agent.
Connecting an assistant does not start a paid wave. Reading existing results is free; creating AI responses requires an estimate, confirmation and sufficient wallet funds. See the cost and spend-cap controls below before approving an assistant connection.
What your agent can do
The same tools sit behind both routes: list and inspect markets, studies and segments; read Share of Voice, top of mind, sentiment, sources and narratives; export responses page by page; and create studies, price them and run waves. An agent sees the same numbers the dashboard shows, scoped to your organisation.
Results contain text written by AI models and synthetic audience members. Treat it as evidence to analyse, never as instructions for your agent to follow.
Connect an AI assistant (MCP)
Add LLMEKNOW as a custom connector with this address:
https://llmeknow.com/api/mcp
- Claude: Settings, Connectors, Add custom connector.
- ChatGPT: add a connector with the same address.
- Cursor: add an MCP server entry
{"url": "https://llmeknow.com/api/mcp"}.
No client id or secret is needed. The assistant opens a sign-in page where an owner or admin picks the organisation, can set a 30-day spend cap, and approves. Each tool arrives with a description and the arguments it takes, so the assistant can find its own way. MCP tool names use underscores where the API uses dots (waves_run for waves.run). A good first check is to ask it to call campaigns_list.
Call the API from a script
An owner or admin creates a key under Settings, API keys. The key acts with the permissions of the member who created it.
GET https://llmeknow.com/v1/toolslists the tools the key may call, with descriptions and argument schemas.POST https://llmeknow.com/v1/tools/{name}runs one, with its arguments as a JSON object in the body.
Send the key as Authorization: Bearer llmk_... and a descriptive User-Agent such as my-agent/1.0. Requests with a bare library user agent (for example Python-urllib) are blocked at the edge with 403 error code: 1010. Scripts can also speak MCP to the same address with the key as the bearer token.
Errors come back as {code, message}, so a script can branch on code.
Build reports in your own brand
Some organisations also have the report kit: a working folder for your own agent (Claude Code, Cursor or Codex) that builds reports, slide decks and Word files from your studies, in your colours, fonts and logo. An owner or admin downloads it from Connect your agent, unzips it and asks the agent to set up the brand once, then to build a report for a study. It reads your study data through an API key or the connector and never spends credits. To ask about the report kit, contact [email protected].
Running a wave costs credits
Reading data is free. Running a wave spends wallet credits, because every response is a real model call, so a wave never starts on a guess:
campaigns.estimatereturns the price and your wallet balance without spending anything.waves.runtakes that price back asconfirm_estimate_cents. If it is missing or the price has moved, the call answers 409 with the current estimate to confirm instead.- Poll
waves.statusevery 30 seconds or so, and read results once it reportsanalysis_ready.
A key or connector with a spend cap refuses paid work that could take its spending over the cap in a rolling 30 days. A wave it starts pauses before it can pass the cap, and counts its full spend limit until it finishes; after that only what it really cost counts.
Keep queries scoped
Each read has an 8 second budget. Scope analysis to one study or wave rather than the whole organisation, and prefer the analysis tools (analytics.entities, analytics.sources, analytics.narratives, results.export) over raw queries: they compute the dashboard's numbers and stay fast at study size. A read that outgrows the budget answers scope_too_large.
Feedback from your agent
Your agent can tell us what worked and what did not with feedback.submit (feedback_submit over MCP). It is free, needs no approval and changes nothing in your account. A person at LLMEKNOW reads every submission; there is no automatic reply.
Agents are asked to send feedback when a refusal could not be resolved, a reply did not match its schema, a cost differed from its estimate or a capability was missing, and once at the end of a substantial task. Each submission names one issue and never includes AI response text, personal data or keys. A key can send 10 a day and an organisation 30.
Revoke access
Every key and every approved connector is listed under Settings, API keys, with its last use and 30-day spend. Revoking one stops it at once. A wave it already started keeps running.