Events
The Events operations of the Hub REST API (2 operations).
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?stringfromDate?stringISO timestamp. Defaults to 7 days ago.
limit?stringDefault 50, hard-capped at 200.
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<>curl -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 } ]}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'