---
title: "Deep Sync Calendars"
method: POST
path: "/users/me/knowledge/sync/deep"
tags: ["knowledge"]
---

# Deep Sync Calendars

`POST /users/me/knowledge/sync/deep`

Perform a deep calendar sync across all user calendars.

This endpoint uses the syncUserCalendars GraphQL mutation to perform a comprehensive
sync of all calendars for the authenticated user. It identifies missing and cancelled
events across all calendar accounts.

Use this endpoint for:
- Deeper sync operations when you need detailed sync results
- Syncing multiple days or date ranges
- Performing dry runs to see what would be synced without making changes

The response includes detailed information about:
- Total missing events across all calendars
- Total cancelled events across all calendars
- Per-calendar sync statistics
- Any errors encountered during sync

## Request body

- DeepSyncCalendarRequest
  - `start_date` string, nullable — Start date for sync in YYYY-MM-DD format
  - `end_date` string, nullable — End date for sync in YYYY-MM-DD format
  - `dry_run` boolean — If true, performs a dry run without making changes
  - `relabel_events` boolean — If true, relabels events during sync

## Response `200`

Successful Response

- unknown

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `409` — Conflict
- `422` — Validation Error
- `500` — Internal server error

---

[API](https://skmtc.net/adapter/apis/adapter-api.md) · [All operations](https://skmtc.net/adapter/apis/adapter-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/adapter/adapter-api/revisions/ab13bbbbd391/schema)
