Catch up on workspace events
Returns the workspace's current event version plus the events after `afterVersion`, each projected down to what the caller is allowed to see, so a client that fell behind can resynchronize. Requires `workspace:read`. Pass `afterVersion` and `limit` as integer strings; a non-integer value is a validation error and an unknown workspace is not found.
Authorization
apiKey Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
In: header
Path Parameters
Query Parameters
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/workspaces/string/events"{ "data": { "workspaceVersion": 0, "events": [ { "id": "string", "workspaceId": "string", "actorUserId": "string", "version": 0, "type": "string", "visibility": "system", "subjectType": "string", "subjectId": "string", "payload": {}, "createdAt": "string" } ] }}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}Leave a workspace
Removes the caller's own membership and drops the per-item grants they held in that workspace. Any member may leave their own workspace; the last remaining owner cannot, and that attempt is rejected as a conflict. Owner departures are serialized on the workspace row so two owners cannot both leave concurrently.
List workspace members
Returns every member of the workspace with their role and profile summary. Requires `members:read`, which every built-in role including viewer holds.