{"fetchedAt":"2026-10-10T21:49:30.734Z","source":"http://localhost:3051/documentation/json","info":{"title":"Subsidia API","description":"Developer API for Subsidia — multi-agent debate, sim engine, risk evaluator, life copilot, and AI manager.","version":"1.0.0"},"tags":[{"name":"conversations","description":"Multi-agent debate conversations"},{"name":"agents","description":"Agent personas and memories"},{"name":"sim-engine","description":"Business co-evolution simulation"},{"name":"life-copilot","description":"Life copilot profile and plans"},{"name":"market-analysis","description":"Market research and analysis"},{"name":"risk-evaluator","description":"Risk evaluation sessions"},{"name":"ai","description":"Raw AI completion and extracted data"},{"name":"partner","description":"Partner API: provision client workspaces, their keys, statements and installs. Needs a partner-enabled account and a key with the partner scope."},{"name":"reflex","description":"Reflex flows: create, run and follow automations. Approvals and notification channels stay with signed-in people."},{"name":"light","description":"Light: questions answered only from the workspace documents, with citations"},{"name":"webhooks","description":"Webhook registration and delivery logs"}],"operations":{"GET /health":{"method":"GET","path":"/health","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /agents/seed":{"method":"POST","path":"/agents/seed","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /agents":{"method":"GET","path":"/agents","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /agents":{"method":"POST","path":"/agents","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /agents/draft":{"method":"POST","path":"/agents/draft","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /agents/:id":{"method":"DELETE","path":"/agents/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /agents/:id":{"method":"PUT","path":"/agents/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /agents/:id/memory":{"method":"GET","path":"/agents/:id/memory","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /agents/:id/memory":{"method":"POST","path":"/agents/:id/memory","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /agents/:id/memory/:memoryId":{"method":"PUT","path":"/agents/:id/memory/:memoryId","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"memoryId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /agents/:id/memory/:memoryId":{"method":"DELETE","path":"/agents/:id/memory/:memoryId","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"memoryId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /agents/:id/share":{"method":"PUT","path":"/agents/:id/share","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /debateTemplates":{"method":"GET","path":"/debateTemplates","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /debateTemplates":{"method":"POST","path":"/debateTemplates","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /debateTemplates/:id":{"method":"PATCH","path":"/debateTemplates/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /debateTemplates/:id":{"method":"DELETE","path":"/debateTemplates/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /knowledge-collections":{"method":"GET","path":"/knowledge-collections","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /knowledge-collections":{"method":"POST","path":"/knowledge-collections","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /knowledge-collections/:id/members":{"method":"GET","path":"/knowledge-collections/:id/members","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /knowledge-collections/:id/access":{"method":"PATCH","path":"/knowledge-collections/:id/access","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /knowledge-collections/:id":{"method":"PATCH","path":"/knowledge-collections/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /knowledge-collections/:id":{"method":"DELETE","path":"/knowledge-collections/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /knowledge-sources/:id/collection":{"method":"PATCH","path":"/knowledge-sources/:id/collection","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /knowledge/map":{"method":"GET","path":"/knowledge/map","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /knowledge-sources":{"method":"GET","path":"/knowledge-sources","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /knowledge-sources":{"method":"POST","path":"/knowledge-sources","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /knowledge-sources/counts":{"method":"GET","path":"/knowledge-sources/counts","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /knowledge-sources/query":{"method":"POST","path":"/knowledge-sources/query","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /knowledge-sources/upload":{"method":"POST","path":"/knowledge-sources/upload","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /knowledge-chunks/:id":{"method":"GET","path":"/knowledge-chunks/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /knowledge-sources/:id/original":{"method":"GET","path":"/knowledge-sources/:id/original","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /knowledge-sources/:id/original/attachment/:index":{"method":"GET","path":"/knowledge-sources/:id/original/attachment/:index","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"index","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /knowledge-sources/:id/provenance":{"method":"GET","path":"/knowledge-sources/:id/provenance","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /knowledge-sources/:id":{"method":"GET","path":"/knowledge-sources/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /knowledge-sources/:id":{"method":"DELETE","path":"/knowledge-sources/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /knowledge-sources/clear":{"method":"POST","path":"/knowledge-sources/clear","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /knowledge-sources/:id/reingest":{"method":"POST","path":"/knowledge-sources/:id/reingest","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /agents/:id/knowledge-sources/:sourceId":{"method":"POST","path":"/agents/:id/knowledge-sources/:sourceId","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"sourceId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /agents/:id/knowledge-sources/:sourceId":{"method":"DELETE","path":"/agents/:id/knowledge-sources/:sourceId","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"sourceId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /light/ask":{"method":"POST","path":"/light/ask","tags":["light"],"summary":"Ask a question of the workspace documents","description":"Answers only from the workspace documents and cites its sources; a question the documents do not cover gets an honest refusal, never outside knowledge. Body: { question, history?, dossierId?, provider? } — provider: auto | local | a provider id allowed in the workspace (400 with a code otherwise).","parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /light/web":{"method":"POST","path":"/light/web","tags":["light"],"summary":"Web fallback for a question","description":"Explicit web search, used only after a refusal. The query is redacted before it leaves; requires web search to be configured on the server. Body: { question, provider? }.","parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /light/ateliers":{"method":"GET","path":"/light/ateliers","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /light/ateliers":{"method":"POST","path":"/light/ateliers","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /light/ateliers/:id":{"method":"GET","path":"/light/ateliers/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /light/ateliers/:id":{"method":"PUT","path":"/light/ateliers/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /light/ateliers/:id":{"method":"DELETE","path":"/light/ateliers/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /light/ateliers/:id/export":{"method":"GET","path":"/light/ateliers/:id/export","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /light/datasheet/columns":{"method":"POST","path":"/light/datasheet/columns","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /light/datasheet/extract":{"method":"POST","path":"/light/datasheet/extract","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /light/datasheet/ask":{"method":"POST","path":"/light/datasheet/ask","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /light/dossiers":{"method":"GET","path":"/light/dossiers","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /light/deadlines":{"method":"GET","path":"/light/deadlines","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /light/dossiers/:id":{"method":"GET","path":"/light/dossiers/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /light/draft/templates":{"method":"GET","path":"/light/draft/templates","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /light/draft":{"method":"POST","path":"/light/draft","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /light/datasheets":{"method":"GET","path":"/light/datasheets","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /light/datasheets":{"method":"POST","path":"/light/datasheets","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /light/datasheets/:id":{"method":"GET","path":"/light/datasheets/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /light/datasheets/:id":{"method":"PUT","path":"/light/datasheets/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /light/datasheets/:id":{"method":"DELETE","path":"/light/datasheets/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /light/datasheets/:id/export":{"method":"GET","path":"/light/datasheets/:id/export","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /light/morning":{"method":"GET","path":"/light/morning","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /light/report":{"method":"GET","path":"/light/report","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /light/report/send":{"method":"POST","path":"/light/report/send","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /light/notes":{"method":"GET","path":"/light/notes","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /light/dossiers/:id/notes":{"method":"POST","path":"/light/dossiers/:id/notes","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /light/notes/:id":{"method":"DELETE","path":"/light/notes/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /light/postes":{"method":"GET","path":"/light/postes","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /light/postes/:key/install":{"method":"POST","path":"/light/postes/:key/install","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"key","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /light/postes/:id/checklist":{"method":"PUT","path":"/light/postes/:id/checklist","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /light/postes/custom":{"method":"POST","path":"/light/postes/custom","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /light/postes/:key/run":{"method":"POST","path":"/light/postes/:key/run","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"key","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /light/postes/custom/:id":{"method":"DELETE","path":"/light/postes/custom/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /light/postes/:key/scope":{"method":"PUT","path":"/light/postes/:key/scope","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"key","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /light/verify":{"method":"POST","path":"/light/verify","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /light/verify":{"method":"GET","path":"/light/verify","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /light/verify/read-image":{"method":"POST","path":"/light/verify/read-image","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /light/verify/:id":{"method":"GET","path":"/light/verify/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /light/verify/:id":{"method":"DELETE","path":"/light/verify/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /light/verify/:id/export":{"method":"GET","path":"/light/verify/:id/export","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /registre":{"method":"GET","path":"/registre","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /registre/summary":{"method":"GET","path":"/registre/summary","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /registre/review":{"method":"POST","path":"/registre/review","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /registre/export":{"method":"GET","path":"/registre/export","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /discovery/overview":{"method":"GET","path":"/discovery/overview","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /discovery/questions":{"method":"GET","path":"/discovery/questions","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /discovery/ask":{"method":"POST","path":"/discovery/ask","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /discovery/questions/:id/answer":{"method":"POST","path":"/discovery/questions/:id/answer","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /discovery/questions/:id/dismiss":{"method":"POST","path":"/discovery/questions/:id/dismiss","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /discovery/briefs":{"method":"GET","path":"/discovery/briefs","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /discovery/briefs/:collectionId":{"method":"GET","path":"/discovery/briefs/:collectionId","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"collectionId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /discovery/run":{"method":"POST","path":"/discovery/run","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /discovery/collections/:id":{"method":"PUT","path":"/discovery/collections/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /knowledge/facts":{"method":"GET","path":"/knowledge/facts","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /knowledge/entities":{"method":"GET","path":"/knowledge/entities","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /knowledge/entities/:id":{"method":"GET","path":"/knowledge/entities/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /knowledge/contradictions":{"method":"GET","path":"/knowledge/contradictions","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /knowledge/contradictions/:id/resolve":{"method":"POST","path":"/knowledge/contradictions/:id/resolve","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /knowledge/graph":{"method":"GET","path":"/knowledge/graph","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /knowledge/sweep-stale":{"method":"POST","path":"/knowledge/sweep-stale","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /knowledge/health":{"method":"GET","path":"/knowledge/health","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /knowledge/health/replay":{"method":"POST","path":"/knowledge/health/replay","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /knowledge/health/failures":{"method":"GET","path":"/knowledge/health/failures","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/watched-folders":{"method":"GET","path":"/admin/watched-folders","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/watched-folders":{"method":"POST","path":"/admin/watched-folders","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /admin/watched-folders/:id":{"method":"PATCH","path":"/admin/watched-folders/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /admin/watched-folders/:id":{"method":"DELETE","path":"/admin/watched-folders/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/watched-folders/:id/rescan":{"method":"POST","path":"/admin/watched-folders/:id/rescan","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/watched-folders/:id/resync":{"method":"POST","path":"/admin/watched-folders/:id/resync","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /workspace/mail-connectors":{"method":"GET","path":"/workspace/mail-connectors","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /workspace/mail-connectors":{"method":"POST","path":"/workspace/mail-connectors","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /workspace/mail-connectors/:id":{"method":"PATCH","path":"/workspace/mail-connectors/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /workspace/mail-connectors/:id":{"method":"DELETE","path":"/workspace/mail-connectors/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /workspace/mail-connectors/:id/poll":{"method":"POST","path":"/workspace/mail-connectors/:id/poll","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/mail-connectors":{"method":"GET","path":"/admin/mail-connectors","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/mail-connectors":{"method":"POST","path":"/admin/mail-connectors","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /admin/mail-connectors/:id":{"method":"PATCH","path":"/admin/mail-connectors/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /admin/mail-connectors/:id":{"method":"DELETE","path":"/admin/mail-connectors/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/mail-connectors/:id/poll":{"method":"POST","path":"/admin/mail-connectors/:id/poll","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /download-links":{"method":"GET","path":"/download-links","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /app/status":{"method":"GET","path":"/app/status","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /devices/register":{"method":"POST","path":"/devices/register","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /devices":{"method":"GET","path":"/devices","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /devices/:id":{"method":"DELETE","path":"/devices/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /devices/entitlement":{"method":"POST","path":"/devices/entitlement","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /devices/sync-status":{"method":"POST","path":"/devices/sync-status","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /connectors/drive":{"method":"GET","path":"/connectors/drive","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /connectors/drive/:provider/authorize":{"method":"POST","path":"/connectors/drive/:provider/authorize","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"provider","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /connectors/drive/:provider/callback":{"method":"GET","path":"/connectors/drive/:provider/callback","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"provider","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /connectors/drive/:id/folders":{"method":"GET","path":"/connectors/drive/:id/folders","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /connectors/drive/:id":{"method":"PATCH","path":"/connectors/drive/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /connectors/drive/:id":{"method":"DELETE","path":"/connectors/drive/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /connectors/drive/:id/sync":{"method":"POST","path":"/connectors/drive/:id/sync","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /agents/:id/affect":{"method":"GET","path":"/agents/:id/affect","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /agents/:id/affect":{"method":"PATCH","path":"/agents/:id/affect","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /agents/:id/mind":{"method":"GET","path":"/agents/:id/mind","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /agents/:id/chapters":{"method":"POST","path":"/agents/:id/chapters","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /affect/graph":{"method":"GET","path":"/affect/graph","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /tools":{"method":"GET","path":"/tools","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /tools":{"method":"POST","path":"/tools","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /tools/:id":{"method":"GET","path":"/tools/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /tools/:id":{"method":"PUT","path":"/tools/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /tools/:id":{"method":"DELETE","path":"/tools/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /agents/:id/tools/:toolId":{"method":"POST","path":"/agents/:id/tools/:toolId","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"toolId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /agents/:id/tools/:toolId":{"method":"DELETE","path":"/agents/:id/tools/:toolId","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"toolId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /conversation":{"method":"POST","path":"/conversation","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /conversation":{"method":"GET","path":"/conversation","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /conversation/:id":{"method":"GET","path":"/conversation/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /conversation/:id":{"method":"DELETE","path":"/conversation/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /conversation/:id/goal":{"method":"PATCH","path":"/conversation/:id/goal","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /conversation/:id/share":{"method":"POST","path":"/conversation/:id/share","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /conversation/:id/share":{"method":"DELETE","path":"/conversation/:id/share","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /conversation/:id/message":{"method":"POST","path":"/conversation/:id/message","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /conversation/:id/message/stream":{"method":"POST","path":"/conversation/:id/message/stream","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /conversation/:id/document":{"method":"POST","path":"/conversation/:id/document","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /conversation/:id/documents":{"method":"GET","path":"/conversation/:id/documents","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /conversation/:id/document/:docId":{"method":"DELETE","path":"/conversation/:id/document/:docId","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"docId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /conversations/:id/decisionLog":{"method":"POST","path":"/conversations/:id/decisionLog","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /decisionLog":{"method":"GET","path":"/decisionLog","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /decisionLog/:id":{"method":"GET","path":"/decisionLog/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /decisionLog/:id":{"method":"PATCH","path":"/decisionLog/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /decisionLog/:id/replay-verdicts":{"method":"POST","path":"/decisionLog/:id/replay-verdicts","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /decisionLog/performance":{"method":"GET","path":"/decisionLog/performance","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /axiom/data":{"method":"GET","path":"/axiom/data","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /axiom/user-data":{"method":"GET","path":"/axiom/user-data","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /axiom/user-summary":{"method":"GET","path":"/axiom/user-summary","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /axiom/cleanup":{"method":"POST","path":"/axiom/cleanup","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /register":{"method":"POST","path":"/register","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /login":{"method":"POST","path":"/login","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /API/auth/verifyTokenValidity":{"method":"POST","path":"/API/auth/verifyTokenValidity","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /auth/password/forgot":{"method":"POST","path":"/auth/password/forgot","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /auth/password/reset":{"method":"POST","path":"/auth/password/reset","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /auth/google":{"method":"GET","path":"/auth/google","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /auth/google/callback":{"method":"GET","path":"/auth/google/callback","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /stripe/auth-url":{"method":"GET","path":"/stripe/auth-url","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /stripe/callback":{"method":"GET","path":"/stripe/callback","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /stripe/status":{"method":"GET","path":"/stripe/status","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /stripe/sync":{"method":"POST","path":"/stripe/sync","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /stripe/disconnect":{"method":"POST","path":"/stripe/disconnect","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /stripe/customers":{"method":"GET","path":"/stripe/customers","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /stripe/charges":{"method":"GET","path":"/stripe/charges","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /stripe/customer/:customerId":{"method":"GET","path":"/stripe/customer/:customerId","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"customerId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /stripe/customer/:customerId/invoices":{"method":"GET","path":"/stripe/customer/:customerId/invoices","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"customerId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /billing/catalog":{"method":"GET","path":"/billing/catalog","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /subscriptions/status":{"method":"GET","path":"/subscriptions/status","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /subscriptions/checkout-session":{"method":"POST","path":"/subscriptions/checkout-session","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /subscriptions/change-plan":{"method":"POST","path":"/subscriptions/change-plan","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /subscriptions/seats/preview":{"method":"POST","path":"/subscriptions/seats/preview","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /subscriptions/seats":{"method":"POST","path":"/subscriptions/seats","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /subscriptions/cancel":{"method":"POST","path":"/subscriptions/cancel","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /subscriptions/portal":{"method":"POST","path":"/subscriptions/portal","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /subscriptions/usage":{"method":"GET","path":"/subscriptions/usage","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /subscriptions/usage/daily":{"method":"GET","path":"/subscriptions/usage/daily","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /subscriptions/buy-questions":{"method":"POST","path":"/subscriptions/buy-questions","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /subscriptions/verify-question-purchase":{"method":"POST","path":"/subscriptions/verify-question-purchase","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /subscriptions/webhook":{"method":"POST","path":"/subscriptions/webhook","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /api/market-analysis":{"method":"POST","path":"/api/market-analysis","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /api/market-analysis/stream":{"method":"POST","path":"/api/market-analysis/stream","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /stripe/data":{"method":"GET","path":"/stripe/data","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /hr/connecteam/data":{"method":"GET","path":"/hr/connecteam/data","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /hr/csv/import":{"method":"POST","path":"/hr/csv/import","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /integrations/providers":{"method":"GET","path":"/integrations/providers","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /status":{"method":"GET","path":"/status","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /status/reports":{"method":"POST","path":"/status/reports","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/status":{"method":"GET","path":"/admin/status","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/status/seed":{"method":"POST","path":"/admin/status/seed","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/status/components":{"method":"POST","path":"/admin/status/components","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /admin/status/components/:id":{"method":"PATCH","path":"/admin/status/components/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /admin/status/components/:id":{"method":"DELETE","path":"/admin/status/components/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/status/components/:id/probe":{"method":"POST","path":"/admin/status/components/:id/probe","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/status/incidents":{"method":"POST","path":"/admin/status/incidents","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /admin/status/incidents/:id":{"method":"PATCH","path":"/admin/status/incidents/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /admin/status/incidents/:id":{"method":"DELETE","path":"/admin/status/incidents/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/status/incidents/:id/updates":{"method":"POST","path":"/admin/status/incidents/:id/updates","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /admin/status/updates/:id":{"method":"DELETE","path":"/admin/status/updates/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /life-copilot/profile":{"method":"GET","path":"/life-copilot/profile","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /life-copilot/profile":{"method":"PUT","path":"/life-copilot/profile","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /life-copilot/memories":{"method":"GET","path":"/life-copilot/memories","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /life-copilot/memories":{"method":"POST","path":"/life-copilot/memories","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /life-copilot/memories/:id":{"method":"PUT","path":"/life-copilot/memories/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /life-copilot/memories/:id":{"method":"DELETE","path":"/life-copilot/memories/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /life-copilot/plans":{"method":"GET","path":"/life-copilot/plans","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /life-copilot/plans":{"method":"POST","path":"/life-copilot/plans","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /life-copilot/plans/:id":{"method":"PUT","path":"/life-copilot/plans/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /life-copilot/plans/:id":{"method":"DELETE","path":"/life-copilot/plans/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /life-copilot/plans/:id":{"method":"GET","path":"/life-copilot/plans/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /life-copilot/plans/:id/generate-paths":{"method":"POST","path":"/life-copilot/plans/:id/generate-paths","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /life-copilot/plans/:id/progress":{"method":"PUT","path":"/life-copilot/plans/:id/progress","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /life-copilot/plans/:id/paths/:pathId/debate":{"method":"POST","path":"/life-copilot/plans/:id/paths/:pathId/debate","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"pathId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /life-copilot/plans/:id/choose-path":{"method":"POST","path":"/life-copilot/plans/:id/choose-path","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /life-copilot/plans/:id/paths/:pathId/evolve":{"method":"POST","path":"/life-copilot/plans/:id/paths/:pathId/evolve","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"pathId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /life-copilot/plans/:id/chat/stream":{"method":"POST","path":"/life-copilot/plans/:id/chat/stream","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /life-copilot/plans/:id/send-email":{"method":"POST","path":"/life-copilot/plans/:id/send-email","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /life-copilot/message/stream":{"method":"POST","path":"/life-copilot/message/stream","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /life-copilot/messages":{"method":"GET","path":"/life-copilot/messages","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /life-copilot/chats":{"method":"GET","path":"/life-copilot/chats","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /life-copilot/chats":{"method":"POST","path":"/life-copilot/chats","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /life-copilot/chats/:id":{"method":"GET","path":"/life-copilot/chats/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /life-copilot/chats/:id":{"method":"PUT","path":"/life-copilot/chats/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /life-copilot/chats/:id":{"method":"DELETE","path":"/life-copilot/chats/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /life-copilot/tasks":{"method":"POST","path":"/life-copilot/tasks","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /life-copilot/remind/checkin":{"method":"GET","path":"/life-copilot/remind/checkin","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /life-copilot/chats/:id/messages":{"method":"GET","path":"/life-copilot/chats/:id/messages","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /life-copilot/chats/:id/message/stream":{"method":"POST","path":"/life-copilot/chats/:id/message/stream","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /life-copilot/tool-creator/stream":{"method":"POST","path":"/life-copilot/tool-creator/stream","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /life-copilot/tools":{"method":"GET","path":"/life-copilot/tools","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /life-copilot/tools":{"method":"POST","path":"/life-copilot/tools","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /life-copilot/tools/:id":{"method":"PUT","path":"/life-copilot/tools/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /life-copilot/tools/:id":{"method":"DELETE","path":"/life-copilot/tools/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /life-copilot/tools/:id/metadata":{"method":"PATCH","path":"/life-copilot/tools/:id/metadata","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /companion/personas":{"method":"GET","path":"/companion/personas","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /companion/personas/:personaId/details":{"method":"GET","path":"/companion/personas/:personaId/details","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"personaId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /companion/profile":{"method":"GET","path":"/companion/profile","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /companion/profile":{"method":"PUT","path":"/companion/profile","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /companion/checkins":{"method":"GET","path":"/companion/checkins","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /companion/checkins":{"method":"POST","path":"/companion/checkins","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /companion/sessions":{"method":"GET","path":"/companion/sessions","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /companion/sessions":{"method":"POST","path":"/companion/sessions","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /companion/sessions/:id":{"method":"GET","path":"/companion/sessions/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /companion/sessions/:id/messages":{"method":"POST","path":"/companion/sessions/:id/messages","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /companion/sessions/:id/close":{"method":"POST","path":"/companion/sessions/:id/close","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /companion/facts":{"method":"GET","path":"/companion/facts","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /companion/facts/:id":{"method":"PUT","path":"/companion/facts/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /companion/facts/:id":{"method":"DELETE","path":"/companion/facts/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /companion/progress":{"method":"GET","path":"/companion/progress","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /social/connections":{"method":"GET","path":"/social/connections","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /social/connect/instagram":{"method":"GET","path":"/social/connect/instagram","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /social/callback/instagram":{"method":"GET","path":"/social/callback/instagram","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /social/connect/youtube":{"method":"GET","path":"/social/connect/youtube","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /social/callback/youtube":{"method":"GET","path":"/social/callback/youtube","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /social/sync/:provider":{"method":"POST","path":"/social/sync/:provider","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"provider","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /social/data/:provider":{"method":"GET","path":"/social/data/:provider","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"provider","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /social/connections/:provider":{"method":"DELETE","path":"/social/connections/:provider","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"provider","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /internal/cron/reflex":{"method":"POST","path":"/internal/cron/reflex","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /internal/cron/webhooks":{"method":"POST","path":"/internal/cron/webhooks","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /internal/cron/status":{"method":"POST","path":"/internal/cron/status","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /internal/cron/partner-billing":{"method":"POST","path":"/internal/cron/partner-billing","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /internal/cron/connectors":{"method":"POST","path":"/internal/cron/connectors","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /internal/cron/newsletter":{"method":"POST","path":"/internal/cron/newsletter","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /internal/cron/:frequency":{"method":"POST","path":"/internal/cron/:frequency","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"frequency","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /workspaces":{"method":"GET","path":"/workspaces","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /workspaces":{"method":"POST","path":"/workspaces","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /workspaces/:id/export":{"method":"GET","path":"/workspaces/:id/export","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /workspaces/:id":{"method":"GET","path":"/workspaces/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /workspaces/:id":{"method":"PATCH","path":"/workspaces/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /workspaces/:id":{"method":"DELETE","path":"/workspaces/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /workspaces/:id/members":{"method":"POST","path":"/workspaces/:id/members","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /workspaces/:id/invitations":{"method":"GET","path":"/workspaces/:id/invitations","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /workspaces/:id/invitations/:invitationId":{"method":"DELETE","path":"/workspaces/:id/invitations/:invitationId","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"invitationId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /invitations/:token":{"method":"GET","path":"/invitations/:token","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"token","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /invitations/:token/accept":{"method":"POST","path":"/invitations/:token/accept","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"token","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /workspaces/:id/members/:userId":{"method":"PATCH","path":"/workspaces/:id/members/:userId","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"userId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /workspaces/:id/members/:userId":{"method":"DELETE","path":"/workspaces/:id/members/:userId","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"userId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /partner/status":{"method":"GET","path":"/partner/status","tags":["partner"],"summary":"Is this account a partner?","description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /partner/clients":{"method":"GET","path":"/partner/clients","tags":["partner"],"summary":"List clients","description":"Every client workspace this account runs, with this month's usage, the resale rate, and whether the client acknowledged the arrangement.","parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /partner/clients":{"method":"POST","path":"/partner/clients","tags":["partner"],"summary":"Create a client","description":"Creates a client workspace owned by this account; with adminEmail, the client's manager is invited as administrator.","parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /partner/clients/:id":{"method":"PATCH","path":"/partner/clients/:id","tags":["partner"],"summary":"Rename a client, set its resale terms, or suspend it","description":"Body: { name?, ratePer100Cents?, seatRateCents?, includedQuestionsPerSeat?, suspended? } — non-negative whole numbers in euro cents / questions, null to clear. suspended: true refuses every API key of the client (403 client_suspended) without revoking any; false restores them.","parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /partner/clients/:id/keys":{"method":"POST","path":"/partner/clients/:id/keys","tags":["partner"],"summary":"Create an API key for a client","description":"A restricted key for the client's own application. It must name at least one capability, cannot carry the partner scope, and is shown once.","parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /partner/clients/:id/keys":{"method":"GET","path":"/partner/clients/:id/keys","tags":["partner"],"summary":"List a client's API keys","description":"Every active key issued to this client's application — never the secret, only shown once at creation.","parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /partner/clients/:id/keys/:keyId":{"method":"DELETE","path":"/partner/clients/:id/keys/:keyId","tags":["partner"],"summary":"Revoke a client's API key","description":"The client's application loses access at its next call.","parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"keyId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /partner/clients/:id/usage":{"method":"GET","path":"/partner/clients/:id/usage","tags":["partner"],"summary":"Monthly usage of a client","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /partner/clients/:id/statement":{"method":"GET","path":"/partner/clients/:id/statement","tags":["partner"],"summary":"A client's monthly statement","description":"What the client owes at its resale terms (seats, included questions, questions beyond them) for ?month=YYYY-MM (default: the current month), next to Protypa's wholesale price for the same usage and the margin.","parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /partner/clients/:id/payments":{"method":"GET","path":"/partner/clients/:id/payments","tags":["partner"],"summary":"Which months a client has paid you","description":"Your own ledger, newest first (?months=1-24, default 6): the statement total of each month, whether it is due (finished, something to collect), and when you marked it paid. Subsidia never bills your client; this only records what you say.","parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /partner/clients/:id/payments/:month":{"method":"PUT","path":"/partner/clients/:id/payments/:month","tags":["partner"],"summary":"Mark a month paid or unpaid","description":"Body: { paid: boolean, amountCents? } — amountCents only if what you received differs from the statement. Not for a future month.","parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"month","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /partner/usage.csv":{"method":"GET","path":"/partner/usage.csv","tags":["partner"],"summary":"Monthly statement to re-invoice from","description":"One line per client for a calendar month (?month=YYYY-MM, default: last month): calls, questions, resale rate and amount. Semicolon-separated with a BOM, so a French spreadsheet opens it in columns.","parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /partner/wholesale":{"method":"GET","path":"/partner/wholesale","tags":["partner"],"summary":"What this account owes Protypa","description":"Current seats across every workspace this account runs, and this calendar month's questions, at the standing wholesale rate. ?month=YYYY-MM, default the current month.","parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /partner/invoices":{"method":"GET","path":"/partner/invoices","tags":["partner"],"summary":"List your wholesale invoices","description":"Every invoice sent to this account, and what is outstanding (sent but not yet paid).","parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /partner/auto-debit":{"method":"POST","path":"/partner/auto-debit","tags":["partner"],"summary":"Authorise the automatic debit","description":"Opens a Stripe Checkout session (setup mode) where you save a card or SEPA account once; each monthly wholesale invoice is then debited at its exact amount.","parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /partner/auto-debit":{"method":"DELETE","path":"/partner/auto-debit","tags":["partner"],"summary":"Stop the automatic debit","description":"Forgets the saved payment method; invoices are then paid by hand from Checkout.","parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /partner/auto-debit/confirm":{"method":"GET","path":"/partner/auto-debit/confirm","tags":["partner"],"summary":"Confirm the authorisation","description":"Called right after Stripe redirects back — idempotent, does not wait for the webhook.","parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /partner/invoices/:id/pay":{"method":"POST","path":"/partner/invoices/:id/pay","tags":["partner"],"summary":"Pay an invoice","description":"Opens a Stripe Checkout session for one invoice’s exact amount. Refused if it is already paid or void.","parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /partner/invoices/:id/confirm":{"method":"GET","path":"/partner/invoices/:id/confirm","tags":["partner"],"summary":"Confirm a payment","description":"Called right after Stripe redirects back — idempotent, does not wait for the webhook.","parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /partner/devices":{"method":"GET","path":"/partner/devices","tags":["partner"],"summary":"Every paired install across the clients","description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /partner/devices/:id":{"method":"DELETE","path":"/partner/devices/:id","tags":["partner"],"summary":"Remove a paired install","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /workspaces/:id/managed":{"method":"GET","path":"/workspaces/:id/managed","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /workspaces/:id/managed/acknowledge":{"method":"POST","path":"/workspaces/:id/managed/acknowledge","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /workspace/tool-goals":{"method":"GET","path":"/workspace/tool-goals","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /workspace/tool-goals/:toolKey":{"method":"PUT","path":"/workspace/tool-goals/:toolKey","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"toolKey","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /workspace/tool-goals/:toolKey":{"method":"DELETE","path":"/workspace/tool-goals/:toolKey","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"toolKey","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /workspace/tool-goals/:toolKey/preview":{"method":"POST","path":"/workspace/tool-goals/:toolKey/preview","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"toolKey","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /labs/feed":{"method":"GET","path":"/labs/feed","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /labs/feed/:id":{"method":"GET","path":"/labs/feed/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /labs/feed/:id/like":{"method":"POST","path":"/labs/feed/:id/like","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /risk-evaluator/sessions":{"method":"POST","path":"/risk-evaluator/sessions","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /risk-evaluator/sessions":{"method":"GET","path":"/risk-evaluator/sessions","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /risk-evaluator/sessions/:id":{"method":"GET","path":"/risk-evaluator/sessions/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /risk-evaluator/sessions/:id":{"method":"DELETE","path":"/risk-evaluator/sessions/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /risk-evaluator/sessions/:id/goal":{"method":"PATCH","path":"/risk-evaluator/sessions/:id/goal","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /risk-evaluator/sessions/:id/generate":{"method":"POST","path":"/risk-evaluator/sessions/:id/generate","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /risk-evaluator/sessions/:id/events":{"method":"POST","path":"/risk-evaluator/sessions/:id/events","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /risk-evaluator/sessions/:id/select":{"method":"POST","path":"/risk-evaluator/sessions/:id/select","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /risk-evaluator/sessions/:id/recompute":{"method":"POST","path":"/risk-evaluator/sessions/:id/recompute","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /risk-evaluator/sessions/:id/nodes/:nodeId/expand":{"method":"POST","path":"/risk-evaluator/sessions/:id/nodes/:nodeId/expand","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"nodeId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /risk-evaluator/sessions/:id/recommend":{"method":"POST","path":"/risk-evaluator/sessions/:id/recommend","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /risk-evaluator/sessions/:id/nodes/:nodeId/annotate":{"method":"PATCH","path":"/risk-evaluator/sessions/:id/nodes/:nodeId/annotate","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"nodeId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /risk-evaluator/sessions/:id/correct":{"method":"POST","path":"/risk-evaluator/sessions/:id/correct","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /risk-evaluator/sessions/:id/nodes/:nodeId":{"method":"DELETE","path":"/risk-evaluator/sessions/:id/nodes/:nodeId","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"nodeId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /risk-evaluator/sessions/:id/nodes/:nodeId":{"method":"PATCH","path":"/risk-evaluator/sessions/:id/nodes/:nodeId","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"nodeId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /risk-evaluator/sessions/:id/nodes/:nodeId/debate":{"method":"POST","path":"/risk-evaluator/sessions/:id/nodes/:nodeId/debate","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"nodeId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /risk-evaluator/sessions/:id/nodes/:nodeId/comment":{"method":"POST","path":"/risk-evaluator/sessions/:id/nodes/:nodeId/comment","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"nodeId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /risk-evaluator/sessions/:id/edges/:edgeId/comment":{"method":"POST","path":"/risk-evaluator/sessions/:id/edges/:edgeId/comment","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"edgeId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /risk-evaluator/sessions/:id/share":{"method":"POST","path":"/risk-evaluator/sessions/:id/share","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /risk-evaluator/sessions/:id/share":{"method":"DELETE","path":"/risk-evaluator/sessions/:id/share","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /risk-evaluator/sessions/:id/export/d3":{"method":"GET","path":"/risk-evaluator/sessions/:id/export/d3","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /risk-evaluator/sessions/:id/export/json":{"method":"GET","path":"/risk-evaluator/sessions/:id/export/json","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /user/modules":{"method":"GET","path":"/user/modules","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /user/modules":{"method":"PUT","path":"/user/modules","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/stats":{"method":"GET","path":"/admin/stats","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/users":{"method":"GET","path":"/admin/users","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/users":{"method":"POST","path":"/admin/users","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /admin/users/:id":{"method":"PATCH","path":"/admin/users/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /admin/users/:id":{"method":"DELETE","path":"/admin/users/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/revenue":{"method":"GET","path":"/admin/revenue","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/partner-pricing":{"method":"GET","path":"/admin/partner-pricing","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /admin/partner-pricing":{"method":"PUT","path":"/admin/partner-pricing","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/partners":{"method":"GET","path":"/admin/partners","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /admin/partners/:id/billing-exempt":{"method":"PATCH","path":"/admin/partners/:id/billing-exempt","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/partners/:id/invoices":{"method":"GET","path":"/admin/partners/:id/invoices","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/partners/:id/invoices":{"method":"POST","path":"/admin/partners/:id/invoices","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /admin/partners/:id/invoices/:invoiceId":{"method":"PATCH","path":"/admin/partners/:id/invoices/:invoiceId","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"invoiceId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/ai-settings":{"method":"GET","path":"/admin/ai-settings","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /admin/ai-settings":{"method":"PUT","path":"/admin/ai-settings","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/server-settings":{"method":"GET","path":"/admin/server-settings","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /admin/server-settings":{"method":"PUT","path":"/admin/server-settings","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/server-settings/test-email":{"method":"POST","path":"/admin/server-settings/test-email","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/modules/enable-all":{"method":"POST","path":"/admin/modules/enable-all","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/ollama/models":{"method":"GET","path":"/admin/ollama/models","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/ollama/health":{"method":"GET","path":"/admin/ollama/health","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/ollama/pull":{"method":"POST","path":"/admin/ollama/pull","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /admin/ollama/models/:name":{"method":"DELETE","path":"/admin/ollama/models/:name","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"name","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/tables":{"method":"GET","path":"/admin/tables","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/tables/:table":{"method":"GET","path":"/admin/tables/:table","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"table","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/labs-feed":{"method":"GET","path":"/admin/labs-feed","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/labs-feed":{"method":"POST","path":"/admin/labs-feed","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /admin/labs-feed/:id":{"method":"PATCH","path":"/admin/labs-feed/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /admin/labs-feed/:id":{"method":"DELETE","path":"/admin/labs-feed/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/labs-feed/:id/notify":{"method":"POST","path":"/admin/labs-feed/:id/notify","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/email/verify":{"method":"GET","path":"/admin/email/verify","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/tokens/stats":{"method":"GET","path":"/admin/tokens/stats","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/tokens/ledger":{"method":"GET","path":"/admin/tokens/ledger","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/tokens/adjust":{"method":"POST","path":"/admin/tokens/adjust","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /admin/tables/:table/:id":{"method":"PATCH","path":"/admin/tables/:table/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"table","required":true},{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /audit-logs":{"method":"GET","path":"/audit-logs","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /audit-logs.csv":{"method":"GET","path":"/audit-logs.csv","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /audit-logs/agents":{"method":"GET","path":"/audit-logs/agents","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/audit-logs":{"method":"GET","path":"/admin/audit-logs","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/audit-logs.csv":{"method":"GET","path":"/admin/audit-logs.csv","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/audit-logs/agents":{"method":"GET","path":"/admin/audit-logs/agents","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /sim-engine/simulations":{"method":"POST","path":"/sim-engine/simulations","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /sim-engine/simulations":{"method":"GET","path":"/sim-engine/simulations","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /sim-engine/simulations/:id":{"method":"GET","path":"/sim-engine/simulations/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /sim-engine/simulations/:id":{"method":"DELETE","path":"/sim-engine/simulations/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /sim-engine/simulations/:id/goal":{"method":"PATCH","path":"/sim-engine/simulations/:id/goal","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /sim-engine/custom-suggest":{"method":"POST","path":"/sim-engine/custom-suggest","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /sim-engine/simulations/:id/scenarios":{"method":"POST","path":"/sim-engine/simulations/:id/scenarios","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /sim-engine/simulations/:id/scenarios/:sid":{"method":"PATCH","path":"/sim-engine/simulations/:id/scenarios/:sid","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"sid","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /sim-engine/simulations/:id/scenarios/:sid":{"method":"DELETE","path":"/sim-engine/simulations/:id/scenarios/:sid","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"sid","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /sim-engine/simulations/:id/advance":{"method":"POST","path":"/sim-engine/simulations/:id/advance","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /sim-engine/simulations/:id/advance/stream":{"method":"POST","path":"/sim-engine/simulations/:id/advance/stream","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /sim-engine/simulations/:id/states":{"method":"GET","path":"/sim-engine/simulations/:id/states","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /sim-engine/simulations/:id/states/:stateId":{"method":"GET","path":"/sim-engine/simulations/:id/states/:stateId","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"stateId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /sim-engine/simulations/:id/branch":{"method":"POST","path":"/sim-engine/simulations/:id/branch","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /sim-engine/simulations/:id/apply-decision":{"method":"POST","path":"/sim-engine/simulations/:id/apply-decision","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /sim-engine/simulations/:id/compare":{"method":"GET","path":"/sim-engine/simulations/:id/compare","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /sim-engine/simulations/:id/finish":{"method":"POST","path":"/sim-engine/simulations/:id/finish","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /sim-engine/simulations/:id/finish/stream":{"method":"POST","path":"/sim-engine/simulations/:id/finish/stream","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /sim-engine/simulations/:id/report":{"method":"GET","path":"/sim-engine/simulations/:id/report","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /sim-engine/simulations/:id/share":{"method":"POST","path":"/sim-engine/simulations/:id/share","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /sim-engine/simulations/:id/share":{"method":"DELETE","path":"/sim-engine/simulations/:id/share","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /sim-engine/live-world-params":{"method":"GET","path":"/sim-engine/live-world-params","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /sim-engine/company-baseline/from-stripe":{"method":"GET","path":"/sim-engine/company-baseline/from-stripe","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /sim-engine/capabilities":{"method":"GET","path":"/sim-engine/capabilities","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /network-analyzer/connect/linkedin":{"method":"GET","path":"/network-analyzer/connect/linkedin","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /network-analyzer/callback/linkedin":{"method":"GET","path":"/network-analyzer/callback/linkedin","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /network-analyzer/connections/linkedin":{"method":"DELETE","path":"/network-analyzer/connections/linkedin","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /network-analyzer/sync/linkedin":{"method":"POST","path":"/network-analyzer/sync/linkedin","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /network-analyzer/data/linkedin":{"method":"GET","path":"/network-analyzer/data/linkedin","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /network-analyzer/analyze":{"method":"POST","path":"/network-analyzer/analyze","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /network-analyzer/analyses":{"method":"GET","path":"/network-analyzer/analyses","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /network-analyzer/rules":{"method":"GET","path":"/network-analyzer/rules","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /network-analyzer/rules":{"method":"POST","path":"/network-analyzer/rules","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /network-analyzer/rules/:id":{"method":"PUT","path":"/network-analyzer/rules/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /network-analyzer/rules/:id":{"method":"DELETE","path":"/network-analyzer/rules/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /network-analyzer/posts/generate":{"method":"POST","path":"/network-analyzer/posts/generate","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /network-analyzer/posts":{"method":"GET","path":"/network-analyzer/posts","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /network-analyzer/posts/:id/validate":{"method":"PUT","path":"/network-analyzer/posts/:id/validate","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /network-analyzer/posts/:id/reject":{"method":"PUT","path":"/network-analyzer/posts/:id/reject","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /network-analyzer/posts/:id/publish":{"method":"POST","path":"/network-analyzer/posts/:id/publish","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /network-analyzer/statistics/linkedin":{"method":"GET","path":"/network-analyzer/statistics/linkedin","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /network-analyzer/predictions":{"method":"POST","path":"/network-analyzer/predictions","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /network-analyzer/predictions/latest":{"method":"GET","path":"/network-analyzer/predictions/latest","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /synapse/playground":{"method":"POST","path":"/synapse/playground","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /synapse/logs":{"method":"GET","path":"/synapse/logs","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /synapse/analytics":{"method":"GET","path":"/synapse/analytics","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /engine/proofs/:id":{"method":"GET","path":"/engine/proofs/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /engine/proofs/:id/verify":{"method":"GET","path":"/engine/proofs/:id/verify","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /engine/status":{"method":"GET","path":"/engine/status","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /engine/nodes":{"method":"GET","path":"/engine/nodes","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /engine/nodes/:id/admit":{"method":"POST","path":"/engine/nodes/:id/admit","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /engine/nodes/:id/provision":{"method":"POST","path":"/engine/nodes/:id/provision","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /engine/nodes/:id":{"method":"DELETE","path":"/engine/nodes/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /engine/advice":{"method":"GET","path":"/engine/advice","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /engine/model":{"method":"GET","path":"/engine/model","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /engine/model":{"method":"PUT","path":"/engine/model","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /engine/sovereignty":{"method":"GET","path":"/engine/sovereignty","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /engine/providers":{"method":"GET","path":"/engine/providers","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /engine/providers/policy":{"method":"PUT","path":"/engine/providers/policy","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /engine/node-types":{"method":"GET","path":"/engine/node-types","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /engine/reflex/status":{"method":"GET","path":"/engine/reflex/status","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /engine/flows":{"method":"GET","path":"/engine/flows","tags":["reflex"],"summary":"List flows","description":"Every flow of the workspace with its graph and triggers.","parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /engine/flows":{"method":"POST","path":"/engine/flows","tags":["reflex"],"summary":"Create a flow","description":"Creates an empty flow. Outbound nodes (mail, HTTP) always need a human approval step in front of them.","parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /engine/flow-templates":{"method":"GET","path":"/engine/flow-templates","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /engine/flows/from-template":{"method":"POST","path":"/engine/flows/from-template","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /engine/flows/:id":{"method":"GET","path":"/engine/flows/:id","tags":["reflex"],"summary":"Get a flow","description":"One flow with nodes, edges, triggers and validation issues.","parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /engine/flows/:id":{"method":"PATCH","path":"/engine/flows/:id","tags":["reflex"],"summary":"Update a flow","description":"Name, schedule settings, enabled state. Allowing unattended outbound requires a signed-in person and is refused for API keys.","parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /engine/flows/:id":{"method":"DELETE","path":"/engine/flows/:id","tags":["reflex"],"summary":"Delete a flow","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /engine/flows/:id/graph":{"method":"PUT","path":"/engine/flows/:id/graph","tags":["reflex"],"summary":"Replace a flow graph","description":"Saves nodes and edges; the graph is validated before it is accepted.","parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /engine/flows/:id/run":{"method":"POST","path":"/engine/flows/:id/run","tags":["reflex"],"summary":"Run a flow now","description":"Starts a manual run and returns the run to follow.","parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /engine/flows/:id/webhook":{"method":"POST","path":"/engine/flows/:id/webhook","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /engine/flows/:id/runs":{"method":"GET","path":"/engine/flows/:id/runs","tags":["reflex"],"summary":"List runs of a flow","description":"Run history, most recent first.","parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /engine/runs/:runId":{"method":"GET","path":"/engine/runs/:runId","tags":["reflex"],"summary":"Get a run","description":"Status and per-node results of one run.","parameters":[{"schema":{"type":"string"},"in":"path","name":"runId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /engine/runs/:runId/resume":{"method":"POST","path":"/engine/runs/:runId/resume","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"runId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /engine/runs/:runId/cancel":{"method":"POST","path":"/engine/runs/:runId/cancel","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"runId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /engine/runs/:runId/stream":{"method":"GET","path":"/engine/runs/:runId/stream","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"runId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /engine/approvals":{"method":"GET","path":"/engine/approvals","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /engine/approvals/:id/decide":{"method":"POST","path":"/engine/approvals/:id/decide","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /engine/approvals/:id/claim":{"method":"POST","path":"/engine/approvals/:id/claim","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /engine/reflex/sources":{"method":"GET","path":"/engine/reflex/sources","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /engine/channels":{"method":"GET","path":"/engine/channels","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /engine/channels":{"method":"POST","path":"/engine/channels","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /engine/channels/:id":{"method":"PATCH","path":"/engine/channels/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /engine/channels/:id":{"method":"DELETE","path":"/engine/channels/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /engine/channels/:id/test":{"method":"POST","path":"/engine/channels/:id/test","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /engine/connections":{"method":"GET","path":"/engine/connections","tags":["reflex"],"summary":"List connections","description":"Services registered for flows. Header values are never returned.","parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /engine/connections":{"method":"POST","path":"/engine/connections","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /engine/connections/:id":{"method":"PATCH","path":"/engine/connections/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /engine/connections/:id":{"method":"DELETE","path":"/engine/connections/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /engine/connections/:id/test":{"method":"POST","path":"/engine/connections/:id/test","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /engine/reflex/decide":{"method":"GET","path":"/engine/reflex/decide","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /engine/reflex/inbox":{"method":"GET","path":"/engine/reflex/inbox","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /push/config":{"method":"GET","path":"/push/config","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /push/subscribe":{"method":"POST","path":"/push/subscribe","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /push/devices":{"method":"GET","path":"/push/devices","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /push/devices/:id/prefs":{"method":"PUT","path":"/push/devices/:id/prefs","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /push/devices/:id":{"method":"DELETE","path":"/push/devices/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /copilot/plan":{"method":"POST","path":"/copilot/plan","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /copilot/plans/:id":{"method":"GET","path":"/copilot/plans/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /copilot/plans/:id/validate":{"method":"POST","path":"/copilot/plans/:id/validate","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /copilot/plans/:id/execute":{"method":"POST","path":"/copilot/plans/:id/execute","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /copilot/plans/:id/undo":{"method":"POST","path":"/copilot/plans/:id/undo","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /engine/pending-actions":{"method":"GET","path":"/engine/pending-actions","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /engine/pending-actions/:id/decide":{"method":"POST","path":"/engine/pending-actions/:id/decide","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /workspace/mail-connectors/:id/smtp":{"method":"GET","path":"/workspace/mail-connectors/:id/smtp","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /workspace/mail-connectors/:id/smtp":{"method":"PATCH","path":"/workspace/mail-connectors/:id/smtp","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /workspace/mail-connectors/:id/smtp-test":{"method":"POST","path":"/workspace/mail-connectors/:id/smtp-test","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/mail-connectors/:id/smtp":{"method":"GET","path":"/admin/mail-connectors/:id/smtp","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /admin/mail-connectors/:id/smtp":{"method":"PATCH","path":"/admin/mail-connectors/:id/smtp","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/mail-connectors/:id/smtp-test":{"method":"POST","path":"/admin/mail-connectors/:id/smtp-test","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /engine/activity/daily":{"method":"GET","path":"/engine/activity/daily","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /agent-chat/sessions":{"method":"GET","path":"/agent-chat/sessions","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /agent-chat/message/stream":{"method":"POST","path":"/agent-chat/message/stream","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /wireframer/projects":{"method":"GET","path":"/wireframer/projects","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /wireframer/projects":{"method":"POST","path":"/wireframer/projects","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /wireframer/projects/:id":{"method":"GET","path":"/wireframer/projects/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PUT /wireframer/projects/:id":{"method":"PUT","path":"/wireframer/projects/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /wireframer/projects/:id":{"method":"DELETE","path":"/wireframer/projects/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /wireframer/projects/:id/messages":{"method":"GET","path":"/wireframer/projects/:id/messages","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /wireframer/projects/:id/export":{"method":"POST","path":"/wireframer/projects/:id/export","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /wireframer/assist/edit":{"method":"POST","path":"/wireframer/assist/edit","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /wireframer/assist/stream":{"method":"POST","path":"/wireframer/assist/stream","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /public/share/debate/:token":{"method":"GET","path":"/public/share/debate/:token","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"token","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /public/share/report/:token":{"method":"GET","path":"/public/share/report/:token","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"token","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /public/share/risk-session/:token":{"method":"GET","path":"/public/share/risk-session/:token","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"token","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /referral/stats":{"method":"GET","path":"/referral/stats","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /feedback":{"method":"POST","path":"/feedback","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/feedback":{"method":"GET","path":"/admin/feedback","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /admin/feedback/:id":{"method":"PATCH","path":"/admin/feedback/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /admin/feedback/:id":{"method":"DELETE","path":"/admin/feedback/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /contact":{"method":"POST","path":"/contact","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /newsletter/subscribe":{"method":"POST","path":"/newsletter/subscribe","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /newsletter/confirm":{"method":"POST","path":"/newsletter/confirm","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /newsletter/unsubscribe":{"method":"GET","path":"/newsletter/unsubscribe","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /newsletter/unsubscribe":{"method":"POST","path":"/newsletter/unsubscribe","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /newsletter/unsubscribe/one-click":{"method":"POST","path":"/newsletter/unsubscribe/one-click","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /newsletter/editions":{"method":"GET","path":"/newsletter/editions","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /newsletter/editions/:slug":{"method":"GET","path":"/newsletter/editions/:slug","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"slug","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/newsletter/subscribers":{"method":"GET","path":"/admin/newsletter/subscribers","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/newsletter/subscribers":{"method":"POST","path":"/admin/newsletter/subscribers","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/newsletter/subscribers/export":{"method":"GET","path":"/admin/newsletter/subscribers/export","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /admin/newsletter/subscribers/:id":{"method":"PATCH","path":"/admin/newsletter/subscribers/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /admin/newsletter/subscribers/:id":{"method":"DELETE","path":"/admin/newsletter/subscribers/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/newsletter/campaigns":{"method":"GET","path":"/admin/newsletter/campaigns","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/newsletter/campaigns":{"method":"POST","path":"/admin/newsletter/campaigns","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/newsletter/campaigns/:id":{"method":"GET","path":"/admin/newsletter/campaigns/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /admin/newsletter/campaigns/:id":{"method":"PATCH","path":"/admin/newsletter/campaigns/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /admin/newsletter/campaigns/:id":{"method":"DELETE","path":"/admin/newsletter/campaigns/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /admin/newsletter/campaigns/:id/archive":{"method":"PATCH","path":"/admin/newsletter/campaigns/:id/archive","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/newsletter/campaigns/:id/schedule":{"method":"POST","path":"/admin/newsletter/campaigns/:id/schedule","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/newsletter/campaigns/:id/unschedule":{"method":"POST","path":"/admin/newsletter/campaigns/:id/unschedule","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/newsletter/campaigns/:id/send-now":{"method":"POST","path":"/admin/newsletter/campaigns/:id/send-now","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/newsletter/campaigns/:id/cancel":{"method":"POST","path":"/admin/newsletter/campaigns/:id/cancel","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/newsletter/campaigns/:id/test":{"method":"POST","path":"/admin/newsletter/campaigns/:id/test","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/newsletter/campaigns/:id/preview":{"method":"GET","path":"/admin/newsletter/campaigns/:id/preview","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /public/certificate/verify":{"method":"POST","path":"/public/certificate/verify","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /public/verify-text":{"method":"POST","path":"/public/verify-text","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /analytics/pageview":{"method":"POST","path":"/analytics/pageview","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /analytics/pageview/:id/duration":{"method":"PATCH","path":"/analytics/pageview/:id/duration","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /analytics/public-pageview":{"method":"POST","path":"/analytics/public-pageview","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /analytics/public-pageview/:id/duration":{"method":"PATCH","path":"/analytics/public-pageview/:id/duration","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/analytics/stats":{"method":"GET","path":"/admin/analytics/stats","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /developer/api-keys":{"method":"POST","path":"/developer/api-keys","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /developer/api-keys":{"method":"GET","path":"/developer/api-keys","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /developer/api-keys/:id":{"method":"PATCH","path":"/developer/api-keys/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /developer/api-keys/:id":{"method":"DELETE","path":"/developer/api-keys/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /developer/webhooks":{"method":"GET","path":"/developer/webhooks","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /developer/webhooks":{"method":"POST","path":"/developer/webhooks","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"DELETE /developer/webhooks/:id":{"method":"DELETE","path":"/developer/webhooks/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /developer/webhooks/:id/test":{"method":"POST","path":"/developer/webhooks/:id/test","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /developer/webhooks/:id/deliveries":{"method":"GET","path":"/developer/webhooks/:id/deliveries","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /developer/usage":{"method":"GET","path":"/developer/usage","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /v1/webhooks":{"method":"POST","path":"/v1/webhooks","tags":["webhooks"],"summary":"Register a webhook","description":null,"parameters":[],"requestBody":{"type":"object","required":["url","events"],"properties":{"url":{"type":"string","description":"HTTPS endpoint to receive events"},"events":{"type":"array","items":{"type":"string","enum":["debate.synthesized","simulation.tick.completed","simulation.report.ready","source.ingested","source.failed","knowledge.contradiction_detected","knowledge.stale","flow.run.finished","flow.approval.requested","webhook.test"]},"minItems":1},"description":{"type":"string"}}},"responses":{"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"webhook":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"description":{"type":"string","nullable":true},"isActive":{"type":"boolean"},"secretPreview":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"secret":{"type":"string"}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"GET /v1/webhooks":{"method":"GET","path":"/v1/webhooks","tags":["webhooks"],"summary":"List webhooks","description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"webhooks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"description":{"type":"string","nullable":true},"isActive":{"type":"boolean"},"secretPreview":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}}}}}}}}}}},"GET /v1/webhooks/:id":{"method":"GET","path":"/v1/webhooks/:id","tags":["webhooks"],"summary":"Get a webhook","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"webhook":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"description":{"type":"string","nullable":true},"isActive":{"type":"boolean"},"secretPreview":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}}}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"PUT /v1/webhooks/:id":{"method":"PUT","path":"/v1/webhooks/:id","tags":["webhooks"],"summary":"Update a webhook","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":{"type":"object","properties":{"url":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"description":{"type":"string"},"isActive":{"type":"boolean"}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"webhook":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"description":{"type":"string","nullable":true},"isActive":{"type":"boolean"},"secretPreview":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}}}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"DELETE /v1/webhooks/:id":{"method":"DELETE","path":"/v1/webhooks/:id","tags":["webhooks"],"summary":"Delete a webhook","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"204":{"description":"Default Response"},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"GET /v1/webhooks/:id/deliveries":{"method":"GET","path":"/v1/webhooks/:id/deliveries","tags":["webhooks"],"summary":"List webhook delivery attempts","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"deliveries":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"event":{"type":"string"},"statusCode":{"type":"number","nullable":true},"responseBody":{"type":"string","nullable":true},"success":{"type":"boolean"},"retryCount":{"type":"number"},"deliveredAt":{"type":"string","nullable":true},"nextRetryAt":{"type":"string","nullable":true,"description":"When the next automatic retry is due; null once delivered or given up."},"createdAt":{"type":"string"}}}}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"POST /v1/webhooks/:id/deliveries/:deliveryId/replay":{"method":"POST","path":"/v1/webhooks/:id/deliveries/:deliveryId/replay","tags":["webhooks"],"summary":"Replay a delivery","description":"Sends the stored payload again with the same delivery id, so a receiver that deduplicates by X-PulseLabs-Delivery sees a repeat. Failed deliveries are also retried automatically (after 5 min, 30 min, 2 h, 12 h).","parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"deliveryId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /v1/webhooks/:id/test":{"method":"POST","path":"/v1/webhooks/:id/test","tags":["webhooks"],"summary":"Send a test event to a webhook","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"statusCode":{"type":"number","nullable":true}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"POST /v1/conversations":{"method":"POST","path":"/v1/conversations","tags":["conversations"],"summary":"Create a conversation","description":null,"parameters":[],"requestBody":{"type":"object","required":["title"],"properties":{"title":{"type":"string","minLength":1}}},"responses":{"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"conversation":{"type":"object","additionalProperties":true}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"GET /v1/conversations":{"method":"GET","path":"/v1/conversations","tags":["conversations"],"summary":"List conversations","description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"conversations":{"type":"array","items":{"type":"object","additionalProperties":true}}}}}}}}},"GET /v1/conversations/:id":{"method":"GET","path":"/v1/conversations/:id","tags":["conversations"],"summary":"Get a conversation with messages","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"conversation":{"type":"object","additionalProperties":true}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"DELETE /v1/conversations/:id":{"method":"DELETE","path":"/v1/conversations/:id","tags":["conversations"],"summary":"Delete a conversation","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"204":{"description":"Default Response"},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"POST /v1/conversations/:id/message":{"method":"POST","path":"/v1/conversations/:id/message","tags":["conversations"],"summary":"Send a message and run the multi-agent debate","description":"Triggers a full multi-round debate between agent personas and returns the synthesis.","parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":{"type":"object","required":["content"],"properties":{"content":{"type":"string","minLength":1}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"synthesis":{"type":"object","additionalProperties":true},"totalRounds":{"type":"number"},"tokenUsage":{"type":"object","additionalProperties":true}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"GET /v1/agents":{"method":"GET","path":"/v1/agents","tags":["agents"],"summary":"List agent personas","description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"agents":{"type":"array","items":{"type":"object","additionalProperties":true}}}}}}}}},"POST /v1/agents":{"method":"POST","path":"/v1/agents","tags":["agents"],"summary":"Create an agent persona","description":null,"parameters":[],"requestBody":{"type":"object","required":["name","role","personality","mission","decisionStyle","systemPrompt"],"properties":{"name":{"type":"string"},"role":{"type":"string"},"personality":{"type":"string"},"mission":{"type":"string"},"decisionStyle":{"type":"string"},"systemPrompt":{"type":"string"},"isDevilsAdvocate":{"type":"boolean"}}},"responses":{"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"agent":{"type":"object","additionalProperties":true}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"PUT /v1/agents/:id":{"method":"PUT","path":"/v1/agents/:id","tags":["agents"],"summary":"Update an agent persona","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":{"type":"object","properties":{"name":{"type":"string"},"role":{"type":"string"},"personality":{"type":"string"},"mission":{"type":"string"},"decisionStyle":{"type":"string"},"systemPrompt":{"type":"string"},"isDevilsAdvocate":{"type":"boolean"}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"agent":{"type":"object","additionalProperties":true}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"DELETE /v1/agents/:id":{"method":"DELETE","path":"/v1/agents/:id","tags":["agents"],"summary":"Delete an agent persona","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"204":{"description":"Default Response"},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"GET /v1/agents/:id/memory":{"method":"GET","path":"/v1/agents/:id/memory","tags":["agents"],"summary":"List agent memories","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"memory":{"type":"array","items":{"type":"object","additionalProperties":true}}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"POST /v1/agents/:id/memory":{"method":"POST","path":"/v1/agents/:id/memory","tags":["agents"],"summary":"Add a memory to an agent","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":{"type":"object","required":["key","value"],"properties":{"key":{"type":"string"},"value":{"type":"string"}}},"responses":{"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"memory":{"type":"object","additionalProperties":true}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"DELETE /v1/agents/:id/memory/:memoryId":{"method":"DELETE","path":"/v1/agents/:id/memory/:memoryId","tags":["agents"],"summary":"Delete an agent memory","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"memoryId","required":true}],"requestBody":null,"responses":{"204":{"description":"Default Response"},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"POST /v1/knowledge-sources":{"method":"POST","path":"/v1/knowledge-sources","tags":["knowledge"],"summary":"Ingest a knowledge source","description":"Ingests raw text or a public URL through the Cortex pipeline (structural chunking, contextual embedding, fact extraction, health QA generation). Processing is asynchronous — poll the source until status is \"ready\". Optionally links it to one or more agents so they can retrieve from it during chat.","parameters":[],"requestBody":{"type":"object","properties":{"name":{"type":"string","description":"Required with content; defaults to the URL for url ingestion."},"description":{"type":"string"},"content":{"type":"string","minLength":1,"description":"Raw text content to ingest."},"url":{"type":"string","description":"Public http(s) page or document URL to fetch and ingest (alternative to content)."},"agentIds":{"type":"array","items":{"type":"string"},"description":"Agent persona IDs to link this source to."},"collectionId":{"type":"string","description":"Collection (\"client file\") to file this source under."},"contextualize":{"type":"boolean","description":"Generate per-chunk context lines (default true)."},"extractFacts":{"type":"boolean","description":"Extract atomic facts + detect contradictions (default true)."},"generateQa":{"type":"boolean","description":"Generate health-check QA pairs (default true)."}}},"responses":{"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"GET /v1/knowledge-sources":{"method":"GET","path":"/v1/knowledge-sources","tags":["knowledge"],"summary":"List knowledge sources","description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"sources":{"type":"array","items":{"type":"object","additionalProperties":true}}}}}}}}},"POST /v1/knowledge-sources/upload":{"method":"POST","path":"/v1/knowledge-sources/upload","tags":["knowledge"],"summary":"Upload and ingest a file","description":"multipart/form-data with a `file` part (PDF, DOCX, XLSX, PPTX, CSV, EML, images for OCR, …) plus optional fields: name, description, collectionId, collectionName (created if missing — the desktop agent files a subfolder this way), metadata (JSON), agentIds (JSON array), contextualize (\"false\" to skip). 25 MB max. Identical content already in the workspace returns status \"duplicate\" instead of re-ingesting.","parameters":[],"requestBody":null,"responses":{"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"},"duplicateOf":{"type":"string"}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"413":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"GET /v1/knowledge-sources/:id":{"method":"GET","path":"/v1/knowledge-sources/:id","tags":["knowledge"],"summary":"Get a knowledge source","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"object","additionalProperties":true}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"DELETE /v1/knowledge-sources/:id":{"method":"DELETE","path":"/v1/knowledge-sources/:id","tags":["knowledge"],"summary":"Delete a knowledge source","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"204":{"description":"Default Response"},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"POST /v1/agents/:id/knowledge-sources/:sourceId":{"method":"POST","path":"/v1/agents/:id/knowledge-sources/:sourceId","tags":["knowledge"],"summary":"Link a knowledge source to an agent","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"sourceId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"agent":{"type":"object","additionalProperties":true}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"DELETE /v1/agents/:id/knowledge-sources/:sourceId":{"method":"DELETE","path":"/v1/agents/:id/knowledge-sources/:sourceId","tags":["knowledge"],"summary":"Unlink a knowledge source from an agent","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"sourceId","required":true}],"requestBody":null,"responses":{"204":{"description":"Default Response"},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"POST /v1/knowledge/query":{"method":"POST","path":"/v1/knowledge/query","tags":["knowledge"],"summary":"Query the knowledge base","description":"Runs the full Cortex retrieval pipeline (query expansion, hybrid vector+FTS search, RRF fusion, guarded LLM rerank) and returns the matches plus a retrieval trace explaining why each chunk matched.","parameters":[],"requestBody":{"type":"object","required":["query"],"properties":{"query":{"type":"string","minLength":1},"topK":{"type":"number","minimum":1,"maximum":20},"agentId":{"type":"string","description":"Restrict to sources linked to this agent."},"expand":{"type":"boolean","description":"Decompose compound queries (default true)."},"rerank":{"type":"boolean","description":"LLM rerank of fused candidates (default true)."}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"matches":{"type":"array","items":{"type":"object","additionalProperties":true}},"trace":{"type":"object","additionalProperties":true}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"GET /v1/knowledge/facts":{"method":"GET","path":"/v1/knowledge/facts","tags":["knowledge"],"summary":"List extracted facts","description":"Atomic factual claims extracted at ingestion, with provenance (source + chunk), typed entities, validity windows, and status (active | disputed | stale | retired).","parameters":[{"schema":{"type":"string"},"in":"query","name":"status","required":false},{"schema":{"type":"string"},"in":"query","name":"sourceId","required":false},{"schema":{"type":"string"},"in":"query","name":"q","required":false,"description":"Substring filter on the statement."}],"requestBody":null,"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"facts":{"type":"array","items":{"type":"object","additionalProperties":true}}}}}}}}},"GET /v1/knowledge/contradictions":{"method":"GET","path":"/v1/knowledge/contradictions","tags":["knowledge"],"summary":"List contradictions","description":"Cross-source factual conflicts detected at ingestion. Filter with ?status=open for the review queue.","parameters":[{"schema":{"type":"string"},"in":"query","name":"status","required":false}],"requestBody":null,"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"contradictions":{"type":"array","items":{"type":"object","additionalProperties":true}}}}}}}}},"POST /v1/knowledge/contradictions/:id/resolve":{"method":"POST","path":"/v1/knowledge/contradictions/:id/resolve","tags":["knowledge"],"summary":"Resolve a contradiction","description":"keep_a retires fact B, keep_b retires fact A, both marks both facts active, dismiss closes the contradiction without changes.","parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":{"type":"object","required":["action"],"properties":{"action":{"type":"string","enum":["keep_a","keep_b","both","dismiss"]},"note":{"type":"string"}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"contradiction":{"type":"object","additionalProperties":true}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"GET /v1/knowledge/health":{"method":"GET","path":"/v1/knowledge/health","tags":["knowledge"],"summary":"Knowledge health score","description":"Per-workspace health: answerable rate from the QA replay harness (70%) blended with corpus hygiene — open contradictions, stale facts, failed sources (30%).","parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}}}},"POST /v1/knowledge/health/replay":{"method":"POST","path":"/v1/knowledge/health/replay","tags":["knowledge"],"summary":"Replay health checks now","description":"Re-runs every stored QA pair through retrieval (embeddings + FTS only, no LLM cost) and returns the refreshed health. Also runs automatically once a day.","parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"replay":{"type":"object","additionalProperties":true},"health":{"type":"object","additionalProperties":true}}}}}}}},"POST /v1/tools":{"method":"POST","path":"/v1/tools","tags":["tools"],"summary":"Register a tool","description":"Registers an HTTP endpoint as a callable tool. Agents with this tool linked can request it during chat; Subsidia executes the call (HMAC-signed, like webhooks) and feeds the result back to the model.","parameters":[],"requestBody":{"type":"object","required":["name","description","parameters","url"],"properties":{"name":{"type":"string","description":"Function name exposed to the model. Must be a valid identifier."},"description":{"type":"string","description":"What the tool does and when to call it — shown to the model."},"parameters":{"type":"object","additionalProperties":true,"description":"JSON Schema describing the tool arguments."},"url":{"type":"string","description":"HTTPS endpoint invoked when the tool is called."},"agentIds":{"type":"array","items":{"type":"string"},"description":"Agent persona IDs to link this tool to."}}},"responses":{"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"tool":{"type":"object","additionalProperties":true},"secret":{"type":"string"}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"GET /v1/tools":{"method":"GET","path":"/v1/tools","tags":["tools"],"summary":"List tools","description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"tools":{"type":"array","items":{"type":"object","additionalProperties":true}}}}}}}}},"GET /v1/tools/:id":{"method":"GET","path":"/v1/tools/:id","tags":["tools"],"summary":"Get a tool","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"tool":{"type":"object","additionalProperties":true}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"PUT /v1/tools/:id":{"method":"PUT","path":"/v1/tools/:id","tags":["tools"],"summary":"Update a tool","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"parameters":{"type":"object","additionalProperties":true},"url":{"type":"string"},"isActive":{"type":"boolean"}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"tool":{"type":"object","additionalProperties":true}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"DELETE /v1/tools/:id":{"method":"DELETE","path":"/v1/tools/:id","tags":["tools"],"summary":"Delete a tool","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"204":{"description":"Default Response"},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"POST /v1/agents/:id/tools/:toolId":{"method":"POST","path":"/v1/agents/:id/tools/:toolId","tags":["tools"],"summary":"Link a tool to an agent","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"toolId","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"agent":{"type":"object","additionalProperties":true}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"DELETE /v1/agents/:id/tools/:toolId":{"method":"DELETE","path":"/v1/agents/:id/tools/:toolId","tags":["tools"],"summary":"Unlink a tool from an agent","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"toolId","required":true}],"requestBody":null,"responses":{"204":{"description":"Default Response"},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"POST /v1/agents/:id/sessions":{"method":"POST","path":"/v1/agents/:id/sessions","tags":["agent-chat"],"summary":"Create a chat session for an agent","description":"Creates a new conversation session linked to a specific agent. Pass the returned session id to subsequent chat calls for multi-turn context.","parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":{"type":"object","properties":{"title":{"type":"string","description":"Optional session title. Defaults to \"Chat with <agent name>\"."}}},"responses":{"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"session":{"type":"object","additionalProperties":true}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"GET /v1/agents/:id/sessions":{"method":"GET","path":"/v1/agents/:id/sessions","tags":["agent-chat"],"summary":"List chat sessions for an agent","description":"Returns all sessions (conversations) that contain at least one message from this agent.","parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"sessions":{"type":"array","items":{"type":"object","additionalProperties":true}}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"GET /v1/agents/:id/sessions/:sid":{"method":"GET","path":"/v1/agents/:id/sessions/:sid","tags":["agent-chat"],"summary":"Get a chat session with full message history","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true},{"schema":{"type":"string"},"in":"path","name":"sid","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"session":{"type":"object","additionalProperties":true}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"POST /v1/agents/:id/chat":{"method":"POST","path":"/v1/agents/:id/chat","tags":["agent-chat"],"summary":"Send a message to a single agent","description":"Runs a single-turn or multi-turn conversation with one agent persona. The agent responds in full character using its system prompt, personality, mission, and memories. Supports context injection, fact extraction, and optional reflection (thought process tracing).","parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":{"type":"object","required":["message"],"properties":{"message":{"type":"string","minLength":1,"description":"User message to send to the agent."},"sessionId":{"type":"string","description":"Existing session ID for multi-turn chat. Omit to auto-create a new session."},"context":{"type":"array","description":"Structured context blocks injected into the agent system prompt.","items":{"type":"object","required":["category","data"],"properties":{"category":{"type":"string"},"label":{"type":"string"},"data":{},"priority":{"type":"string","enum":["high","medium","low"]}}}},"extraction":{"type":"object","description":"Configure automatic fact extraction from the user message.","required":["categories"],"properties":{"categories":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Categories to extract (e.g. [\"company_info\", \"decisions\", \"preferences\"])."},"persist":{"type":"boolean","description":"Persist extracted facts to ExtractedData. Defaults to true."}}},"options":{"type":"object","properties":{"reflection":{"type":"boolean","description":"If true, the agent emits a <THINK> reasoning trace before answering. Returned in the \"thoughts\" field."},"temperature":{"type":"number","minimum":0,"maximum":2,"description":"LLM sampling temperature. Defaults to 0.8."},"maxTokens":{"type":"number","minimum":100,"maximum":4000,"description":"Maximum completion tokens. Defaults to 1500."}}},"responseFormat":{"type":"object","description":"Force the agent to respond as structured JSON with specific fields.","required":["type"],"properties":{"type":{"type":"string","enum":["json","text"],"description":"\"json\" forces a structured JSON response. \"text\" is the default prose mode."},"fields":{"type":"object","additionalProperties":{"type":"string"},"description":"Map of field names to descriptions. The agent will populate each field. Example: { \"answer\": \"direct answer\", \"confidence\": \"0–1 score\" }"},"schema":{"type":"string","description":"Free-form schema description as an alternative to fields."}}},"knowledge":{"type":"object","description":"Retrieve relevant chunks from the agent's linked knowledge sources and inject them as context before answering.","properties":{"enabled":{"type":"boolean"},"topK":{"type":"number","minimum":1,"maximum":20,"description":"Number of chunks to retrieve. Defaults to 5."}}},"tools":{"type":"object","description":"Let the agent call its linked tools during this turn. Subsidia executes the calls and feeds results back before producing the final answer.","properties":{"enabled":{"type":"boolean"},"toolIds":{"type":"array","items":{"type":"string"},"description":"Restrict to a subset of the agent's linked tools. Omit to allow all."}}},"consult":{"type":"object","description":"Let the agent consult other agents of the workspace mid-turn. Defaults to on, exactly like the app — set enabled: false for an isolated call.","properties":{"enabled":{"type":"boolean"}}}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"agentId":{"type":"string"},"agentName":{"type":"string"},"agentRole":{"type":"string"},"content":{"type":"string","description":"Raw agent response string. Equal to the JSON text when responseFormat.type is \"json\"."},"contentParsed":{"type":"object","additionalProperties":true,"description":"Parsed JSON object. Only present when responseFormat.type is \"json\" and the response was valid JSON."},"thoughts":{"type":"string","description":"Reasoning trace. When responseFormat.type is 'json', thoughts are extracted from the JSON itself."},"sessionId":{"type":"string","description":"Pass this on subsequent turns for multi-turn context."},"memoriesSaved":{"type":"array","items":{"type":"object","additionalProperties":true}},"extracted":{"type":"array","items":{"type":"object","additionalProperties":true}},"tokenUsage":{"type":"object","additionalProperties":true},"knowledgeUsed":{"type":"array","items":{"type":"object","additionalProperties":true},"description":"Knowledge base chunks used to answer, for citation/transparency."},"toolCalls":{"type":"array","items":{"type":"object","additionalProperties":true},"description":"Tools called during this turn, with arguments and results."}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"402":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"POST /v1/agents/:id/chat/stream":{"method":"POST","path":"/v1/agents/:id/chat/stream","tags":["agent-chat"],"summary":"Send a message to a single agent, streamed","description":"Same as POST /v1/agents/:id/chat, but streams the answer as it is generated. Response is Server-Sent Events (text/event-stream): a \"token\" event per delta, then a final \"done\" event carrying the same fields as the non-streaming response, or an \"error\" event on failure.","parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":{"type":"object","required":["message"],"properties":{"message":{"type":"string","minLength":1,"description":"User message to send to the agent."},"sessionId":{"type":"string","description":"Existing session ID for multi-turn chat. Omit to auto-create a new session."},"context":{"type":"array","description":"Structured context blocks injected into the agent system prompt.","items":{"type":"object","required":["category","data"],"properties":{"category":{"type":"string"},"label":{"type":"string"},"data":{},"priority":{"type":"string","enum":["high","medium","low"]}}}},"extraction":{"type":"object","description":"Configure automatic fact extraction from the user message.","required":["categories"],"properties":{"categories":{"type":"array","items":{"type":"string"},"minItems":1},"persist":{"type":"boolean"}}},"options":{"type":"object","properties":{"reflection":{"type":"boolean"},"temperature":{"type":"number","minimum":0,"maximum":2},"maxTokens":{"type":"number","minimum":100,"maximum":4000}}},"responseFormat":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json","text"]},"fields":{"type":"object","additionalProperties":{"type":"string"}},"schema":{"type":"string"}}},"knowledge":{"type":"object","properties":{"enabled":{"type":"boolean"},"topK":{"type":"number","minimum":1,"maximum":20}}},"tools":{"type":"object","properties":{"enabled":{"type":"boolean"},"toolIds":{"type":"array","items":{"type":"string"}}}},"consult":{"type":"object","description":"Let the agent consult other agents of the workspace mid-turn. Defaults to on, exactly like the app — set enabled: false for an isolated call.","properties":{"enabled":{"type":"boolean"}}}}},"responses":{"200":{"description":"Default Response"}}},"POST /v1/agents/chat":{"method":"POST","path":"/v1/agents/chat","tags":["agent-chat"],"summary":"Send a message and let the system pick the best-fit agent","description":"Like POST /v1/agents/:id/chat but without specifying an agent — a lightweight planning step inspects the message and the workspace's available agent personas, then routes to the single best-fit agent. Falls back to the first available agent if planning is inconclusive.","parameters":[],"requestBody":{"type":"object","required":["message"],"properties":{"message":{"type":"string","minLength":1,"description":"User message to send to the agent."},"sessionId":{"type":"string","description":"Existing session ID for multi-turn chat. Omit to auto-create a new session."},"context":{"type":"array","description":"Structured context blocks injected into the agent system prompt.","items":{"type":"object","required":["category","data"],"properties":{"category":{"type":"string"},"label":{"type":"string"},"data":{},"priority":{"type":"string","enum":["high","medium","low"]}}}},"extraction":{"type":"object","description":"Configure automatic fact extraction from the user message.","required":["categories"],"properties":{"categories":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Categories to extract (e.g. [\"company_info\", \"decisions\", \"preferences\"])."},"persist":{"type":"boolean","description":"Persist extracted facts to ExtractedData. Defaults to true."}}},"options":{"type":"object","properties":{"reflection":{"type":"boolean","description":"If true, the agent emits a <THINK> reasoning trace before answering. Returned in the \"thoughts\" field."},"temperature":{"type":"number","minimum":0,"maximum":2,"description":"LLM sampling temperature. Defaults to 0.8."},"maxTokens":{"type":"number","minimum":100,"maximum":4000,"description":"Maximum completion tokens. Defaults to 1500."}}},"responseFormat":{"type":"object","description":"Force the agent to respond as structured JSON with specific fields.","required":["type"],"properties":{"type":{"type":"string","enum":["json","text"],"description":"\"json\" forces a structured JSON response. \"text\" is the default prose mode."},"fields":{"type":"object","additionalProperties":{"type":"string"},"description":"Map of field names to descriptions. The agent will populate each field. Example: { \"answer\": \"direct answer\", \"confidence\": \"0–1 score\" }"},"schema":{"type":"string","description":"Free-form schema description as an alternative to fields."}}},"knowledge":{"type":"object","description":"Retrieve relevant chunks from the selected agent's linked knowledge sources and inject them as context before answering.","properties":{"enabled":{"type":"boolean"},"topK":{"type":"number","minimum":1,"maximum":20,"description":"Number of chunks to retrieve. Defaults to 5."}}},"tools":{"type":"object","description":"Let the selected agent call its linked tools during this turn. Subsidia executes the calls and feeds results back before producing the final answer.","properties":{"enabled":{"type":"boolean"},"toolIds":{"type":"array","items":{"type":"string"},"description":"Restrict to a subset of the agent's linked tools. Omit to allow all."}}},"consult":{"type":"object","description":"Let the agent consult other agents of the workspace mid-turn. Defaults to on, exactly like the app — set enabled: false for an isolated call.","properties":{"enabled":{"type":"boolean"}}}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"agentId":{"type":"string"},"agentName":{"type":"string"},"agentRole":{"type":"string"},"content":{"type":"string","description":"Raw agent response string. Equal to the JSON text when responseFormat.type is \"json\"."},"contentParsed":{"type":"object","additionalProperties":true,"description":"Parsed JSON object. Only present when responseFormat.type is \"json\" and the response was valid JSON."},"thoughts":{"type":"string","description":"Reasoning trace. When responseFormat.type is 'json', thoughts are extracted from the JSON itself."},"sessionId":{"type":"string","description":"Pass this on subsequent turns for multi-turn context."},"memoriesSaved":{"type":"array","items":{"type":"object","additionalProperties":true}},"extracted":{"type":"array","items":{"type":"object","additionalProperties":true}},"tokenUsage":{"type":"object","additionalProperties":true},"knowledgeUsed":{"type":"array","items":{"type":"object","additionalProperties":true},"description":"Knowledge base chunks used to answer, for citation/transparency."},"toolCalls":{"type":"array","items":{"type":"object","additionalProperties":true},"description":"Tools called during this turn, with arguments and results."}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"402":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"POST /v1/agents/chat/stream":{"method":"POST","path":"/v1/agents/chat/stream","tags":["agent-chat"],"summary":"Send a message and let the system pick the best-fit agent, streamed","description":"Like POST /v1/agents/:id/chat/stream but without specifying an agent — a lightweight planning step inspects the message and the workspace's available agent personas, then routes to the single best-fit agent before streaming its answer.","parameters":[],"requestBody":{"type":"object","required":["message"],"properties":{"message":{"type":"string","minLength":1,"description":"User message to send to the agent."},"sessionId":{"type":"string","description":"Existing session ID for multi-turn chat. Omit to auto-create a new session."},"context":{"type":"array","items":{"type":"object","required":["category","data"],"properties":{"category":{"type":"string"},"label":{"type":"string"},"data":{},"priority":{"type":"string","enum":["high","medium","low"]}}}},"extraction":{"type":"object","required":["categories"],"properties":{"categories":{"type":"array","items":{"type":"string"},"minItems":1},"persist":{"type":"boolean"}}},"options":{"type":"object","properties":{"reflection":{"type":"boolean"},"temperature":{"type":"number","minimum":0,"maximum":2},"maxTokens":{"type":"number","minimum":100,"maximum":4000}}},"responseFormat":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json","text"]},"fields":{"type":"object","additionalProperties":{"type":"string"}},"schema":{"type":"string"}}},"knowledge":{"type":"object","properties":{"enabled":{"type":"boolean"},"topK":{"type":"number","minimum":1,"maximum":20}}},"tools":{"type":"object","properties":{"enabled":{"type":"boolean"},"toolIds":{"type":"array","items":{"type":"string"}}}},"consult":{"type":"object","description":"Let the agent consult other agents of the workspace mid-turn. Defaults to on, exactly like the app — set enabled: false for an isolated call.","properties":{"enabled":{"type":"boolean"}}}}},"responses":{"200":{"description":"Default Response"}}},"POST /v1/postes/:key/run":{"method":"POST","path":"/v1/postes/:key/run","tags":["postes"],"summary":"Run one installed poste against a dossier","description":"Executes a poste — a bounded, task-scoped agent such as \"Auditeur de pièces\" — against one dossier and returns a structured verdict: \"RAS\" (nothing to report) or a list of findings, each tied to the piece it concerns. A poste never holds a free-form conversation: this is the endpoint for wiring one into an external pipeline (n8n, LangChain, a cron job) — use /v1/agents/:id/chat for a persona instead.","parameters":[{"schema":{"type":"string"},"in":"path","name":"key","required":true,"description":"A shipped poste key (e.g. \"auditeur-pieces\") or the id of a \"maison\" poste created in Light → Les postes."}],"requestBody":{"type":"object","required":["collectionId"],"properties":{"collectionId":{"type":"string","description":"The dossier (Cortex collection) to run this poste against. Filtered by the poste's own scope, if one is set."},"message":{"type":"string","description":"Override the default task instruction. Omit to run the poste's standard checklist pass."}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"posteId":{"type":"string"},"posteName":{"type":"string"},"status":{"type":"string","enum":["RAS","signalements"]},"signalements":{"type":"array","items":{"type":"object","properties":{"constat":{"type":"string"},"piece":{"type":"string"}}}},"sessionId":{"type":"string"},"knowledgeUsed":{"type":"array","items":{"type":"object","additionalProperties":true}},"tokenUsage":{"type":"object","additionalProperties":true}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"402":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"422":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"POST /v1/ai/complete":{"method":"POST","path":"/v1/ai/complete","tags":["ai"],"summary":"Run an AI completion","description":"Executes a chat completion with optional supplementary context injection and automatic fact extraction from the user message.","parameters":[],"requestBody":{"type":"object","required":["systemPrompt","messages"],"properties":{"systemPrompt":{"type":"string"},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"type":"string","enum":["user","assistant","system"]},"content":{"type":"string"}}}},"supplementary":{"type":"array","items":{"type":"object","required":["category","data"],"properties":{"category":{"type":"string"},"label":{"type":"string"},"data":{},"priority":{"type":"string","enum":["high","medium","low"]}}}},"extraction":{"type":"object","required":["source","categories"],"properties":{"source":{"type":"string"},"categories":{"type":"array","items":{"type":"string"}},"persist":{"type":"boolean"}}},"json":{"type":"boolean"},"max_tokens":{"type":"number"},"temperature":{"type":"number"}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string"},"usage":{"type":"object","additionalProperties":true},"extracted":{"type":"array","items":{"type":"object","additionalProperties":true}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"402":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"GET /v1/ai/extracted-data":{"method":"GET","path":"/v1/ai/extracted-data","tags":["ai"],"summary":"List extracted facts","description":null,"parameters":[{"schema":{"type":"string"},"in":"query","name":"source","required":false},{"schema":{"type":"string"},"in":"query","name":"category","required":false},{"schema":{"type":"string"},"in":"query","name":"limit","required":false}],"requestBody":null,"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"count":{"type":"number"}}}}}}}},"GET /v1/ai/extracted-data/:id":{"method":"GET","path":"/v1/ai/extracted-data/:id","tags":["ai"],"summary":"Get a single extracted fact","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"DELETE /v1/ai/extracted-data/:id":{"method":"DELETE","path":"/v1/ai/extracted-data/:id","tags":["ai"],"summary":"Delete an extracted fact","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"204":{"description":"Default Response"},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}},"POST /v1/verify":{"method":"POST","path":"/v1/verify","tags":["verify"],"summary":"Check a text against passages — signed report, zero model calls","description":"Gives every claim of `text` a verdict (verified / unsupported / contradicted / unverifiable) against the passages you send — typically what your own RAG retrieved — or, without `passages`, against Cortex collections. Deterministic: no AI model is called. The report is signed in the same hash chain as gateway certificates. Counted as one control, not as questions.","parameters":[],"requestBody":{"type":"object","required":["text"],"properties":{"text":{"type":"string","minLength":1},"title":{"type":"string","maxLength":160},"passages":{"type":"array","items":{"type":"object","required":["source","content"],"properties":{"id":{"type":"string","description":"Your passage id (chunk id). Defaults to p1, p2…"},"source":{"type":"string","description":"The document the passage comes from — shown in the report."},"sourceId":{"type":"string"},"content":{"type":"string"},"page":{"type":"integer"},"section":{"type":"string"}}}},"collectionIds":{"type":"array","items":{"type":"string"},"description":"Cortex mode (no passages): the collections to check against."}}},"responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"}}}}}},"413":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"}}}}}}}},"GET /v1/verify":{"method":"GET","path":"/v1/verify","tags":["verify"],"summary":"List verification reports","description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /v1/verify/usage":{"method":"GET","path":"/v1/verify/usage","tags":["verify"],"summary":"Controls used this month","description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /v1/verify/:id":{"method":"GET","path":"/v1/verify/:id","tags":["verify"],"summary":"Get a verification report","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"}}}}}}}},"GET /v1/verify/:id/certificate":{"method":"GET","path":"/v1/verify/:id/certificate","tags":["verify"],"summary":"A report's certificate, and its verification","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"}}}}}}}},"GET /v1/verify/:id/export":{"method":"GET","path":"/v1/verify/:id/export","tags":["verify"],"summary":"The control dossier (zip: report, text, verdicts, certificate, reviews)","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /v1/registre":{"method":"GET","path":"/v1/registre","tags":["registre"],"summary":"The AI usage register (AI Act), paginated","description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /v1/registre/summary":{"method":"GET","path":"/v1/registre/summary","tags":["registre"],"summary":"Register summary for the filters","description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /v1/registre/export":{"method":"GET","path":"/v1/registre/export","tags":["registre"],"summary":"Signed register export (zip: CSV, JSON, attestation)","description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /v1/chat/completions":{"method":"POST","path":"/v1/chat/completions","tags":["ai"],"summary":"OpenAI-compatible chat completion (attested)","description":"Drop-in replacement for the OpenAI chat-completions endpoint. Every call runs through the Synapse pipeline (PII Shield, model routing) and produces a signed proof, returned in the x-pulse-proof header.","parameters":[],"requestBody":{"type":"object","additionalProperties":true},"responses":{"200":{"description":"Default Response"}}},"GET /v1/models":{"method":"GET","path":"/v1/models","tags":["ai"],"summary":"List gateway models and agent addresses","description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /v1/proofs/:id":{"method":"GET","path":"/v1/proofs/:id","tags":["ai"],"summary":"Fetch a proof certificate","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /v1/proofs/:id/verify":{"method":"GET","path":"/v1/proofs/:id/verify","tags":["ai"],"summary":"Verify a proof certificate","description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /v1/gateway/public-key":{"method":"GET","path":"/v1/gateway/public-key","tags":["ai"],"summary":"Gateway signing public key (PEM)","description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /v1/messages/count_tokens":{"method":"POST","path":"/v1/messages/count_tokens","tags":["ai"],"summary":"Anthropic-compatible token counting (estimate)","description":null,"parameters":[],"requestBody":{"type":"object","additionalProperties":true},"responses":{"200":{"description":"Default Response"}}},"POST /v1/messages":{"method":"POST","path":"/v1/messages","tags":["ai"],"summary":"Anthropic-compatible messages endpoint (attested)","description":"Drop-in for the Anthropic Messages API — point ANTHROPIC_BASE_URL here. Same Synapse pipeline and proof registry as the OpenAI dialect; proof id in the x-pulse-proof header.","parameters":[],"requestBody":{"type":"object","additionalProperties":true},"responses":{"200":{"description":"Default Response"}}},"GET /setup/status":{"method":"GET","path":"/setup/status","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /setup/create-admin":{"method":"POST","path":"/setup/create-admin","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /setup/activate":{"method":"POST","path":"/setup/activate","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /setup/renew":{"method":"POST","path":"/setup/renew","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /setup/deactivate":{"method":"POST","path":"/setup/deactivate","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /network-info":{"method":"GET","path":"/network-info","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /pricing":{"method":"GET","path":"/pricing","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /pricing/refresh":{"method":"POST","path":"/pricing/refresh","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /orders/mine":{"method":"GET","path":"/orders/mine","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /orders/:reference/returns":{"method":"POST","path":"/orders/:reference/returns","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"reference","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /orders/:reference/returns/ship":{"method":"PATCH","path":"/orders/:reference/returns/ship","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"reference","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /orders/:reference/delivery":{"method":"PATCH","path":"/orders/:reference/delivery","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"reference","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/orders":{"method":"GET","path":"/admin/orders","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /admin/returns/:id":{"method":"PATCH","path":"/admin/returns/:id","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /admin/orders/:reference":{"method":"PATCH","path":"/admin/orders/:reference","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"reference","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /licences/confirm-session":{"method":"POST","path":"/licences/confirm-session","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /licences/purchase":{"method":"POST","path":"/licences/purchase","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /licences/extension-seats/purchase":{"method":"POST","path":"/licences/extension-seats/purchase","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /licences/renew":{"method":"POST","path":"/licences/renew","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /licences/webhook":{"method":"POST","path":"/licences/webhook","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /licences/verify-purchase":{"method":"POST","path":"/licences/verify-purchase","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /admin/licences/generate":{"method":"POST","path":"/admin/licences/generate","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /admin/licences":{"method":"GET","path":"/admin/licences","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"PATCH /admin/licences/:id/revoke":{"method":"PATCH","path":"/admin/licences/:id/revoke","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"POST /licences/activate":{"method":"POST","path":"/licences/activate","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /licences/validate/:key":{"method":"GET","path":"/licences/validate/:key","tags":[],"summary":null,"description":null,"parameters":[{"schema":{"type":"string"},"in":"path","name":"key","required":true}],"requestBody":null,"responses":{"200":{"description":"Default Response"}}},"GET /licences/download-info":{"method":"GET","path":"/licences/download-info","tags":[],"summary":null,"description":null,"parameters":[],"requestBody":null,"responses":{"200":{"description":"Default Response"}}}}}