The Eidos API
The Eidos API lets a script, a CI pipeline, or another product read and change an online project over HTTP, with the same commands the CLI runs on a folder. It is for developers building an integration. If you want an AI agent such as Claude to work on your project, you don’t need this page: connect it with MCP instead.
The API works on online projects only. A project that is not online has no API; use the CLI on its folder.
Make a token
Section titled “Make a token”- On your account’s site, open API tokens.
- Give the token a Name, so you know later what it is for. Optionally set Act as and an end date (Ends).
- Click Create token and copy it. It is shown only once, so store it where your tool keeps secrets.
The list shows when each token was last used, and Revoke stops one at once.
On a team’s own server, each person makes tokens in the desktop app instead. See The Eidos API and agents.
A token carries your access. It reaches what you can reach, is refused what you are refused, and follows any change to your access at once. It can run commands and read a project’s files (so eidos sync pull can fill a folder, see Online projects and git), and nothing else: it can’t change your account, a project’s members, or your plan.
Act as takes the alias of a local user of the project, such as an agent, so the token’s work is signed as them. It still works under your access, and can never act as another member.
Call a command
Section titled “Call a command”Every call is made on a project, by its id. List the projects a token can reach:
curl https://online.eidosmd.com/api/projects -H "Authorization: Bearer $EIDOS_TOKEN"Run a command by its name, with its arguments and options as the API reference names them:
curl https://online.eidosmd.com/api/projects/$PROJECT/commands \ -H "Authorization: Bearer $EIDOS_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "command": "backlog add", "arguments": ["Ship the login page"], "options": { "status": "To Do" } }'The answer holds what the command’s --json prints, under result (or its text under text for a command with no --json), with its exit code and the files it changed:
{ "code": 0, "result": { "id": "T-N97", "title": "Ship the login page" }, "changed": ["backlog/t-n97-ship-the-login-page.md"] }A command that finds problems, such as check, answers 200 with a code of 1. A command that could not run is refused with its own message.
GET /api/projects/$PROJECT/commands lists the commands a project offers, with their arguments and options. A plugin’s commands are offered while the plugin is on for the project.
What you can count on
Section titled “What you can count on”- A command sees what you can read. Pages and files not shared with you are absent, and
checkpasses over them. - A command lands whole or not at all. If it would change a file you can’t write, nothing it did is kept, and the refusal names the file.
- An edit is like any other. It reaches everyone who has the project open, merges with what changed meanwhile, and is kept in the file’s history under your account.
What stays with the CLI
Section titled “What stays with the CLI”The API offers what works on a project’s files. What needs a computer stays with the CLI: installing and setting up a project, the CLI’s own versions, publishing to the Registry, CI setup, Git, the Terminal, the AI Agent, Automations, adding an asset’s file, and any option that reads or writes a file on your computer or your personal settings.
Community plugins’ commands are not offered, since that would run their code on the service. Run them from a folder that holds the project.