Plan Studio for developers
Plan Studio is a set of shared planning rooms for people and agents: Markdown plans with chat, anchored comments, proposals to review and version history.
Call the same operations over plain HTTP, as MCP tools, or from a page through WebMCP. The base URL is https://plan.ferrite.run.
Quickstart
Read something first. This request needs no setup:
curl -s 'https://plan.ferrite.run/api/rooms'
List every open planning room, most recently changed first. Use it first to find a room id. Returns each room's title, excerpt, revision, comment and suggestion counts and participants, plus the demo agents a room can ask.
Then change something. Send an idempotency-key so a retry cannot run twice:
curl -s -X POST 'https://plan.ferrite.run/api/rooms' \
-H 'content-type: application/json' \
-H 'idempotency-key: create_room-1' \
-d '{"author":"Ada Lovelace","title":"Try the planning API"}'
To use Plan Studio from an AI assistant, add its MCP server:
claude mcp add --transport http fe-plan-studio https://plan.ferrite.run/mcp
Authentication and API keys
No API key, account or sign-up is needed to read a room, open one, chat, comment, label a version, or ask for a proposal and review it. The three draft operations (save_draft, publish_draft and discard_draft) need a caller the application can recognize, because a draft is private: they work from a page open in a browser, which holds the __Host-plan_guest cookie, and answer 401 to a caller without one. archive_room works for the browser that opened the room.
Sandbox
The public address is the sandbox. Its four opening rooms are seeded, and nothing you write reaches a real person's account. Open a room of your own with create_room and try the other operations there; a call acts under whatever display name it sends.
The sandbox page is the place to start.
Endpoints
| Operation | Request | What it does |
|---|---|---|
get_rooms | GET /api/rooms | List every open planning room, most recently changed first. Use it first to find a room id. Returns each room's title, excerpt, revision, comment and suggestion counts and participants, plus the demo agents a room can ask. |
get_room | GET /api/rooms/{id} | Read one room. Use it before commenting on or changing a plan. Returns the published plan as Markdown, its current revision, recent chat, every comment with the text it is anchored to, and recent activity. |
get_editor | GET /api/rooms/{id}/editor/{owner} | Read what the editor shows the caller. Use it before saving a draft, to learn the revision it must be based on. Returns the published plan, its revision and the caller's own draft; the draft is null when the caller has none or sends no session. |
get_history | GET /api/rooms/{id}/history | Read the published revisions of a plan, newest first. Use it to compare two versions or to find when something changed. Returns the full Markdown of each retained revision with its author, note and version label. |
get_suggestions | GET /api/rooms/{id}/suggestions | Read what the demo agents have proposed for a plan. Use it to find a suggestion that is waiting for review. Returns every suggestion with its Markdown and status, the request behind it, and the revision a review must name. |
create_room | POST /api/rooms | Open a planning room. Use it when no existing room covers the subject; pass body to publish an opening plan as revision 1. Returns the new room's id, title and revision. Everyone can read the room. |
post_chat | POST /api/rooms/{id}/chat | Post a message to a room's chat. Use it for a question or a remark about the whole plan; use post_comment for exact words. Returns the stored message with its id and time. |
post_comment | POST /api/rooms/{id}/comments | Comment on a range of characters in the published plan. Use it after get_room, counting characters in its body. Returns the comment with the quoted text the range covered, or 400 when the range is outside the plan. |
resolve_comment | POST /api/rooms/{id}/comments/{comment_id}/resolve | Mark a comment as dealt with. Use it when the plan or a reply has answered the comment. Returns the comment's status; resolving one that is already resolved succeeds and changes nothing. |
request_suggestion | POST /api/rooms/{id}/suggestions | Ask a demo agent to propose a section for the plan. Use it to try the review flow: each agent answers with its fixed template and your prompt, and does not analyze the plan. Returns the id of the suggestion, which waits for review. |
resolve_suggestion | POST /api/rooms/{id}/suggestions/{suggestion_id}/resolve | Accept or reject a suggestion. Use it once a person has decided: accepting appends the proposal to the plan as a new revision. Returns the suggestion's status, or 409 when the plan has moved past the expect_revision of an acceptance. |
snapshot_version | POST /api/rooms/{id}/versions | Label the current revision as a named version. Use it when a plan reaches a point worth returning to, such as an approval. Returns the revision number that now carries the label. |
save_draft | POST /api/rooms/{id}/draft | Save the caller's private draft of a plan without publishing it. Use it to work on a change over several calls; it needs the browser's own cookie or a signed-in session and answers 401 without one. Returns whether the draft differs from the plan and whether the plan has moved on. |
publish_draft | POST /api/rooms/{id}/draft/publish | Publish the caller's own draft as the next revision. Use it after save_draft, with the same cookie or session. Returns the room's new revision, or 409 when someone published after expect_revision, so newer work is never overwritten. |
discard_draft | POST /api/rooms/{id}/draft/discard | Throw away the caller's own draft and leave the published plan alone. Use it to start again from the current revision, with the cookie or session that saved the draft. Returns has_draft false, also when there was nothing to discard. |
archive_room | POST /api/rooms/{id}/archive | Archive a room, or restore an archived one. Use it when a plan is finished: the room keeps everything, leaves get_rooms and refuses changes until it is restored. Returns the room. Only the browser or account that opened it, or the app's administrator, may; anyone else gets 403. |
The OpenAPI 3.1 document describes every parameter and response. The MCP server at https://plan.ferrite.run/mcp exposes the same operations as tools with the same names.
Example requests
get_rooms
curl -s 'https://plan.ferrite.run/api/rooms'
get_room
curl -s 'https://plan.ferrite.run/api/rooms/r-1'
get_editor
curl -s 'https://plan.ferrite.run/api/rooms/r-1/editor/ada'
get_history
curl -s 'https://plan.ferrite.run/api/rooms/r-1/history'
get_suggestions
curl -s 'https://plan.ferrite.run/api/rooms/r-1/suggestions'
create_room
curl -s -X POST 'https://plan.ferrite.run/api/rooms' \
-H 'content-type: application/json' \
-H 'idempotency-key: create_room-1' \
-d '{"author":"Ada Lovelace","title":"Try the planning API"}'
post_chat
curl -s -X POST 'https://plan.ferrite.run/api/rooms/r-4/chat' \
-H 'content-type: application/json' \
-H 'idempotency-key: post_chat-1' \
-d '{"author":"Ada Lovelace","body":"Reading the plan now."}'
post_comment
curl -s -X POST 'https://plan.ferrite.run/api/rooms/r-4/comments' \
-H 'content-type: application/json' \
-H 'idempotency-key: post_comment-1' \
-d '{"author":"Ada Lovelace","body":"Is this still the right name?","end":12,"start":2}'
Conventions
- Rate limits: every response carries
RateLimit-Limit,RateLimit-RemainingandRateLimit-Reset. A429also carriesRetry-After, in seconds. - Errors: refusals are RFC 9457
application/problem+jsonwith a stabletype, adetailwritten to be read, and ahintwhen there is a next step. - Retries: repeat the same
idempotency-keyon a write and you receive the first result again. - Versioning: this is version 2.1.0. A change that would break a caller is announced with
DeprecationandSunsetheaders at least 90 days ahead. - Markdown: add
.mdto a page path, or sendAccept: text/markdown.
Machine-readable descriptions
- llms.txt: orientation for agents
- OpenAPI: operations and schemas
- Agent skills: installable instructions
- Agentic Resource Discovery: the catalogue of everything here
- Pricing
Questions: see the contact page.