Initializing Operalta...

REST API: Knowledge & Collaboration

Streams, decisions, search, contacts, initiatives, and knowledge-tree endpoints

Decisions, insights, initiatives, search, and knowledge trees.

01

Decisions

  • -GET /api/streams/decisions — recent strategic decisions with rationale.
  • -Query: ?domain=product&limit=10.
03

Save insights

  • -POST /api/streams/entries — persist insight, risk, opportunity, or decision.
{
  "companyId": "uuid",
  "streamId": "uuid",
  "title": "Competitor launched free tier",
  "content": "Potential SMB churn risk.",
  "domain": "growth",
  "type": "risks",
  "lifecycle": "active"
}
04

Initiatives

  • -GET /api/company/initiatives — list with children, executionTasks, sourceEntries.
  • -GET|PATCH /api/company/initiatives/:id — read or update status.
  • -POST|PATCH /api/company/initiatives/:id/tasks — manage execution tasks.
  • -POST /api/company/initiatives/refresh — queue a manual refresh (decisions:write).
  • -POST|GET /api/company/initiative-links — link an initiative to accounts and contacts.
05

Knowledge trees

  • -GET /api/company/knowledge-trees — list trees for the resolved company context.
  • -POST /api/company/knowledge-trees/generate — queue tree generation from current context.