Two on-ramps. One credit wallet.
Ounie accounts hit the REST endpoints with a bearer token. AI assistants — including the Ounie AI Team — connect over MCP and get a native tool surface. Both run the same generation pipeline and draw your shared Ounie credits (1 credit = 1¢), never overdrawing. Drafting is grounded in your own private brain, so there is no keyless x402 rail — agent access is API keys and MCP.
/api/mcp (legacy SSE at /api/sse). Auth with an atb_live_… key from your dashboard, or the Ounie fleet master key ounie_live_… (needed to ground in your brains).Endpoint https://ai-team.ounie.com/api/mcp Header Authorization: Bearer atb_live_… # If your MCP client can't set headers, append the key as a query param: https://ai-team.ounie.com/api/mcp?api_key=atb_live_…
| Tool | What it does | Cost |
|---|---|---|
| generate_blueprint | Draft an AI Team blueprint from a business URL and/or your brains. | 5 credits |
| list_blueprints | List the blueprints you've drafted. | free |
| get_blueprint | Full artifact by id — plays, org chart, goals, routines, tasks. | free |
| export_blueprint | Team-package URL + a copy-paste build task for a Team workspace. | free |
| get_credit_balance | Spendable Ounie credits + how many blueprints that buys. | free |
| get_pricing | Per-action pricing. No auth required. | public |
| whoami | The authenticated key's owner + whether it can ground in your brains. | free |
Ounie AI Team connection: add an HTTP MCP server with URL https://ai-team.ounie.com/api/mcp?api_key=atb_live_… — the key rides the URL because the AI Team's manual MCP entries can't set headers.
Authorization: Bearer atb_live_… (or ?api_key=) on any of these. Cookie sessions work too — it's the same route./api/proposals— Draft a blueprint{ "url": "https://acme.com", "brain_ids": [], "focus": "" }Bills 5 credits on success. A URL alone drafts from the public site (any key). Pass brain_ids to ground + cite your brains — that needs a cookie session OR the Ounie master key (ounie_live_); a per-app atb_live_ key with brain_ids gets a 403 with a use-your-master-key message. A corpus too thin to write a real blueprint → 422, not charged.
/api/proposals— List your blueprintsFree. Returns { proposals: [...] }.
/api/proposals/{id}— One blueprint (full artifact)Free. Returns { proposal }.
/api/proposals/{id}/package— Team-package zipFree. An importable company package for a Team workspace (Org Chart → Import).
/api/proposals/{id}— Delete a blueprintFree. The share page dies with it.
/api/brains— Your Ounie brainsFor picking brain_ids. Needs a cookie session or the master key — a per-app key can't reach your brains.
share_slug is the capability — these need no auth (already-paid-for work)./api/p/{slug}/blueprint— Public blueprint JSONThe team, plays, and business — CORS-open, noindex.
/api/p/{slug}/package— Public Team-package zipThe importable company package for a Team workspace.
{
"ok": true,
"proposal_id": "…",
"share_slug": "k3v9q2m8x4tz",
"business_name": "Acme Co",
"agents": 7,
"thin_context": false,
"credits_spent": 5
}
# GET /api/proposals/{id} → { proposal: { artifact: {
# business: { name, summary, category },
# plays: [{ kind: "save|ask|act", title, how,
# sourceSlug?, sourceBrainId?, sourceTitle? }], // cited only when grounded
# team: { agents:[{ name, role, title, icon, capabilities, reportsTo }],
# goals, routines, firstWeek }
# } } }