---
title: "Update Granola folders for store ingestion"
method: PUT
path: "/v1/integrations/granola/folders"
tags: ["integrations"]
---

# Update Granola folders for store ingestion

`PUT /v1/integrations/granola/folders`

Replace the Granola folders selected for ingestion into a store.

## Request body

- GranolaFolderSelectionUpdateParams — Operation for updating Granola folder ingestion selection.
  - `installation_id` string, uuid, required — Granola installation ID
  - `operation` 'sync' | 'unsync', required — Whether to sync or unsync the requested Granola folders
  - `folder_ids` string[] — Granola folder IDs to apply the operation to
  - `file_ids` string[] — Granola note IDs to apply the operation to
  - `current_folder_id` string, nullable — Current Granola folder context for note-level operations

## Response `200`

Updated Granola folder selection

- GranolaFolderSelectionUpdateResponse — Granola folder selection update response.
  - `data` GranolaFolderSelectionUpdate, required — Result of updating Granola folder selection.
    - `store_id` string, required — Mixedbread store ID
    - `selected_folder_ids` string[], required — Selected Granola folder IDs
    - `selected_file_ids` string[] — Selected Granola note IDs
    - `excluded_children` GranolaExcludedChildren[] — Direct child folder or note exclusions grouped by selected parent folder
      - `parent_folder_id` string, required — Selected Granola parent folder ID
      - `child_ids` string[], required — Direct child Granola folder or note IDs excluded under the parent
    - `backfill_folder_ids` string[], required — Folders queued for backfill ingestion
    - `backfill_file_ids` string[] — Granola notes queued for backfill ingestion
    - `skipped_folders` object, required — Folder IDs skipped with a reason
    - `skipped_files` object — Note IDs skipped with a reason

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mixedbread/apis/mxbai-omni.md) · [All operations](https://skmtc.net/mixedbread/apis/mxbai-omni/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mixedbread/mxbai-omni/revisions/6dac6bb49f72/schema)
