Delete a saved calendar view
Removes one of the calling user's saved filter presets; a view belonging to another user is never matched. Requires `workspace:read` and reports an unknown view as a validation error. Send an `Idempotency-Key` header to make retries safe; a replay within the window returns the original response.
apiKeyAuthorizationBearer <snoze_sk_…>Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
workspaceId*stringviewId*stringSuccess
application/json- response
data*curl -X DELETE 'https://api.snoze.dev/v1/workspaces/string/calendar/views/string'{ "data": { "id": "string" }}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.
Find free slots across calendar sources
Reads the occurrences in the requested window, collapses them into busy blocks, and returns up to eight open slots of `durationMinutes`. Requires `workspace:read`, and honors the same source filtering and two-year range limit as the range listing. A duration that is not a positive whole number of minutes is rejected as a validation error.