API keys

One Trodo API key for the CLI, the MCP server and the SDKs' dataset calls. Find, make and revoke them in Settings → API keys.

A Trodo API key lets something outside the app work on your team: the CLI, an AI assistant through the MCP server, and the SDKs when they read, change or export dataset rows. One kind of key does all of it. Keys start with trodo_mk_.

The SDKs' init() for sending traces uses your site ID, not an API key.

Where they are

Open Settings → API keys. The Keys table lists the team's keys: label, key prefix, rate limit and when each was last used. MCP docs and CLI docs open the setup guides; on the Free plan, Upgrade sits beside them.

Settings → API keys: the MCP docs and CLI docs buttons, Create key, and the Keys table with each key's label, prefix, rate and last-used date (labels and prefixes blurred).

Get a key

Usually you don't make one by hand. trodo login signs you in in the browser and saves a key for the team you pick:

npm i -g trodo-cli
trodo login

See Sign in. For CI, a script, or an MCP client, make one yourself:

Open Settings → API keys and click Create key.

Give it a Label that says who or what uses it, pick a Rate limit, and click Create key.

Copy the key. It is shown once: Trodo keeps only a hash.

Then use it as TRODO_API_KEY, save it with trodo login --key trodo_mk_..., or paste it into your MCP client.

Rules

  • Plan. Keys need a paid plan (Pro, Trial or Enterprise). On Free, creating one is refused with HTTP 402. See Plans and billing.
  • Who. Everyone on the team sees the list. Owners, admins and developers create and revoke keys.
  • How many. Up to 25 active keys per team.
  • Rate. Each key's calls a minute: 60, 600 (the default), 1,500 or 6,000.
  • What a key can do. It acts as the person who made it, on its own team, with that person's permissions. See What a key can do.

Revoke a key

Hover the key's row and click the bin. Anything still using it stops working at once, and it can't be undone. A key that leaked: revoke it, then make a new one.

On this page