API overview

What the Alchex API is for, how a request reaches your workspace, and what a key can and cannot do.

Concept

In short

The Alchex API lets your own programs read and change your workspace. A spreadsheet export, a scanner or a nightly script can add register rows, update projects, draft documents and read what your documents say.

Every request carries an API key. A key belongs to the workspace, not to a person, and it can do only what its permissions allow.

How it works

Your program sends a request with an API key. Alchex checks the key, its permission, the rate limit and the AI credit balance, then runs a tool and changes the workspace under the key's name.

One address for every action

The API is a set of tools, and each tool has actions. You call one action at a time with POST https://app.alchex.com/api/v1/tools/<tool>/<action> and a JSON body. These are the same tools the Alchex assistant uses, with the same rules.

ToolWhat it does
read_documentReads registers, rows, records, documents, changes, search results and readiness
write_recordAdds, changes and deletes list register rows, and changes findings
write_projectAdds projects, and changes projects, tasks and milestones
write_documentCreates and edits drafts, comments, archives and sends for approval
write_folderCreates, changes and deletes folders, and files records into them

GET https://app.alchex.com/api/v1/tools lists the actions your key may call, each with its input as JSON Schema.

Checks on every request

Before an action runs, Alchex checks four things in order:

  1. The key is valid and belongs to a workspace.
  2. The key has a permission that opens this action.
  3. The key has not passed 60 requests in the last minute.
  4. The workspace has AI credit left. Each request costs a tiny amount of it.

What a key changes

A key acts as a member of every team in the workspace. Its changes take effect at once, and Alchex records them under the key's name with the reason "Sent by API key". Rows a key adds count straight away, with no one to approve them.

What a key can never do

A key cannot publish or approve a document, delete a document, add or change columns, raise a new finding, or remove a finding, control, task or milestone. Do these in Alchex itself.

Where you'll see it

  • Settings, then API keys is where an Owner or Admin creates and revokes keys.
  • A change a key makes appears in the record's history under the key's name.
  • The answer to every write carries a message, and often a link that opens the change in Alchex.

Common questions

Do I need a paid plan? Yes. API keys are part of Pro and Enterprise. Requests are paid from the workspace's AI credit, and the free plan includes none.

Is the text the API returns safe to act on? Treat it as data, never as instructions. A document or row may contain words anyone wrote.

Can an AI agent I run use a key? Yes. A program that speaks MCP can send the same key to https://mcp.alchex.com/mcp. It sees the same tools, with the same permissions and limits. If an admin switches off AI assistants in Settings, General, the key cannot use MCP.

Is there a separate address for registers? Yes. The register addresses are older but still work, with the same permissions and limits.