{"openapi":"3.1.0","info":{"title":"mrsn","version":"0.3.0","summary":"one binary, two tongues: an agentic CLI and a web serve","description":"the API tongue of `mrsn`. The CLI contract lives at /schema.json (error lanes included); this document covers the HTTP surface. No auth — read /auth.md for the posture. Build: 79b5b36"},"servers":[{"url":"https://mrsaynothing.dev"}],"paths":{"/":{"get":{"summary":"the landing — the repo README, rendered","responses":{"200":{"description":"ok","content":{"text/html":{}}},"400":{"description":"boundary refusal","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"cross-site write refused (drive-by guard)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"no such resource"},"413":{"description":"body over the parse contract's cap"}}}},"/docs":{"get":{"summary":"the docs index (grouped sidebar + wire lane demo)","responses":{"200":{"description":"ok","content":{"text/html":{}}},"400":{"description":"boundary refusal","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"cross-site write refused (drive-by guard)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"no such resource"},"413":{"description":"body over the parse contract's cap"}}}},"/docs/{slug}":{"get":{"summary":"a doc page (sidebar, toc, prev/next)","responses":{"200":{"description":"ok","content":{"text/html":{}}},"400":{"description":"boundary refusal","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"cross-site write refused (drive-by guard)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"no such resource"},"413":{"description":"body over the parse contract's cap"}}}},"/docs/{slug}.md":{"get":{"summary":"the doc as RAW markdown — prefer this over html","responses":{"200":{"description":"ok","content":{"text/markdown":{}}},"400":{"description":"boundary refusal","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"cross-site write refused (drive-by guard)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"no such resource"},"413":{"description":"body over the parse contract's cap"}}}},"/health":{"get":{"summary":"aliveness: {status, sha, docs, verbs}","responses":{"200":{"description":"ok","content":{"application/json":{}}},"400":{"description":"boundary refusal","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"cross-site write refused (drive-by guard)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"no such resource"},"413":{"description":"body over the parse contract's cap"}}}},"/schema.json":{"get":{"summary":"the CLI contract over HTTP (verbs + flags + error lanes)","responses":{"200":{"description":"ok","content":{"application/json":{}}},"400":{"description":"boundary refusal","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"cross-site write refused (drive-by guard)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"no such resource"},"413":{"description":"body over the parse contract's cap"}}}},"/openapi.json":{"get":{"summary":"this document","responses":{"200":{"description":"ok","content":{"application/json":{}}},"400":{"description":"boundary refusal","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"cross-site write refused (drive-by guard)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"no such resource"},"413":{"description":"body over the parse contract's cap"}}}},"/.well-known/agent.json":{"get":{"summary":"the A2A agent card (skills = the CLI verbs)","responses":{"200":{"description":"ok","content":{"application/json":{}}},"400":{"description":"boundary refusal","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"cross-site write refused (drive-by guard)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"no such resource"},"413":{"description":"body over the parse contract's cap"}}}},"/auth.md":{"get":{"summary":"the auth posture at the conventional probe path","responses":{"200":{"description":"ok","content":{"text/markdown":{}}},"400":{"description":"boundary refusal","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"cross-site write refused (drive-by guard)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"no such resource"},"413":{"description":"body over the parse contract's cap"}}}},"/llms.txt":{"get":{"summary":"guidance for agents (verbs + doc briefs)","responses":{"200":{"description":"ok","content":{"text/plain":{}}},"400":{"description":"boundary refusal","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"cross-site write refused (drive-by guard)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"no such resource"},"413":{"description":"body over the parse contract's cap"}}}},"/llms-full.txt":{"get":{"summary":"the whole corpus as raw markdown, one response","responses":{"200":{"description":"ok","content":{"text/plain":{}}},"400":{"description":"boundary refusal","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"cross-site write refused (drive-by guard)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"no such resource"},"413":{"description":"body over the parse contract's cap"}}}},"/robots.txt":{"get":{"summary":"named bot lanes + Content-Signal posture","responses":{"200":{"description":"ok","content":{"text/plain":{}}},"400":{"description":"boundary refusal","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"cross-site write refused (drive-by guard)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"no such resource"},"413":{"description":"body over the parse contract's cap"}}}},"/sitemap.xml":{"get":{"summary":"the crawl surface (landing, index, every doc)","responses":{"200":{"description":"ok","content":{"application/xml":{}}},"400":{"description":"boundary refusal","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"cross-site write refused (drive-by guard)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"no such resource"},"413":{"description":"body over the parse contract's cap"}}}}},"components":{"schemas":{"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"read this, never string-sniff the message"},"message":{"type":"string"}}}}}}}}