API Explorer
Browsable reference of the web app HTTP API surface. 20 routes across 10 groups; 7 return the canonical RPC Error Contract (R2) envelope that feeds straight into the ErrorPanel UI.
Filters
Search and narrow by group or response shape.
Group
Response shape
Routes — 20 of 20
Showing the full API surface.
Events
4 routes/api/eventsPlain JSONList all events.
/api/eventsPlain JSONCreate an event (auto-generates code + seeds the default role).
titlestartsAt/api/events/[id]/transitionError ContractTransition an event through the 8-state machine via fn_transition_event_state.
targetStateexpectedVersion?/api/events/[id]/readinessPlain JSONWeighted readiness score + ceiling for an event.
Nodes
3 routes/api/events/[id]/nodesPlain JSONList the nodes (≤5) for an event.
/api/events/[id]/nodesPlain JSONAdd a node to an event.
titleisMandatory?/api/nodes/[id]/transitionError ContractTransition a node through its lifecycle via fn_transition_node_state.
targetStateexpectedVersion?Roles
3 routes/api/events/[id]/rolesPlain JSONList roles defined for an event.
/api/events/[id]/rolesError ContractDefine a role on an event (optionally scoped to a node).
titleauthority?required?nodeId?assigneeId?/api/events/[id]/roles/[roleId]Error ContractUpdate a single role (assignment / fulfillment).
Invitations
2 routes/api/invitations/[token]Error ContractResolve a single-use invitation token (72h) to its view.
/api/invitations/[token]Error ContractAccept an invitation — marks fulfillment ASSIGNED.
Instructions
1 route/api/events/[id]/instructionsError ContractPublish or supersede a canonical channel instruction.
channelIdcontentsupersede?previousId?expectedVersion?Nuggets
2 routes/api/events/[id]/nuggetsPlain JSONAppend an information nugget to an event.
/api/events/[id]/nuggetsPlain JSONReorder a nugget relative to its neighbour.
Tasks
2 routes/api/events/[id]/tasksPlain JSONCreate a task for an event.
/api/events/[id]/tasksPlain JSONUpdate a task (status / assignment).
Alerts
1 route/api/events/[id]/alerts/[alertId]Plain JSONUpdate an alert (e.g. acknowledge / resolve).
Acknowledgments
1 route/api/acksPlain JSONRecord an acknowledgment on the 6-level ladder.
System
1 route/api/healthPlain JSONLiveness / health probe.