List the caller's saved calendar views
Returns the calendar filter presets the calling user saved in this workspace, ordered by name. Requires `workspace:read`. Saved views are per user, so one member never sees another's.
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
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/workspaces/string/calendar/views"{ "data": [ { "id": "string", "workspaceId": "string", "name": "string", "filters": {}, "isDefault": true, "createdAt": "string", "updatedAt": "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}Delete a calendar event
Marks the event cancelled and soft-deletes it, then queues the deletion on the linked provider calendar, forwarding `recurrenceScope` (the whole series by default) and `occurrenceStart` so the provider drops the right occurrences. The caller needs edit access to the event's item. Returns a not-found error for an unknown event, a conflict when `expectedRevision` is stale, and a validation error for database-backed events, which are removed by clearing their source date field instead. Send an `Idempotency-Key` header to make retries safe; a replay within the window returns the original response.
Save a calendar view
Creates or, when a view of the same name already exists for this user and workspace, updates a saved filter preset and optionally marks it as the default. Requires `workspace:read`, and names must be 1 to 120 characters or the request is rejected as a validation error. Send an `Idempotency-Key` header to make retries safe; a replay within the window returns the original response.