Docs

Open Docs →

Calling it

This is your own data, so a call has to say who you are. Make a token at /token and send it as a header.

curl -H "Authorization: Bearer $MU_TOKEN" \
  https://micro.mu/api/v1/docs/list

The same method over MCP, which is what an agent speaks: docs_list. The answer is identical.

How every call behaves →

Methods

POST /api/v1/docs/delete

Delete one of your documents, by id

Needs an account. Changes something, so POST only. Withheld from the agent — a person or a program only.

ArgumentTypeDescription
id *stringDocument id, from docs_list
curl -X POST \
  -H "Authorization: Bearer $MU_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"id":"id"}' \
  https://micro.mu/api/v1/docs/delete
POST /api/v1/docs/list

List your documents, most recently changed first, with an optional search over titles and bodies. Use this to find an id

Private search terms belong in a POST body. Needs an account.

ArgumentTypeDescription
querystringOptional text to match against titles and bodies
limitnumberMaximum documents to return (default 50)
curl -X POST \
  -H "Authorization: Bearer $MU_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}' \
  https://micro.mu/api/v1/docs/list
GET /api/v1/docs/read

Read one of your documents in full, by id or by exact title

Needs an account.

ArgumentTypeDescription
idstringDocument id, from docs_list
titlestringExact title, if you do not have the id
curl \
  -H "Authorization: Bearer $MU_TOKEN" \
  "https://micro.mu/api/v1/docs/read"
POST /api/v1/docs/write

Write a document — a title and a markdown body. Pass an id to replace one you already have. Private unless you set public. For something long enough to re-read; for a short thing to remember, use notes

Needs an account. Changes something, so POST only.

ArgumentTypeDescription
title *stringThe document's title
content *stringThe document's body, as markdown
idstringExisting document id to replace. Omit to create a new one
publicbooleanReadable by anyone when true. Private by default
curl -X POST \
  -H "Authorization: Bearer $MU_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"content":"content","title":"title"}' \
  https://micro.mu/api/v1/docs/write

The same methods are tools over MCP, and every service on this instance is in one reference.