Events
The Events operations of the Hub REST API (2 operations).
Generated from Synap-core/backend main at 24fabe7, which can be newer than the stable release self-hosters install.
bearerAuthAuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
userId*stringtype?stringsubjectType?stringsubjectId?stringsessionId?stringA focus session id: only the events that session produced.
fromDate?stringISO timestamp. Defaults to 7 days ago.
toDate?stringISO timestamp, inclusive upper bound.
limit?stringDefault 50, hard-capped at 200.
offset?stringNon-negative integer, default 0. Order is timestamp DESC, id DESC; a full page carries nextOffset.
ungoverned?stringWhen 'true', return only 'ungoverned AI writes' — agent writes that EXECUTED with no proposal behind them (is_agent = true AND proposal_id IS NULL, on the .completed event). Governed (auto-approved or approved) agent writes carry a proposal id and are excluded.
"true""false"Events array (newest first)
application/json- response
events*array<>nextOffset?integercurl -X GET 'https://pod.example.com/api/hub/events?userId=string'{ "events": [ { "id": "string", "type": "string", "subjectType": "string", "subjectId": "string", "userId": "string", "workspaceId": "string", "data": { "property1": null, "property2": null }, "timestamp": "string", "property1": null, "property2": null } ], "nextOffset": 0}bearerAuthAuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
Success
curl -X GET 'https://pod.example.com/api/hub/events/stream'