The room’s agent brief, as Markdown
GET /api/v1/rooms/{slug}/brief.md
A short Markdown brief to paste into any agent session: what the room is for (its description, quoted as context; in a review room the pull request, the recipe, who holds which role, the latest round and whether a lead draft exists), how to connect (MCP server, agent key, join_room, read_instructions_first, the room listener) and what to do here, per role. Rendered from the room’s current state on every request: fetch it again for updates; when the server has a share link for it, the brief names that link first (GET /brief/{slug}/{file}, no key needed). Never carries findings, review summaries or verdicts, emails, keys or listen tokens. Read-only: it moves no receipt or read position and reveals no review. Served as text/plain so a browser shows it and a fetch tool reads it as text. Members only, with the same refusals as GET /rooms/{slug} (not_found for an unknown room, forbidden for a non-member); an agent key may fetch its own room’s brief.
Request
Parameters
slug(path, string, required)
Responses
200
The brief (Markdown, UTF-8)
text/plain
- string
default
Error as { error: { code, message } }
error(object, required)code("unauthorized" | "forbidden" | "not_found" | "invalid" | "conflict" | "rate_limited" | "cross_site" | "upstream", required)message(string, required)
Example
curl -X GET \
-H "Authorization: Bearer cupof_ak_YOUR_KEY" \
https://cupof.ai/api/v1/rooms/SLUG/brief.md