{"openapi":"3.1.0","info":{"title":"Co-Parent Assistant Family Automation & Agent API","version":"1.0.0","description":"Unified REST, Remote MCP (/mcp), Voice Intent, Event Feed, and OKF v0.3 API exposing 70 role-scoped family tools for Zapier, Make, n8n, IFTTT, Siri Shortcuts, Google Assistant, OpenClaw, and Hermes Agent."},"servers":[{"url":"https://coparentai.org"}],"components":{"securitySchemes":{"bearerPat":{"type":"http","scheme":"bearer","bearerFormat":"cpa_<token>","description":"Scoped Personal Access Token created in Settings -> Integrations & Agents."}}},"security":[{"bearerPat":[]}],"paths":{"/api/intents/daily-brief":{"get":{"operationId":"getDailyFamilyBrief","summary":"Get a speakable daily custody, handoff & task briefing (Siri / Google Assistant)","parameters":[{"name":"date","in":"query","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"description":"Optional YYYY-MM-DD date (defaults to today)."}],"responses":{"200":{"description":"Speakable summary + structured items + canonical deep link."}}}},"/api/intents/run":{"post":{"operationId":"runVoiceOrAssistantIntent","summary":"Execute a structured tool or quick voice intent and receive speakable text + deep link","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"intent":{"type":"string","enum":["daily_brief","add_task","add_note","call_tool"]},"title":{"type":"string"},"text":{"type":"string"},"date":{"type":"string"},"start":{"type":"string"},"end":{"type":"string"},"toolName":{"type":"string"},"toolArgs":{"type":"object"}}}}}},"responses":{"200":{"description":"Intent executed."}}}},"/api/events/feed":{"get":{"operationId":"pollHouseholdEvents","summary":"Cursor-based household event stream for Zapier, Make, OpenClaw, and Hermes polling","parameters":[{"name":"since","in":"query","schema":{"type":"integer","default":0}},{"name":"limit","in":"query","schema":{"type":"integer","default":50}}],"responses":{"200":{"description":"Events list + nextCursor."}}}},"/api/ingest/clip":{"post":{"operationId":"ingestClipOrShare","summary":"Clip a school webpage, receipt, or text snippet into a task, note, or pre-filled URL","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"type":"string","enum":["task","note","expense_link"]},"title":{"type":"string"},"text":{"type":"string"},"url":{"type":"string"},"date":{"type":"string"},"amountUsd":{"type":"number"}}}}}},"responses":{"200":{"description":"Clipped record + canonical deepLinkUrl."}}}},"/api/okf/index.md":{"get":{"operationId":"getPrivateHouseholdOkfIndex","summary":"Fetch private role-scoped Open Knowledge Format (OKF v0.3) family index","responses":{"200":{"description":"OKF v0.3 Markdown document."}}}},"/mcp":{"post":{"operationId":"mcpJsonRpc","summary":"Remote Model Context Protocol (MCP) Streamable HTTP JSON-RPC 2.0 endpoint","responses":{"200":{"description":"JSON-RPC 2.0 MCP response."}}}}}}