{
  "components": {
    "schemas": {
      "AcceptFeatureEnrollmentLinkResponse": {
        "properties": {
          "feature_enrollment": {
            "$ref": "#/components/schemas/FeatureEnrollmentResponseSchema"
          },
          "feature_enrollment_link": {
            "$ref": "#/components/schemas/FeatureEnrollmentLinkResponseSchema"
          }
        },
        "required": [
          "feature_enrollment_link",
          "feature_enrollment"
        ],
        "title": "AcceptFeatureEnrollmentLinkResponse",
        "type": "object"
      },
      "AcceptSharedItemInviteRequestSchema": {
        "properties": {
          "accepted_by_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Accepted By Space Account Id"
          },
          "verification_token": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Verification Token"
          }
        },
        "title": "AcceptSharedItemInviteRequestSchema",
        "type": "object"
      },
      "AcceptSharedItemInviteResponse": {
        "properties": {
          "invite": {
            "$ref": "#/components/schemas/SharedItemInviteResponseSchema"
          },
          "role": {
            "title": "Role",
            "type": "string"
          },
          "shared_item_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SharedItemInviteSharedItemDetailsSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "shared_item_id": {
            "format": "uuid",
            "title": "Shared Item Id",
            "type": "string"
          },
          "shared_item_kind": {
            "$ref": "#/components/schemas/SharedItemKind"
          }
        },
        "required": [
          "shared_item_id",
          "shared_item_kind",
          "role",
          "invite"
        ],
        "title": "AcceptSharedItemInviteResponse",
        "type": "object"
      },
      "Account": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "profile_display_name": {
            "title": "Profile Display Name",
            "type": "string"
          },
          "profile_email_address": {
            "format": "email",
            "title": "Profile Email Address",
            "type": "string"
          },
          "profile_photo_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Profile Photo Url"
          }
        },
        "required": [
          "profile_display_name",
          "profile_email_address",
          "created_at"
        ],
        "title": "Account",
        "type": "object"
      },
      "AccountNotificationPreferenceData": {
        "properties": {
          "EMAIL_USER_SHARE": {
            "title": "Email User Share",
            "type": "boolean"
          },
          "EMAIL_WEEKLY_NEWSLETTER": {
            "title": "Email Weekly Newsletter",
            "type": "boolean"
          }
        },
        "required": [
          "EMAIL_WEEKLY_NEWSLETTER",
          "EMAIL_USER_SHARE"
        ],
        "title": "AccountNotificationPreferenceData",
        "type": "object"
      },
      "AccountNotificationPreferenceUpsertRequest": {
        "properties": {
          "is_enabled": {
            "title": "Is Enabled",
            "type": "boolean"
          },
          "notification_preference": {
            "enum": [
              "EMAIL_WEEKLY_NEWSLETTER",
              "EMAIL_USER_SHARE"
            ],
            "title": "Notification Preference",
            "type": "string"
          }
        },
        "required": [
          "notification_preference",
          "is_enabled"
        ],
        "title": "AccountNotificationPreferenceUpsertRequest",
        "type": "object"
      },
      "AccountStateEnum": {
        "enum": [
          "INITIAL",
          "ONBOARDING",
          "ACTIVE",
          "INACTIVE"
        ],
        "title": "AccountStateEnum",
        "type": "string"
      },
      "AclRevokedSyncUpdateResponseSchema": {
        "properties": {
          "kind": {
            "const": "ACL_REVOKED",
            "title": "Kind",
            "type": "string"
          },
          "sync_scope": {
            "discriminator": {
              "mapping": {
                "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionSchema",
                "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountSchema",
                "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountSchema",
                "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceSchema"
              },
              "propertyName": "scope_kind"
            },
            "oneOf": [
              {
                "$ref": "#/components/schemas/SyncScopeCollectionSchema"
              },
              {
                "$ref": "#/components/schemas/SyncScopeSpaceAccountSchema"
              },
              {
                "$ref": "#/components/schemas/SyncScopeGuestAccountSchema"
              },
              {
                "$ref": "#/components/schemas/SyncScopeSpaceSchema"
              }
            ],
            "title": "Sync Scope"
          },
          "value": {
            "$ref": "#/components/schemas/SyncUpdatePartialValueResponseSchema"
          }
        },
        "required": [
          "kind",
          "value",
          "sync_scope"
        ],
        "title": "AclRevokedSyncUpdateResponseSchema",
        "type": "object"
      },
      "AclUpsertedSyncUpdateResponseSchema": {
        "properties": {
          "kind": {
            "const": "ACL_UPSERTED",
            "title": "Kind",
            "type": "string"
          },
          "sync_scope": {
            "discriminator": {
              "mapping": {
                "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionSchema",
                "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountSchema",
                "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountSchema",
                "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceSchema"
              },
              "propertyName": "scope_kind"
            },
            "oneOf": [
              {
                "$ref": "#/components/schemas/SyncScopeCollectionSchema"
              },
              {
                "$ref": "#/components/schemas/SyncScopeSpaceAccountSchema"
              },
              {
                "$ref": "#/components/schemas/SyncScopeGuestAccountSchema"
              },
              {
                "$ref": "#/components/schemas/SyncScopeSpaceSchema"
              }
            ],
            "title": "Sync Scope"
          },
          "value": {
            "discriminator": {
              "mapping": {
                "API_KEY": "#/components/schemas/ApiKeySyncModelResponseSchema",
                "ASSISTANT_FOLLOW_UP": "#/components/schemas/AssistantFollowUpSyncModelResponseSchema",
                "ASSISTANT_NOTE_ACTIVITY": "#/components/schemas/AssistantNoteActivitySyncModelResponseSchema",
                "ASSISTANT_NOTE_REVIEW_STATUS": "#/components/schemas/AssistantNoteReviewStatusSyncModelResponseSchema",
                "ASSISTANT_OBJECTIVE": "#/components/schemas/AssistantObjectiveSyncModelResponseSchema",
                "ASSISTANT_PROJECT": "#/components/schemas/AssistantProjectSyncModelResponseSchema",
                "ASSISTANT_PROJECT_ACTIVITY": "#/components/schemas/AssistantProjectActivitySyncModelResponseSchema",
                "ASSISTANT_PROJECT_LABEL": "#/components/schemas/AssistantProjectLabelSyncModelResponseSchema",
                "ASSISTANT_PROJECT_LABEL_ASSIGNMENT": "#/components/schemas/AssistantProjectLabelAssignmentSyncModelResponseSchema",
                "ASSISTANT_PROJECT_LABEL_GROUP": "#/components/schemas/AssistantProjectLabelGroupSyncModelResponseSchema",
                "ASSISTANT_ROUTINE": "#/components/schemas/AssistantRoutineSyncModelResponseSchema",
                "ASSISTANT_SPACE_ACCOUNT_SETTINGS": "#/components/schemas/AssistantSpaceAccountSettingsSyncModelResponseSchema",
                "ASSISTANT_TASK": "#/components/schemas/AssistantTaskSyncModelResponseSchema",
                "ASSISTANT_TASK_ACTIVITY": "#/components/schemas/AssistantTaskActivitySyncModelResponseSchema",
                "ASSISTANT_TASK_LABEL": "#/components/schemas/AssistantTaskLabelSyncModelResponseSchema",
                "ASSISTANT_TASK_LABEL_ASSIGNMENT": "#/components/schemas/AssistantTaskLabelAssignmentSyncModelResponseSchema",
                "ASSISTANT_TASK_LABEL_GROUP": "#/components/schemas/AssistantTaskLabelGroupSyncModelResponseSchema",
                "AUDIO_RECORDING": "#/components/schemas/AudioRecordingSyncModelResponseSchema",
                "COLLECTION": "#/components/schemas/CollectionSyncModelResponseSchema",
                "COLLECTION_ITEM": "#/components/schemas/CollectionItemSyncModelResponseSchema",
                "COLLECTION_METADATA": "#/components/schemas/CollectionMetadataSyncModelResponseSchema",
                "CONTACT": "#/components/schemas/ContactSyncModelResponseSchema",
                "DATA_EXPORT": "#/components/schemas/DataExportSyncModelResponseSchema",
                "FAVORITE_ITEM": "#/components/schemas/FavoriteItemSyncModelResponseSchema",
                "FEEDBACK": "#/components/schemas/FeedbackSyncModelResponseSchema",
                "NOTE": "#/components/schemas/NoteSyncModelResponseSchema",
                "NOTE_CONTENT_DOCUMENT": "#/components/schemas/NoteContentDocumentSyncModelResponseSchema",
                "NOTE_SOURCE": "#/components/schemas/NoteSourceSyncModelResponseSchema",
                "SAVED_SEARCH": "#/components/schemas/SavedSearchSyncModelResponseSchema",
                "SESSION": "#/components/schemas/SessionSyncModelResponseSchema",
                "SESSION_EVENT": "#/components/schemas/SessionEventSyncModelResponseSchema",
                "SOURCE": "#/components/schemas/SourceSyncModelResponseSchema",
                "SPACE_ACCOUNT_APP_CALLOUT": "#/components/schemas/SpaceAccountAppCalloutSyncModelResponseSchema",
                "SPACE_ACCOUNT_CALENDAR": "#/components/schemas/SpaceAccountCalendarSyncModelResponseSchema",
                "SPACE_ACCOUNT_CALENDAR_CONNECTION": "#/components/schemas/SpaceAccountCalendarConnectionSyncModelResponseSchema",
                "SPACE_ACCOUNT_CALENDAR_EVENT": "#/components/schemas/SpaceAccountCalendarEventSyncModelResponseSchema",
                "SPACE_ACCOUNT_COLLECTION": "#/components/schemas/SpaceAccountCollectionSyncModelResponseSchema",
                "SPACE_ACCOUNT_CONTACT": "#/components/schemas/SpaceAccountContactSyncModelResponseSchema",
                "SPACE_ACCOUNT_FEATURE_FLAGS_CONFIG": "#/components/schemas/FeatureFlagsSyncModelResponseSchema",
                "SPACE_ACCOUNT_NOTE": "#/components/schemas/SpaceAccountNoteSyncModelResponseSchema",
                "SPACE_ACCOUNT_NOTE_ATTACHMENT": "#/components/schemas/SpaceAccountNoteAttachmentSyncModelResponseSchema",
                "SPACE_ACCOUNT_SETTINGS": "#/components/schemas/SpaceAccountSettingsSyncModelResponseSchema",
                "SPACE_ACCOUNT_TEMPLATE": "#/components/schemas/SpaceAccountTemplateSyncModelResponseSchema",
                "SUBSCRIPTION": "#/components/schemas/SubscriptionSyncModelResponseSchema",
                "TEMPLATE": "#/components/schemas/TemplateSyncModelResponseSchema",
                "TEMPLATE_CONTENT_DOCUMENT": "#/components/schemas/TemplateContentDocumentSyncModelResponseSchema",
                "UPLOADED_FILE": "#/components/schemas/UploadedFileSyncModelResponseSchema",
                "UPLOADED_FILE_BATCH": "#/components/schemas/UploadedFileBatchSyncModelResponseSchema"
              },
              "propertyName": "model_kind"
            },
            "oneOf": [
              {
                "$ref": "#/components/schemas/ApiKeySyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/CollectionItemSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/CollectionSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/FavoriteItemSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/NoteSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/NoteContentDocumentSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SavedSearchSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SpaceAccountCollectionSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SpaceAccountNoteSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/ContactSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/CollectionMetadataSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SpaceAccountContactSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/FeedbackSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/DataExportSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/FeatureFlagsSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SpaceAccountAppCalloutSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SpaceAccountSettingsSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/TemplateContentDocumentSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/TemplateSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SpaceAccountTemplateSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AudioRecordingSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/UploadedFileSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/UploadedFileBatchSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/NoteSourceSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SourceSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SessionSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SubscriptionSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SpaceAccountCalendarSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SpaceAccountCalendarEventSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SpaceAccountCalendarConnectionSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SpaceAccountNoteAttachmentSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantTaskSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantProjectSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantTaskActivitySyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantProjectActivitySyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantNoteActivitySyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantTaskLabelSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantTaskLabelGroupSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantTaskLabelAssignmentSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantProjectLabelSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantProjectLabelGroupSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantProjectLabelAssignmentSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantFollowUpSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantRoutineSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantObjectiveSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantNoteReviewStatusSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantSpaceAccountSettingsSyncModelResponseSchema"
              }
            ],
            "title": "Value"
          }
        },
        "required": [
          "kind",
          "value",
          "sync_scope"
        ],
        "title": "AclUpsertedSyncUpdateResponseSchema",
        "type": "object"
      },
      "AddedNoteToCollectionSessionOperationSchema": {
        "properties": {
          "collection_id": {
            "format": "uuid",
            "title": "Collection Id",
            "type": "string"
          },
          "collection_title": {
            "title": "Collection Title",
            "type": "string"
          },
          "collection_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Collection Url"
          },
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          },
          "note_title": {
            "title": "Note Title",
            "type": "string"
          },
          "note_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note Url"
          },
          "type": {
            "const": "added-note-to-collection",
            "default": "added-note-to-collection",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "note_id",
          "note_title",
          "collection_id",
          "collection_title"
        ],
        "title": "AddedNoteToCollectionOperation",
        "type": "object"
      },
      "AddNoteToCollectionResponseSchema": {
        "example": {
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522"
        },
        "properties": {
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id"
        ],
        "title": "AddNoteToCollectionResponseSchema",
        "type": "object"
      },
      "AddNoteToCollectionToolCallArgs": {
        "properties": {
          "collection_id": {
            "title": "Collection Id",
            "type": "string"
          },
          "note_id": {
            "title": "Note Id",
            "type": "string"
          }
        },
        "required": [
          "note_id",
          "collection_id"
        ],
        "title": "AddNoteToCollectionToolCallArgs",
        "type": "object"
      },
      "AddNoteToCollectionToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "AddNoteToCollectionToolCallResult",
        "type": "object"
      },
      "AgentAttachmentMetadata": {
        "description": "Compact attachment metadata included implicitly when the agent reads a note.",
        "properties": {
          "attachment_id": {
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "attachment_type": {
            "enum": [
              "pdf",
              "image"
            ],
            "title": "Attachment Type",
            "type": "string"
          },
          "image_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Image Type"
          },
          "ocr_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ocr Text"
          },
          "page_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Page Count"
          },
          "suggested_search": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Suggested Search"
          },
          "summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Summary"
          },
          "visual_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Visual Description"
          }
        },
        "required": [
          "attachment_id",
          "attachment_type"
        ],
        "title": "AgentAttachmentMetadata",
        "type": "object"
      },
      "AgentCollectionModel": {
        "properties": {
          "collection_id": {
            "format": "uuid",
            "title": "Collection Id",
            "type": "string"
          },
          "created_by_email_address": {
            "title": "Created By Email Address",
            "type": "string"
          },
          "description": {
            "default": "",
            "title": "Description",
            "type": "string"
          },
          "is_shared": {
            "title": "Is Shared",
            "type": "boolean"
          },
          "note_count": {
            "title": "Note Count",
            "type": "integer"
          },
          "title": {
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "collection_id",
          "title",
          "is_shared",
          "created_by_email_address",
          "note_count"
        ],
        "title": "AgentCollectionModel",
        "type": "object"
      },
      "AgentCollectionSearchResultModel": {
        "properties": {
          "collection": {
            "$ref": "#/components/schemas/AgentCollectionModel"
          },
          "note_count": {
            "title": "Note Count",
            "type": "integer"
          },
          "recent_notes": {
            "items": {
              "$ref": "#/components/schemas/AgentNoteModel"
            },
            "title": "Recent Notes",
            "type": "array"
          }
        },
        "required": [
          "collection",
          "note_count"
        ],
        "title": "AgentCollectionSearchResultModel",
        "type": "object"
      },
      "AgentCommonToolCallStatus": {
        "enum": [
          "in_progress",
          "succeeded",
          "failed",
          "interrupted"
        ],
        "title": "AgentCommonToolCallStatus",
        "type": "string"
      },
      "AgentNoteModel": {
        "properties": {
          "attachment_metadata": {
            "items": {
              "$ref": "#/components/schemas/AgentAttachmentMetadata"
            },
            "title": "Attachment Metadata",
            "type": "array"
          },
          "attachment_search_matches": {
            "items": {
              "$ref": "#/components/schemas/AttachmentMatchInfoForAgent"
            },
            "title": "Attachment Search Matches",
            "type": "array"
          },
          "collections": {
            "items": {
              "$ref": "#/components/schemas/AgentCollectionModel"
            },
            "title": "Collections",
            "type": "array"
          },
          "content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Content"
          },
          "created_at": {
            "title": "Created At",
            "type": "string"
          },
          "created_by_email_address": {
            "title": "Created By Email Address",
            "type": "string"
          },
          "highlighted_snippets": {
            "items": {
              "type": "string"
            },
            "title": "Highlighted Snippets",
            "type": "array"
          },
          "modified_at": {
            "title": "Modified At",
            "type": "string"
          },
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          },
          "primary_label": {
            "title": "Primary Label",
            "type": "string"
          },
          "version": {
            "title": "Version",
            "type": "integer"
          }
        },
        "required": [
          "note_id",
          "primary_label",
          "created_at",
          "modified_at",
          "version",
          "created_by_email_address"
        ],
        "title": "AgentNoteModel",
        "type": "object"
      },
      "AgentToolCallKind": {
        "description": "Enum for different types of agent tool calls with version information.",
        "enum": [
          "CREATE_NOTE_TOOL_CALL_V1",
          "UPDATE_NOTE_TOOL_CALL_V1",
          "CREATE_COLLECTION_TOOL_CALL_V1",
          "ADD_NOTE_TO_COLLECTION_TOOL_CALL_V1",
          "REMOVE_NOTE_FROM_COLLECTION_TOOL_CALL_V1",
          "MOVE_NOTE_TOOL_CALL_V1",
          "SEARCH_FOR_COLLECTIONS_TOOL_CALL_V1",
          "SEARCH_NOTES_TOOL_CALL_V1",
          "FIND_RELATED_NOTES_TOOL_CALL_V1",
          "MESSAGE_USER_TOOL_CALL_V1",
          "READ_NOTE_TOOL_CALL_V1",
          "RENAME_COLLECTION_TOOL_CALL_V1",
          "UPDATE_COLLECTION_DESCRIPTION_TOOL_CALL_V1",
          "READ_COLLECTION_TOOL_CALL_V1",
          "TRASH_NOTE_TOOL_CALL_V1",
          "RESTORE_NOTE_TOOL_CALL_V1",
          "DELETE_COLLECTION_TOOL_CALL_V1",
          "VIEW_IMAGE_TOOL_CALL_V1",
          "CREATE_FACT_CARD_TOOL_CALL_V1",
          "CREATE_DRAFT_NOTE_TOOL_CALL_V1",
          "GET_HELP_CENTER_INFO_TOOL_CALL_V1",
          "GET_USER_ACCOUNT_STATISTICS_TOOL_CALL_V1",
          "SEARCH_WITHIN_DOCUMENT_TOOL_CALL_V1",
          "RETRIEVE_DOCUMENT_PAGES_TOOL_CALL_V1"
        ],
        "title": "AgentToolCallKind",
        "type": "string"
      },
      "AiAgentToolCallJson": {
        "properties": {
          "args": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Args"
          },
          "completed_at": {
            "title": "Completed At",
            "type": "string"
          },
          "error": {
            "title": "Error",
            "type": "string"
          },
          "invoked_at": {
            "title": "Invoked At",
            "type": "string"
          },
          "result": {
            "title": "Result"
          },
          "tool": {
            "title": "Tool",
            "type": "string"
          },
          "tool_call_id": {
            "title": "Tool Call Id",
            "type": "string"
          }
        },
        "title": "AiAgentToolCallJson",
        "type": "object"
      },
      "AnswerQuestionAboutAttachmentRequestSchema": {
        "properties": {
          "attachment_id": {
            "description": "UUID of the attachment to inspect. For note attachment metadata returned by\n`GET /v2/notes/{note_id}`, pass the `attachment_id` value directly.",
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "attachment_kind": {
            "$ref": "#/components/schemas/AttachmentType",
            "description": "Kind of attachment to inspect. For note attachment metadata returned by\n`GET /v2/notes/{note_id}`, pass the `attachment_kind` value directly."
          },
          "question": {
            "description": "Focused question to answer using only this attachment.\nMaximum: 10,000 characters (and no more than 10,000 UTF-8 bytes).",
            "maxLength": 10000,
            "minLength": 1,
            "title": "Question",
            "type": "string"
          }
        },
        "required": [
          "attachment_kind",
          "attachment_id",
          "question"
        ],
        "title": "AnswerQuestionAboutAttachmentRequestSchema",
        "type": "object"
      },
      "AnswerQuestionAboutAttachmentResponseSchema": {
        "example": {
          "answer": "The document lists launch readiness, pricing, and support milestones.",
          "attachment_id": "2511691e-cfd2-47bc-a4b6-0104234ee1af",
          "attachment_kind": "pdf",
          "page_references": [
            1,
            3
          ],
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522"
        },
        "properties": {
          "answer": {
            "title": "Answer",
            "type": "string"
          },
          "attachment_id": {
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "attachment_kind": {
            "$ref": "#/components/schemas/AttachmentType"
          },
          "page_references": {
            "items": {
              "type": "integer"
            },
            "title": "Page References",
            "type": "array"
          },
          "request_id": {
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "attachment_kind",
          "attachment_id",
          "answer"
        ],
        "title": "AnswerQuestionAboutAttachmentResponseSchema",
        "type": "object"
      },
      "ApiAccessAccessTokenAuthenticatedHealthCheckResponse": {
        "properties": {
          "account_id": {
            "title": "Account Id",
            "type": "string"
          },
          "api_access_token_id": {
            "title": "Api Access Token Id",
            "type": "string"
          },
          "is_authenticated": {
            "title": "Is Authenticated",
            "type": "boolean"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success",
          "account_id",
          "api_access_token_id",
          "is_authenticated"
        ],
        "title": "ApiAccessAccessTokenAuthenticatedHealthCheckResponse",
        "type": "object"
      },
      "ApiComponentStatusSchema": {
        "properties": {
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "ApiComponentStatusSchema",
        "type": "object"
      },
      "ApiErrorCategory": {
        "enum": [
          "VALIDATION_ERROR",
          "CLIENT_ERROR",
          "SERVER_ERROR",
          "CUSTOM_ERROR",
          "UNKNOWN"
        ],
        "title": "ApiErrorCategory",
        "type": "string"
      },
      "ApiKeySyncModelDataResponseSchema": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "is_revoked": {
            "title": "Is Revoked",
            "type": "boolean"
          },
          "redacted_token": {
            "title": "Redacted Token",
            "type": "string"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "required": [
          "id",
          "title",
          "description",
          "created_at",
          "is_revoked",
          "redacted_token"
        ],
        "title": "ApiKeySyncModelDataResponseSchema",
        "type": "object"
      },
      "ApiKeySyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/ApiKeySyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "API_KEY",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "ApiKeySyncModelResponseSchema",
        "type": "object"
      },
      "ApiRequestArtifactInternalResponseSchema": {
        "properties": {
          "api_request_record_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Api Request Record Id"
          },
          "artifact_kind": {
            "const": "API_REQUEST",
            "title": "Artifact Kind",
            "type": "string"
          },
          "payload": {
            "additionalProperties": true,
            "title": "Payload",
            "type": "object"
          },
          "processed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Processed At"
          },
          "request_kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ApiRequestRecordKind"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "api_request_record_id",
          "request_kind",
          "payload",
          "artifact_kind"
        ],
        "title": "ApiRequestArtifactInternalResponseSchema",
        "type": "object"
      },
      "ApiRequestRecordCreatedNotificationPayload": {
        "properties": {
          "api_request_record_id": {
            "format": "uuid",
            "title": "Api Request Record Id",
            "type": "string"
          }
        },
        "required": [
          "api_request_record_id"
        ],
        "title": "ApiRequestRecordCreatedNotificationPayload",
        "type": "object"
      },
      "ApiRequestRecordKind": {
        "enum": [
          "v1-mem-it",
          "v1-create-note",
          "v1-delete-note",
          "v2-mem-it",
          "v2-list-notes",
          "v2-search-notes",
          "v2-extended-search-notes",
          "v2-find-related-notes",
          "v2-create-note",
          "v2-read-note",
          "v2-get-note-attachment-download-url",
          "v2-read-attachment",
          "v2-answer-question-about-attachment",
          "v2-read-audio-recording",
          "v2-delete-note",
          "v2-update-note",
          "v2-set-note-created-at",
          "v2-trash-note",
          "v2-restore-note",
          "v2-read-collection",
          "v2-list-collections",
          "v2-search-collections",
          "v2-create-collection",
          "v2-update-collection",
          "v2-add-note-to-collection",
          "v2-remove-note-from-collection",
          "v2-move-note",
          "v2-delete-collection",
          "v2-list-tasks",
          "v2-read-task",
          "v2-list-projects",
          "v2-read-project",
          "v2-list-follow-ups",
          "v2-read-follow-up",
          "v2-send-assistant-message",
          "v2-read-assistant-conversation",
          "v2-list-assistant-conversation-items",
          "v2-archive-assistant-conversation",
          "v2-list-events",
          "v2-read-event",
          "v2-list-event-types",
          "v2-list-calendar-connections",
          "v2-connect-calendar",
          "v2-calendar-oauth-callback",
          "v2-disconnect-calendar",
          "v2-list-calendars",
          "v2-update-calendar-settings",
          "v2-list-calendar-events",
          "v2-read-calendar-event",
          "v2-reconcile-calendar",
          "v2-create-session",
          "v2-read-session",
          "v2-update-session",
          "v2-upsert-session",
          "v2-delete-session",
          "v2-search-session-events",
          "v2-mcp-search-notes",
          "v2-mcp-view-note",
          "v2-mcp-search-chatgpt",
          "v2-mcp-fetch-chatgpt",
          "v2-mcp-initialize"
        ],
        "title": "ApiRequestRecordKind",
        "type": "string"
      },
      "AppCalloutActionButtonVariant": {
        "enum": [
          "default",
          "transparent",
          "contrast",
          "emphasis",
          "emphasis-light",
          "danger",
          "danger-filled",
          "onAccent",
          "chrome",
          "subtle",
          "contrast-accent"
        ],
        "title": "AppCalloutActionButtonVariant",
        "type": "string"
      },
      "AppCalloutIconPosition": {
        "enum": [
          "INLINE_START",
          "UNKNOWN"
        ],
        "title": "AppCalloutIconPosition",
        "type": "string"
      },
      "AppCalloutKind": {
        "enum": [
          "BANNER",
          "MODAL",
          "CARD",
          "UNKNOWN"
        ],
        "title": "AppCalloutKind",
        "type": "string"
      },
      "AppleAuthorizationURLQuery": {
        "properties": {
          "platform": {
            "$ref": "#/components/schemas/AppleOAuthRedirectPlatform"
          }
        },
        "required": [
          "platform"
        ],
        "title": "AppleAuthorizationURLQuery",
        "type": "object"
      },
      "AppleAuthorizationURLResponse": {
        "properties": {
          "authorization_url": {
            "title": "Authorization Url",
            "type": "string"
          }
        },
        "required": [
          "authorization_url"
        ],
        "title": "AppleAuthorizationURLResponse",
        "type": "object"
      },
      "AppleAuthValidationError": {
        "properties": {
          "error_category": {
            "$ref": "#/components/schemas/ApiErrorCategory"
          },
          "error_metadata": {
            "additionalProperties": true,
            "title": "Error Metadata",
            "type": "object"
          }
        },
        "required": [
          "error_category"
        ],
        "title": "AppleAuthValidationError",
        "type": "object"
      },
      "AppleOAuthClientKind": {
        "enum": [
          "MEM_WEB_CLIENT",
          "MEM_IOS_CLIENT"
        ],
        "title": "AppleOAuthClientKind",
        "type": "string"
      },
      "AppleOAuthInvalidStateResponse": {
        "properties": {
          "error": {
            "const": "invalid_state",
            "title": "Error",
            "type": "string"
          }
        },
        "required": [
          "error"
        ],
        "title": "AppleOAuthInvalidStateResponse",
        "type": "object"
      },
      "AppleOAuthRedirectPlatform": {
        "enum": [
          "web",
          "desktop"
        ],
        "title": "AppleOAuthRedirectPlatform",
        "type": "string"
      },
      "ApplePushNotificationEnvironment": {
        "enum": [
          "development",
          "production",
          "unknown"
        ],
        "title": "ApplePushNotificationEnvironment",
        "type": "string"
      },
      "ApplePushNotificationProvider": {
        "enum": [
          "apns",
          "unknown"
        ],
        "title": "ApplePushNotificationProvider",
        "type": "string"
      },
      "ArtifactInternalResponseSchema": {
        "properties": {
          "artifact_kind": {
            "$ref": "#/components/schemas/SessionArtifactKind"
          },
          "content_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Content Url"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "primary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Primary Label"
          },
          "secondary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Secondary Label"
          },
          "session_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Session Id"
          },
          "value": {
            "discriminator": {
              "mapping": {
                "API_REQUEST": "#/components/schemas/ApiRequestArtifactInternalResponseSchema",
                "AUDIO": "#/components/schemas/AudioArtifactInternalResponseSchema",
                "CALENDAR_EVENT": "#/components/schemas/CalendarEventArtifactInternalResponseSchema",
                "EMAIL": "#/components/schemas/EmailArtifactInternalResponseSchema",
                "NOTE_CONTENT": "#/components/schemas/NoteContentArtifactInternalResponseSchema",
                "NOTE_SUGGESTION": "#/components/schemas/NoteSuggestionArtifactInternalResponseSchema",
                "TEXT_MESSAGE": "#/components/schemas/TextMessageArtifactInternalResponseSchema",
                "UPLOADED_FILE": "#/components/schemas/UploadedFileArtifactInternalResponseSchema",
                "WEBSITE_CONTENT": "#/components/schemas/WebsiteContentArtifactInternalResponseSchema"
              },
              "propertyName": "artifact_kind"
            },
            "oneOf": [
              {
                "$ref": "#/components/schemas/EmailArtifactInternalResponseSchema"
              },
              {
                "$ref": "#/components/schemas/TextMessageArtifactInternalResponseSchema"
              },
              {
                "$ref": "#/components/schemas/UploadedFileArtifactInternalResponseSchema"
              },
              {
                "$ref": "#/components/schemas/ApiRequestArtifactInternalResponseSchema"
              },
              {
                "$ref": "#/components/schemas/NoteContentArtifactInternalResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AudioArtifactInternalResponseSchema"
              },
              {
                "$ref": "#/components/schemas/WebsiteContentArtifactInternalResponseSchema"
              },
              {
                "$ref": "#/components/schemas/NoteSuggestionArtifactInternalResponseSchema"
              },
              {
                "$ref": "#/components/schemas/CalendarEventArtifactInternalResponseSchema"
              }
            ],
            "title": "Value"
          }
        },
        "required": [
          "id",
          "artifact_kind",
          "value"
        ],
        "title": "ArtifactInternalResponseSchema",
        "type": "object"
      },
      "ArtifactResponseSchema": {
        "properties": {
          "artifact_kind": {
            "$ref": "#/components/schemas/SessionArtifactKind"
          },
          "content_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Content Url"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "primary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Primary Label"
          },
          "secondary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Secondary Label"
          },
          "session_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Session Id"
          },
          "value": {
            "discriminator": {
              "mapping": {
                "API_REQUEST": "#/components/schemas/ApiRequestArtifactInternalResponseSchema",
                "AUDIO": "#/components/schemas/AudioArtifactInternalResponseSchema",
                "CALENDAR_EVENT": "#/components/schemas/CalendarEventArtifactInternalResponseSchema",
                "EMAIL": "#/components/schemas/EmailArtifactInternalResponseSchema",
                "NOTE_CONTENT": "#/components/schemas/NoteContentArtifactInternalResponseSchema",
                "NOTE_SUGGESTION": "#/components/schemas/NoteSuggestionArtifactInternalResponseSchema",
                "TEXT_MESSAGE": "#/components/schemas/TextMessageArtifactInternalResponseSchema",
                "UPLOADED_FILE": "#/components/schemas/UploadedFileArtifactInternalResponseSchema",
                "WEBSITE_CONTENT": "#/components/schemas/WebsiteContentArtifactInternalResponseSchema"
              },
              "propertyName": "artifact_kind"
            },
            "oneOf": [
              {
                "$ref": "#/components/schemas/EmailArtifactInternalResponseSchema"
              },
              {
                "$ref": "#/components/schemas/TextMessageArtifactInternalResponseSchema"
              },
              {
                "$ref": "#/components/schemas/UploadedFileArtifactInternalResponseSchema"
              },
              {
                "$ref": "#/components/schemas/ApiRequestArtifactInternalResponseSchema"
              },
              {
                "$ref": "#/components/schemas/NoteContentArtifactInternalResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AudioArtifactInternalResponseSchema"
              },
              {
                "$ref": "#/components/schemas/WebsiteContentArtifactInternalResponseSchema"
              },
              {
                "$ref": "#/components/schemas/NoteSuggestionArtifactInternalResponseSchema"
              },
              {
                "$ref": "#/components/schemas/CalendarEventArtifactInternalResponseSchema"
              }
            ],
            "title": "Value"
          }
        },
        "required": [
          "id",
          "artifact_kind",
          "value"
        ],
        "title": "ArtifactResponseSchema",
        "type": "object"
      },
      "ArtifactSessionPartV1": {
        "properties": {
          "artifact_details": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/MarkdownV1SessionPart"
            },
            "title": "Artifact Details",
            "type": "array"
          },
          "artifact_kind": {
            "$ref": "#/components/schemas/SessionArtifactPartKind"
          },
          "artifact_payload": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NoteCreatedV1ArtifactPayload"
              },
              {
                "$ref": "#/components/schemas/NoteUpdatedV1ArtifactPayload"
              }
            ],
            "title": "Artifact Payload"
          },
          "client_meta": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Meta"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "ARTIFACT_V1",
            "default": "ARTIFACT_V1",
            "title": "Kind",
            "type": "string"
          }
        },
        "required": [
          "id",
          "artifact_kind",
          "artifact_payload"
        ],
        "title": "ArtifactSessionPartV1",
        "type": "object"
      },
      "AssemblyAiPrerecordedLanguageDetectionOptions": {
        "additionalProperties": false,
        "properties": {
          "expected_languages": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expected Languages"
          },
          "fallback_language": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fallback Language"
          }
        },
        "title": "AssemblyAiPrerecordedLanguageDetectionOptions",
        "type": "object"
      },
      "AssemblyAiPrerecordedTranscriptionConfig": {
        "additionalProperties": false,
        "description": "Client-provided AssemblyAI prerecorded transcription options.\n\nThis model intentionally represents opt-in request config, not persisted\ntranscript metadata. Older clients omit it and continue using the legacy\nbackend prerecorded transcription defaults.",
        "properties": {
          "language_detection": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Language Detection"
          },
          "language_detection_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AssemblyAiPrerecordedLanguageDetectionOptions"
              },
              {
                "type": "null"
              }
            ]
          },
          "multichannel": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Multichannel"
          },
          "speech_models": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Speech Models"
          }
        },
        "title": "AssemblyAiPrerecordedTranscriptionConfig",
        "type": "object"
      },
      "AssetProxyRequestQuery": {
        "properties": {
          "token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Token"
          },
          "url": {
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "title": "AssetProxyRequestQuery",
        "type": "object"
      },
      "AssignableSyncScopeRoleKind": {
        "enum": [
          "EDITOR",
          "VIEWER",
          "DIRECT_CONTACT",
          "INDIRECT_CONTACT"
        ],
        "title": "AssignableSyncScopeRoleKind",
        "type": "string"
      },
      "AssistantFollowUpOrderBy": {
        "enum": [
          "created_at",
          "updated_at",
          "scheduled_for"
        ],
        "title": "AssistantFollowUpOrderBy",
        "type": "string"
      },
      "AssistantFollowUpSyncModelDataResponseSchema": {
        "properties": {
          "assistant_id": {
            "format": "uuid",
            "title": "Assistant Id",
            "type": "string"
          },
          "commitment_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Commitment Kind"
          },
          "completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Completed At"
          },
          "content": {
            "title": "Content",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "deadline_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deadline At"
          },
          "due_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Due At"
          },
          "fired_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fired At"
          },
          "project_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Id"
          },
          "scheduled_for": {
            "format": "date-time",
            "title": "Scheduled For",
            "type": "string"
          },
          "source_context_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Context Id"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "task_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Task Id"
          },
          "trigger_not_after": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Trigger Not After"
          },
          "trigger_not_before": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Trigger Not Before"
          },
          "trigger_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Trigger Type"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "assistant_id",
          "project_id",
          "task_id",
          "source_context_id",
          "content",
          "status",
          "scheduled_for",
          "fired_at",
          "completed_at",
          "commitment_kind",
          "due_at",
          "deadline_at",
          "trigger_type",
          "trigger_not_before",
          "trigger_not_after",
          "created_at",
          "updated_at"
        ],
        "title": "AssistantFollowUpSyncModelDataResponseSchema",
        "type": "object"
      },
      "AssistantFollowUpSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/AssistantFollowUpSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "ASSISTANT_FOLLOW_UP",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "AssistantFollowUpSyncModelResponseSchema",
        "type": "object"
      },
      "AssistantNoteActivitySyncModelDataResponseSchema": {
        "properties": {
          "assistant_id": {
            "format": "uuid",
            "title": "Assistant Id",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          },
          "payload_json": {
            "additionalProperties": true,
            "title": "Payload Json",
            "type": "object"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "assistant_id",
          "note_id",
          "kind",
          "payload_json",
          "created_at",
          "updated_at"
        ],
        "title": "AssistantNoteActivitySyncModelDataResponseSchema",
        "type": "object"
      },
      "AssistantNoteActivitySyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/AssistantNoteActivitySyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "ASSISTANT_NOTE_ACTIVITY",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "AssistantNoteActivitySyncModelResponseSchema",
        "type": "object"
      },
      "AssistantNoteReviewStatusSyncModelDataResponseSchema": {
        "properties": {
          "assistant_id": {
            "format": "uuid",
            "title": "Assistant Id",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          },
          "reviewed_at": {
            "format": "date-time",
            "title": "Reviewed At",
            "type": "string"
          },
          "reviewed_note_version": {
            "title": "Reviewed Note Version",
            "type": "integer"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "assistant_id",
          "note_id",
          "reviewed_note_version",
          "reviewed_at",
          "created_at",
          "updated_at"
        ],
        "title": "AssistantNoteReviewStatusSyncModelDataResponseSchema",
        "type": "object"
      },
      "AssistantNoteReviewStatusSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/AssistantNoteReviewStatusSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "ASSISTANT_NOTE_REVIEW_STATUS",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "AssistantNoteReviewStatusSyncModelResponseSchema",
        "type": "object"
      },
      "AssistantObjectiveSyncModelDataResponseSchema": {
        "properties": {
          "assistant_id": {
            "format": "uuid",
            "title": "Assistant Id",
            "type": "string"
          },
          "blocking": {
            "title": "Blocking",
            "type": "boolean"
          },
          "completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Completed At"
          },
          "context_json": {
            "additionalProperties": true,
            "title": "Context Json",
            "type": "object"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "dismissed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dismissed At"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "priority": {
            "title": "Priority",
            "type": "string"
          },
          "prompt": {
            "title": "Prompt",
            "type": "string"
          },
          "scope_key": {
            "title": "Scope Key",
            "type": "string"
          },
          "scope_kind": {
            "title": "Scope Kind",
            "type": "string"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "assistant_id",
          "scope_kind",
          "scope_key",
          "key",
          "status",
          "priority",
          "title",
          "prompt",
          "blocking",
          "context_json",
          "completed_at",
          "dismissed_at",
          "created_at",
          "updated_at"
        ],
        "title": "AssistantObjectiveSyncModelDataResponseSchema",
        "type": "object"
      },
      "AssistantObjectiveSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/AssistantObjectiveSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "ASSISTANT_OBJECTIVE",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "AssistantObjectiveSyncModelResponseSchema",
        "type": "object"
      },
      "AssistantProjectActivitySyncModelDataResponseSchema": {
        "properties": {
          "assistant_id": {
            "format": "uuid",
            "title": "Assistant Id",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "payload_json": {
            "additionalProperties": true,
            "title": "Payload Json",
            "type": "object"
          },
          "project_id": {
            "format": "uuid",
            "title": "Project Id",
            "type": "string"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "assistant_id",
          "project_id",
          "kind",
          "payload_json",
          "created_at",
          "updated_at"
        ],
        "title": "AssistantProjectActivitySyncModelDataResponseSchema",
        "type": "object"
      },
      "AssistantProjectActivitySyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/AssistantProjectActivitySyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "ASSISTANT_PROJECT_ACTIVITY",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "AssistantProjectActivitySyncModelResponseSchema",
        "type": "object"
      },
      "AssistantProjectLabelAssignmentSyncModelDataResponseSchema": {
        "properties": {
          "assistant_id": {
            "format": "uuid",
            "title": "Assistant Id",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "project_id": {
            "format": "uuid",
            "title": "Project Id",
            "type": "string"
          },
          "project_label_id": {
            "format": "uuid",
            "title": "Project Label Id",
            "type": "string"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "assistant_id",
          "project_label_id",
          "project_id",
          "created_at",
          "updated_at"
        ],
        "title": "AssistantProjectLabelAssignmentSyncModelDataResponseSchema",
        "type": "object"
      },
      "AssistantProjectLabelAssignmentSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/AssistantProjectLabelAssignmentSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "ASSISTANT_PROJECT_LABEL_ASSIGNMENT",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "AssistantProjectLabelAssignmentSyncModelResponseSchema",
        "type": "object"
      },
      "AssistantProjectLabelGroupSyncModelDataResponseSchema": {
        "properties": {
          "assistant_id": {
            "format": "uuid",
            "title": "Assistant Id",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "assistant_id",
          "name",
          "description",
          "created_at",
          "updated_at"
        ],
        "title": "AssistantProjectLabelGroupSyncModelDataResponseSchema",
        "type": "object"
      },
      "AssistantProjectLabelGroupSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/AssistantProjectLabelGroupSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "ASSISTANT_PROJECT_LABEL_GROUP",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "AssistantProjectLabelGroupSyncModelResponseSchema",
        "type": "object"
      },
      "AssistantProjectLabelSyncModelDataResponseSchema": {
        "properties": {
          "assistant_id": {
            "format": "uuid",
            "title": "Assistant Id",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "group_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Group Id"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "assistant_id",
          "group_id",
          "name",
          "description",
          "created_at",
          "updated_at"
        ],
        "title": "AssistantProjectLabelSyncModelDataResponseSchema",
        "type": "object"
      },
      "AssistantProjectLabelSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/AssistantProjectLabelSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "ASSISTANT_PROJECT_LABEL",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "AssistantProjectLabelSyncModelResponseSchema",
        "type": "object"
      },
      "AssistantProjectOrderBy": {
        "enum": [
          "created_at",
          "updated_at"
        ],
        "title": "AssistantProjectOrderBy",
        "type": "string"
      },
      "AssistantProjectSyncModelDataResponseSchema": {
        "properties": {
          "assistant_id": {
            "format": "uuid",
            "title": "Assistant Id",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "last_activity_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Activity At"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "assistant_id",
          "title",
          "description",
          "status",
          "last_activity_at",
          "created_at",
          "updated_at"
        ],
        "title": "AssistantProjectSyncModelDataResponseSchema",
        "type": "object"
      },
      "AssistantProjectSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/AssistantProjectSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "ASSISTANT_PROJECT",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "AssistantProjectSyncModelResponseSchema",
        "type": "object"
      },
      "AssistantResponseSchema": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "is_enabled": {
            "title": "Is Enabled",
            "type": "boolean"
          },
          "slug": {
            "title": "Slug",
            "type": "string"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "space_account_id",
          "slug",
          "is_enabled",
          "created_at",
          "updated_at"
        ],
        "title": "AssistantResponseSchema",
        "type": "object"
      },
      "AssistantRoutineSyncModelDataResponseSchema": {
        "properties": {
          "assistant_id": {
            "format": "uuid",
            "title": "Assistant Id",
            "type": "string"
          },
          "config_json": {
            "additionalProperties": true,
            "title": "Config Json",
            "type": "object"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "fixed": {
            "title": "Fixed",
            "type": "boolean"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "last_run_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Run At"
          },
          "next_run_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Run At"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "assistant_id",
          "label",
          "description",
          "kind",
          "status",
          "fixed",
          "config_json",
          "next_run_at",
          "last_run_at",
          "created_at",
          "updated_at"
        ],
        "title": "AssistantRoutineSyncModelDataResponseSchema",
        "type": "object"
      },
      "AssistantRoutineSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/AssistantRoutineSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "ASSISTANT_ROUTINE",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "AssistantRoutineSyncModelResponseSchema",
        "type": "object"
      },
      "AssistantSpaceAccountSettingsSyncModelDataResponseSchema": {
        "properties": {
          "assistant_id": {
            "format": "uuid",
            "title": "Assistant Id",
            "type": "string"
          },
          "communication_email_enabled": {
            "title": "Communication Email Enabled",
            "type": "boolean"
          },
          "communication_push_notification_enabled": {
            "title": "Communication Push Notification Enabled",
            "type": "boolean"
          },
          "communication_slack_enabled": {
            "title": "Communication Slack Enabled",
            "type": "boolean"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "email_sender_allowlist": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "title": "Email Sender Allowlist",
            "type": "array"
          },
          "preferred_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Preferred Name"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          },
          "timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timezone"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "assistant_id",
          "timezone",
          "preferred_name",
          "communication_slack_enabled",
          "communication_push_notification_enabled",
          "communication_email_enabled",
          "email_sender_allowlist",
          "created_at",
          "updated_at"
        ],
        "title": "AssistantSpaceAccountSettingsSyncModelDataResponseSchema",
        "type": "object"
      },
      "AssistantSpaceAccountSettingsSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/AssistantSpaceAccountSettingsSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "ASSISTANT_SPACE_ACCOUNT_SETTINGS",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "AssistantSpaceAccountSettingsSyncModelResponseSchema",
        "type": "object"
      },
      "AssistantTaskActivitySyncModelDataResponseSchema": {
        "properties": {
          "assistant_id": {
            "format": "uuid",
            "title": "Assistant Id",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "payload_json": {
            "additionalProperties": true,
            "title": "Payload Json",
            "type": "object"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          },
          "task_id": {
            "format": "uuid",
            "title": "Task Id",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "assistant_id",
          "task_id",
          "kind",
          "payload_json",
          "created_at",
          "updated_at"
        ],
        "title": "AssistantTaskActivitySyncModelDataResponseSchema",
        "type": "object"
      },
      "AssistantTaskActivitySyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/AssistantTaskActivitySyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "ASSISTANT_TASK_ACTIVITY",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "AssistantTaskActivitySyncModelResponseSchema",
        "type": "object"
      },
      "AssistantTaskLabelAssignmentSyncModelDataResponseSchema": {
        "properties": {
          "assistant_id": {
            "format": "uuid",
            "title": "Assistant Id",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          },
          "task_id": {
            "format": "uuid",
            "title": "Task Id",
            "type": "string"
          },
          "task_label_id": {
            "format": "uuid",
            "title": "Task Label Id",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "assistant_id",
          "task_label_id",
          "task_id",
          "created_at",
          "updated_at"
        ],
        "title": "AssistantTaskLabelAssignmentSyncModelDataResponseSchema",
        "type": "object"
      },
      "AssistantTaskLabelAssignmentSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/AssistantTaskLabelAssignmentSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "ASSISTANT_TASK_LABEL_ASSIGNMENT",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "AssistantTaskLabelAssignmentSyncModelResponseSchema",
        "type": "object"
      },
      "AssistantTaskLabelGroupSyncModelDataResponseSchema": {
        "properties": {
          "assistant_id": {
            "format": "uuid",
            "title": "Assistant Id",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "assistant_id",
          "name",
          "description",
          "created_at",
          "updated_at"
        ],
        "title": "AssistantTaskLabelGroupSyncModelDataResponseSchema",
        "type": "object"
      },
      "AssistantTaskLabelGroupSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/AssistantTaskLabelGroupSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "ASSISTANT_TASK_LABEL_GROUP",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "AssistantTaskLabelGroupSyncModelResponseSchema",
        "type": "object"
      },
      "AssistantTaskLabelSyncModelDataResponseSchema": {
        "properties": {
          "assistant_id": {
            "format": "uuid",
            "title": "Assistant Id",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "group_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Group Id"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "assistant_id",
          "group_id",
          "name",
          "description",
          "created_at",
          "updated_at"
        ],
        "title": "AssistantTaskLabelSyncModelDataResponseSchema",
        "type": "object"
      },
      "AssistantTaskLabelSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/AssistantTaskLabelSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "ASSISTANT_TASK_LABEL",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "AssistantTaskLabelSyncModelResponseSchema",
        "type": "object"
      },
      "AssistantTaskOrderBy": {
        "enum": [
          "created_at",
          "updated_at"
        ],
        "title": "AssistantTaskOrderBy",
        "type": "string"
      },
      "AssistantTaskSyncModelDataResponseSchema": {
        "properties": {
          "assistant_id": {
            "format": "uuid",
            "title": "Assistant Id",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "due_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Due At"
          },
          "project_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Id"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "assistant_id",
          "project_id",
          "title",
          "description",
          "status",
          "due_at",
          "created_at",
          "updated_at"
        ],
        "title": "AssistantTaskSyncModelDataResponseSchema",
        "type": "object"
      },
      "AssistantTaskSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/AssistantTaskSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "ASSISTANT_TASK",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "AssistantTaskSyncModelResponseSchema",
        "type": "object"
      },
      "AttachmentIdRequest": {
        "additionalProperties": false,
        "properties": {
          "attachment_id": {
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          }
        },
        "required": [
          "attachment_id"
        ],
        "title": "AttachmentIdRequest",
        "type": "object"
      },
      "AttachmentImageResponseSchema": {
        "properties": {
          "filename": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Filename"
          },
          "image_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Image Type"
          },
          "key_entities": {
            "items": {
              "type": "string"
            },
            "title": "Key Entities",
            "type": "array"
          },
          "mime_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mime Type"
          },
          "ocr_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ocr Text"
          },
          "suggested_search": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Suggested Search"
          },
          "summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Summary"
          },
          "visual_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Visual Description"
          }
        },
        "title": "AttachmentImageResponseSchema",
        "type": "object"
      },
      "AttachmentKind": {
        "enum": [
          "pdf",
          "image",
          "unknown"
        ],
        "title": "AttachmentKind",
        "type": "string"
      },
      "AttachmentMatchInfo": {
        "properties": {
          "attachment_id": {
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "attachment_type": {
            "enum": [
              "pdf",
              "image"
            ],
            "title": "Attachment Type",
            "type": "string"
          },
          "attachment_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Attachment Url"
          },
          "filename": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Filename"
          },
          "highlighted_snippets": {
            "items": {
              "type": "string"
            },
            "title": "Highlighted Snippets",
            "type": "array"
          },
          "importance": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Importance"
          },
          "is_semantic_match": {
            "default": false,
            "title": "Is Semantic Match",
            "type": "boolean"
          },
          "match_source": {
            "enum": [
              "text",
              "visual",
              "table"
            ],
            "title": "Match Source",
            "type": "string"
          },
          "matched_entities": {
            "items": {
              "type": "string"
            },
            "title": "Matched Entities",
            "type": "array"
          },
          "page_number": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Page Number"
          },
          "sourcer_kind": {
            "anyOf": [
              {
                "enum": [
                  "pages",
                  "images"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sourcer Kind"
          },
          "total_pages": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Total Pages"
          }
        },
        "required": [
          "attachment_id",
          "attachment_type",
          "match_source"
        ],
        "title": "AttachmentMatchInfo",
        "type": "object"
      },
      "AttachmentMatchInfoForAgent": {
        "properties": {
          "attachment_id": {
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "attachment_type": {
            "enum": [
              "pdf",
              "image"
            ],
            "title": "Attachment Type",
            "type": "string"
          },
          "highlighted_snippets": {
            "items": {
              "type": "string"
            },
            "title": "Highlighted Snippets",
            "type": "array"
          },
          "match_source": {
            "enum": [
              "text",
              "visual"
            ],
            "title": "Match Source",
            "type": "string"
          },
          "matched_entities": {
            "items": {
              "type": "string"
            },
            "title": "Matched Entities",
            "type": "array"
          },
          "page_number": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Page Number"
          },
          "total_pages": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Total Pages"
          }
        },
        "required": [
          "attachment_id",
          "attachment_type",
          "match_source"
        ],
        "title": "AttachmentMatchInfoForAgent",
        "type": "object"
      },
      "AttachmentMatchInfoSchema": {
        "properties": {
          "attachment_id": {
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "attachment_type": {
            "enum": [
              "pdf",
              "image"
            ],
            "title": "Attachment Type",
            "type": "string"
          },
          "attachment_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Attachment Url"
          },
          "filename": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Filename"
          },
          "highlighted_snippets": {
            "items": {
              "type": "string"
            },
            "title": "Highlighted Snippets",
            "type": "array"
          },
          "importance": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Importance"
          },
          "is_semantic_match": {
            "default": false,
            "title": "Is Semantic Match",
            "type": "boolean"
          },
          "match_source": {
            "enum": [
              "text",
              "visual",
              "table"
            ],
            "title": "Match Source",
            "type": "string"
          },
          "matched_entities": {
            "items": {
              "type": "string"
            },
            "title": "Matched Entities",
            "type": "array"
          },
          "page_number": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Page Number"
          },
          "sourcer_kind": {
            "anyOf": [
              {
                "enum": [
                  "pages",
                  "images"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sourcer Kind"
          },
          "total_pages": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Total Pages"
          }
        },
        "required": [
          "attachment_id",
          "attachment_type",
          "match_source"
        ],
        "title": "AttachmentMatchInfoSchema",
        "type": "object"
      },
      "AttachmentPdfPageResponseSchema": {
        "properties": {
          "key_entities": {
            "items": {
              "type": "string"
            },
            "title": "Key Entities",
            "type": "array"
          },
          "page_number": {
            "title": "Page Number",
            "type": "integer"
          },
          "plain_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Plain Text"
          },
          "suggested_search": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Suggested Search"
          },
          "summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Summary"
          }
        },
        "required": [
          "page_number"
        ],
        "title": "AttachmentPdfPageResponseSchema",
        "type": "object"
      },
      "AttachmentPdfResponseSchema": {
        "properties": {
          "filename": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Filename"
          },
          "has_more": {
            "default": false,
            "title": "Has More",
            "type": "boolean"
          },
          "mime_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mime Type"
          },
          "page_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Page Count"
          },
          "page_limit": {
            "default": 0,
            "title": "Page Limit",
            "type": "integer"
          },
          "page_offset": {
            "default": 0,
            "title": "Page Offset",
            "type": "integer"
          },
          "pages": {
            "items": {
              "$ref": "#/components/schemas/AttachmentPdfPageResponseSchema"
            },
            "title": "Pages",
            "type": "array"
          },
          "suggested_search": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Suggested Search"
          },
          "summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Summary"
          }
        },
        "title": "AttachmentPdfResponseSchema",
        "type": "object"
      },
      "AttachmentReference": {
        "description": "Sidecar metadata for markdown links that point at a specific attachment page.",
        "properties": {
          "page": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Page"
          },
          "ref_id": {
            "title": "Ref Id",
            "type": "string"
          },
          "url": {
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "ref_id",
          "url",
          "page"
        ],
        "title": "AttachmentReference",
        "type": "object"
      },
      "AttachmentType": {
        "enum": [
          "pdf",
          "image",
          "audio_recording",
          "calendar_event",
          "email"
        ],
        "title": "AttachmentType",
        "type": "string"
      },
      "AudioArtifactInternalResponseSchema": {
        "properties": {
          "artifact_kind": {
            "const": "AUDIO",
            "title": "Artifact Kind",
            "type": "string"
          },
          "audio_duration_seconds": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio Duration Seconds"
          },
          "captured_audio_id": {
            "format": "uuid",
            "title": "Captured Audio Id",
            "type": "string"
          },
          "download_url": {
            "title": "Download Url",
            "type": "string"
          },
          "mime_type": {
            "title": "Mime Type",
            "type": "string"
          },
          "transcript_array": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CapturedAudioTranscriptArrayOutputItem"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Array"
          },
          "transcript_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Text"
          }
        },
        "required": [
          "captured_audio_id",
          "mime_type",
          "transcript_text",
          "artifact_kind",
          "download_url"
        ],
        "title": "AudioArtifactInternalResponseSchema",
        "type": "object"
      },
      "AudioRecordingAttachmentResponseSchema": {
        "properties": {
          "associated_note_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Associated Note Id"
          },
          "content_limit": {
            "default": 0,
            "title": "Content Limit",
            "type": "integer"
          },
          "content_offset": {
            "default": 0,
            "title": "Content Offset",
            "type": "integer"
          },
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "duration_seconds": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Duration Seconds"
          },
          "has_more": {
            "default": false,
            "title": "Has More",
            "type": "boolean"
          },
          "transcript": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Transcript content slice for an audio recording attachment.\nThe transcript is returned with available speaker labels, including\nparticipant names, generic diarization labels such as `[Speaker 1]`, and app\nchannel labels such as `[Speaker]` and `[Other Speakers]`.\nParticipant names are included only when available; many transcripts use\ngeneric diarization labels or app channel labels instead. Generic labels are\nspeaker grouping context, not verified participant identity.\nEmpty string means the recording exists but transcript data is not available\nfor this slice.",
            "title": "Transcript"
          },
          "transcript_total_characters": {
            "default": 0,
            "description": "Total character count for the formatted transcript before content slicing.\nSpeaker labels, when present, are included in this count.",
            "title": "Transcript Total Characters",
            "type": "integer"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated At"
          }
        },
        "title": "AudioRecordingAttachmentResponseSchema",
        "type": "object"
      },
      "AudioRecordingMergeIntentRequestSchema": {
        "properties": {
          "canonical_audio_recording_id": {
            "format": "uuid",
            "title": "Canonical Audio Recording Id",
            "type": "string"
          },
          "source_audio_recording_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Source Audio Recording Ids",
            "type": "array"
          }
        },
        "required": [
          "canonical_audio_recording_id",
          "source_audio_recording_ids"
        ],
        "title": "AudioRecordingMergeIntentRequestSchema",
        "type": "object"
      },
      "AudioRecordingProcessingStatus": {
        "enum": [
          "INITIAL",
          "IN_PROGRESS",
          "COMPLETED",
          "ERROR"
        ],
        "title": "AudioRecordingProcessingStatus",
        "type": "string"
      },
      "AudioRecordingRetranscriptionStatus": {
        "enum": [
          "INITIAL",
          "IN_PROGRESS",
          "COMPLETED",
          "ERROR"
        ],
        "title": "AudioRecordingRetranscriptionStatus",
        "type": "string"
      },
      "AudioRecordingStatus": {
        "enum": [
          "INITIAL",
          "IN_PROGRESS",
          "COMPLETED",
          "ERROR"
        ],
        "title": "AudioRecordingStatus",
        "type": "string"
      },
      "AudioRecordingSyncModelDataResponseSchema": {
        "properties": {
          "associated_client_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Associated Client Id"
          },
          "associated_note_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Associated Note Id"
          },
          "associated_platform_kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ClientPlatformKind"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "locally_created_at": {
            "format": "date-time",
            "title": "Locally Created At",
            "type": "string"
          },
          "locally_modified_at": {
            "format": "date-time",
            "title": "Locally Modified At",
            "type": "string"
          },
          "owned_by_space_account_id": {
            "format": "uuid",
            "title": "Owned By Space Account Id",
            "type": "string"
          },
          "processing_status": {
            "$ref": "#/components/schemas/AudioRecordingProcessingStatus"
          },
          "recording_status": {
            "$ref": "#/components/schemas/AudioRecordingStatus"
          },
          "retranscription_status": {
            "$ref": "#/components/schemas/AudioRecordingRetranscriptionStatus"
          },
          "trashed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Trashed At"
          },
          "upload_status": {
            "$ref": "#/components/schemas/AudioRecordingUploadStatus"
          },
          "value_json": {
            "additionalProperties": true,
            "title": "Value Json",
            "type": "object"
          }
        },
        "required": [
          "id",
          "owned_by_space_account_id",
          "upload_status",
          "recording_status",
          "processing_status",
          "retranscription_status",
          "locally_created_at",
          "locally_modified_at"
        ],
        "title": "AudioRecordingSyncModelDataResponseSchema",
        "type": "object"
      },
      "AudioRecordingSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/AudioRecordingSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "AUDIO_RECORDING",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "AudioRecordingSyncModelResponseSchema",
        "type": "object"
      },
      "AudioRecordingTranscriptDataRequestSchema": {
        "properties": {
          "transcript_array": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CapturedAudioTranscriptArrayInputItem"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Array"
          },
          "transcript_provider": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CapturedAudioTranscriptProvider"
              },
              {
                "type": "null"
              }
            ]
          },
          "transcript_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Text"
          }
        },
        "title": "AudioRecordingTranscriptDataRequestSchema",
        "type": "object"
      },
      "AudioRecordingUploadStatus": {
        "enum": [
          "INITIAL",
          "IN_PROGRESS",
          "COMPLETED",
          "SKIPPED",
          "ERROR"
        ],
        "title": "AudioRecordingUploadStatus",
        "type": "string"
      },
      "BackfillNoteAttachmentsForNoteRequest": {
        "additionalProperties": false,
        "properties": {
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          }
        },
        "required": [
          "note_id"
        ],
        "title": "BackfillNoteAttachmentsForNoteRequest",
        "type": "object"
      },
      "BackfillNoteAttachmentsForNoteResult": {
        "additionalProperties": false,
        "properties": {
          "attachment_urls_found": {
            "title": "Attachment Urls Found",
            "type": "integer"
          },
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          }
        },
        "required": [
          "note_id",
          "attachment_urls_found"
        ],
        "title": "BackfillNoteAttachmentsForNoteResult",
        "type": "object"
      },
      "BaseApiErrorSchema": {
        "properties": {
          "error_category": {
            "$ref": "#/components/schemas/ApiErrorCategory"
          },
          "error_metadata": {
            "additionalProperties": true,
            "title": "Error Metadata",
            "type": "object"
          }
        },
        "required": [
          "error_category"
        ],
        "title": "BaseApiErrorSchema",
        "type": "object"
      },
      "BaseHttpErrorSchema": {
        "properties": {
          "detail": {
            "title": "Detail",
            "type": "string"
          }
        },
        "required": [
          "detail"
        ],
        "title": "BaseHttpErrorSchema",
        "type": "object"
      },
      "BootstrapSessionNotFoundSchema": {
        "properties": {},
        "title": "BootstrapSessionNotFoundSchema",
        "type": "object"
      },
      "BootstrapSyncUpdatesFilterQuerySchema": {
        "properties": {
          "exclude_sync_model_kinds": {
            "anyOf": [
              {
                "items": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/SyncModelKind"
                    },
                    {
                      "const": "CHAT_MESSAGE",
                      "type": "string"
                    }
                  ]
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "List of sync model kinds to exclude"
          },
          "filter_session_event_sync_models_by_associated_session_kind": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/SessionKind"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Associated session kinds to include for SESSION_EVENT sync models"
          },
          "filter_session_sync_models_by_kind": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/SessionKind"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Session kinds to include for SESSION sync models"
          },
          "only_sync_model_kinds": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/SyncModelKind"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "List of sync model kinds to include"
          },
          "sync_model_kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SyncModelKind"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sync model kind to include"
          }
        },
        "title": "BootstrapSyncUpdatesFilterQuerySchema",
        "type": "object"
      },
      "BootstrapSyncUpdatesPaginatedResponseSchema": {
        "properties": {
          "end_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "End Cursor"
          },
          "results": {
            "items": {
              "discriminator": {
                "mapping": {
                  "ACL_UPSERTED": "#/components/schemas/AclUpsertedSyncUpdateResponseSchema",
                  "UPSERTED": "#/components/schemas/UpsertedSyncUpdateResponseSchema"
                },
                "propertyName": "kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/UpsertedSyncUpdateResponseSchema"
                },
                {
                  "$ref": "#/components/schemas/AclUpsertedSyncUpdateResponseSchema"
                }
              ]
            },
            "title": "Results",
            "type": "array"
          },
          "sync_id": {
            "title": "Sync Id",
            "type": "string"
          }
        },
        "required": [
          "sync_id",
          "results",
          "end_cursor"
        ],
        "title": "BootstrapSyncUpdatesPaginatedResponseSchema",
        "type": "object"
      },
      "CalendarEventArtifactInternalResponseSchema": {
        "properties": {
          "artifact_kind": {
            "const": "CALENDAR_EVENT",
            "title": "Artifact Kind",
            "type": "string"
          },
          "attachments": {
            "items": {
              "$ref": "#/components/schemas/CalendarEventAttachment"
            },
            "title": "Attachments",
            "type": "array"
          },
          "attendees": {
            "items": {
              "$ref": "#/components/schemas/CalendarEventAttendee"
            },
            "title": "Attendees",
            "type": "array"
          },
          "calendar_background_color": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Calendar Background Color"
          },
          "calendar_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Calendar Name"
          },
          "connected_calendar_event_id": {
            "format": "uuid",
            "title": "Connected Calendar Event Id",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "event_end_time": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Event End Time"
          },
          "event_start_time": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Event Start Time"
          },
          "event_title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Event Title"
          },
          "html_link": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Html Link"
          },
          "is_all_day": {
            "default": false,
            "title": "Is All Day",
            "type": "boolean"
          },
          "location": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location"
          },
          "meet_link": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Meet Link"
          },
          "organizer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CalendarEventOrganizer"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "connected_calendar_event_id",
          "artifact_kind"
        ],
        "title": "CalendarEventArtifactInternalResponseSchema",
        "type": "object"
      },
      "CalendarEventAttachment": {
        "description": "Calendar event attachment information.",
        "properties": {
          "file_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "File Url"
          },
          "icon_link": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Icon Link"
          },
          "mime_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mime Type"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "title": "CalendarEventAttachment",
        "type": "object"
      },
      "CalendarEventAttachmentResponseSchema": {
        "properties": {
          "attendees": {
            "items": {
              "additionalProperties": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": "object"
            },
            "title": "Attendees",
            "type": "array"
          },
          "calendar_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Calendar Name"
          },
          "content": {
            "title": "Content",
            "type": "string"
          },
          "content_limit": {
            "default": 0,
            "title": "Content Limit",
            "type": "integer"
          },
          "content_offset": {
            "default": 0,
            "title": "Content Offset",
            "type": "integer"
          },
          "content_total_characters": {
            "default": 0,
            "title": "Content Total Characters",
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "end_time": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "End Time"
          },
          "has_more": {
            "default": false,
            "title": "Has More",
            "type": "boolean"
          },
          "is_all_day": {
            "title": "Is All Day",
            "type": "boolean"
          },
          "meet_link": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Meet Link"
          },
          "self_response_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Self Response Status"
          },
          "start_time": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start Time"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "is_all_day",
          "content",
          "created_at",
          "updated_at"
        ],
        "title": "CalendarEventAttachmentResponseSchema",
        "type": "object"
      },
      "CalendarEventAttendee": {
        "description": "Calendar event attendee information.",
        "properties": {
          "display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name"
          },
          "email": {
            "title": "Email",
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "title": "CalendarEventAttendee",
        "type": "object"
      },
      "CalendarEventAttendeeStatus": {
        "description": "Response status for an attendee.",
        "enum": [
          "NEEDS_ACTION",
          "DECLINED",
          "ACCEPTED",
          "TENTATIVE"
        ],
        "title": "CalendarEventAttendeeStatus",
        "type": "string"
      },
      "CalendarEventItemSchema": {
        "properties": {
          "calendar_background_color": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Calendar Background Color"
          },
          "calendar_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Calendar Id"
          },
          "calendar_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Calendar Name"
          },
          "end_time": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "End Time"
          },
          "external_event_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "External Event Id"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "is_all_day": {
            "default": false,
            "title": "Is All Day",
            "type": "boolean"
          },
          "self_response_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Self Response Status"
          },
          "start_time": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start Time"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "required": [
          "id"
        ],
        "title": "CalendarEventItemSchema",
        "type": "object"
      },
      "CalendarEventOrganizer": {
        "description": "Calendar event organizer information.",
        "properties": {
          "display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name"
          },
          "email": {
            "title": "Email",
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "title": "CalendarEventOrganizer",
        "type": "object"
      },
      "CalendarItemSchema": {
        "properties": {
          "access_role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Access Role"
          },
          "background_color": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Background Color"
          },
          "calendar_id": {
            "title": "Calendar Id",
            "type": "string"
          },
          "is_enabled": {
            "default": false,
            "title": "Is Enabled",
            "type": "boolean"
          },
          "is_primary": {
            "default": false,
            "title": "Is Primary",
            "type": "boolean"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "provider": {
            "title": "Provider",
            "type": "string"
          },
          "subject_id": {
            "title": "Subject Id",
            "type": "string"
          },
          "time_zone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Time Zone"
          }
        },
        "required": [
          "provider",
          "subject_id",
          "calendar_id"
        ],
        "title": "CalendarItemSchema",
        "type": "object"
      },
      "CalendarOAuthCallbackRequestSchema": {
        "properties": {
          "client_kind": {
            "default": "web",
            "description": "OAuth client kind ('web' or 'ios').",
            "title": "Client Kind",
            "type": "string"
          },
          "code": {
            "description": "Authorization code from the OAuth provider.",
            "title": "Code",
            "type": "string"
          },
          "code_verifier": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "PKCE code verifier, if applicable.",
            "title": "Code Verifier"
          },
          "redirect_uri": {
            "description": "Redirect URI used during the connect step.",
            "title": "Redirect Uri",
            "type": "string"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "OAuth state parameter for CSRF protection.",
            "title": "State"
          }
        },
        "required": [
          "code",
          "redirect_uri"
        ],
        "title": "CalendarOAuthCallbackRequestSchema",
        "type": "object"
      },
      "CalendarOAuthCallbackResponseSchema": {
        "properties": {
          "provider": {
            "title": "Provider",
            "type": "string"
          },
          "request_id": {
            "title": "Request Id",
            "type": "string"
          },
          "subject_id": {
            "title": "Subject Id",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "provider",
          "subject_id"
        ],
        "title": "CalendarOAuthCallbackResponseSchema",
        "type": "object"
      },
      "CalendarSettings": {
        "properties": {
          "enable_calendar_event_notifications": {
            "default": false,
            "title": "Enable Calendar Event Notifications",
            "type": "boolean"
          },
          "enable_unscheduled_meeting_notifications": {
            "default": false,
            "title": "Enable Unscheduled Meeting Notifications",
            "type": "boolean"
          },
          "hide_calendar_integration_shill": {
            "default": false,
            "title": "Hide Calendar Integration Shill",
            "type": "boolean"
          }
        },
        "title": "CalendarSettings",
        "type": "object"
      },
      "CalendarSettingsPatch": {
        "properties": {
          "enable_calendar_event_notifications": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Enable Calendar Event Notifications"
          },
          "enable_unscheduled_meeting_notifications": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Enable Unscheduled Meeting Notifications"
          },
          "hide_calendar_integration_shill": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hide Calendar Integration Shill"
          }
        },
        "title": "CalendarSettingsPatch",
        "type": "object"
      },
      "CalendarWebhookStatus": {
        "description": "Statuses for calendar webhook setup.",
        "enum": [
          "TRYING_TO_CONNECT",
          "ACTIVE",
          "INACTIVE",
          "NOT_SUPPORTED",
          "UNKNOWN"
        ],
        "title": "CalendarWebhookStatus",
        "type": "string"
      },
      "CapturedAudioTranscriptArrayInputItem": {
        "additionalProperties": true,
        "properties": {
          "channel": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "deprecated": true,
            "description": "Deprecated. Prefer speaker_participant, speaker_label, speaker_variant, speaker_audio_source, or speaker_id.",
            "title": "Channel"
          },
          "disconnected": {
            "default": false,
            "title": "Disconnected",
            "type": "boolean"
          },
          "sort_key": {
            "title": "Sort Key",
            "type": "string"
          },
          "speaker_audio_source": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CapturedAudioTranscriptSpeakerAudioSource"
              }
            ],
            "default": "unknown",
            "description": "Audio capture origin for this turn. local_microphone means the recording device's microphone; system_audio means audio captured from the recording device's system output; unknown means not reliably classified."
          },
          "speaker_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Speaker Id"
          },
          "speaker_identification_context": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CapturedAudioTranscriptSpeakerIdentificationContext"
              },
              {
                "type": "null"
              }
            ]
          },
          "speaker_identification_reason": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CapturedAudioTranscriptSpeakerIdentificationReason"
              },
              {
                "type": "null"
              }
            ]
          },
          "speaker_label": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Speaker Label"
          },
          "speaker_label_kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CapturedAudioTranscriptSpeakerLabelKind"
              },
              {
                "type": "null"
              }
            ]
          },
          "speaker_participant": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CapturedAudioTranscriptSpeakerParticipant"
              },
              {
                "type": "null"
              }
            ]
          },
          "speaker_variant": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CapturedAudioTranscriptSpeakerVariant"
              },
              {
                "type": "null"
              }
            ]
          },
          "timestamp": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timestamp"
          },
          "transcript": {
            "title": "Transcript",
            "type": "string"
          }
        },
        "required": [
          "sort_key",
          "transcript"
        ],
        "title": "CapturedAudioTranscriptArrayInputItem",
        "type": "object"
      },
      "CapturedAudioTranscriptArrayOutputItem": {
        "additionalProperties": true,
        "properties": {
          "channel": {
            "description": "Compatibility channel resolved by the backend for older clients. New clients should use speaker attribution fields instead.",
            "title": "Channel",
            "type": "integer"
          },
          "disconnected": {
            "default": false,
            "title": "Disconnected",
            "type": "boolean"
          },
          "sort_key": {
            "title": "Sort Key",
            "type": "string"
          },
          "speaker_audio_source": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CapturedAudioTranscriptSpeakerAudioSource"
              }
            ],
            "default": "unknown",
            "description": "Audio capture origin for this turn. local_microphone means the recording device's microphone; system_audio means audio captured from the recording device's system output; unknown means not reliably classified."
          },
          "speaker_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Speaker Id"
          },
          "speaker_identification_context": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CapturedAudioTranscriptSpeakerIdentificationContext"
              },
              {
                "type": "null"
              }
            ]
          },
          "speaker_identification_reason": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CapturedAudioTranscriptSpeakerIdentificationReason"
              },
              {
                "type": "null"
              }
            ]
          },
          "speaker_label": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Speaker Label"
          },
          "speaker_label_kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CapturedAudioTranscriptSpeakerLabelKind"
              },
              {
                "type": "null"
              }
            ]
          },
          "speaker_participant": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CapturedAudioTranscriptSpeakerParticipant"
              },
              {
                "type": "null"
              }
            ]
          },
          "speaker_variant": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CapturedAudioTranscriptSpeakerVariant"
              },
              {
                "type": "null"
              }
            ]
          },
          "timestamp": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timestamp"
          },
          "transcript": {
            "title": "Transcript",
            "type": "string"
          }
        },
        "required": [
          "sort_key",
          "transcript",
          "channel"
        ],
        "title": "CapturedAudioTranscriptArrayOutputItem",
        "type": "object"
      },
      "CapturedAudioTranscriptProvider": {
        "enum": [
          "ASSEMBLY_AI",
          "ASSEMBLY_AI_PRERECORDED",
          "ASSEMBLY_AI_STREAMING",
          "APPLE_SPEECH"
        ],
        "title": "CapturedAudioTranscriptProvider",
        "type": "string"
      },
      "CapturedAudioTranscriptSpeakerAudioSource": {
        "enum": [
          "unknown",
          "local_microphone",
          "system_audio"
        ],
        "title": "CapturedAudioTranscriptSpeakerAudioSource",
        "type": "string"
      },
      "CapturedAudioTranscriptSpeakerIdentificationContext": {
        "enum": [
          "unknown",
          "whole_desktop",
          "meeting_window"
        ],
        "title": "CapturedAudioTranscriptSpeakerIdentificationContext",
        "type": "string"
      },
      "CapturedAudioTranscriptSpeakerIdentificationReason": {
        "enum": [
          "unknown",
          "legacy_channel",
          "whole_desktop_recall_host_label",
          "whole_desktop_recall_guest_label",
          "whole_desktop_unknown",
          "meeting_window_platform_participant",
          "meeting_window_unknown"
        ],
        "title": "CapturedAudioTranscriptSpeakerIdentificationReason",
        "type": "string"
      },
      "CapturedAudioTranscriptSpeakerLabelKind": {
        "enum": [
          "unknown",
          "generic",
          "channel"
        ],
        "title": "CapturedAudioTranscriptSpeakerLabelKind",
        "type": "string"
      },
      "CapturedAudioTranscriptSpeakerParticipant": {
        "additionalProperties": true,
        "description": "Meeting-platform participant identity for a transcript turn's speaker.\n\nRecall participant diarization can connect a transcript turn to a meeting\nparticipant. Keep that identity separate from generic diarization labels,\nwhich live in `speaker_label` and are not verified participant names.\n`is_platform_host` only describes the conferencing-platform role. It does\nnot mean \"local speaker\", \"Mem account owner\", or \"audio source\". Recall\nwhole-desktop Host/Guest labels are stream labels, not participant identity;\nuse speaker identity fields for those labels instead.",
        "properties": {
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "extra_data": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Extra Data"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "is_host": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "Deprecated compatibility alias for is_platform_host. New code should read is_platform_host.",
            "title": "Is Host"
          },
          "is_platform_host": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "Whether the meeting provider marks this participant as the platform host. This is not local-speaker or Mem-user identity.",
            "title": "Is Platform Host"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "platform": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Platform"
          }
        },
        "title": "CapturedAudioTranscriptSpeakerParticipant",
        "type": "object"
      },
      "CapturedAudioTranscriptSpeakerVariant": {
        "enum": [
          "unknown",
          "self",
          "other"
        ],
        "title": "CapturedAudioTranscriptSpeakerVariant",
        "type": "string"
      },
      "CaptureSourceKind": {
        "enum": [
          "IMPORT",
          "SMS",
          "EMAIL",
          "UNKNOWN"
        ],
        "title": "CaptureSourceKind",
        "type": "string"
      },
      "ChatSettings": {
        "properties": {
          "instructions": {
            "default": "",
            "title": "Instructions",
            "type": "string"
          }
        },
        "title": "ChatSettings",
        "type": "object"
      },
      "ChatSettingsPatch": {
        "properties": {
          "instructions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Instructions"
          }
        },
        "title": "ChatSettingsPatch",
        "type": "object"
      },
      "ChipSessionPart": {
        "deprecated": true,
        "properties": {
          "client_meta": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Meta"
          },
          "kind": {
            "const": "CHIP",
            "default": "CHIP",
            "title": "Kind",
            "type": "string"
          },
          "payload": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NoteChipSessionPartPayload"
              },
              {
                "$ref": "#/components/schemas/CollectionChipSessionPartPayload"
              },
              {
                "$ref": "#/components/schemas/WebsiteLinkChipSessionPartPayload"
              }
            ],
            "title": "Payload"
          }
        },
        "required": [
          "payload"
        ],
        "title": "ChipSessionPart",
        "type": "object"
      },
      "ChromeExtensionServiceInfoSchema": {
        "properties": {
          "minimum_supported_version": {
            "title": "Minimum Supported Version",
            "type": "string"
          }
        },
        "required": [
          "minimum_supported_version"
        ],
        "title": "ChromeExtensionServiceInfoSchema",
        "type": "object"
      },
      "ClassicHydrationSessionNotFoundSchema": {
        "properties": {},
        "title": "ClassicHydrationSessionNotFoundSchema",
        "type": "object"
      },
      "ClassicHydrationSyncUpdatesQuerySchema": {
        "properties": {
          "bootstrap_session_cursor": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bootstrap Session Cursor"
          },
          "exclude_sync_model_kinds": {
            "anyOf": [
              {
                "items": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/SyncModelKind"
                    },
                    {
                      "const": "CHAT_MESSAGE",
                      "type": "string"
                    }
                  ]
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "List of sync model kinds to exclude"
          },
          "exclude_sync_models_kinds": {
            "anyOf": [
              {
                "items": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/SyncModelKind"
                    },
                    {
                      "const": "CHAT_MESSAGE",
                      "type": "string"
                    }
                  ]
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "deprecated": true,
            "title": "List of sync model kinds to exclude"
          },
          "hydration_session_cursor": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hydration Session Cursor"
          },
          "only_sync_model_kinds": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/SyncModelKind"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "List of sync model kinds to include"
          },
          "page_size": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 50,
            "title": "Page Size"
          },
          "space_id": {
            "format": "uuid",
            "title": "Space Id",
            "type": "string"
          },
          "sync_model_ids": {
            "anyOf": [
              {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "List of sync model ids to include"
          },
          "sync_model_kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SyncModelKind"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sync model kind to include"
          }
        },
        "required": [
          "space_id"
        ],
        "title": "ClassicHydrationSyncUpdatesQuerySchema",
        "type": "object"
      },
      "ClassicHydrationSyncUpdatesResponseSchema": {
        "properties": {
          "has_next_page": {
            "title": "Has Next Page",
            "type": "boolean"
          },
          "hydration_session_cursor": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hydration Session Cursor"
          },
          "hydration_session_final_sync_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hydration Session Final Sync Id"
          },
          "results": {
            "items": {
              "discriminator": {
                "mapping": {
                  "ACL_UPSERTED": "#/components/schemas/AclUpsertedSyncUpdateResponseSchema",
                  "UPSERTED": "#/components/schemas/UpsertedSyncUpdateResponseSchema"
                },
                "propertyName": "kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/UpsertedSyncUpdateResponseSchema"
                },
                {
                  "$ref": "#/components/schemas/AclUpsertedSyncUpdateResponseSchema"
                }
              ]
            },
            "title": "Results",
            "type": "array"
          }
        },
        "required": [
          "results",
          "has_next_page",
          "hydration_session_cursor",
          "hydration_session_final_sync_id"
        ],
        "title": "ClassicHydrationSyncUpdatesResponseSchema",
        "type": "object"
      },
      "CleanupNoteErrorResponseSchema": {
        "properties": {
          "error_message": {
            "title": "Error Message",
            "type": "string"
          },
          "error_type": {
            "title": "Error Type",
            "type": "string"
          }
        },
        "required": [
          "error_type",
          "error_message"
        ],
        "title": "CleanupNoteErrorResponseSchema",
        "type": "object"
      },
      "ClearAttachmentInsightsResult": {
        "additionalProperties": false,
        "properties": {
          "attachment_id": {
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "images_deleted": {
            "title": "Images Deleted",
            "type": "integer"
          },
          "pages_deleted": {
            "title": "Pages Deleted",
            "type": "integer"
          }
        },
        "required": [
          "attachment_id",
          "pages_deleted",
          "images_deleted"
        ],
        "title": "ClearAttachmentInsightsResult",
        "type": "object"
      },
      "ClientApiErrorSchema": {
        "properties": {
          "error_category": {
            "const": "CLIENT_ERROR",
            "title": "Error Category",
            "type": "string"
          },
          "error_metadata": {
            "additionalProperties": true,
            "title": "Error Metadata",
            "type": "object"
          }
        },
        "required": [
          "error_category"
        ],
        "title": "ClientApiErrorSchema",
        "type": "object"
      },
      "ClientPlatformKind": {
        "enum": [
          "web",
          "macos",
          "windows",
          "ios",
          "internal",
          "unknown"
        ],
        "title": "ClientPlatformKind",
        "type": "string"
      },
      "CollectionChipSessionPartPayload": {
        "properties": {
          "collection_id": {
            "format": "uuid",
            "title": "Collection Id",
            "type": "string"
          },
          "collection_title": {
            "title": "Collection Title",
            "type": "string"
          },
          "kind": {
            "const": "COLLECTION",
            "default": "COLLECTION",
            "title": "Kind",
            "type": "string"
          }
        },
        "required": [
          "collection_title",
          "collection_id"
        ],
        "title": "CollectionChipSessionPartPayload",
        "type": "object"
      },
      "CollectionItemSyncModelDataResponseSchema": {
        "properties": {
          "added_by_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Added By Space Account Id"
          },
          "added_context_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Added Context Kind"
          },
          "collection_id": {
            "format": "uuid",
            "title": "Collection Id",
            "type": "string"
          },
          "item_id": {
            "format": "uuid",
            "title": "Item Id",
            "type": "string"
          },
          "item_kind": {
            "$ref": "#/components/schemas/CollectionItemSyncModelItemKind"
          },
          "locally_created_at": {
            "format": "date-time",
            "title": "Locally Created At",
            "type": "string"
          }
        },
        "required": [
          "collection_id",
          "item_id",
          "item_kind",
          "locally_created_at",
          "added_by_space_account_id"
        ],
        "title": "CollectionItemSyncModelDataResponseSchema",
        "type": "object"
      },
      "CollectionItemSyncModelItemKind": {
        "enum": [
          "NOTE",
          "TEMPLATE"
        ],
        "title": "CollectionItemSyncModelItemKind",
        "type": "string"
      },
      "CollectionItemSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/CollectionItemSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "COLLECTION_ITEM",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "CollectionItemSyncModelResponseSchema",
        "type": "object"
      },
      "CollectionListItemResponseSchema": {
        "properties": {
          "created_at": {
            "description": "Creation timestamp for the collection in ISO 8601 format.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional description text currently stored on the collection.",
            "title": "Description"
          },
          "id": {
            "description": "UUID of the collection.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "note_count": {
            "description": "Current number of notes in the collection.",
            "title": "Note Count",
            "type": "integer"
          },
          "title": {
            "description": "Current title of the collection.",
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "description": "Last modification timestamp for the collection in ISO 8601 format.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "title",
          "description",
          "note_count",
          "created_at",
          "updated_at"
        ],
        "title": "CollectionListItemResponseSchema",
        "type": "object"
      },
      "CollectionListOrderBy": {
        "enum": [
          "created_at",
          "updated_at"
        ],
        "title": "CollectionListOrderBy",
        "type": "string"
      },
      "CollectionListQuerySchema": {
        "properties": {
          "filter_by_created_after": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional inclusive lower bound for collection creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "title": "Filter By Created After"
          },
          "filter_by_created_before": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional inclusive upper bound for collection creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "title": "Filter By Created Before"
          },
          "filter_by_updated_after": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional inclusive lower bound for collection update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "title": "Filter By Updated After"
          },
          "filter_by_updated_before": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional inclusive upper bound for collection update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "title": "Filter By Updated Before"
          },
          "limit": {
            "anyOf": [
              {
                "maximum": 100,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 50,
            "description": "Maximum number of collections in this page.\nUse smaller values for lower latency.\nDefault is 50; valid range is 1 to 100.",
            "title": "Limit"
          },
          "order_by": {
            "allOf": [
              {
                "enum": [
                  "created_at",
                  "updated_at"
                ],
                "title": "CollectionListOrderBy",
                "type": "string"
              }
            ],
            "default": "updated_at",
            "description": "Sort key for pagination boundaries.\nUse `updated_at` (default) for recency feeds.\nUse `created_at` for creation-order views."
          },
          "page": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Opaque cursor from a previous list response.\nOmit for the first page.\nIMPORTANT: Reuse with the same filters and `order_by` settings.",
            "title": "Page"
          }
        },
        "title": "CollectionListQuerySchema",
        "type": "object"
      },
      "CollectionListResponseSchema": {
        "example": {
          "next_page": "eyJvcmRlcl9ieSI6InVwZGF0ZWRfYXQiLCJ2YWx1ZSI6IjIwMjUtMDUtMDRUMTQ6MjA6MTFaIiwiaWQiOiIwMThmOGQwZC01YTNjLTdhZmMtODMyMS0yZjZmNmUwZmVmYWIifQ",
          "request_id": "api-request-018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
          "results": [
            {
              "created_at": "2025-05-01T10:05:45Z",
              "description": "Initiatives and plans for Q1",
              "id": "018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
              "note_count": 12,
              "title": "Project Phoenix",
              "updated_at": "2025-05-04T14:20:11Z"
            }
          ],
          "total": 24
        },
        "properties": {
          "next_page": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Opaque cursor for the next page of collection results.\n`null` when there are no more results.",
            "title": "Next Page"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "results": {
            "description": "Page of collection results matching the requested sort.",
            "items": {
              "$ref": "#/components/schemas/CollectionListItemResponseSchema"
            },
            "title": "Results",
            "type": "array"
          },
          "total": {
            "description": "Total number of matching collections before pagination is applied.",
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "request_id",
          "results",
          "total"
        ],
        "title": "CollectionListResponseSchema",
        "type": "object"
      },
      "CollectionListSmartCardResponseSchema": {
        "properties": {
          "copied_from_smart_card_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Copied From Smart Card Id"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "COLLECTION_LIST",
            "title": "Kind",
            "type": "string"
          },
          "originated_from_find_more": {
            "title": "Originated From Find More",
            "type": "boolean"
          },
          "smart_view_id": {
            "format": "uuid",
            "title": "Smart View Id",
            "type": "string"
          },
          "sort_key": {
            "title": "Sort Key",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/CollectionListValueSchema"
          }
        },
        "required": [
          "id",
          "smart_view_id",
          "sort_key",
          "kind",
          "copied_from_smart_card_id",
          "originated_from_find_more",
          "value"
        ],
        "title": "CollectionListSmartCardResponseSchema",
        "type": "object"
      },
      "CollectionListValueSchema": {
        "properties": {
          "internal_reason_for_selection": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Reason For Selection"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/CollectionSmartCardItem"
            },
            "title": "Items",
            "type": "array"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "required": [
          "items"
        ],
        "title": "CollectionListValueSchema",
        "type": "object"
      },
      "CollectionMetadataSyncModelDataResponseSchema": {
        "properties": {
          "collection_id": {
            "format": "uuid",
            "title": "Collection Id",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "collection_id",
          "title"
        ],
        "title": "CollectionMetadataSyncModelDataResponseSchema",
        "type": "object"
      },
      "CollectionMetadataSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/CollectionMetadataSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "COLLECTION_METADATA",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "CollectionMetadataSyncModelResponseSchema",
        "type": "object"
      },
      "CollectionRecommendedNotesSearchEngineRequestSchema": {
        "properties": {
          "pagination_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SearchEnginePaginationManagerSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "space_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Space Id"
          }
        },
        "title": "CollectionRecommendedNotesSearchEngineRequestSchema",
        "type": "object"
      },
      "CollectionRecommendedNotesSearchEngineResponseSchema": {
        "properties": {
          "config": {
            "$ref": "#/components/schemas/SearchEngineRequestConfigResponseSchema"
          },
          "pagination_info": {
            "$ref": "#/components/schemas/SearchResponsePaginationInfoSchema"
          },
          "results": {
            "items": {
              "$ref": "#/components/schemas/OnlyNoteItemsSearchEngineResultSchema"
            },
            "title": "Results",
            "type": "array"
          }
        },
        "required": [
          "pagination_info",
          "results",
          "config"
        ],
        "title": "CollectionRecommendedNotesSearchEngineResponseSchema",
        "type": "object"
      },
      "CollectionSearchItemResponseSchema": {
        "properties": {
          "created_at": {
            "description": "Creation timestamp for the collection in ISO 8601 format.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional description text currently stored on the collection.",
            "title": "Description"
          },
          "id": {
            "description": "UUID of the collection.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "note_count": {
            "description": "Current number of notes in the collection.",
            "title": "Note Count",
            "type": "integer"
          },
          "title": {
            "description": "Current title of the collection.",
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "description": "Last modification timestamp for the collection in ISO 8601 format.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "title",
          "description",
          "note_count",
          "created_at",
          "updated_at"
        ],
        "title": "CollectionSearchItemResponseSchema",
        "type": "object"
      },
      "CollectionSearchRequestSchema": {
        "properties": {
          "filter_by_created_after": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional inclusive lower bound for collection creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "examples": [
              "2025-04-01T14:30:45Z",
              "2023-12-15T09:45:30+01:00"
            ],
            "title": "Filter By Created After"
          },
          "filter_by_created_before": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional inclusive upper bound for collection creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "examples": [
              "2025-04-30T23:59:59Z",
              "2023-12-31T18:00:00+01:00"
            ],
            "title": "Filter By Created Before"
          },
          "filter_by_updated_after": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional inclusive lower bound for collection update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "examples": [
              "2025-04-01T14:30:45Z",
              "2023-12-15T09:45:30+01:00"
            ],
            "title": "Filter By Updated After"
          },
          "filter_by_updated_before": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional inclusive upper bound for collection update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "examples": [
              "2025-04-30T23:59:59Z",
              "2023-12-31T18:00:00+01:00"
            ],
            "title": "Filter By Updated Before"
          },
          "query": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional text query for relevance matching across collections.\nIf omitted, search can still return a bounded general set.",
            "title": "Query"
          }
        },
        "title": "CollectionSearchRequestSchema",
        "type": "object"
      },
      "CollectionSearchResponseSchema": {
        "example": {
          "request_id": "api-request-018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
          "results": [
            {
              "created_at": "2025-03-18T11:00:00Z",
              "description": "Saved recipes from around the web",
              "id": "018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
              "note_count": 10,
              "title": "Recipe Notes",
              "updated_at": "2025-04-22T16:12:34Z"
            }
          ],
          "total": 1
        },
        "properties": {
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "results": {
            "description": "Relevance-ranked collection results matching the search request.",
            "items": {
              "$ref": "#/components/schemas/CollectionSearchItemResponseSchema"
            },
            "title": "Results",
            "type": "array"
          },
          "total": {
            "description": "Number of collections returned by this bounded search response.",
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "request_id",
          "results",
          "total"
        ],
        "title": "CollectionSearchResponseSchema",
        "type": "object"
      },
      "CollectionSessionMention": {
        "description": "Value class for collection mentions in sessions.\nContains metadata specific to collection mentions.",
        "properties": {
          "collection_id": {
            "title": "Collection Id",
            "type": "string"
          },
          "collection_title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Collection Title"
          },
          "kind": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SessionMentionKind"
              }
            ],
            "default": "COLLECTION"
          }
        },
        "required": [
          "collection_id"
        ],
        "title": "CollectionSessionMention",
        "type": "object"
      },
      "CollectionSmartCardItem": {
        "description": "Smart card item representing a collection.",
        "properties": {
          "collection_id": {
            "format": "uuid",
            "title": "Collection Id",
            "type": "string"
          },
          "internal_reason_for_selection": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Reason For Selection"
          },
          "kind": {
            "const": "COLLECTION",
            "default": "COLLECTION",
            "title": "Kind",
            "type": "string"
          },
          "primary_label": {
            "title": "Primary Label",
            "type": "string"
          },
          "secondary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Secondary Label"
          },
          "sort_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sort Key"
          }
        },
        "required": [
          "primary_label",
          "secondary_label",
          "collection_id"
        ],
        "title": "CollectionSmartCardItem",
        "type": "object"
      },
      "CollectionSyncModelDataResponseSchema": {
        "properties": {
          "attributed_created_by_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Attributed Created By Space Account Id"
          },
          "created_by_space_account_id": {
            "format": "uuid",
            "title": "Created By Space Account Id",
            "type": "string"
          },
          "created_context_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created Context Kind"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "import_batch_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Import Batch Id"
          },
          "last_added_to_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Added To At"
          },
          "last_modified_by_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Modified By Space Account Id"
          },
          "last_modified_context_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Modified Context Kind"
          },
          "last_removed_from_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Removed From At"
          },
          "last_updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Updated At"
          },
          "locally_created_at": {
            "format": "date-time",
            "title": "Locally Created At",
            "type": "string"
          },
          "locally_modified_at": {
            "format": "date-time",
            "title": "Locally Modified At",
            "type": "string"
          },
          "modified_by_space_account_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Modified By Space Account Ids",
            "type": "array"
          },
          "owned_by_space_account_id": {
            "format": "uuid",
            "title": "Owned By Space Account Id",
            "type": "string"
          },
          "shared_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Shared At"
          },
          "title": {
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "title",
          "description",
          "shared_at",
          "locally_created_at",
          "locally_modified_at",
          "last_updated_at",
          "last_added_to_at",
          "last_removed_from_at",
          "owned_by_space_account_id",
          "created_by_space_account_id",
          "modified_by_space_account_ids"
        ],
        "title": "CollectionSyncModelDataResponseSchema",
        "type": "object"
      },
      "CollectionSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/CollectionSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "COLLECTION",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "CollectionSyncModelResponseSchema",
        "type": "object"
      },
      "ComboboxCollectionItemResponseSchema": {
        "properties": {
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "item_id": {
            "format": "uuid",
            "title": "Item Id",
            "type": "string"
          },
          "item_kind": {
            "const": "COLLECTION",
            "default": "COLLECTION",
            "title": "Item Kind",
            "type": "string"
          },
          "note_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note Count"
          },
          "primary_label": {
            "title": "Primary Label",
            "type": "string"
          },
          "score": {
            "title": "Score",
            "type": "number"
          }
        },
        "required": [
          "item_id",
          "primary_label",
          "score"
        ],
        "title": "ComboboxCollectionItemResponseSchema",
        "type": "object"
      },
      "ComboboxNoteItemResponseSchema": {
        "properties": {
          "item_id": {
            "format": "uuid",
            "title": "Item Id",
            "type": "string"
          },
          "item_kind": {
            "const": "NOTE",
            "default": "NOTE",
            "title": "Item Kind",
            "type": "string"
          },
          "primary_label": {
            "title": "Primary Label",
            "type": "string"
          },
          "score": {
            "title": "Score",
            "type": "number"
          }
        },
        "required": [
          "item_id",
          "primary_label",
          "score"
        ],
        "title": "ComboboxNoteItemResponseSchema",
        "type": "object"
      },
      "ComboboxSearchRequestSchema": {
        "properties": {
          "item_kind_filter": {
            "anyOf": [
              {
                "enum": [
                  "NOTE",
                  "COLLECTION"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Item Kind Filter"
          },
          "limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 10,
            "title": "Limit"
          },
          "query": {
            "title": "Query",
            "type": "string"
          }
        },
        "required": [
          "query"
        ],
        "title": "ComboboxSearchRequestSchema",
        "type": "object"
      },
      "ComboboxSearchResponseSchema": {
        "properties": {
          "has_more": {
            "title": "Has More",
            "type": "boolean"
          },
          "results": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ComboboxNoteItemResponseSchema"
                },
                {
                  "$ref": "#/components/schemas/ComboboxCollectionItemResponseSchema"
                }
              ]
            },
            "title": "Results",
            "type": "array"
          },
          "total_count": {
            "title": "Total Count",
            "type": "integer"
          }
        },
        "required": [
          "results",
          "total_count",
          "has_more"
        ],
        "title": "ComboboxSearchResponseSchema",
        "type": "object"
      },
      "CompleteNonSkippableTrialOnboardingRequestSchema": {
        "properties": {
          "assignment_id": {
            "format": "uuid",
            "title": "Assignment Id",
            "type": "string"
          }
        },
        "required": [
          "assignment_id"
        ],
        "title": "CompleteNonSkippableTrialOnboardingRequestSchema",
        "type": "object"
      },
      "ComponentStatus": {
        "properties": {
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "ComponentStatus",
        "type": "object"
      },
      "ConnectCalendarRequestSchema": {
        "properties": {
          "client_kind": {
            "default": "web",
            "description": "OAuth client kind ('web' or 'ios').",
            "title": "Client Kind",
            "type": "string"
          },
          "redirect_uri": {
            "description": "OAuth redirect URI for the callback.",
            "title": "Redirect Uri",
            "type": "string"
          }
        },
        "required": [
          "redirect_uri"
        ],
        "title": "ConnectCalendarRequestSchema",
        "type": "object"
      },
      "ConnectCalendarResponseSchema": {
        "properties": {
          "authorization_url": {
            "title": "Authorization Url",
            "type": "string"
          },
          "request_id": {
            "title": "Request Id",
            "type": "string"
          },
          "scopes": {
            "items": {
              "type": "string"
            },
            "title": "Scopes",
            "type": "array"
          },
          "state": {
            "title": "State",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "authorization_url",
          "state",
          "scopes"
        ],
        "title": "ConnectCalendarResponseSchema",
        "type": "object"
      },
      "ConnectedCalendarEventListQuerySchema": {
        "properties": {
          "calendar_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Calendar Id"
          },
          "limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 50,
            "title": "Limit"
          },
          "offset": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Offset"
          },
          "start_at_gte": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start At Gte"
          },
          "start_at_lte": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start At Lte"
          }
        },
        "title": "ConnectedCalendarEventListQuerySchema",
        "type": "object"
      },
      "ConnectedCalendarEventListResponseSchema": {
        "properties": {
          "results": {
            "items": {
              "$ref": "#/components/schemas/ConnectedCalendarEventSchema"
            },
            "title": "Results",
            "type": "array"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "results",
          "total"
        ],
        "title": "ConnectedCalendarEventListResponseSchema",
        "type": "object"
      },
      "ConnectedCalendarEventMeetingBriefingResponseSchema": {
        "properties": {
          "calendar_event_id": {
            "format": "uuid",
            "title": "Calendar Event Id",
            "type": "string"
          },
          "generated_at": {
            "format": "date-time",
            "title": "Generated At",
            "type": "string"
          },
          "markdown": {
            "title": "Markdown",
            "type": "string"
          },
          "reasoning": {
            "title": "Reasoning",
            "type": "string"
          },
          "timing": {
            "$ref": "#/components/schemas/MeetingBriefingTimingSchema"
          },
          "tool_calls": {
            "items": {
              "$ref": "#/components/schemas/MeetingBriefingToolCallSchema"
            },
            "title": "Tool Calls",
            "type": "array"
          }
        },
        "required": [
          "calendar_event_id",
          "markdown",
          "generated_at",
          "reasoning",
          "tool_calls",
          "timing"
        ],
        "title": "ConnectedCalendarEventMeetingBriefingResponseSchema",
        "type": "object"
      },
      "ConnectedCalendarEventSchema": {
        "properties": {
          "connected_calendar_id": {
            "format": "uuid",
            "title": "Connected Calendar Id",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "end_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "End At"
          },
          "external_event_id": {
            "title": "External Event Id",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "provider_kind": {
            "title": "Provider Kind",
            "type": "string"
          },
          "reconciled_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reconciled At"
          },
          "self_response_status": {
            "$ref": "#/components/schemas/CalendarEventAttendeeStatus"
          },
          "start_at": {
            "format": "date-time",
            "title": "Start At",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "value": {
            "additionalProperties": true,
            "title": "Value",
            "type": "object"
          }
        },
        "required": [
          "id",
          "connected_calendar_id",
          "provider_kind",
          "external_event_id",
          "start_at",
          "end_at",
          "value",
          "reconciled_at",
          "created_at",
          "updated_at",
          "self_response_status"
        ],
        "title": "ConnectedCalendarEventSchema",
        "type": "object"
      },
      "ConnectedCalendarListResponseSchema": {
        "properties": {
          "results": {
            "items": {
              "$ref": "#/components/schemas/ConnectedCalendarSchema"
            },
            "title": "Results",
            "type": "array"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "results",
          "total"
        ],
        "title": "ConnectedCalendarListResponseSchema",
        "type": "object"
      },
      "ConnectedCalendarProviderKind": {
        "enum": [
          "GOOGLE_CALENDAR",
          "OUTLOOK_CALENDAR",
          "UNKNOWN"
        ],
        "title": "ConnectedCalendarProviderKind",
        "type": "string"
      },
      "ConnectedCalendarReconcileRequestSchema": {
        "properties": {
          "run_sync": {
            "default": true,
            "title": "Run Sync",
            "type": "boolean"
          }
        },
        "title": "ConnectedCalendarReconcileRequestSchema",
        "type": "object"
      },
      "ConnectedCalendarReconcileResponseSchema": {
        "properties": {
          "message": {
            "title": "Message",
            "type": "string"
          },
          "workflow_id": {
            "title": "Workflow Id",
            "type": "string"
          }
        },
        "required": [
          "message",
          "workflow_id"
        ],
        "title": "ConnectedCalendarReconcileResponseSchema",
        "type": "object"
      },
      "ConnectedCalendarRefreshRequestSchema": {
        "properties": {
          "run_sync": {
            "default": false,
            "title": "Run Sync",
            "type": "boolean"
          }
        },
        "title": "ConnectedCalendarRefreshRequestSchema",
        "type": "object"
      },
      "ConnectedCalendarRefreshResponseSchema": {
        "properties": {
          "already_running": {
            "default": false,
            "title": "Already Running",
            "type": "boolean"
          },
          "message": {
            "title": "Message",
            "type": "string"
          },
          "workflow_id": {
            "title": "Workflow Id",
            "type": "string"
          }
        },
        "required": [
          "message",
          "workflow_id"
        ],
        "title": "ConnectedCalendarRefreshResponseSchema",
        "type": "object"
      },
      "ConnectedCalendarSchema": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "external_calendar_id": {
            "title": "External Calendar Id",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "last_reconciled_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Reconciled At"
          },
          "provider_kind": {
            "title": "Provider Kind",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "value": {
            "additionalProperties": true,
            "title": "Value",
            "type": "object"
          }
        },
        "required": [
          "id",
          "provider_kind",
          "external_calendar_id",
          "value",
          "last_reconciled_at",
          "created_at",
          "updated_at"
        ],
        "title": "ConnectedCalendarSchema",
        "type": "object"
      },
      "ConnectionItemSchema": {
        "properties": {
          "connected_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Connected At"
          },
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "provider": {
            "title": "Provider",
            "type": "string"
          },
          "subject_id": {
            "title": "Subject Id",
            "type": "string"
          }
        },
        "required": [
          "provider",
          "subject_id"
        ],
        "title": "ConnectionItemSchema",
        "type": "object"
      },
      "ContactSyncModelDataResponseSchema": {
        "properties": {
          "profile_display_name": {
            "title": "Profile Display Name",
            "type": "string"
          },
          "profile_email_address": {
            "title": "Profile Email Address",
            "type": "string"
          },
          "profile_photo_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Profile Photo Url"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "profile_email_address",
          "profile_photo_url",
          "profile_display_name"
        ],
        "title": "ContactSyncModelDataResponseSchema",
        "type": "object"
      },
      "ContactSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/ContactSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "CONTACT",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "ContactSyncModelResponseSchema",
        "type": "object"
      },
      "ConvexAuthTokenRequestSchema": {
        "properties": {
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          }
        },
        "required": [
          "space_account_id"
        ],
        "title": "ConvexAuthTokenRequestSchema",
        "type": "object"
      },
      "ConvexAuthTokenResponseSchema": {
        "properties": {
          "expires_at": {
            "format": "date-time",
            "title": "Expires At",
            "type": "string"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          },
          "token": {
            "title": "Token",
            "type": "string"
          }
        },
        "required": [
          "token",
          "expires_at",
          "space_account_id"
        ],
        "title": "ConvexAuthTokenResponseSchema",
        "type": "object"
      },
      "CreateAssistantRequestSchema": {
        "properties": {
          "is_enabled": {
            "default": true,
            "title": "Is Enabled",
            "type": "boolean"
          }
        },
        "title": "CreateAssistantRequestSchema",
        "type": "object"
      },
      "CreateCapturedWebsiteRequestSchema": {
        "properties": {
          "captured_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Captured At"
          },
          "id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "uploaded_file_id": {
            "format": "uuid",
            "title": "Uploaded File Id",
            "type": "string"
          },
          "website_title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Website Title"
          },
          "website_url": {
            "title": "Website Url",
            "type": "string"
          }
        },
        "required": [
          "website_url",
          "uploaded_file_id"
        ],
        "title": "CreateCapturedWebsiteRequestSchema",
        "type": "object"
      },
      "CreateCapturedWebsiteResponseSchema": {
        "properties": {
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "title": "CreateCapturedWebsiteResponseSchema",
        "type": "object"
      },
      "CreateCollectionRequestSchema": {
        "properties": {
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional creation timestamp (ISO 8601).\nIf provided, it must include a timezone offset and cannot be in the future.\nIf omitted, Mem uses `updated_at` when provided; otherwise current server time.",
            "examples": [
              "2025-04-01T14:30:45Z",
              "2023-12-15T09:45:30+01:00"
            ],
            "title": "Created At"
          },
          "description": {
            "anyOf": [
              {
                "description": "Optional descriptive text for collection scope or intent.\nMaximum: 10,000 characters (and no more than 10,000 UTF-8 bytes).",
                "maxLength": 10000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional longer description of collection scope or intent.\nMaximum: 10,000 characters (and no more than 10,000 UTF-8 bytes).",
            "examples": [
              "Anything related to Acme Corp; a software company that provides a suite of tools for managing customer relationships."
            ],
            "title": "Description"
          },
          "id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional caller-provided UUID for the collection.\nIf omitted, Mem generates a new UUID.\nIf the provided ID already exists, this request returns a conflict.",
            "title": "Id"
          },
          "title": {
            "description": "Title for the collection.\nUse a short, stable label suitable for navigation and search.\nMaximum: 1,000 characters (and no more than 1,000 UTF-8 bytes).",
            "examples": [
              "Acme Corp"
            ],
            "maxLength": 1000,
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional \"last updated\" timestamp for this write (ISO 8601).\nIf provided, it must include a timezone offset and cannot be in the future.\nIf omitted, Mem uses `created_at` for the initial collection write.",
            "examples": [
              "2025-04-02T09:15:22Z",
              "2023-12-15T09:45:30+01:00"
            ],
            "title": "Updated At"
          }
        },
        "required": [
          "title"
        ],
        "title": "CreateCollectionRequestSchema",
        "type": "object"
      },
      "CreateCollectionResponseSchema": {
        "example": {
          "created_at": "2025-04-11T04:47:14.457Z",
          "description": "Anything related to Acme Corp; a software company that provides a suite of tools for managing customer relationships.",
          "id": "5e29c8a2-c73b-476b-9311-e2579712d4b1",
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522",
          "title": "Acme Corp",
          "updated_at": "2025-04-11T04:47:19.702Z"
        },
        "properties": {
          "created_at": {
            "description": "Creation timestamp for the collection in ISO 8601 format.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional description text currently stored on the collection.",
            "title": "Description"
          },
          "id": {
            "description": "UUID of the created collection.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "title": {
            "description": "Current title of the collection.",
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "description": "Last modification timestamp for the collection in ISO 8601 format.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "id",
          "title",
          "description",
          "created_at",
          "updated_at"
        ],
        "title": "CreateCollectionResponseSchema",
        "type": "object"
      },
      "CreateCollectionToolCallArgs": {
        "properties": {
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "title": {
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "title"
        ],
        "title": "CreateCollectionToolCallArgs",
        "type": "object"
      },
      "CreateCollectionToolCallResult": {
        "properties": {
          "collection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AgentCollectionModel"
              },
              {
                "type": "null"
              }
            ]
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "CreateCollectionToolCallResult",
        "type": "object"
      },
      "CreatedCollectionSessionOperationSchema": {
        "properties": {
          "collection_id": {
            "format": "uuid",
            "title": "Collection Id",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "type": {
            "const": "created-collection",
            "default": "created-collection",
            "title": "Type",
            "type": "string"
          },
          "url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Url"
          }
        },
        "required": [
          "collection_id",
          "title"
        ],
        "title": "CreatedCollectionOperation",
        "type": "object"
      },
      "CreatedNoteSessionOperationSchema": {
        "properties": {
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "type": {
            "const": "created-note",
            "default": "created-note",
            "title": "Type",
            "type": "string"
          },
          "url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Url"
          }
        },
        "required": [
          "note_id",
          "title"
        ],
        "title": "CreatedNoteOperation",
        "type": "object"
      },
      "CreateDraftNoteToolCallArgs": {
        "properties": {
          "draft_note": {
            "title": "Draft Note",
            "type": "string"
          }
        },
        "required": [
          "draft_note"
        ],
        "title": "CreateDraftNoteToolCallArgs",
        "type": "object"
      },
      "CreateDraftNoteToolCallResult": {
        "properties": {
          "draft_note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Draft Note"
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "CreateDraftNoteToolCallResult",
        "type": "object"
      },
      "CreateEmailIntegrationSenderRequestSchema": {
        "properties": {
          "email": {
            "title": "Email",
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "title": "CreateEmailIntegrationSenderRequestSchema",
        "type": "object"
      },
      "CreateFactCardToolCallArgs": {
        "properties": {
          "fact_label": {
            "title": "Fact Label",
            "type": "string"
          },
          "fact_source": {
            "title": "Fact Source",
            "type": "string"
          },
          "fact_value": {
            "title": "Fact Value",
            "type": "string"
          }
        },
        "required": [
          "fact_label",
          "fact_value",
          "fact_source"
        ],
        "title": "CreateFactCardToolCallArgs",
        "type": "object"
      },
      "CreateFactCardToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "fact_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fact Label"
          },
          "fact_source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fact Source"
          },
          "fact_value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fact Value"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "CreateFactCardToolCallResult",
        "type": "object"
      },
      "CreateNoteRequestSchema": {
        "properties": {
          "collection_ids": {
            "anyOf": [
              {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional collection IDs to associate with the note.\nIDs that do not map to accessible collections are ignored.",
            "title": "Collection Ids"
          },
          "collection_titles": {
            "anyOf": [
              {
                "items": {
                  "description": "Collection title used for exact case-insensitive matching in `collection_titles`.\nMaximum: 1,000 characters.",
                  "maxLength": 1000,
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional collection titles to associate with the note.\nMatching is case-insensitive exact match; titles with no match are ignored.\nMaximum per title: 1,000 characters (and no more than 1,000 UTF-8 bytes).",
            "examples": [
              [
                "Acme Corp",
                "Project Phoenix"
              ]
            ],
            "title": "Collection Titles"
          },
          "content": {
            "description": "Full markdown body for the note.\nSend the full desired note body (partial patch semantics are not supported here).\nIMPORTANT: The first line is interpreted as the note title.\nMaximum: 200,000 characters (and no more than 200,000 UTF-8 bytes on create).",
            "examples": [
              "# Meeting with Product Team\n\nDiscussion Topics:\n- Roadmap updates\n- Feature prioritization\n\nAction Items:\n- Schedule follow-up with design\n- Share Q2 priorities document"
            ],
            "maxLength": 200000,
            "title": "Content",
            "type": "string"
          },
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional creation timestamp (ISO 8601).\nIf provided, it must include a timezone offset and cannot be in the future.\nIf omitted, Mem uses `updated_at` when provided; otherwise current server time.",
            "examples": [
              "2025-04-01T14:30:45Z",
              "2023-12-15T09:45:30+01:00"
            ],
            "title": "Created At"
          },
          "id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional UUID for the note.\nIf omitted, Mem generates a new UUID.",
            "title": "Id"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional \"last updated\" timestamp for this write (ISO 8601).\nIf provided, it must include a timezone offset and cannot be in the future.\nIf omitted, Mem uses the current server time for the initial content write.",
            "examples": [
              "2025-04-02T09:15:22Z",
              "2023-12-15T09:45:30+01:00"
            ],
            "title": "Updated At"
          }
        },
        "required": [
          "content"
        ],
        "title": "CreateNoteRequestSchema",
        "type": "object"
      },
      "CreateNoteResponseSchema": {
        "example": {
          "collection_ids": [
            "59508b41-8770-4855-aa37-302b1e09aee7",
            "026b426c-14fb-4f22-8d98-7a9121bfaec8"
          ],
          "content": "# Sales Call with Acme Corp\n\nContact: John Smith (john@acme.com)\n\nInterested in enterprise plan. Follow up next week.\n\n## Action Items\n- Schedule follow-up call next week\n- Send enterprise pricing information\n\n## Key Points\n- Interested in enterprise plan\n- Contact: John Smith (john@acme.com)",
          "created_at": "2025-04-11T04:47:14.457Z",
          "id": "5e29c8a2-c73b-476b-9311-e2579712d4b1",
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522",
          "title": "Sales Call with Acme Corp",
          "updated_at": "2025-04-11T04:47:19.702Z",
          "version": 2
        },
        "properties": {
          "collection_ids": {
            "description": "Collection UUIDs currently associated with this note.",
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Collection Ids",
            "type": "array"
          },
          "content": {
            "description": "Full markdown content stored for the note.",
            "title": "Content",
            "type": "string"
          },
          "created_at": {
            "description": "Creation timestamp for the note in ISO 8601 format.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "UUID of the created note.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "title": {
            "description": "Current note title, derived from the first line of markdown content.",
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "description": "Last modification timestamp for the note in ISO 8601 format.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "version": {
            "description": "Current note content document version after this write.",
            "title": "Version",
            "type": "integer"
          }
        },
        "required": [
          "request_id",
          "id",
          "title",
          "content",
          "version",
          "collection_ids",
          "created_at",
          "updated_at"
        ],
        "title": "CreateNoteResponseSchema",
        "type": "object"
      },
      "CreateNoteToolCallArgs": {
        "properties": {
          "content": {
            "title": "Content",
            "type": "string"
          },
          "source_web_clip_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Web Clip Id"
          }
        },
        "required": [
          "content"
        ],
        "title": "CreateNoteToolCallArgs",
        "type": "object"
      },
      "CreateNoteToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "note": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AgentNoteModel"
              },
              {
                "type": "null"
              }
            ]
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "CreateNoteToolCallResult",
        "type": "object"
      },
      "CreateSessionEventOptionsSchema": {
        "properties": {
          "get_or_create_session": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionGetOrCreateConfigSchema"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "CreateSessionEventOptionsSchema",
        "type": "object"
      },
      "CreateSessionEventRequestSchema": {
        "properties": {
          "effect_config": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Effect Config"
          },
          "id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "kind": {
            "$ref": "#/components/schemas/SessionEventKind"
          },
          "locally_created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Locally Created At"
          },
          "options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CreateSessionEventOptionsSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "session_id": {
            "format": "uuid",
            "title": "Session Id",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionEventUserMessageValue"
              },
              {
                "$ref": "#/components/schemas/SessionEventAgentOutputValue"
              },
              {
                "$ref": "#/components/schemas/SessionEventExternalInputValue"
              },
              {
                "$ref": "#/components/schemas/SessionEventAgentToolInvocationValue"
              },
              {
                "$ref": "#/components/schemas/SessionEventUserActionV1Value"
              },
              {
                "$ref": "#/components/schemas/SessionEventAgentPlanningV1Value"
              },
              {
                "$ref": "#/components/schemas/SessionEventAgentActionV1Value"
              },
              {
                "$ref": "#/components/schemas/SessionEventAgentCommonActionV1Value"
              },
              {
                "$ref": "#/components/schemas/SessionEventAgentDigestV1Value"
              },
              {
                "$ref": "#/components/schemas/SessionEventSystemNotificationV1Value"
              }
            ],
            "title": "Value"
          }
        },
        "required": [
          "session_id",
          "kind",
          "value"
        ],
        "title": "CreateSessionEventRequestSchema",
        "type": "object"
      },
      "CreateSessionRequestSchema": {
        "properties": {
          "config": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionConfigSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionKind"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "title": "CreateSessionRequestSchema",
        "type": "object"
      },
      "CreateSharedItemInviteRequestSchema": {
        "properties": {
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          },
          "invitee_email": {
            "title": "Invitee Email",
            "type": "string"
          },
          "role": {
            "$ref": "#/components/schemas/AssignableSyncScopeRoleKind"
          },
          "shared_item_id": {
            "format": "uuid",
            "title": "Shared Item Id",
            "type": "string"
          },
          "shared_item_kind": {
            "$ref": "#/components/schemas/SharedItemKind"
          }
        },
        "required": [
          "shared_item_id",
          "shared_item_kind",
          "invitee_email",
          "role"
        ],
        "title": "CreateSharedItemInviteRequestSchema",
        "type": "object"
      },
      "CreateSharedItemInviteResponse": {
        "properties": {
          "accepted_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Accepted At"
          },
          "accepted_by_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Accepted By Space Account Id"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "invitee_email": {
            "title": "Invitee Email",
            "type": "string"
          },
          "invitee_email_normalized": {
            "title": "Invitee Email Normalized",
            "type": "string"
          },
          "inviter_space_account_id": {
            "format": "uuid",
            "title": "Inviter Space Account Id",
            "type": "string"
          },
          "is_revoked": {
            "title": "Is Revoked",
            "type": "boolean"
          },
          "role": {
            "title": "Role",
            "type": "string"
          },
          "shared_item_id": {
            "format": "uuid",
            "title": "Shared Item Id",
            "type": "string"
          },
          "shared_item_kind": {
            "title": "Shared Item Kind",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "verification_token": {
            "format": "uuid",
            "title": "Verification Token",
            "type": "string"
          }
        },
        "required": [
          "id",
          "inviter_space_account_id",
          "shared_item_id",
          "shared_item_kind",
          "invitee_email",
          "invitee_email_normalized",
          "role",
          "status",
          "verification_token",
          "expires_at",
          "is_revoked",
          "accepted_by_space_account_id",
          "accepted_at",
          "created_at",
          "updated_at"
        ],
        "title": "CreateSharedItemInviteResponse",
        "type": "object"
      },
      "CreateStripeCheckoutSessionRequestSchema": {
        "properties": {
          "billing_strategy": {
            "$ref": "#/components/schemas/StripeSubscriptionBillingStrategy"
          },
          "cancel_url": {
            "format": "uri",
            "maxLength": 2083,
            "minLength": 1,
            "title": "Cancel Url",
            "type": "string"
          },
          "client_reference_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Reference Id"
          },
          "plan_kind": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SubscriptionPlanKind"
              }
            ],
            "default": "pro"
          },
          "plan_variant": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SubscriptionPlanVariant"
              },
              {
                "type": "null"
              }
            ]
          },
          "return_url": {
            "anyOf": [
              {
                "format": "uri",
                "maxLength": 2083,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Return Url"
          },
          "success_url": {
            "format": "uri",
            "maxLength": 2083,
            "minLength": 1,
            "title": "Success Url",
            "type": "string"
          }
        },
        "required": [
          "success_url",
          "cancel_url",
          "billing_strategy"
        ],
        "title": "CreateStripeCheckoutSessionRequestSchema",
        "type": "object"
      },
      "CreateStripeCheckoutSessionResponseSchema": {
        "properties": {
          "already_paid": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Already Paid"
          },
          "provider": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SubscriptionProvider"
              },
              {
                "type": "null"
              }
            ]
          },
          "stripe_billing_portal_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Stripe Billing Portal Url"
          },
          "stripe_checkout_session_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Stripe Checkout Session Url"
          }
        },
        "title": "CreateStripeCheckoutSessionResponseSchema",
        "type": "object"
      },
      "CreateUploadedFileRequestSchema": {
        "properties": {
          "file_size_bytes": {
            "title": "File Size Bytes",
            "type": "integer"
          },
          "filename": {
            "title": "Filename",
            "type": "string"
          },
          "id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "mime_type": {
            "title": "Mime Type",
            "type": "string"
          },
          "uploaded_file_url": {
            "title": "Uploaded File Url",
            "type": "string"
          }
        },
        "required": [
          "filename",
          "mime_type",
          "file_size_bytes",
          "uploaded_file_url"
        ],
        "title": "CreateUploadedFileRequestSchema",
        "type": "object"
      },
      "CreateUploadedFileResponseSchema": {
        "properties": {
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "title": "CreateUploadedFileResponseSchema",
        "type": "object"
      },
      "CreateWebClipStagingRequestSchema": {
        "properties": {
          "captured_website_id": {
            "format": "uuid",
            "title": "Captured Website Id",
            "type": "string"
          },
          "clipped_rich_text_content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Clipped Rich Text Content"
          },
          "clipped_text_content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Clipped Text Content"
          },
          "html_uploaded_file_id": {
            "format": "uuid",
            "title": "Html Uploaded File Id",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "preview_thumbnail_uploaded_file_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Preview Thumbnail Uploaded File Id"
          },
          "preview_uploaded_file_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Preview Uploaded File Id"
          },
          "session_id": {
            "format": "uuid",
            "title": "Session Id",
            "type": "string"
          },
          "timestamp": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timestamp"
          },
          "web_clip_id": {
            "format": "uuid",
            "title": "Web Clip Id",
            "type": "string"
          },
          "website_title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Website Title"
          },
          "website_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Website Url"
          }
        },
        "required": [
          "id",
          "session_id",
          "captured_website_id",
          "web_clip_id",
          "html_uploaded_file_id"
        ],
        "title": "CreateWebClipStagingRequestSchema",
        "type": "object"
      },
      "CreateWebClipStagingResponseSchema": {
        "properties": {
          "captured_website_id": {
            "format": "uuid",
            "title": "Captured Website Id",
            "type": "string"
          },
          "staging_id": {
            "format": "uuid",
            "title": "Staging Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "web_clip_id": {
            "format": "uuid",
            "title": "Web Clip Id",
            "type": "string"
          }
        },
        "required": [
          "staging_id",
          "captured_website_id",
          "web_clip_id",
          "status"
        ],
        "title": "CreateWebClipStagingResponseSchema",
        "type": "object"
      },
      "DataExportDownloadURLResponseSchema": {
        "properties": {
          "url": {
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "title": "DataExportDownloadURLResponseSchema",
        "type": "object"
      },
      "DataExportSyncModelDataResponseSchema": {
        "properties": {
          "ended_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ended At"
          },
          "ended_with_error": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ended With Error"
          },
          "kind": {
            "$ref": "#/components/schemas/DataExportSyncModelKind"
          },
          "locally_created_at": {
            "format": "date-time",
            "title": "Locally Created At",
            "type": "string"
          },
          "locally_modified_at": {
            "format": "date-time",
            "title": "Locally Modified At",
            "type": "string"
          },
          "owned_by_space_account_id": {
            "format": "uuid",
            "title": "Owned By Space Account Id",
            "type": "string"
          },
          "started_at": {
            "format": "date-time",
            "title": "Started At",
            "type": "string"
          }
        },
        "required": [
          "owned_by_space_account_id",
          "kind",
          "locally_created_at",
          "locally_modified_at",
          "started_at",
          "ended_at",
          "ended_with_error"
        ],
        "title": "DataExportSyncModelDataResponseSchema",
        "type": "object"
      },
      "DataExportSyncModelKind": {
        "enum": [
          "MARKDOWN"
        ],
        "title": "DataExportSyncModelKind",
        "type": "string"
      },
      "DataExportSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/DataExportSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "DATA_EXPORT",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "DataExportSyncModelResponseSchema",
        "type": "object"
      },
      "DeleteCollectionResponseSchema": {
        "example": {
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522"
        },
        "properties": {
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id"
        ],
        "title": "DeleteCollectionResponseSchema",
        "type": "object"
      },
      "DeleteCollectionToolCallArgs": {
        "properties": {
          "collection_id": {
            "title": "Collection Id",
            "type": "string"
          }
        },
        "required": [
          "collection_id"
        ],
        "title": "DeleteCollectionToolCallArgs",
        "type": "object"
      },
      "DeleteCollectionToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "DeleteCollectionToolCallResult",
        "type": "object"
      },
      "DeletedNoteSessionOperationSchema": {
        "properties": {
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          },
          "type": {
            "const": "deleted-note",
            "default": "deleted-note",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "note_id"
        ],
        "title": "DeletedNoteOperation",
        "type": "object"
      },
      "DeletedSyncUpdateResponseSchema": {
        "properties": {
          "kind": {
            "const": "DELETED",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SyncUpdatePartialValueResponseSchema"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "DeletedSyncUpdateResponseSchema",
        "type": "object"
      },
      "DeleteEmailIntegrationSenderResponseSchema": {
        "properties": {
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "DeleteEmailIntegrationSenderResponseSchema",
        "type": "object"
      },
      "DeleteNoteResponseSchema": {
        "example": {
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522"
        },
        "properties": {
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id"
        ],
        "title": "DeleteNoteResponseSchema",
        "type": "object"
      },
      "DeprecatedRouteResponseSchema": {
        "properties": {
          "error": {
            "title": "Error",
            "type": "string"
          },
          "message": {
            "title": "Message",
            "type": "string"
          }
        },
        "required": [
          "error",
          "message"
        ],
        "title": "DeprecatedRouteResponseSchema",
        "type": "object"
      },
      "DisconnectCalendarRequestSchema": {
        "properties": {
          "subject_id": {
            "description": "Provider subject ID of the account to disconnect.",
            "title": "Subject Id",
            "type": "string"
          }
        },
        "required": [
          "subject_id"
        ],
        "title": "DisconnectCalendarRequestSchema",
        "type": "object"
      },
      "DisconnectCalendarResponseSchema": {
        "properties": {
          "request_id": {
            "title": "Request Id",
            "type": "string"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "request_id",
          "success"
        ],
        "title": "DisconnectCalendarResponseSchema",
        "type": "object"
      },
      "DismissIcpRfiResponseSchema": {
        "properties": {
          "onboarding_info": {
            "additionalProperties": true,
            "description": "Updated onboarding info",
            "title": "Onboarding Info",
            "type": "object"
          }
        },
        "required": [
          "onboarding_info"
        ],
        "title": "DismissIcpRfiResponseSchema",
        "type": "object"
      },
      "DocumentPageContent": {
        "description": "Full content for a single page returned by retrieve_document_pages.",
        "properties": {
          "content_type": {
            "enum": [
              "text",
              "visual"
            ],
            "title": "Content Type",
            "type": "string"
          },
          "page_number": {
            "title": "Page Number",
            "type": "integer"
          },
          "plain_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Plain Text"
          },
          "summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Summary"
          }
        },
        "required": [
          "page_number",
          "content_type"
        ],
        "title": "DocumentPageContent",
        "type": "object"
      },
      "DraftNoteV1SessionPart": {
        "properties": {
          "client_meta": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Meta"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "DRAFT_NOTE_V1",
            "default": "DRAFT_NOTE_V1",
            "title": "Kind",
            "type": "string"
          },
          "markdown_content": {
            "title": "Markdown Content",
            "type": "string"
          }
        },
        "required": [
          "id",
          "markdown_content"
        ],
        "title": "DraftNoteV1SessionPart",
        "type": "object"
      },
      "EmailArtifactInternalResponseSchema": {
        "properties": {
          "artifact_kind": {
            "const": "EMAIL",
            "title": "Artifact Kind",
            "type": "string"
          },
          "captured_email_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Captured Email Id"
          },
          "content": {
            "title": "Content",
            "type": "string"
          },
          "content_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Content Url"
          },
          "sender_email": {
            "title": "Sender Email",
            "type": "string"
          },
          "sender_name": {
            "title": "Sender Name",
            "type": "string"
          },
          "sent_at": {
            "format": "date-time",
            "title": "Sent At",
            "type": "string"
          },
          "subject": {
            "title": "Subject",
            "type": "string"
          }
        },
        "required": [
          "sender_name",
          "sender_email",
          "subject",
          "sent_at",
          "artifact_kind",
          "content"
        ],
        "title": "EmailArtifactInternalResponseSchema",
        "type": "object"
      },
      "EmailAttachmentResponseSchema": {
        "properties": {
          "bcc_email_addresses": {
            "items": {
              "type": "string"
            },
            "title": "Bcc Email Addresses",
            "type": "array"
          },
          "cc_email_addresses": {
            "items": {
              "type": "string"
            },
            "title": "Cc Email Addresses",
            "type": "array"
          },
          "content": {
            "title": "Content",
            "type": "string"
          },
          "content_limit": {
            "default": 0,
            "title": "Content Limit",
            "type": "integer"
          },
          "content_offset": {
            "default": 0,
            "title": "Content Offset",
            "type": "integer"
          },
          "content_total_characters": {
            "default": 0,
            "title": "Content Total Characters",
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "has_more": {
            "default": false,
            "title": "Has More",
            "type": "boolean"
          },
          "internal_date": {
            "format": "date-time",
            "title": "Internal Date",
            "type": "string"
          },
          "message_id": {
            "title": "Message Id",
            "type": "string"
          },
          "sender": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sender"
          },
          "snippet": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Snippet"
          },
          "subject": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject"
          },
          "thread_id": {
            "title": "Thread Id",
            "type": "string"
          },
          "to_email_addresses": {
            "items": {
              "type": "string"
            },
            "title": "To Email Addresses",
            "type": "array"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "message_id",
          "thread_id",
          "content",
          "internal_date",
          "created_at",
          "updated_at"
        ],
        "title": "EmailAttachmentResponseSchema",
        "type": "object"
      },
      "EmailIntegrationSenderSchema": {
        "properties": {
          "email": {
            "title": "Email",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "is_verified": {
            "title": "Is Verified",
            "type": "boolean"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "space_account_id",
          "email",
          "is_verified"
        ],
        "title": "EmailIntegrationSenderSchema",
        "type": "object"
      },
      "EmailIntegrationSettingsFormattingMode": {
        "enum": [
          "simple",
          "smart"
        ],
        "title": "EmailIntegrationSettingsFormattingMode",
        "type": "string"
      },
      "EmailIntegrationSettingsResponseSchema": {
        "properties": {
          "formatting_instructions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Formatting Instructions"
          },
          "formatting_mode": {
            "$ref": "#/components/schemas/EmailIntegrationSettingsFormattingMode"
          },
          "organizing_instructions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Organizing Instructions"
          },
          "organizing_manual_collections": {
            "anyOf": [
              {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Organizing Manual Collections"
          },
          "organizing_manual_enabled": {
            "title": "Organizing Manual Enabled",
            "type": "boolean"
          },
          "organizing_smart_enabled": {
            "title": "Organizing Smart Enabled",
            "type": "boolean"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "formatting_mode",
          "formatting_instructions",
          "organizing_manual_enabled",
          "organizing_smart_enabled",
          "organizing_manual_collections",
          "organizing_instructions"
        ],
        "title": "EmailIntegrationSettingsResponseSchema",
        "type": "object"
      },
      "EmailSenderAllowlistEntrySchema": {
        "properties": {
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "EmailSenderAllowlistEntrySchema",
        "type": "object"
      },
      "EmailSenderAllowlistResponseSchema": {
        "properties": {
          "assistant_id": {
            "format": "uuid",
            "title": "Assistant Id",
            "type": "string"
          },
          "email_sender_allowlist": {
            "items": {
              "$ref": "#/components/schemas/EmailSenderAllowlistEntrySchema"
            },
            "title": "Email Sender Allowlist",
            "type": "array"
          }
        },
        "required": [
          "assistant_id",
          "email_sender_allowlist"
        ],
        "title": "EmailSenderAllowlistResponseSchema",
        "type": "object"
      },
      "ErrorCategory9f8Enum": {
        "description": "* `CLIENT_ERROR` - Client Error",
        "enum": [
          "CLIENT_ERROR"
        ],
        "type": "string"
      },
      "EventListQuerySchema": {
        "properties": {
          "after_sequence": {
            "default": 0,
            "description": "Return events with a sequence greater than this value.\nStore `next_after_sequence` from each response as the next watermark.",
            "minimum": 0,
            "title": "After Sequence",
            "type": "integer"
          },
          "entity_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional primary entity UUID filter.",
            "title": "Entity Id"
          },
          "entity_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional primary entity kind filter, such as `note`.",
            "title": "Entity Kind"
          },
          "limit": {
            "default": 100,
            "description": "Maximum number of events to return. Max: 1000.",
            "maximum": 1000,
            "minimum": 1,
            "title": "Limit",
            "type": "integer"
          },
          "types": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/ExternalEventType"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional repeated event type filter, for example\n`?types=mem.note.created.v1&types=mem.conversation.message_received.v1`.",
            "title": "Types"
          }
        },
        "title": "EventListQuerySchema",
        "type": "object"
      },
      "EventListResponseSchema": {
        "properties": {
          "has_more": {
            "description": "Whether more matching events are available after this page.",
            "title": "Has More",
            "type": "boolean"
          },
          "high_watermark": {
            "description": "Highest sequenced event currently visible for this account.",
            "title": "High Watermark",
            "type": "integer"
          },
          "next_after_sequence": {
            "description": "Watermark to pass as `after_sequence` on the next poll.\nWhen no more matching events are currently available, this advances to\nthe account high watermark.",
            "title": "Next After Sequence",
            "type": "integer"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "results": {
            "description": "Events in sequence order.",
            "items": {
              "$ref": "#/components/schemas/EventResponseSchema"
            },
            "title": "Results",
            "type": "array"
          }
        },
        "required": [
          "request_id",
          "results",
          "has_more",
          "next_after_sequence",
          "high_watermark"
        ],
        "title": "EventListResponseSchema",
        "type": "object"
      },
      "EventPrimaryEntityResponseSchema": {
        "properties": {
          "id": {
            "description": "UUID of the primary entity.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "description": "External kind for the primary entity.",
            "title": "Kind",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "id"
        ],
        "title": "EventPrimaryEntityResponseSchema",
        "type": "object"
      },
      "EventResponseSchema": {
        "properties": {
          "data": {
            "additionalProperties": true,
            "description": "Thin event payload. Fetch full object state with read tools.",
            "title": "Data",
            "type": "object"
          },
          "id": {
            "description": "Stable UUID for this event.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "occurred_at": {
            "description": "Timestamp for when the event occurred.",
            "format": "date-time",
            "title": "Occurred At",
            "type": "string"
          },
          "primary_entity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EventPrimaryEntityResponseSchema"
              },
              {
                "type": "null"
              }
            ],
            "description": "Primary entity associated with the event, when available."
          },
          "sequence": {
            "description": "Per-account sequence number. Use as the event log watermark.",
            "title": "Sequence",
            "type": "integer"
          },
          "subject": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Stable subject pointer for routing or deduplication.",
            "title": "Subject"
          },
          "type": {
            "$ref": "#/components/schemas/ExternalEventType",
            "description": "Versioned external event type."
          }
        },
        "required": [
          "id",
          "sequence",
          "type",
          "occurred_at",
          "subject",
          "primary_entity",
          "data"
        ],
        "title": "EventResponseSchema",
        "type": "object"
      },
      "EventSmartEntitySmartCardItem": {
        "description": "Smart card item representing an event smart entity.",
        "properties": {
          "associated_datetime": {
            "format": "date-time",
            "title": "Associated Datetime",
            "type": "string"
          },
          "event_smart_entity_id": {
            "format": "uuid",
            "title": "Event Smart Entity Id",
            "type": "string"
          },
          "internal_reason_for_selection": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Reason For Selection"
          },
          "kind": {
            "const": "EVENT_SMART_ENTITY",
            "default": "EVENT_SMART_ENTITY",
            "title": "Kind",
            "type": "string"
          },
          "linked_note_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Linked Note Id"
          },
          "linked_note_primary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Linked Note Primary Label"
          },
          "primary_label": {
            "title": "Primary Label",
            "type": "string"
          },
          "secondary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Secondary Label"
          },
          "sort_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sort Key"
          }
        },
        "required": [
          "primary_label",
          "secondary_label",
          "event_smart_entity_id",
          "associated_datetime"
        ],
        "title": "EventSmartEntitySmartCardItem",
        "type": "object"
      },
      "EventTypeListResponseSchema": {
        "properties": {
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "results": {
            "description": "Supported external event types.",
            "items": {
              "$ref": "#/components/schemas/ExternalEventType"
            },
            "title": "Results",
            "type": "array"
          }
        },
        "required": [
          "request_id",
          "results"
        ],
        "title": "EventTypeListResponseSchema",
        "type": "object"
      },
      "ExtendedSearchAttachmentMatchResponseSchema": {
        "properties": {
          "attachment_id": {
            "description": "UUID of the matching attachment.",
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "attachment_kind": {
            "$ref": "#/components/schemas/AttachmentType",
            "description": "Kind of attachment that matched the search."
          },
          "filename": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Attachment filename, when available.",
            "title": "Filename"
          },
          "highlighted_snippets": {
            "description": "Highlighted attachment snippets relevant to the search query.",
            "items": {
              "type": "string"
            },
            "title": "Highlighted Snippets",
            "type": "array"
          },
          "importance": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Relative importance score for the attachment match, when available.",
            "title": "Importance"
          },
          "is_semantic_match": {
            "default": false,
            "description": "Whether the match was produced semantically instead of by exact text.",
            "title": "Is Semantic Match",
            "type": "boolean"
          },
          "match_source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Search source that produced this attachment match.",
            "title": "Match Source"
          },
          "matched_entities": {
            "description": "Named entities matched in the attachment, when available.",
            "items": {
              "type": "string"
            },
            "title": "Matched Entities",
            "type": "array"
          },
          "metadata_json": {
            "additionalProperties": true,
            "description": "Additional structured match metadata.",
            "title": "Metadata Json",
            "type": "object"
          },
          "ocr_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Relevant OCR text from an image attachment, when available.",
            "title": "Ocr Text"
          },
          "page_number": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "One-based page number for PDF matches, when available.",
            "title": "Page Number"
          },
          "sourcer_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Internal source category for the attachment match, when available.",
            "title": "Sourcer Kind"
          },
          "summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Attachment or page summary, when available.",
            "title": "Summary"
          },
          "text_excerpt": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Relevant plain-text excerpt from the attachment, when available.",
            "title": "Text Excerpt"
          },
          "total_pages": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Total page count for PDF matches, when available.",
            "title": "Total Pages"
          },
          "visual_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Relevant visual description from an image attachment, when available.",
            "title": "Visual Description"
          }
        },
        "required": [
          "attachment_kind",
          "attachment_id"
        ],
        "title": "ExtendedSearchAttachmentMatchResponseSchema",
        "type": "object"
      },
      "ExtendedSearchNoteResponseSchema": {
        "properties": {
          "attachment_matches": {
            "description": "Matching note-linked attachments. Use `read_attachment` or\n`answer_question_about_attachment` with `attachment_kind` and\n`attachment_id` for deeper attachment inspection.",
            "items": {
              "$ref": "#/components/schemas/ExtendedSearchAttachmentMatchResponseSchema"
            },
            "title": "Attachment Matches",
            "type": "array"
          },
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Creation timestamp for the note in ISO 8601 format.",
            "title": "Created At"
          },
          "id": {
            "description": "UUID of the note.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "note_summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Derived summary of the note, when available.",
            "title": "Note Summary"
          },
          "snippet": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Derived preview text for quick display and ranking context.",
            "title": "Snippet"
          },
          "title": {
            "description": "Current title of the note.",
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Last modification timestamp for the note in ISO 8601 format.",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "title"
        ],
        "title": "ExtendedSearchNoteResponseSchema",
        "type": "object"
      },
      "ExtendedSearchNotesRequestSchema": {
        "properties": {
          "exclude_note_ids": {
            "description": "Note UUIDs to exclude from this result set.\nUse this to avoid returning notes already inspected by the caller.",
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Exclude Note Ids",
            "type": "array"
          },
          "filter_by_collection_ids": {
            "description": "Optional collection UUID filters.\nWhen provided, results are limited to notes in any listed collection.",
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Filter By Collection Ids",
            "type": "array"
          },
          "filter_by_updated_after": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional inclusive lower bound for note update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "examples": [
              "2025-04-01T14:30:45Z",
              "2023-12-15T09:45:30+01:00"
            ],
            "title": "Filter By Updated After"
          },
          "filter_by_updated_before": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional inclusive upper bound for note update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "examples": [
              "2025-04-30T23:59:59Z",
              "2023-12-31T18:00:00+01:00"
            ],
            "title": "Filter By Updated Before"
          },
          "limit": {
            "default": 10,
            "description": "Maximum number of note hits to return.\nDefault is 10; valid range is 1 to 100.",
            "maximum": 100,
            "minimum": 1,
            "title": "Limit",
            "type": "integer"
          },
          "next_page_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Opaque cursor from a previous extended search response.\nOmit for the first page.",
            "title": "Next Page Cursor"
          },
          "query": {
            "description": "Required text query for searching notes and note-linked attachments.\nThe query must contain at least one non-whitespace character.",
            "minLength": 1,
            "title": "Query",
            "type": "string"
          },
          "sort_by": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SearchNotesAiToolSortBy"
              }
            ],
            "default": "RELEVANCE",
            "description": "Sort order for results. Use `RELEVANCE` for best matches or `DATE`\nfor latest edited notes."
          }
        },
        "required": [
          "query"
        ],
        "title": "ExtendedSearchNotesRequestSchema",
        "type": "object"
      },
      "ExtendedSearchNotesResponseSchema": {
        "example": {
          "has_next_page": false,
          "next_page_cursor": null,
          "request_id": "api-request-018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
          "results": [
            {
              "attachment_matches": [
                {
                  "attachment_id": "2511691e-cfd2-47bc-a4b6-0104234ee1af",
                  "attachment_kind": "pdf",
                  "filename": "renewal-terms.pdf",
                  "highlighted_snippets": [
                    "Renewal pricing is fixed for the first year."
                  ],
                  "is_semantic_match": true,
                  "page_number": 3,
                  "total_pages": 8
                }
              ],
              "created_at": "2025-03-18T11:00:00Z",
              "id": "018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
              "note_summary": "Notes and attachments related to vendor renewal.",
              "snippet": "The renewal terms are attached as a PDF.",
              "title": "Vendor Contract Notes",
              "updated_at": "2025-04-22T16:12:34Z"
            }
          ]
        },
        "properties": {
          "has_next_page": {
            "description": "Whether another request can return more matching notes.",
            "title": "Has Next Page",
            "type": "boolean"
          },
          "next_page_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Opaque cursor for the next page of results.",
            "title": "Next Page Cursor"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "results": {
            "description": "Matching note results with attachment match context.",
            "items": {
              "$ref": "#/components/schemas/ExtendedSearchNoteResponseSchema"
            },
            "title": "Results",
            "type": "array"
          }
        },
        "required": [
          "request_id",
          "results",
          "has_next_page"
        ],
        "title": "ExtendedSearchNotesResponseSchema",
        "type": "object"
      },
      "ExtendProcessingTimeoutRequestSchema": {
        "properties": {
          "timeout_seconds": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timeout Seconds"
          }
        },
        "title": "ExtendProcessingTimeoutRequestSchema",
        "type": "object"
      },
      "ExternalEventType": {
        "enum": [
          "mem.note.created.v1",
          "mem.note.content_changed.v1",
          "mem.note.editing_session_ended.v1",
          "mem.note.deleted.v1",
          "mem.calendar_event.created.v1",
          "mem.calendar_event.updated.v1",
          "mem.calendar_event.deleted.v1",
          "mem.audio_recording.created.v1",
          "mem.audio_recording.transcribed.v1",
          "mem.follow_up.due.v1",
          "mem.conversation.message_received.v1",
          "mem.routine.reminder_due.v1",
          "mem.email.received.v1",
          "mem.chat.reaction.v1",
          "mem.slack.account_linked.v1",
          "mem.calendar.connected.v1",
          "mem.conversation.idle.v1"
        ],
        "title": "ExternalEventType",
        "type": "string"
      },
      "ExtractAttachmentImageResult": {
        "additionalProperties": false,
        "properties": {
          "attachment_id": {
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "categories": {
            "items": {
              "type": "string"
            },
            "title": "Categories",
            "type": "array"
          },
          "image_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Image Type"
          },
          "insight_id": {
            "format": "uuid",
            "title": "Insight Id",
            "type": "string"
          },
          "ocr_markdown": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ocr Markdown"
          },
          "suggested_search": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Suggested Search"
          },
          "summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Summary"
          },
          "visual_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Visual Description"
          }
        },
        "required": [
          "attachment_id",
          "insight_id",
          "ocr_markdown",
          "visual_description",
          "image_type",
          "summary",
          "suggested_search",
          "categories"
        ],
        "title": "ExtractAttachmentImageResult",
        "type": "object"
      },
      "ExtractAttachmentPdfPageRequest": {
        "additionalProperties": false,
        "properties": {
          "attachment_id": {
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "page_number": {
            "title": "Page Number",
            "type": "integer"
          }
        },
        "required": [
          "attachment_id",
          "page_number"
        ],
        "title": "ExtractAttachmentPdfPageRequest",
        "type": "object"
      },
      "ExtractAttachmentPdfPageResult": {
        "additionalProperties": false,
        "properties": {
          "attachment_id": {
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "page_id": {
            "format": "uuid",
            "title": "Page Id",
            "type": "string"
          },
          "page_number": {
            "title": "Page Number",
            "type": "integer"
          }
        },
        "required": [
          "attachment_id",
          "page_number",
          "page_id"
        ],
        "title": "ExtractAttachmentPdfPageResult",
        "type": "object"
      },
      "FactCardV1SessionPart": {
        "properties": {
          "client_meta": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Meta"
          },
          "fact_label": {
            "title": "Fact Label",
            "type": "string"
          },
          "fact_source": {
            "title": "Fact Source",
            "type": "string"
          },
          "fact_value": {
            "title": "Fact Value",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "FACT_CARD_V1",
            "default": "FACT_CARD_V1",
            "title": "Kind",
            "type": "string"
          }
        },
        "required": [
          "id",
          "fact_label",
          "fact_value",
          "fact_source"
        ],
        "title": "FactCardV1SessionPart",
        "type": "object"
      },
      "FavoriteItemSyncModelDataResponseSchema": {
        "properties": {
          "item_id": {
            "format": "uuid",
            "title": "Item Id",
            "type": "string"
          },
          "item_kind": {
            "$ref": "#/components/schemas/FavoriteItemSyncModelItemKind"
          },
          "locally_created_at": {
            "format": "date-time",
            "title": "Locally Created At",
            "type": "string"
          },
          "locally_modified_at": {
            "format": "date-time",
            "title": "Locally Modified At",
            "type": "string"
          },
          "sort_key": {
            "title": "Sort Key",
            "type": "string"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "sort_key",
          "item_id",
          "item_kind",
          "locally_created_at",
          "locally_modified_at"
        ],
        "title": "FavoriteItemSyncModelDataResponseSchema",
        "type": "object"
      },
      "FavoriteItemSyncModelItemKind": {
        "enum": [
          "NOTE",
          "COLLECTION",
          "SAVED_SEARCH"
        ],
        "title": "FavoriteItemSyncModelItemKind",
        "type": "string"
      },
      "FavoriteItemSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/FavoriteItemSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "FAVORITE_ITEM",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "FavoriteItemSyncModelResponseSchema",
        "type": "object"
      },
      "FeatureEnrollmentLinkResponseSchema": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "created_by_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created By Account Id"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "disabled_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Disabled At"
          },
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          },
          "feature_enrollment_link_url": {
            "title": "Feature Enrollment Link Url",
            "type": "string"
          },
          "feature_flag_key": {
            "title": "Feature Flag Key",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "is_disabled": {
            "title": "Is Disabled",
            "type": "boolean"
          },
          "max_enrollments": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Enrollments"
          },
          "metadata_json": {
            "additionalProperties": true,
            "title": "Metadata Json",
            "type": "object"
          },
          "redirect_path": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Redirect Path"
          },
          "slug": {
            "title": "Slug",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "feature_flag_key",
          "slug",
          "title",
          "description",
          "redirect_path",
          "feature_enrollment_link_url",
          "expires_at",
          "max_enrollments",
          "is_disabled",
          "disabled_at",
          "created_by_account_id",
          "metadata_json",
          "created_at",
          "updated_at"
        ],
        "title": "FeatureEnrollmentLinkResponseSchema",
        "type": "object"
      },
      "FeatureEnrollmentResponseSchema": {
        "properties": {
          "accepted_at": {
            "format": "date-time",
            "title": "Accepted At",
            "type": "string"
          },
          "accepted_by_account_id": {
            "format": "uuid",
            "title": "Accepted By Account Id",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "feature_enrollment_link_id": {
            "format": "uuid",
            "title": "Feature Enrollment Link Id",
            "type": "string"
          },
          "feature_flag_key": {
            "title": "Feature Flag Key",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "revoked_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Revoked At"
          },
          "revoked_by_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Revoked By Account Id"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "feature_enrollment_link_id",
          "space_account_id",
          "accepted_by_account_id",
          "feature_flag_key",
          "status",
          "accepted_at",
          "revoked_at",
          "revoked_by_account_id",
          "created_at",
          "updated_at"
        ],
        "title": "FeatureEnrollmentResponseSchema",
        "type": "object"
      },
      "FeatureFlagsResponseSchema": {
        "properties": {
          "flags": {
            "additionalProperties": {
              "type": "boolean"
            },
            "title": "Flags",
            "type": "object"
          }
        },
        "required": [
          "flags"
        ],
        "title": "FeatureFlagsResponseSchema",
        "type": "object"
      },
      "FeatureFlagsSyncModelDataResponseSchema": {
        "properties": {
          "flags": {
            "additionalProperties": {
              "type": "boolean"
            },
            "title": "Flags",
            "type": "object"
          },
          "owned_by_space_account_id": {
            "format": "uuid",
            "title": "Owned By Space Account Id",
            "type": "string"
          }
        },
        "required": [
          "flags",
          "owned_by_space_account_id"
        ],
        "title": "FeatureFlagsSyncModelDataResponseSchema",
        "type": "object"
      },
      "FeatureFlagsSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/FeatureFlagsSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "SPACE_ACCOUNT_FEATURE_FLAGS_CONFIG",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "FeatureFlagsSyncModelResponseSchema",
        "type": "object"
      },
      "FeatureGateConfigSchema": {
        "properties": {
          "limits": {
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "title": "Limits",
            "type": "object"
          },
          "period": {
            "title": "Period",
            "type": "string"
          }
        },
        "required": [
          "period",
          "limits"
        ],
        "title": "FeatureGateConfigSchema",
        "type": "object"
      },
      "FeedbackKind": {
        "enum": [
          "MEM_IT_RESPONSE",
          "SEARCH_RESULT"
        ],
        "title": "FeedbackKind",
        "type": "string"
      },
      "FeedbackResponseKind": {
        "enum": [
          "UPVOTE",
          "DOWNVOTE"
        ],
        "title": "FeedbackResponseKind",
        "type": "string"
      },
      "FeedbackSyncModelDataResponseSchema": {
        "properties": {
          "associated_context": {
            "additionalProperties": true,
            "title": "Associated Context",
            "type": "object"
          },
          "associated_model_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Associated Model Id"
          },
          "associated_model_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Associated Model Kind"
          },
          "feedback_kind": {
            "$ref": "#/components/schemas/FeedbackKind"
          },
          "feedback_responded_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Feedback Responded At"
          },
          "feedback_response": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FeedbackResponseKind"
              },
              {
                "type": "null"
              }
            ]
          },
          "feedback_selected_suggestions": {
            "items": {
              "type": "string"
            },
            "title": "Feedback Selected Suggestions",
            "type": "array"
          },
          "feedback_user_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Feedback User Text"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "feedback_kind",
          "associated_model_id",
          "associated_model_kind",
          "associated_context",
          "feedback_responded_at",
          "feedback_response",
          "feedback_selected_suggestions",
          "feedback_user_text"
        ],
        "title": "FeedbackSyncModelDataResponseSchema",
        "type": "object"
      },
      "FeedbackSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/FeedbackSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "FEEDBACK",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "FeedbackSyncModelResponseSchema",
        "type": "object"
      },
      "FetchChatGPTItemPayloadSchema": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "markdown_content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Markdown Content"
          },
          "primary_label": {
            "title": "Primary Label",
            "type": "string"
          },
          "secondary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Secondary Label"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated At"
          }
        },
        "required": [
          "primary_label"
        ],
        "title": "FetchChatGPTItemPayloadSchema",
        "type": "object"
      },
      "FetchChatGPTItemRequestSchema": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "description": "Primary identifier for the resource.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "description": "Resource kind identifier (e.g. note).",
            "title": "Kind",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "id"
        ],
        "title": "FetchChatGPTItemRequestSchema",
        "type": "object"
      },
      "FetchChatGPTItemResponseSchema": {
        "additionalProperties": false,
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Error message if the resource could not be retrieved.",
            "title": "Error"
          },
          "id": {
            "description": "Primary identifier for the resource.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "description": "Resource kind identifier.",
            "title": "Kind",
            "type": "string"
          },
          "payload": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FetchChatGPTItemPayloadSchema"
              },
              {
                "type": "null"
              }
            ],
            "description": "Fetched resource payload when available."
          }
        },
        "required": [
          "kind",
          "id"
        ],
        "title": "FetchChatGPTItemResponseSchema",
        "type": "object"
      },
      "FetchChatGPTRequestSchema": {
        "additionalProperties": false,
        "properties": {
          "items": {
            "description": "Collection of resources to fetch in batch.",
            "items": {
              "$ref": "#/components/schemas/FetchChatGPTItemRequestSchema"
            },
            "minItems": 1,
            "title": "Items",
            "type": "array"
          }
        },
        "required": [
          "items"
        ],
        "title": "FetchChatGPTRequestSchema",
        "type": "object"
      },
      "FetchChatGPTResponseSchema": {
        "additionalProperties": false,
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/FetchChatGPTItemResponseSchema"
            },
            "title": "Items",
            "type": "array"
          }
        },
        "required": [
          "items"
        ],
        "title": "FetchChatGPTResponseSchema",
        "type": "object"
      },
      "FileSessionPart": {
        "deprecated": true,
        "properties": {
          "client_meta": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Meta"
          },
          "file_id": {
            "format": "uuid",
            "title": "File Id",
            "type": "string"
          },
          "file_mime_type": {
            "title": "File Mime Type",
            "type": "string"
          },
          "file_name": {
            "title": "File Name",
            "type": "string"
          },
          "file_url": {
            "title": "File Url",
            "type": "string"
          },
          "kind": {
            "const": "FILE",
            "default": "FILE",
            "title": "Kind",
            "type": "string"
          }
        },
        "required": [
          "file_id",
          "file_url",
          "file_name",
          "file_mime_type"
        ],
        "title": "FileSessionPart",
        "type": "object"
      },
      "FinalizeAppleOAuthRequest": {
        "properties": {
          "state": {
            "minLength": 1,
            "title": "State",
            "type": "string"
          }
        },
        "required": [
          "state"
        ],
        "title": "FinalizeAppleOAuthRequest",
        "type": "object"
      },
      "FinalizeAppleOAuthResponse": {
        "properties": {
          "account_id": {
            "format": "uuid",
            "title": "Account Id",
            "type": "string"
          },
          "oauth_access_token": {
            "title": "Oauth Access Token",
            "type": "string"
          }
        },
        "required": [
          "account_id",
          "oauth_access_token"
        ],
        "title": "FinalizeAppleOAuthResponse",
        "type": "object"
      },
      "FinalizeAttachmentExtractionRequest": {
        "additionalProperties": false,
        "properties": {
          "attachment_id": {
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "cutoff_limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cutoff Limit"
          },
          "error_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Message"
          },
          "pages_failed": {
            "title": "Pages Failed",
            "type": "integer"
          },
          "pages_processed": {
            "title": "Pages Processed",
            "type": "integer"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          },
          "was_cutoff": {
            "title": "Was Cutoff",
            "type": "boolean"
          }
        },
        "required": [
          "attachment_id",
          "success",
          "error_message",
          "pages_processed",
          "pages_failed",
          "was_cutoff",
          "cutoff_limit"
        ],
        "title": "FinalizeAttachmentExtractionRequest",
        "type": "object"
      },
      "FinalizeAttachmentIndexingRequest": {
        "additionalProperties": false,
        "properties": {
          "attachment_id": {
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "error_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Message"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "attachment_id",
          "success",
          "error_message"
        ],
        "title": "FinalizeAttachmentIndexingRequest",
        "type": "object"
      },
      "FinalizeAttachmentProcessingRequest": {
        "additionalProperties": false,
        "properties": {
          "attachment_id": {
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "cutoff_limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cutoff Limit"
          },
          "extraction_completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Extraction Completed At"
          },
          "extraction_error_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Extraction Error Message"
          },
          "extraction_started_at": {
            "format": "date-time",
            "title": "Extraction Started At",
            "type": "string"
          },
          "extraction_success": {
            "title": "Extraction Success",
            "type": "boolean"
          },
          "indexing_completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Indexing Completed At"
          },
          "indexing_error_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Indexing Error Message"
          },
          "indexing_started_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Indexing Started At"
          },
          "indexing_success": {
            "title": "Indexing Success",
            "type": "boolean"
          },
          "pages_failed": {
            "title": "Pages Failed",
            "type": "integer"
          },
          "pages_processed": {
            "title": "Pages Processed",
            "type": "integer"
          },
          "was_cutoff": {
            "title": "Was Cutoff",
            "type": "boolean"
          }
        },
        "required": [
          "attachment_id",
          "extraction_started_at",
          "extraction_completed_at",
          "extraction_success",
          "extraction_error_message",
          "pages_processed",
          "pages_failed",
          "was_cutoff",
          "cutoff_limit",
          "indexing_started_at",
          "indexing_completed_at",
          "indexing_success",
          "indexing_error_message"
        ],
        "title": "FinalizeAttachmentProcessingRequest",
        "type": "object"
      },
      "FinalizeAudioRecordingUploadRequestSchema": {
        "properties": {
          "associated_note_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Associated Note Id"
          },
          "associated_session_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Associated Session Id"
          },
          "associated_transcript_data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AudioRecordingTranscriptDataRequestSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "audio_recording_merge_intent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AudioRecordingMergeIntentRequestSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "filename": {
            "title": "Filename",
            "type": "string"
          },
          "mime_type": {
            "title": "Mime Type",
            "type": "string"
          },
          "source_creation_strategy": {
            "default": "server",
            "enum": [
              "local",
              "server"
            ],
            "title": "Source Creation Strategy",
            "type": "string"
          }
        },
        "required": [
          "filename",
          "mime_type"
        ],
        "title": "FinalizeAudioRecordingUploadRequestSchema",
        "type": "object"
      },
      "FinalizeNoteAttachmentResult": {
        "additionalProperties": false,
        "properties": {
          "attachment_id": {
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "attachment_id",
          "success"
        ],
        "title": "FinalizeNoteAttachmentResult",
        "type": "object"
      },
      "FindRelatedNotesQuerySchema": {
        "properties": {
          "limit": {
            "default": 10,
            "description": "Maximum number of related notes to return.\nDefault is 10; valid range is 1 to 20.",
            "maximum": 20,
            "minimum": 1,
            "title": "Limit",
            "type": "integer"
          }
        },
        "title": "FindRelatedNotesQuerySchema",
        "type": "object"
      },
      "FindRelatedNotesResponseSchema": {
        "example": {
          "request_id": "api-request-018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
          "results": [
            {
              "collection_ids": [
                "59508b41-8770-4855-aa37-302b1e09aee7"
              ],
              "collections": [
                {
                  "created_at": "2025-03-18T11:00:00Z",
                  "description": "Planning documents and project notes.",
                  "id": "59508b41-8770-4855-aa37-302b1e09aee7",
                  "is_shared": false,
                  "note_count": 8,
                  "title": "Work Projects",
                  "updated_at": "2025-04-22T16:12:34Z"
                }
              ],
              "created_at": "2025-03-18T11:00:00Z",
              "id": "018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
              "preview": "# Project Phoenix Planning\n\nLaunch goals and milestones.",
              "score": 0.91,
              "snippet": "Launch goals and milestones.",
              "title": "Project Phoenix Planning",
              "updated_at": "2025-04-22T16:12:34Z"
            }
          ],
          "total": 1
        },
        "properties": {
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "results": {
            "description": "Related notes ordered by vector similarity.",
            "items": {
              "$ref": "#/components/schemas/RelatedNoteItemResponseSchema"
            },
            "title": "Results",
            "type": "array"
          },
          "total": {
            "description": "Number of related notes returned.",
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "request_id",
          "results",
          "total"
        ],
        "title": "FindRelatedNotesResponseSchema",
        "type": "object"
      },
      "FindRelatedNotesToolCallArgs": {
        "properties": {
          "note_id": {
            "title": "Note Id",
            "type": "string"
          }
        },
        "required": [
          "note_id"
        ],
        "title": "FindRelatedNotesToolCallArgs",
        "type": "object"
      },
      "FindRelatedNotesToolCallArgsLegacy": {
        "properties": {
          "content": {
            "title": "Content",
            "type": "string"
          },
          "note_id": {
            "title": "Note Id",
            "type": "string"
          }
        },
        "required": [
          "content",
          "note_id"
        ],
        "title": "FindRelatedNotesToolCallArgsLegacy",
        "type": "object"
      },
      "FindRelatedNotesToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "notes": {
            "items": {
              "$ref": "#/components/schemas/AgentNoteModel"
            },
            "title": "Notes",
            "type": "array"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "FindRelatedNotesToolCallResult",
        "type": "object"
      },
      "FollowUpListQuerySchema": {
        "properties": {
          "limit": {
            "anyOf": [
              {
                "maximum": 100,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 50,
            "description": "Maximum number of follow-ups in this page.\nDefault is 50; valid range is 1 to 100.",
            "title": "Limit"
          },
          "order_by": {
            "allOf": [
              {
                "enum": [
                  "created_at",
                  "updated_at",
                  "scheduled_for"
                ],
                "title": "AssistantFollowUpOrderBy",
                "type": "string"
              }
            ],
            "default": "scheduled_for",
            "description": "Sort key for pagination boundaries.\nUse `scheduled_for` (default) to view follow-ups by trigger time.\nUse `updated_at` for recency feeds, or `created_at` for creation-order views."
          },
          "page": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Opaque cursor from a previous list response.\nOmit for the first page.\nIMPORTANT: Reuse with the same `order_by`, `status`, `task_id`, and `project_id` values.",
            "title": "Page"
          },
          "project_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional filter to follow-ups associated with a single project.",
            "title": "Project Id"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FollowUpStatusInput"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional filter by follow-up status."
          },
          "task_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional filter to follow-ups associated with a single task.",
            "title": "Task Id"
          }
        },
        "title": "FollowUpListQuerySchema",
        "type": "object"
      },
      "FollowUpListResponseSchema": {
        "properties": {
          "next_page": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Opaque cursor for the next page of follow-up results.\n`null` when there are no more results.",
            "title": "Next Page"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "results": {
            "description": "Page of follow-up results matching the requested filters and sort.",
            "items": {
              "$ref": "#/components/schemas/FollowUpResponseItemSchema"
            },
            "title": "Results",
            "type": "array"
          },
          "total": {
            "description": "Total number of matching follow-ups before pagination is applied.",
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "request_id",
          "results",
          "total"
        ],
        "title": "FollowUpListResponseSchema",
        "type": "object"
      },
      "FollowUpResponseItemSchema": {
        "properties": {
          "commitment_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Commitment kind, if set (`due` or `deadline`).",
            "title": "Commitment Kind"
          },
          "completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Timestamp when the follow-up was marked completed, if any.",
            "title": "Completed At"
          },
          "content": {
            "description": "Current content/description of the follow-up.",
            "title": "Content",
            "type": "string"
          },
          "created_at": {
            "description": "Creation timestamp for the follow-up in ISO 8601 format.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "deadline_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Hard deadline, if any.",
            "title": "Deadline At"
          },
          "due_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Soft due date, if any.",
            "title": "Due At"
          },
          "fired_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Timestamp when the follow-up fired, if it has fired.",
            "title": "Fired At"
          },
          "id": {
            "description": "UUID of the follow-up.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "project_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Parent project UUID, if any.",
            "title": "Project Id"
          },
          "scheduled_for": {
            "description": "When the follow-up is scheduled to fire.",
            "format": "date-time",
            "title": "Scheduled For",
            "type": "string"
          },
          "source_context_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Identifier linking this follow-up to the agent run that created it, when applicable.",
            "title": "Source Context Id"
          },
          "status": {
            "description": "Current follow-up status (`pending`, `fired`, `completed`, or `canceled`).",
            "title": "Status",
            "type": "string"
          },
          "task_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Parent task UUID, if any.",
            "title": "Task Id"
          },
          "trigger_not_after": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Latest trigger time (for `time_window` triggers).",
            "title": "Trigger Not After"
          },
          "trigger_not_before": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Earliest trigger time (for `time_window` triggers).",
            "title": "Trigger Not Before"
          },
          "trigger_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Trigger type for the follow-up, if set.",
            "title": "Trigger Type"
          },
          "updated_at": {
            "description": "Last modification timestamp for the follow-up in ISO 8601 format.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "content",
          "status",
          "scheduled_for",
          "task_id",
          "project_id",
          "fired_at",
          "completed_at",
          "trigger_type",
          "commitment_kind",
          "due_at",
          "deadline_at",
          "trigger_not_before",
          "trigger_not_after",
          "source_context_id",
          "created_at",
          "updated_at"
        ],
        "title": "FollowUpResponseItemSchema",
        "type": "object"
      },
      "FollowUpStatusInput": {
        "enum": [
          "pending",
          "fired",
          "completed",
          "canceled"
        ],
        "title": "FollowUpStatusInput",
        "type": "string"
      },
      "GenerateAssetAccessTokenResponseSchema": {
        "properties": {
          "account_id": {
            "format": "uuid",
            "title": "Account Id",
            "type": "string"
          },
          "asset_access_token": {
            "title": "Asset Access Token",
            "type": "string"
          },
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          }
        },
        "required": [
          "account_id",
          "asset_access_token",
          "expires_at"
        ],
        "title": "GenerateAssetAccessTokenResponseSchema",
        "type": "object"
      },
      "GenerateMeetingBriefingSmartViewRequestSchema": {
        "properties": {
          "connected_calendar_event_id": {
            "format": "uuid",
            "title": "Connected Calendar Event Id",
            "type": "string"
          },
          "context": {
            "$ref": "#/components/schemas/SmartContextPayloadValue"
          },
          "force_generate": {
            "default": false,
            "title": "Force Generate",
            "type": "boolean"
          },
          "force_regenerate": {
            "default": false,
            "title": "Force Regenerate",
            "type": "boolean"
          }
        },
        "required": [
          "context",
          "connected_calendar_event_id"
        ],
        "title": "GenerateMeetingBriefingSmartViewRequestSchema",
        "type": "object"
      },
      "GeneratePulseSmartViewRequestSchema": {
        "properties": {
          "active_collection_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Active Collection Id"
          },
          "query": {
            "maxLength": 512,
            "minLength": 1,
            "title": "Query",
            "type": "string"
          }
        },
        "required": [
          "query"
        ],
        "title": "GeneratePulseSmartViewRequestSchema",
        "type": "object"
      },
      "GenerateSignedFileUploadUrlForPublicUploadsRequestSchema": {
        "properties": {
          "file_id": {
            "format": "uuid",
            "title": "File Id",
            "type": "string"
          },
          "file_mime_type": {
            "title": "File Mime Type",
            "type": "string"
          },
          "file_name": {
            "title": "File Name",
            "type": "string"
          }
        },
        "required": [
          "file_id",
          "file_mime_type",
          "file_name"
        ],
        "title": "GenerateSignedFileUploadUrlForPublicUploadsRequestSchema",
        "type": "object"
      },
      "GenerateSignedFileUploadUrlRequestSchema": {
        "properties": {
          "file_id": {
            "format": "uuid",
            "title": "File Id",
            "type": "string"
          },
          "file_mime_type": {
            "title": "File Mime Type",
            "type": "string"
          },
          "file_name": {
            "title": "File Name",
            "type": "string"
          }
        },
        "required": [
          "file_id",
          "file_mime_type",
          "file_name"
        ],
        "title": "GenerateSignedFileUploadUrlRequestSchema",
        "type": "object"
      },
      "GenerateSignedFileUploadUrlResponseSchema": {
        "properties": {
          "file_id": {
            "format": "uuid",
            "title": "File Id",
            "type": "string"
          },
          "signed_url": {
            "title": "Signed Url",
            "type": "string"
          }
        },
        "required": [
          "file_id",
          "signed_url"
        ],
        "title": "GenerateSignedFileUploadUrlResponseSchema",
        "type": "object"
      },
      "GenerateVoiceResumableSignedUrlRequestSchema": {
        "properties": {
          "associated_audio_recording_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Associated Audio Recording Id"
          },
          "captured_audio_id": {
            "format": "uuid",
            "title": "Captured Audio Id",
            "type": "string"
          },
          "filename": {
            "title": "Filename",
            "type": "string"
          },
          "mime_type": {
            "title": "Mime Type",
            "type": "string"
          },
          "origin": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Origin"
          },
          "transcript_array": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CapturedAudioTranscriptArrayInputItem"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Array"
          },
          "transcript_provider": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CapturedAudioTranscriptProvider"
              },
              {
                "type": "null"
              }
            ]
          },
          "transcript_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Text"
          }
        },
        "required": [
          "captured_audio_id",
          "filename",
          "mime_type"
        ],
        "title": "GenerateVoiceResumableSignedUrlRequestSchema",
        "type": "object"
      },
      "GenerateVoiceResumableSignedUrlResponseSchema": {
        "properties": {
          "resumable_upload_url": {
            "title": "Resumable Upload Url",
            "type": "string"
          }
        },
        "required": [
          "resumable_upload_url"
        ],
        "title": "GenerateVoiceResumableSignedUrlResponseSchema",
        "type": "object"
      },
      "GenerateVoiceSignedUrlRequestSchema": {
        "properties": {
          "captured_audio_id": {
            "format": "uuid",
            "title": "Captured Audio Id",
            "type": "string"
          },
          "filename": {
            "title": "Filename",
            "type": "string"
          },
          "mime_type": {
            "title": "Mime Type",
            "type": "string"
          },
          "transcript_array": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CapturedAudioTranscriptArrayInputItem"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Array"
          },
          "transcript_provider": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CapturedAudioTranscriptProvider"
              },
              {
                "type": "null"
              }
            ]
          },
          "transcript_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Text"
          }
        },
        "required": [
          "captured_audio_id",
          "filename",
          "mime_type"
        ],
        "title": "GenerateVoiceSignedUrlRequestSchema",
        "type": "object"
      },
      "GenerateVoiceSignedUrlResponseSchema": {
        "properties": {
          "upload_url": {
            "title": "Upload Url",
            "type": "string"
          }
        },
        "required": [
          "upload_url"
        ],
        "title": "GenerateVoiceSignedUrlResponseSchema",
        "type": "object"
      },
      "Generic400Exception": {
        "discriminator": {
          "mapping": {
            "CLIENT_ERROR": "#/components/schemas/Generic400ExceptionGenericObject",
            "VALIDATION_ERROR": "#/components/schemas/Generic400ExceptionGenericObject"
          },
          "propertyName": "error_category"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/Generic400ExceptionGenericObject"
          }
        ]
      },
      "Generic400ExceptionGenericObject": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Generic400ExceptionShared"
          },
          {
            "$ref": "#/components/schemas/GenericObject"
          }
        ]
      },
      "Generic400ExceptionShared": {
        "description": "Polymorphic serializer base class.\n\nNote that the discriminator field must exist at the same depth as the mapped\nserializer fields for the OpenAPI introspection. See\nhttps://swagger.io/docs/specification/data-models/inheritance-and-polymorphism/ for\nmore information. As such, it's not possible to define something like:\n\n{\n    \"object_type\": \"foo\",\n    \"polymorphic_context\": {\n        <foo-specific fields>\n    }\n}\n\nwithout explicitly wrapping this in a parent serializer, i.e. -\n``polymorphic_context`` can not be a PolymorphicSerializer itself, as it requires\naccess to the ``object_type`` in the parent scope.",
        "properties": {
          "error_category": {
            "$ref": "#/components/schemas/Generic400ExceptionSharedErrorCategoryEnum"
          },
          "error_metadata": {
            "additionalProperties": {},
            "type": "object"
          }
        },
        "required": [
          "error_category"
        ],
        "type": "object"
      },
      "Generic400ExceptionSharedErrorCategoryEnum": {
        "description": "* `VALIDATION_ERROR` - Validation Error\n* `CLIENT_ERROR` - Client Error",
        "enum": [
          "VALIDATION_ERROR",
          "CLIENT_ERROR"
        ],
        "type": "string"
      },
      "Generic401Exception": {
        "discriminator": {
          "mapping": {
            "CLIENT_ERROR": "#/components/schemas/Generic401ExceptionGenericObject"
          },
          "propertyName": "error_category"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/Generic401ExceptionGenericObject"
          }
        ]
      },
      "Generic401ExceptionGenericObject": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Generic401ExceptionShared"
          },
          {
            "$ref": "#/components/schemas/GenericObject"
          }
        ]
      },
      "Generic401ExceptionShared": {
        "description": "Polymorphic serializer base class.\n\nNote that the discriminator field must exist at the same depth as the mapped\nserializer fields for the OpenAPI introspection. See\nhttps://swagger.io/docs/specification/data-models/inheritance-and-polymorphism/ for\nmore information. As such, it's not possible to define something like:\n\n{\n    \"object_type\": \"foo\",\n    \"polymorphic_context\": {\n        <foo-specific fields>\n    }\n}\n\nwithout explicitly wrapping this in a parent serializer, i.e. -\n``polymorphic_context`` can not be a PolymorphicSerializer itself, as it requires\naccess to the ``object_type`` in the parent scope.",
        "properties": {
          "error_category": {
            "$ref": "#/components/schemas/ErrorCategory9f8Enum"
          },
          "error_metadata": {
            "additionalProperties": {},
            "type": "object"
          }
        },
        "required": [
          "error_category"
        ],
        "type": "object"
      },
      "Generic403Exception": {
        "discriminator": {
          "mapping": {
            "CLIENT_ERROR": "#/components/schemas/Generic403ExceptionGenericObject"
          },
          "propertyName": "error_category"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/Generic403ExceptionGenericObject"
          }
        ]
      },
      "Generic403ExceptionGenericObject": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Generic403ExceptionShared"
          },
          {
            "$ref": "#/components/schemas/GenericObject"
          }
        ]
      },
      "Generic403ExceptionShared": {
        "description": "Polymorphic serializer base class.\n\nNote that the discriminator field must exist at the same depth as the mapped\nserializer fields for the OpenAPI introspection. See\nhttps://swagger.io/docs/specification/data-models/inheritance-and-polymorphism/ for\nmore information. As such, it's not possible to define something like:\n\n{\n    \"object_type\": \"foo\",\n    \"polymorphic_context\": {\n        <foo-specific fields>\n    }\n}\n\nwithout explicitly wrapping this in a parent serializer, i.e. -\n``polymorphic_context`` can not be a PolymorphicSerializer itself, as it requires\naccess to the ``object_type`` in the parent scope.",
        "properties": {
          "error_category": {
            "$ref": "#/components/schemas/ErrorCategory9f8Enum"
          },
          "error_metadata": {
            "additionalProperties": {},
            "type": "object"
          }
        },
        "required": [
          "error_category"
        ],
        "type": "object"
      },
      "GenericObject": {
        "additionalProperties": true,
        "description": "Generic object",
        "type": "object"
      },
      "GetAudioRecordingDownloadUrlResponseSchema": {
        "properties": {
          "download_url": {
            "title": "Download Url",
            "type": "string"
          }
        },
        "required": [
          "download_url"
        ],
        "title": "GetAudioRecordingDownloadUrlResponseSchema",
        "type": "object"
      },
      "GetEmailIntegrationSendersResponseSchema": {
        "properties": {
          "senders": {
            "items": {
              "$ref": "#/components/schemas/EmailIntegrationSenderSchema"
            },
            "title": "Senders",
            "type": "array"
          }
        },
        "required": [
          "senders"
        ],
        "title": "GetEmailIntegrationSendersResponseSchema",
        "type": "object"
      },
      "GetHelpCenterInfoToolCallArgs": {
        "properties": {
          "query": {
            "title": "Query",
            "type": "string"
          }
        },
        "required": [
          "query"
        ],
        "title": "GetHelpCenterInfoToolCallArgs",
        "type": "object"
      },
      "GetHelpCenterInfoToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "help_content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Help Content"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "GetHelpCenterInfoToolCallResult",
        "type": "object"
      },
      "GetNoteAttachmentDownloadUrlResponseSchema": {
        "example": {
          "download_url": "https://storage.googleapis.com/mem-private-uploads/files/doc.pdf?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Signature=...",
          "id": "5e29c8a2-c73b-476b-9311-e2579712d4b1",
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522"
        },
        "properties": {
          "download_url": {
            "description": "A signed URL that can be used to download the attachment.",
            "title": "Download Url",
            "type": "string"
          },
          "id": {
            "description": "UUID of the requested note attachment.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "id",
          "download_url"
        ],
        "title": "GetNoteAttachmentDownloadUrlResponseSchema",
        "type": "object"
      },
      "GetOrGenerateSmartViewRequestSchema": {
        "properties": {
          "context": {
            "$ref": "#/components/schemas/SmartContextPayloadValue"
          }
        },
        "required": [
          "context"
        ],
        "title": "GetOrGenerateSmartViewRequestSchema",
        "type": "object"
      },
      "GetStripeBillingPortalUrlRequestSchema": {
        "properties": {
          "return_url": {
            "anyOf": [
              {
                "format": "uri",
                "maxLength": 2083,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Return Url"
          }
        },
        "title": "GetStripeBillingPortalUrlRequestSchema",
        "type": "object"
      },
      "GetStripeBillingPortalUrlResponseSchema": {
        "properties": {
          "stripe_billing_portal_url": {
            "title": "Stripe Billing Portal Url",
            "type": "string"
          }
        },
        "required": [
          "stripe_billing_portal_url"
        ],
        "title": "GetStripeBillingPortalUrlResponseSchema",
        "type": "object"
      },
      "GetUserAccountStatisticsToolCallArgs": {
        "additionalProperties": true,
        "description": "Empty args model since this tool doesn't require any parameters.",
        "properties": {},
        "title": "GetUserAccountStatisticsToolCallArgs",
        "type": "object"
      },
      "GetUserAccountStatisticsToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "notes_in_collections": {
            "default": 0,
            "title": "Notes In Collections",
            "type": "integer"
          },
          "notes_in_trash": {
            "default": 0,
            "title": "Notes In Trash",
            "type": "integer"
          },
          "notes_last_24_hours": {
            "default": 0,
            "title": "Notes Last 24 Hours",
            "type": "integer"
          },
          "notes_last_30_days": {
            "default": 0,
            "title": "Notes Last 30 Days",
            "type": "integer"
          },
          "notes_last_7_days": {
            "default": 0,
            "title": "Notes Last 7 Days",
            "type": "integer"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          },
          "total_collections": {
            "default": 0,
            "title": "Total Collections",
            "type": "integer"
          },
          "total_notes": {
            "default": 0,
            "title": "Total Notes",
            "type": "integer"
          }
        },
        "required": [
          "success"
        ],
        "title": "GetUserAccountStatisticsToolCallResult",
        "type": "object"
      },
      "GmailPubSubMessage": {
        "description": "Schema for the Pub/Sub message data.",
        "properties": {
          "data": {
            "title": "Data",
            "type": "string"
          },
          "messageId": {
            "title": "Messageid",
            "type": "string"
          },
          "publishTime": {
            "title": "Publishtime",
            "type": "string"
          }
        },
        "required": [
          "data",
          "messageId",
          "publishTime"
        ],
        "title": "GmailPubSubMessage",
        "type": "object"
      },
      "GmailPubSubRequest": {
        "description": "Schema for the Pub/Sub webhook request.",
        "properties": {
          "message": {
            "$ref": "#/components/schemas/GmailPubSubMessage"
          },
          "subscription": {
            "title": "Subscription",
            "type": "string"
          }
        },
        "required": [
          "message",
          "subscription"
        ],
        "title": "GmailPubSubRequest",
        "type": "object"
      },
      "GoogleCalendarAllSettingsResponseSchema": {
        "description": "Response schema for all calendar settings across all providers, keyed by subject_id",
        "properties": {
          "accounts": {
            "additionalProperties": {
              "$ref": "#/components/schemas/GoogleCalendarSettingsResponseSchema"
            },
            "description": "Calendar settings for each account, keyed by google_subject_id",
            "title": "Accounts",
            "type": "object"
          }
        },
        "title": "GoogleCalendarAllSettingsResponseSchema",
        "type": "object"
      },
      "GoogleCalendarConnectResponseSchema": {
        "properties": {
          "authorization_url": {
            "title": "Authorization Url",
            "type": "string"
          },
          "scopes": {
            "items": {
              "type": "string"
            },
            "title": "Scopes",
            "type": "array"
          },
          "state": {
            "title": "State",
            "type": "string"
          }
        },
        "required": [
          "authorization_url",
          "state",
          "scopes"
        ],
        "title": "GoogleCalendarConnectResponseSchema",
        "type": "object"
      },
      "GoogleCalendarEntryConfigSchema": {
        "properties": {
          "is_enabled": {
            "default": false,
            "title": "Is Enabled",
            "type": "boolean"
          }
        },
        "title": "GoogleCalendarEntryConfigSchema",
        "type": "object"
      },
      "GoogleCalendarEntrySchema": {
        "properties": {
          "access_role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Access Role"
          },
          "background_color": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Background Color"
          },
          "config": {
            "allOf": [
              {
                "$ref": "#/components/schemas/GoogleCalendarEntryConfigSchema"
              }
            ]
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "is_primary": {
            "default": false,
            "title": "Is Primary",
            "type": "boolean"
          },
          "summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Summary"
          },
          "time_zone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Time Zone"
          }
        },
        "required": [
          "id"
        ],
        "title": "GoogleCalendarEntrySchema",
        "type": "object"
      },
      "GoogleCalendarOAuthCallbackRequestSchema": {
        "properties": {
          "client_kind": {
            "default": "web",
            "title": "Client Kind",
            "type": "string"
          },
          "code": {
            "title": "Code",
            "type": "string"
          },
          "code_verifier": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Code Verifier"
          },
          "redirect_uri": {
            "title": "Redirect Uri",
            "type": "string"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          }
        },
        "required": [
          "code",
          "redirect_uri"
        ],
        "title": "GoogleCalendarOAuthCallbackRequestSchema",
        "type": "object"
      },
      "GoogleCalendarSettingsResponseSchema": {
        "properties": {
          "calendars": {
            "items": {
              "$ref": "#/components/schemas/GoogleCalendarEntrySchema"
            },
            "title": "Calendars",
            "type": "array"
          },
          "connected_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Connected At"
          },
          "google_account_email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Google Account Email"
          },
          "google_subject_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Google Subject Id"
          },
          "is_connected": {
            "title": "Is Connected",
            "type": "boolean"
          },
          "last_synced_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Synced At"
          },
          "revoked_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Revoked At"
          }
        },
        "required": [
          "is_connected",
          "calendars"
        ],
        "title": "GoogleCalendarSettingsResponseSchema",
        "type": "object"
      },
      "GoogleOAuthClientKind": {
        "enum": [
          "MEM_WEB_CLIENT",
          "MEM_ATLAS_WEB_CLIENT",
          "MEM_IOS_CLIENT",
          "MEM_ADMIN_PORTAL_CLIENT"
        ],
        "title": "GoogleOAuthClientKind",
        "type": "string"
      },
      "GuestAccessAccessTokenAuthenticatedHealthCheckResponse": {
        "properties": {
          "guest_access_token_id": {
            "title": "Guest Access Token Id",
            "type": "string"
          },
          "guest_account_id": {
            "title": "Guest Account Id",
            "type": "string"
          },
          "is_authenticated": {
            "title": "Is Authenticated",
            "type": "boolean"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success",
          "guest_account_id",
          "guest_access_token_id",
          "is_authenticated"
        ],
        "title": "GuestAccessAccessTokenAuthenticatedHealthCheckResponse",
        "type": "object"
      },
      "HuddleSessionResponseSchema": {
        "properties": {
          "ended_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ended At"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "provider": {
            "title": "Provider",
            "type": "string"
          },
          "provider_model": {
            "title": "Provider Model",
            "type": "string"
          },
          "provider_session_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Provider Session Id"
          },
          "started_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Started At"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "voice": {
            "title": "Voice",
            "type": "string"
          }
        },
        "required": [
          "id",
          "status",
          "provider",
          "provider_model",
          "voice"
        ],
        "title": "HuddleSessionResponseSchema",
        "type": "object"
      },
      "HydratedCollectionEntitySchema": {
        "properties": {
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "COLLECTION",
            "default": "COLLECTION",
            "title": "Kind",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "id",
          "title"
        ],
        "title": "HydratedCollectionEntitySchema",
        "type": "object"
      },
      "HydratedNoteEntitySchema": {
        "properties": {
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "NOTE",
            "default": "NOTE",
            "title": "Kind",
            "type": "string"
          },
          "primary_label": {
            "title": "Primary Label",
            "type": "string"
          }
        },
        "required": [
          "id",
          "primary_label"
        ],
        "title": "HydratedNoteEntitySchema",
        "type": "object"
      },
      "ImageSessionPart": {
        "deprecated": true,
        "properties": {
          "client_meta": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Meta"
          },
          "image_id": {
            "format": "uuid",
            "title": "Image Id",
            "type": "string"
          },
          "image_mime_type": {
            "title": "Image Mime Type",
            "type": "string"
          },
          "image_url": {
            "title": "Image Url",
            "type": "string"
          },
          "kind": {
            "const": "IMAGE",
            "default": "IMAGE",
            "title": "Kind",
            "type": "string"
          }
        },
        "required": [
          "image_id",
          "image_url",
          "image_mime_type"
        ],
        "title": "ImageSessionPart",
        "type": "object"
      },
      "IMessageConnectionSettingsResponseSchema": {
        "properties": {
          "connected_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Connected At"
          },
          "is_connected": {
            "title": "Is Connected",
            "type": "boolean"
          },
          "is_enabled": {
            "title": "Is Enabled",
            "type": "boolean"
          },
          "phone_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone Number"
          }
        },
        "required": [
          "is_connected",
          "is_enabled"
        ],
        "title": "IMessageConnectionSettingsResponseSchema",
        "type": "object"
      },
      "IMessageConnectResponseSchema": {
        "properties": {
          "activation_message": {
            "title": "Activation Message",
            "type": "string"
          },
          "activation_url": {
            "title": "Activation Url",
            "type": "string"
          },
          "expires_at": {
            "title": "Expires At",
            "type": "string"
          }
        },
        "required": [
          "activation_url",
          "activation_message",
          "expires_at"
        ],
        "title": "IMessageConnectResponseSchema",
        "type": "object"
      },
      "InternalizeExternalNoteAttachmentRequest": {
        "additionalProperties": false,
        "properties": {
          "attachment_id": {
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "attempt": {
            "default": 1,
            "title": "Attempt",
            "type": "integer"
          },
          "source_occurred_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Occurred At"
          },
          "task_queue": {
            "title": "Task Queue",
            "type": "string"
          }
        },
        "required": [
          "attachment_id",
          "task_queue"
        ],
        "title": "InternalizeExternalNoteAttachmentRequest",
        "type": "object"
      },
      "InternalizeExternalNoteAttachmentResult": {
        "additionalProperties": false,
        "properties": {
          "attachment_id": {
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "failure_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Failure Reason"
          },
          "serving_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Serving Url"
          },
          "status": {
            "enum": [
              "SKIPPED",
              "READY",
              "FAILED"
            ],
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "attachment_id",
          "status",
          "serving_url",
          "failure_reason"
        ],
        "title": "InternalizeExternalNoteAttachmentResult",
        "type": "object"
      },
      "InternalServiceTokenAuthenticatedHealthCheckResponse": {
        "properties": {
          "is_authenticated": {
            "title": "Is Authenticated",
            "type": "boolean"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success",
          "is_authenticated"
        ],
        "title": "InternalServiceTokenAuthenticatedHealthCheckResponse",
        "type": "object"
      },
      "InterruptedToolCallResult": {
        "properties": {
          "error": {
            "const": "interrupted",
            "default": "interrupted",
            "title": "Error",
            "type": "string"
          },
          "success": {
            "const": false,
            "default": false,
            "title": "Success",
            "type": "boolean"
          }
        },
        "title": "InterruptedToolCallResult",
        "type": "object"
      },
      "InterruptV1SessionPart": {
        "properties": {
          "client_meta": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Meta"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "INTERRUPT_V1",
            "default": "INTERRUPT_V1",
            "title": "Kind",
            "type": "string"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          }
        },
        "required": [
          "id",
          "summary"
        ],
        "title": "InterruptV1SessionPart",
        "type": "object"
      },
      "LegacyApiRequestProcessingStatusSchema": {
        "enum": [
          "completed",
          "failed",
          "unknown"
        ],
        "title": "LegacyApiRequestProcessingStatusSchema",
        "type": "string"
      },
      "LegacyCreateNoteRequestSchema": {
        "properties": {
          "add_to_collections": {
            "anyOf": [
              {
                "items": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "format": "uuid",
                      "type": "string"
                    }
                  ]
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Array of strings representing collection titles or IDs to add the note to. If a collection doesn't exist, a new one will be created.\n\nExamples:\n• [\"Meetings\", \"Product\", \"Q2 Planning\"]\n• [\"8a7b6c5d-4e3f-2a1b-0c9d-8e7f6a5b4c3d\", \"Marketing\"]",
            "title": "Add To Collections"
          },
          "apply_template": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "String representing a template title or ID to apply to the note content.",
            "examples": [
              "Meeting Notes",
              "8a7b6c5d-4e3f-2a1b-0c9d-8e7f6a5b4c3d"
            ],
            "title": "Apply Template"
          },
          "auto_format": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Boolean or string that controls automatic formatting. If true, Mem will automatically format the note content. If a string is provided, it will be used as custom formatting instructions.\n\nExamples:\n• True\n• \"Use bullet points throughout and highlight key action items\"",
            "title": "Auto Format"
          },
          "auto_organize": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Boolean or string that controls automatic organization. If true, Mem will automatically organize the note into relevant collections. If a string is provided, it will be used as custom organization instructions.\n\nExamples:\n• True\n• \"Add this note to exactly one of my Marketing, Sales, or Recruiting collections\"",
            "title": "Auto Organize"
          },
          "content": {
            "description": "Markdown formatted string representing the note content. The first line is automatically interpreted as the title.",
            "examples": [
              "# Meeting with Product Team\n\nDiscussion Topics:\n- Roadmap updates\n- Feature prioritization\n\nAction Items:\n- Schedule follow-up with design\n- Share Q2 priorities document"
            ],
            "title": "Content",
            "type": "string"
          },
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "When this note was created (ISO 8601 datetime string). Defaults to the current date and time.\n\nExample:\n• \"2025-04-01T14:30:45Z\"\n• \"2023-12-15T09:45:30+01:00\"",
            "title": "Created At"
          },
          "id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional UUID for the note. If provided, Mem will create a new note with the given ID.\n\nExamples:\n• \"123e4567-e89b-12d3-a456-426614174000\"",
            "title": "Id"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "When this note was last updated (ISO 8601 datetime string). Defaults to the same as created_at.\n\nExamples:\n• \"2025-04-02T09:15:22Z\"\n• \"2023-12-15T09:45:30+01:00\"",
            "title": "Updated At"
          }
        },
        "required": [
          "content"
        ],
        "title": "LegacyCreateNoteRequestSchema",
        "type": "object"
      },
      "LegacyCreateNoteResponseSchema": {
        "example": {
          "content": "# Sales Call with Acme Corp\n\nContact: John Smith (john@acme.com)\n\nInterested in enterprise plan. Follow up next week.\n\n## Action Items\n- Schedule follow-up call next week\n- Send enterprise pricing information\n\n## Key Points\n- Interested in enterprise plan\n- Contact: John Smith (john@acme.com)",
          "created_at": "2025-04-11T04:47:14.457Z",
          "id": "5e29c8a2-c73b-476b-9311-e2579712d4b1",
          "operations": [
            {
              "collection_id": "3e4f5a6b-7c8d-9e0f-1a2b-3c4d5e6f7a8b",
              "collection_title": "Acme Corp",
              "collection_url": "https://mem.ai/collections/3e4f5a6b-7c8d-9e0f-1a2b-3c4d5e6f7a8b",
              "type": "created-collection"
            },
            {
              "collection_id": "3e4f5a6b-7c8d-9e0f-1a2b-3c4d5e6f7a8b",
              "collection_title": "Acme Corp",
              "collection_url": "https://mem.ai/collections/3e4f5a6b-7c8d-9e0f-1a2b-3c4d5e6f7a8b",
              "note_id": "5e29c8a2-c73b-476b-9311-e2579712d4b1",
              "note_title": "Sales Call with Acme Corp",
              "note_url": "https://mem.ai/notes/5e29c8a2-c73b-476b-9311-e2579712d4b1",
              "type": "added-note-to-collection"
            },
            "..."
          ],
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522",
          "status": "completed",
          "title": "Sales Call with Acme Corp",
          "updated_at": "2025-04-11T04:47:19.702Z",
          "url": "https://mem.ai/notes/5e29c8a2-c73b-476b-9311-e2579712d4b1"
        },
        "properties": {
          "content": {
            "title": "Content",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "operations": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/CreatedNoteSessionOperationSchema"
                },
                {
                  "$ref": "#/components/schemas/CreatedCollectionSessionOperationSchema"
                },
                {
                  "$ref": "#/components/schemas/AddedNoteToCollectionSessionOperationSchema"
                },
                {
                  "$ref": "#/components/schemas/DeletedNoteSessionOperationSchema"
                }
              ]
            },
            "title": "Operations",
            "type": "array"
          },
          "request_id": {
            "title": "Request Id",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/LegacyApiRequestProcessingStatusSchema"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "url": {
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "id",
          "url",
          "title",
          "created_at",
          "updated_at",
          "content",
          "operations",
          "status"
        ],
        "title": "LegacyCreateNoteResponseSchema",
        "type": "object"
      },
      "LegacyDeleteNoteResponseSchema": {
        "example": {
          "operations": [
            {
              "note_id": "5e29c8a2-c73b-476b-9311-e2579712d4b1",
              "type": "deleted-note"
            }
          ],
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522",
          "status": "completed"
        },
        "properties": {
          "operations": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/CreatedNoteSessionOperationSchema"
                },
                {
                  "$ref": "#/components/schemas/CreatedCollectionSessionOperationSchema"
                },
                {
                  "$ref": "#/components/schemas/AddedNoteToCollectionSessionOperationSchema"
                },
                {
                  "$ref": "#/components/schemas/DeletedNoteSessionOperationSchema"
                }
              ]
            },
            "title": "Operations",
            "type": "array"
          },
          "request_id": {
            "title": "Request Id",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/LegacyApiRequestProcessingStatusSchema"
          }
        },
        "required": [
          "request_id",
          "operations",
          "status"
        ],
        "title": "LegacyDeleteNoteResponseSchema",
        "type": "object"
      },
      "LegacyMemItRequestSchema": {
        "properties": {
          "context": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Additional background information that helps Mem understand how this input relates to your existing knowledge.\n\nExamples:\n• \"This is related to my Project Alpha research\"\n• \"This is from the quarterly planning meeting\"\n• \"This is a follow-up to our discussion yesterday\"",
            "title": "Context"
          },
          "input": {
            "description": "Any raw content you want to remember - web pages, emails, transcripts, articles, or simple text.\n\nCommon Use Cases:\n• HTML from a webpage\n• Email text (including headers)\n• Meeting transcript\n• Text from a document\n• Simple notes or thoughts\n\nExamples:\n• \"<!DOCTYPE html><html><head><title>AI Trends 2025</title>...</html>\"\n• \"[08:47:19] Kevin: Hello...[09:15:22] Meeting ended.\"\n• \"Check out Atomic Habits by James Clear - recommended by Sarah\"",
            "title": "Input",
            "type": "string"
          },
          "instructions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional guidance on how you want this information processed or remembered.\n\nExamples:\n• \"Extract the key findings and save as a research note\"\n• \"Create a summary with action items and decisions\"\n• \"Add to my reading list\"",
            "title": "Instructions"
          },
          "timestamp": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "When this information was encountered or created (ISO 8601 datetime string). Defaults to the current date and time.\n\nExample:\n• \"2025-04-01T14:30:45Z\"\n• \"2023-12-15T09:45:30+01:00\"",
            "title": "Timestamp"
          }
        },
        "required": [
          "input"
        ],
        "title": "LegacyMemItRequestSchema",
        "type": "object"
      },
      "LegacyMemItResponseSchema": {
        "example": {
          "operations": [
            {
              "note_id": "01234567-89ab-cdef-0123-456789abcdef",
              "title": "AI Trends 2025 - Key Findings",
              "type": "created-note",
              "url": "https://app.mem.ai/m/01234567-89ab-cdef-0123-456789abcdef"
            }
          ],
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522",
          "status": "completed"
        },
        "properties": {
          "operations": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/CreatedNoteSessionOperationSchema"
                },
                {
                  "$ref": "#/components/schemas/CreatedCollectionSessionOperationSchema"
                },
                {
                  "$ref": "#/components/schemas/AddedNoteToCollectionSessionOperationSchema"
                },
                {
                  "$ref": "#/components/schemas/DeletedNoteSessionOperationSchema"
                }
              ]
            },
            "title": "Operations",
            "type": "array"
          },
          "request_id": {
            "title": "Request Id",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/LegacyApiRequestProcessingStatusSchema"
          }
        },
        "required": [
          "request_id",
          "operations",
          "status"
        ],
        "title": "LegacyMemItResponseSchema",
        "type": "object"
      },
      "LinkKind": {
        "enum": [
          "ADOBE_ILLUSTRATOR",
          "ADOBE_PHOTOSHOP",
          "AIRBNB",
          "AIRTABLE",
          "AMAZON",
          "ASANA",
          "DOCUSIGN",
          "DROPBOX",
          "ETSY",
          "FIGMA",
          "FIGMA_DESIGN",
          "FIGMA_PROTOTYPE",
          "GIPHY",
          "GITHUB",
          "GITHUB_PULL_REQUEST",
          "GOOGLE_DOCS",
          "GOOGLE_DRIVE",
          "GOOGLE_SHEETS",
          "GOOGLE_SLIDES",
          "LINKEDIN",
          "LOOM",
          "TWITTER",
          "TWITTER_PROFILE",
          "TWEET",
          "YELP",
          "YOUTUBE",
          "UNKNOWN"
        ],
        "title": "LinkKind",
        "type": "string"
      },
      "LinkPreviewSchema": {
        "properties": {
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "image_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Image Url"
          },
          "site_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Site Name"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "url": {
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "url",
          "title"
        ],
        "title": "LinkPreviewSchema",
        "type": "object"
      },
      "ListAssistantsResponseSchema": {
        "properties": {
          "results": {
            "items": {
              "$ref": "#/components/schemas/AssistantResponseSchema"
            },
            "title": "Results",
            "type": "array"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "results",
          "total"
        ],
        "title": "ListAssistantsResponseSchema",
        "type": "object"
      },
      "ListAttachmentBackfillNoteIdsRequest": {
        "additionalProperties": false,
        "properties": {
          "created_before": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created Before"
          },
          "page_size": {
            "title": "Page Size",
            "type": "integer"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "page_size"
        ],
        "title": "ListAttachmentBackfillNoteIdsRequest",
        "type": "object"
      },
      "ListAttachmentBackfillNoteIdsResult": {
        "additionalProperties": false,
        "properties": {
          "has_more": {
            "title": "Has More",
            "type": "boolean"
          },
          "last_created_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Created At"
          },
          "note_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Note Ids",
            "type": "array"
          }
        },
        "required": [
          "note_ids",
          "last_created_at",
          "has_more"
        ],
        "title": "ListAttachmentBackfillNoteIdsResult",
        "type": "object"
      },
      "ListCalendarConnectionsResponseSchema": {
        "properties": {
          "connections": {
            "items": {
              "$ref": "#/components/schemas/ConnectionItemSchema"
            },
            "title": "Connections",
            "type": "array"
          },
          "request_id": {
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "connections"
        ],
        "title": "ListCalendarConnectionsResponseSchema",
        "type": "object"
      },
      "ListCalendarEventsQuerySchema": {
        "properties": {
          "calendar_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Filter by external calendar ID (provider calendar ID).",
            "title": "Calendar Id"
          },
          "end_time": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Filter events starting at or before this time.",
            "title": "End Time"
          },
          "limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Maximum number of events to return.",
            "title": "Limit"
          },
          "start_time": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Filter events ending at or after this time.",
            "title": "Start Time"
          }
        },
        "title": "ListCalendarEventsQuerySchema",
        "type": "object"
      },
      "ListCalendarEventsResponseSchema": {
        "properties": {
          "events": {
            "items": {
              "$ref": "#/components/schemas/CalendarEventItemSchema"
            },
            "title": "Events",
            "type": "array"
          },
          "request_id": {
            "title": "Request Id",
            "type": "string"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "request_id",
          "events",
          "total"
        ],
        "title": "ListCalendarEventsResponseSchema",
        "type": "object"
      },
      "ListCalendarsResponseSchema": {
        "properties": {
          "calendars": {
            "items": {
              "$ref": "#/components/schemas/CalendarItemSchema"
            },
            "title": "Calendars",
            "type": "array"
          },
          "request_id": {
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "calendars"
        ],
        "title": "ListCalendarsResponseSchema",
        "type": "object"
      },
      "ListSyncUpdatesQuerySchema": {
        "properties": {
          "exclude_sync_model_kinds": {
            "anyOf": [
              {
                "items": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/SyncModelKind"
                    },
                    {
                      "const": "CHAT_MESSAGE",
                      "type": "string"
                    }
                  ]
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "List of sync model kinds to exclude"
          },
          "filter_session_event_sync_models_by_associated_session_kind": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/SessionKind"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Associated session kinds to include for SESSION_EVENT sync models"
          },
          "filter_session_sync_models_by_kind": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/SessionKind"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Session kinds to include for SESSION sync models"
          },
          "last_sync_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Sync Id"
          },
          "only_sync_model_kinds": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/SyncModelKind"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "List of sync model kinds to include"
          },
          "page_size": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 500,
            "title": "Page Size"
          },
          "space_id": {
            "format": "uuid",
            "title": "Space Id",
            "type": "string"
          },
          "sync_model_kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SyncModelKind"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sync model kind to include"
          }
        },
        "required": [
          "space_id"
        ],
        "title": "ListSyncUpdatesQuerySchema",
        "type": "object"
      },
      "ListSyncUpdatesResponseSchema": {
        "properties": {
          "has_next_page": {
            "title": "Has Next Page",
            "type": "boolean"
          },
          "latest_space_account_sequence_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Latest Space Account Sequence Id"
          },
          "latest_sync_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Latest Sync Id"
          },
          "results": {
            "items": {
              "discriminator": {
                "mapping": {
                  "ACL_REVOKED": "#/components/schemas/AclRevokedSyncUpdateResponseSchema",
                  "ACL_UPSERTED": "#/components/schemas/AclUpsertedSyncUpdateResponseSchema",
                  "DELETED": "#/components/schemas/DeletedSyncUpdateResponseSchema",
                  "UPSERTED": "#/components/schemas/UpsertedSyncUpdateResponseSchema"
                },
                "propertyName": "kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/UpsertedSyncUpdateResponseSchema"
                },
                {
                  "$ref": "#/components/schemas/DeletedSyncUpdateResponseSchema"
                },
                {
                  "$ref": "#/components/schemas/AclUpsertedSyncUpdateResponseSchema"
                },
                {
                  "$ref": "#/components/schemas/AclRevokedSyncUpdateResponseSchema"
                }
              ]
            },
            "title": "Results",
            "type": "array"
          },
          "sync_client_group_mutation_sequence_version": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sync Client Group Mutation Sequence Version"
          }
        },
        "required": [
          "results",
          "has_next_page"
        ],
        "title": "ListSyncUpdatesResponseSchema",
        "type": "object"
      },
      "LiveEntryFeedbackRequestSchema": {
        "properties": {
          "comment": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Comment"
          },
          "entry_id": {
            "title": "Entry Id",
            "type": "string"
          },
          "response": {
            "title": "Response",
            "type": "string"
          }
        },
        "required": [
          "entry_id",
          "response"
        ],
        "title": "LiveEntryFeedbackRequestSchema",
        "type": "object"
      },
      "LiveEntryFeedbackResponseSchema": {
        "properties": {
          "entry_id": {
            "title": "Entry Id",
            "type": "string"
          },
          "feedback_response": {
            "title": "Feedback Response",
            "type": "string"
          },
          "smart_card_id": {
            "format": "uuid",
            "title": "Smart Card Id",
            "type": "string"
          }
        },
        "required": [
          "smart_card_id",
          "entry_id",
          "feedback_response"
        ],
        "title": "LiveEntryFeedbackResponseSchema",
        "type": "object"
      },
      "LiveGenerateRequestSchema": {
        "properties": {
          "context": {
            "$ref": "#/components/schemas/SmartContextPayloadValue"
          },
          "recording_started_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recording Started At"
          },
          "transcript_array": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CapturedAudioTranscriptArrayInputItem"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Array"
          },
          "transcript_text": {
            "minLength": 1,
            "title": "Transcript Text",
            "type": "string"
          }
        },
        "required": [
          "transcript_text",
          "context"
        ],
        "title": "LiveGenerateRequestSchema",
        "type": "object"
      },
      "LiveNoteSmartCardItem": {
        "description": "Smart card item representing a live transcript note insight.",
        "properties": {
          "added_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Added At"
          },
          "entry_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Entry Id"
          },
          "feedback_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Feedback At"
          },
          "feedback_comment": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Feedback Comment"
          },
          "feedback_response": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Feedback Response"
          },
          "insight": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Insight"
          },
          "internal_reason_for_selection": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Reason For Selection"
          },
          "justification": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Justification"
          },
          "kind": {
            "const": "LIVE_NOTE",
            "default": "LIVE_NOTE",
            "title": "Kind",
            "type": "string"
          },
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          },
          "note_title": {
            "title": "Note Title",
            "type": "string"
          },
          "primary_label": {
            "title": "Primary Label",
            "type": "string"
          },
          "quote": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Quote"
          },
          "recording_offset_seconds": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recording Offset Seconds"
          },
          "secondary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Secondary Label"
          },
          "sort_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sort Key"
          },
          "timing_seconds": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timing Seconds"
          },
          "tool_calls": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AiAgentToolCallJson"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tool Calls"
          },
          "topic": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Topic"
          },
          "transcript_tail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Tail"
          }
        },
        "required": [
          "primary_label",
          "secondary_label",
          "note_id",
          "note_title"
        ],
        "title": "LiveNoteSmartCardItem",
        "type": "object"
      },
      "LiveSmartCardResponseSchema": {
        "properties": {
          "copied_from_smart_card_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Copied From Smart Card Id"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "LIVE",
            "title": "Kind",
            "type": "string"
          },
          "originated_from_find_more": {
            "title": "Originated From Find More",
            "type": "boolean"
          },
          "smart_view_id": {
            "format": "uuid",
            "title": "Smart View Id",
            "type": "string"
          },
          "sort_key": {
            "title": "Sort Key",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/LiveValueSchema"
          }
        },
        "required": [
          "id",
          "smart_view_id",
          "sort_key",
          "kind",
          "copied_from_smart_card_id",
          "originated_from_find_more",
          "value"
        ],
        "title": "LiveSmartCardResponseSchema",
        "type": "object"
      },
      "LiveValueSchema": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/LiveNoteSmartCardItem"
            },
            "title": "Items",
            "type": "array"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "required": [
          "items"
        ],
        "title": "LiveValueSchema",
        "type": "object"
      },
      "LogInUsingEmailPasswordRequest": {
        "properties": {
          "email_address": {
            "format": "email",
            "title": "Email Address",
            "type": "string"
          },
          "password": {
            "minLength": 1,
            "title": "Password",
            "type": "string"
          }
        },
        "required": [
          "email_address",
          "password"
        ],
        "title": "LogInUsingEmailPasswordRequest",
        "type": "object"
      },
      "LogInUsingEmailPasswordResponse": {
        "properties": {
          "account_id": {
            "format": "uuid",
            "title": "Account Id",
            "type": "string"
          },
          "oauth_access_token": {
            "title": "Oauth Access Token",
            "type": "string"
          }
        },
        "required": [
          "account_id",
          "oauth_access_token"
        ],
        "title": "LogInUsingEmailPasswordResponse",
        "type": "object"
      },
      "LogInUsingGoogleOAuthCodeRequest": {
        "properties": {
          "client_kind": {
            "$ref": "#/components/schemas/GoogleOAuthClientKind"
          },
          "google_oauth_code": {
            "minLength": 1,
            "title": "Google Oauth Code",
            "type": "string"
          },
          "redirect_uri": {
            "minLength": 1,
            "title": "Redirect Uri",
            "type": "string"
          }
        },
        "required": [
          "google_oauth_code",
          "client_kind",
          "redirect_uri"
        ],
        "title": "LogInUsingGoogleOAuthCodeRequest",
        "type": "object"
      },
      "LogInUsingGoogleOAuthCodeResponse": {
        "properties": {
          "account_id": {
            "format": "uuid",
            "title": "Account Id",
            "type": "string"
          },
          "oauth_access_token": {
            "title": "Oauth Access Token",
            "type": "string"
          }
        },
        "required": [
          "account_id",
          "oauth_access_token"
        ],
        "title": "LogInUsingGoogleOAuthCodeResponse",
        "type": "object"
      },
      "MarkdownSmartCardResponseSchema": {
        "properties": {
          "copied_from_smart_card_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Copied From Smart Card Id"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "MARKDOWN",
            "title": "Kind",
            "type": "string"
          },
          "originated_from_find_more": {
            "title": "Originated From Find More",
            "type": "boolean"
          },
          "smart_view_id": {
            "format": "uuid",
            "title": "Smart View Id",
            "type": "string"
          },
          "sort_key": {
            "title": "Sort Key",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/MarkdownValueSchema"
          }
        },
        "required": [
          "id",
          "smart_view_id",
          "sort_key",
          "kind",
          "copied_from_smart_card_id",
          "originated_from_find_more",
          "value"
        ],
        "title": "MarkdownSmartCardResponseSchema",
        "type": "object"
      },
      "MarkdownV1SessionPart": {
        "properties": {
          "attachment_references": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AttachmentReference"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Attachment References"
          },
          "client_meta": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Meta"
          },
          "content": {
            "title": "Content",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "MARKDOWN_V1",
            "default": "MARKDOWN_V1",
            "title": "Kind",
            "type": "string"
          }
        },
        "required": [
          "id",
          "content"
        ],
        "title": "MarkdownV1SessionPart",
        "type": "object"
      },
      "MarkdownValueSchema": {
        "properties": {
          "markdown": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Markdown"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "title": "MarkdownValueSchema",
        "type": "object"
      },
      "McpInitializeRequestSchema": {
        "properties": {
          "client_name": {
            "description": "MCP clientInfo.name value from initialize.",
            "minLength": 1,
            "title": "Client Name",
            "type": "string"
          },
          "client_version": {
            "description": "MCP clientInfo.version value from initialize.",
            "minLength": 1,
            "title": "Client Version",
            "type": "string"
          }
        },
        "required": [
          "client_name",
          "client_version"
        ],
        "title": "McpInitializeRequestSchema",
        "type": "object"
      },
      "MeAccountResponseSchema": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "profile_display_name": {
            "title": "Profile Display Name",
            "type": "string"
          },
          "profile_email_address": {
            "title": "Profile Email Address",
            "type": "string"
          },
          "profile_photo_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Profile Photo Url"
          }
        },
        "required": [
          "id",
          "profile_display_name",
          "profile_email_address",
          "profile_photo_url",
          "created_at"
        ],
        "title": "MeAccountResponseSchema",
        "type": "object"
      },
      "MeAuthInfoResponseSchema": {
        "properties": {
          "associated_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Associated Account Id"
          },
          "associated_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Associated Space Account Id"
          },
          "is_admin": {
            "default": false,
            "title": "Is Admin",
            "type": "boolean"
          },
          "profile_display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Profile Display Name"
          },
          "profile_email_address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Profile Email Address"
          }
        },
        "title": "MeAuthInfoResponseSchema",
        "type": "object"
      },
      "MediaKind": {
        "enum": [
          "IMAGE",
          "GIF",
          "VIDEO",
          "OPENTASK",
          "TASK",
          "CODE",
          "QUOTE",
          "PDF",
          "TABLE",
          "FILE",
          "LINK",
          "UNKNOWN"
        ],
        "title": "MediaKind",
        "type": "string"
      },
      "MeetingBriefingFeedbackRequestSchema": {
        "properties": {
          "comment": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Comment"
          },
          "response": {
            "$ref": "#/components/schemas/MeetingBriefingFeedbackResponseValue"
          }
        },
        "required": [
          "response"
        ],
        "title": "MeetingBriefingFeedbackRequestSchema",
        "type": "object"
      },
      "MeetingBriefingFeedbackResponseSchema": {
        "properties": {
          "calendar_event_id": {
            "format": "uuid",
            "title": "Calendar Event Id",
            "type": "string"
          },
          "feedback_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Feedback At"
          },
          "feedback_comment": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Feedback Comment"
          },
          "feedback_response": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Feedback Response"
          }
        },
        "required": [
          "calendar_event_id",
          "feedback_response",
          "feedback_comment",
          "feedback_at"
        ],
        "title": "MeetingBriefingFeedbackResponseSchema",
        "type": "object"
      },
      "MeetingBriefingFeedbackResponseValue": {
        "enum": [
          "UPVOTE",
          "DOWNVOTE"
        ],
        "title": "MeetingBriefingFeedbackResponseValue",
        "type": "string"
      },
      "MeetingBriefingSmartCardResponseSchema": {
        "properties": {
          "copied_from_smart_card_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Copied From Smart Card Id"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "MEETING_BRIEFING",
            "title": "Kind",
            "type": "string"
          },
          "originated_from_find_more": {
            "title": "Originated From Find More",
            "type": "boolean"
          },
          "smart_view_id": {
            "format": "uuid",
            "title": "Smart View Id",
            "type": "string"
          },
          "sort_key": {
            "title": "Sort Key",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/MeetingBriefingValueSchema"
          }
        },
        "required": [
          "id",
          "smart_view_id",
          "sort_key",
          "kind",
          "copied_from_smart_card_id",
          "originated_from_find_more",
          "value"
        ],
        "title": "MeetingBriefingSmartCardResponseSchema",
        "type": "object"
      },
      "MeetingBriefingTimingSchema": {
        "properties": {
          "tool_calls": {
            "title": "Tool Calls",
            "type": "integer"
          },
          "total_time_seconds": {
            "title": "Total Time Seconds",
            "type": "number"
          }
        },
        "required": [
          "tool_calls",
          "total_time_seconds"
        ],
        "title": "MeetingBriefingTimingSchema",
        "type": "object"
      },
      "MeetingBriefingToolCallSchema": {
        "properties": {
          "args": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Args"
          },
          "content_length": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Content Length"
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "result_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Result Count"
          },
          "timestamp": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timestamp"
          },
          "tool": {
            "title": "Tool",
            "type": "string"
          }
        },
        "required": [
          "tool"
        ],
        "title": "MeetingBriefingToolCallSchema",
        "type": "object"
      },
      "MeetingBriefingValueSchema": {
        "properties": {
          "connected_calendar_event_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Connected Calendar Event Id"
          },
          "markdown": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Markdown"
          },
          "note_items": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/NoteSmartCardItem"
            },
            "title": "Note Items",
            "type": "array"
          },
          "reasoning": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reasoning"
          },
          "timing": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timing"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          },
          "tool_calls": {
            "default": [],
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Tool Calls",
            "type": "array"
          }
        },
        "title": "MeetingBriefingValueSchema",
        "type": "object"
      },
      "MemAgentSettings": {
        "properties": {
          "hold_to_talk_key": {
            "anyOf": [
              {
                "enum": [
                  "tab",
                  "caps-lock",
                  "right-shift",
                  "right-alt",
                  "right-ctrl",
                  "scroll-lock",
                  "fn"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hold To Talk Key"
          },
          "reminders_callout_dismissed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reminders Callout Dismissed At"
          },
          "reminders_callout_is_dismissible": {
            "default": false,
            "title": "Reminders Callout Is Dismissible",
            "type": "boolean"
          }
        },
        "title": "MemAgentSettings",
        "type": "object"
      },
      "MemAgentSettingsPatch": {
        "properties": {
          "hold_to_talk_key": {
            "anyOf": [
              {
                "enum": [
                  "tab",
                  "caps-lock",
                  "right-shift",
                  "right-alt",
                  "right-ctrl",
                  "scroll-lock",
                  "fn"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hold To Talk Key"
          },
          "reminders_callout_dismissed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reminders Callout Dismissed At"
          },
          "reminders_callout_is_dismissible": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reminders Callout Is Dismissible"
          }
        },
        "title": "MemAgentSettingsPatch",
        "type": "object"
      },
      "MemAgentTierOverride": {
        "enum": [
          "PROACTIVE",
          "PRO",
          "FREE"
        ],
        "title": "MemAgentTierOverride",
        "type": "string"
      },
      "MemItApiRequestExternalInputPayload": {
        "properties": {
          "api_request_id": {
            "title": "Api Request Id",
            "type": "string"
          },
          "kind": {
            "const": "MEM_IT_API_REQUEST",
            "default": "MEM_IT_API_REQUEST",
            "title": "Kind",
            "type": "string"
          }
        },
        "required": [
          "api_request_id"
        ],
        "title": "MemItApiRequestExternalInputPayload",
        "type": "object"
      },
      "MemItRequestSchema": {
        "properties": {
          "context": {
            "anyOf": [
              {
                "maxLength": 10000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Additional background information that helps Mem understand how this input relates to your existing knowledge.\n\nExamples:\n• \"This is related to my Project Alpha research\"\n• \"This is from the quarterly planning meeting\"\n• \"This is a follow-up to our discussion yesterday\"\n\nMaximum of ~10k characters.",
            "title": "Context"
          },
          "input": {
            "description": "Any raw content you want to remember - web pages, emails, transcripts, articles, or simple text.\n\nCommon Use Cases:\n• HTML from a webpage\n• Email text (including headers)\n• Meeting transcript\n• Text from a document\n• Simple notes or thoughts\n\nExamples:\n• \"<!DOCTYPE html><html><head><title>AI Trends 2025</title>...</html>\"\n• \"[08:47:19] Kevin: Hello...[09:15:22] Meeting ended.\"\n• \"Check out Atomic Habits by James Clear - recommended by Sarah\"\n\nMaximum of ~1M characters (~1 MB).",
            "maxLength": 1000000,
            "title": "Input",
            "type": "string"
          },
          "instructions": {
            "anyOf": [
              {
                "maxLength": 10000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional guidance on how you want this information processed or remembered.\n\nExamples:\n• \"Extract the key findings and save as a research note\"\n• \"Create a summary with action items and decisions\"\n• \"Add to my reading list\"\n\nMaximum size: approximately 10 KB.",
            "title": "Instructions"
          },
          "timestamp": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "When this information was encountered or created (ISO 8601 datetime string). Defaults to the current date and time.\n\nExample:\n• \"2025-04-01T14:30:45Z\"\n• \"2023-12-15T09:45:30+01:00\"\n\nMaximum of ~10k characters.",
            "title": "Timestamp"
          }
        },
        "required": [
          "input"
        ],
        "title": "MemItRequestSchema",
        "type": "object"
      },
      "MemItResponseSchema": {
        "example": {
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522"
        },
        "properties": {
          "request_id": {
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id"
        ],
        "title": "MemItResponseSchema",
        "type": "object"
      },
      "MentionedBySmartCardResponseSchema": {
        "properties": {
          "copied_from_smart_card_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Copied From Smart Card Id"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "MENTIONED_BY_NOTES_LIST",
            "title": "Kind",
            "type": "string"
          },
          "originated_from_find_more": {
            "title": "Originated From Find More",
            "type": "boolean"
          },
          "smart_view_id": {
            "format": "uuid",
            "title": "Smart View Id",
            "type": "string"
          },
          "sort_key": {
            "title": "Sort Key",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/MentionedByValueSchema"
          }
        },
        "required": [
          "id",
          "smart_view_id",
          "sort_key",
          "kind",
          "copied_from_smart_card_id",
          "originated_from_find_more",
          "value"
        ],
        "title": "MentionedBySmartCardResponseSchema",
        "type": "object"
      },
      "MentionedByValueSchema": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/NoteSmartCardItem"
            },
            "title": "Items",
            "type": "array"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "required": [
          "items"
        ],
        "title": "MentionedByValueSchema",
        "type": "object"
      },
      "MessageSessionPart": {
        "deprecated": true,
        "properties": {
          "client_meta": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Meta"
          },
          "kind": {
            "const": "MESSAGE",
            "default": "MESSAGE",
            "title": "Kind",
            "type": "string"
          },
          "parts": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/TextSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ChipSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ImageSessionPart"
                },
                {
                  "$ref": "#/components/schemas/FileSessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipSessionPart"
                },
                {
                  "$ref": "#/components/schemas/MarkdownV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipV1SessionPart"
                }
              ]
            },
            "title": "Parts",
            "type": "array"
          }
        },
        "required": [
          "parts"
        ],
        "title": "MessageSessionPart",
        "type": "object"
      },
      "MessageUserToolCallArgs": {
        "properties": {
          "message": {
            "title": "Message",
            "type": "string"
          }
        },
        "required": [
          "message"
        ],
        "title": "MessageUserToolCallArgs",
        "type": "object"
      },
      "MessageUserToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "MessageUserToolCallResult",
        "type": "object"
      },
      "MimeType": {
        "enum": [
          "text/html",
          "image/jpeg",
          "image/png",
          "image/webp",
          "image/gif",
          "application/pdf",
          "text/plain",
          "text/markdown",
          "unknown"
        ],
        "title": "MimeType",
        "type": "string"
      },
      "MoveNoteRequestSchema": {
        "properties": {
          "target_collection_id": {
            "description": "UUID of the collection that should receive the note.\nThe caller must be able to add the note to this collection.",
            "examples": [
              "01961d40-7c70-7ed8-8cd4-bd99203de422"
            ],
            "format": "uuid",
            "title": "Target Collection Id",
            "type": "string"
          }
        },
        "required": [
          "target_collection_id"
        ],
        "title": "MoveNoteRequestSchema",
        "type": "object"
      },
      "MoveNoteResponseSchema": {
        "example": {
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522"
        },
        "properties": {
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id"
        ],
        "title": "MoveNoteResponseSchema",
        "type": "object"
      },
      "MoveNoteToolCallArgs": {
        "properties": {
          "note_id": {
            "title": "Note Id",
            "type": "string"
          },
          "source_collection_id": {
            "title": "Source Collection Id",
            "type": "string"
          },
          "target_collection_id": {
            "title": "Target Collection Id",
            "type": "string"
          }
        },
        "required": [
          "note_id",
          "source_collection_id",
          "target_collection_id"
        ],
        "title": "MoveNoteToolCallArgs",
        "type": "object"
      },
      "MoveNoteToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "MoveNoteToolCallResult",
        "type": "object"
      },
      "NonSkippableTrialAssignmentResponseSchema": {
        "properties": {
          "assignment_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assignment Id"
          },
          "can_skip": {
            "title": "Can Skip",
            "type": "boolean"
          },
          "experiment_key": {
            "title": "Experiment Key",
            "type": "string"
          },
          "onboarding_completed": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Onboarding Completed"
          },
          "source": {
            "title": "Source",
            "type": "string"
          },
          "source_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Key"
          },
          "variant_key": {
            "title": "Variant Key",
            "type": "string"
          }
        },
        "required": [
          "experiment_key",
          "variant_key",
          "source",
          "can_skip"
        ],
        "title": "NonSkippableTrialAssignmentResponseSchema",
        "type": "object"
      },
      "NoteArtifactsQuerySchema": {
        "properties": {
          "artifact_kinds": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/SessionArtifactKind"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Artifact Kinds"
          }
        },
        "title": "NoteArtifactsQuerySchema",
        "type": "object"
      },
      "NoteArtifactsResponseSchema": {
        "properties": {
          "artifacts": {
            "items": {
              "$ref": "#/components/schemas/ArtifactInternalResponseSchema"
            },
            "title": "Artifacts",
            "type": "array"
          },
          "count": {
            "title": "Count",
            "type": "integer"
          }
        },
        "required": [
          "artifacts",
          "count"
        ],
        "title": "NoteArtifactsResponseSchema",
        "type": "object"
      },
      "NoteAttachmentHostingFailureReason": {
        "description": "Terminal failure reason for attachment hosting.",
        "enum": [
          "SECURITY_BLOCKED",
          "UNSUPPORTED_SOURCE",
          "TOO_LARGE",
          "FETCH_OR_TRANSFORM_FAILED",
          "UNKNOWN"
        ],
        "title": "NoteAttachmentHostingFailureReason",
        "type": "string"
      },
      "NoteAttachmentHostingStatus": {
        "description": "Status for Mem-hosting attachment bytes.",
        "enum": [
          "UNKNOWN",
          "PENDING",
          "READY",
          "FAILED"
        ],
        "title": "NoteAttachmentHostingStatus",
        "type": "string"
      },
      "NoteAttachmentMetadataResponseSchema": {
        "properties": {
          "attachment_id": {
            "description": "UUID of the note attachment. Use this ID with note attachment tools.",
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "attachment_kind": {
            "description": "Attachment kind. Use this with attachment tools that need kind-specific handling.",
            "enum": [
              "pdf",
              "image"
            ],
            "title": "Attachment Kind",
            "type": "string"
          },
          "image_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Detected image type for image attachments, when available.",
            "title": "Image Type"
          },
          "ocr_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Extracted OCR text for image attachments, when available.",
            "title": "Ocr Text"
          },
          "page_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Number of pages for PDF attachments, or null for image attachments.",
            "title": "Page Count"
          },
          "suggested_search": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Suggested query text for searching within the attachment, when available.",
            "title": "Suggested Search"
          },
          "summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Compact extracted summary for the attachment, when available.",
            "title": "Summary"
          },
          "visual_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Visual description for image attachments, when available.",
            "title": "Visual Description"
          }
        },
        "required": [
          "attachment_kind",
          "attachment_id"
        ],
        "title": "NoteAttachmentMetadataResponseSchema",
        "type": "object"
      },
      "NoteAttachmentProcessingStatus": {
        "description": "Status for extraction or indexing processes.",
        "enum": [
          "PENDING",
          "IN_PROGRESS",
          "COMPLETED",
          "FAILED",
          "PARTIAL",
          "READY_LIMITED",
          "NOT_SUPPORTED"
        ],
        "title": "NoteAttachmentProcessingStatus",
        "type": "string"
      },
      "NoteChipSessionPartPayload": {
        "properties": {
          "kind": {
            "const": "NOTE",
            "default": "NOTE",
            "title": "Kind",
            "type": "string"
          },
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          },
          "note_primary_label": {
            "title": "Note Primary Label",
            "type": "string"
          }
        },
        "required": [
          "note_primary_label",
          "note_id"
        ],
        "title": "NoteChipSessionPartPayload",
        "type": "object"
      },
      "NoteContentArtifactInternalResponseSchema": {
        "properties": {
          "artifact_kind": {
            "const": "NOTE_CONTENT",
            "title": "Artifact Kind",
            "type": "string"
          },
          "payload": {
            "additionalProperties": true,
            "title": "Payload",
            "type": "object"
          }
        },
        "required": [
          "payload",
          "artifact_kind"
        ],
        "title": "NoteContentArtifactInternalResponseSchema",
        "type": "object"
      },
      "NoteContentDocumentSnapshotResponseSchema": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "editor_context_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Editor Context Kind"
          },
          "editor_on_behalf_of_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Editor On Behalf Of Space Account Id"
          },
          "editor_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Editor Space Account Id"
          },
          "encoded_content": {
            "title": "Encoded Content",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "note_content_document_id": {
            "format": "uuid",
            "title": "Note Content Document Id",
            "type": "string"
          },
          "note_content_document_locally_modified_at": {
            "format": "date-time",
            "title": "Note Content Document Locally Modified At",
            "type": "string"
          },
          "note_content_document_version": {
            "title": "Note Content Document Version",
            "type": "integer"
          },
          "primary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Primary Label"
          },
          "secondary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Secondary Label"
          }
        },
        "required": [
          "id",
          "created_at",
          "note_content_document_id",
          "note_content_document_locally_modified_at",
          "note_content_document_version",
          "editor_space_account_id",
          "encoded_content",
          "primary_label",
          "secondary_label"
        ],
        "title": "NoteContentDocumentSnapshotResponseSchema",
        "type": "object"
      },
      "NoteContentDocumentSyncModelDataResponseSchema": {
        "properties": {
          "encoded_content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Encoded Content"
          },
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          }
        },
        "required": [
          "note_id",
          "encoded_content"
        ],
        "title": "NoteContentDocumentSyncModelDataResponseSchema",
        "type": "object"
      },
      "NoteContentDocumentSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/NoteContentDocumentSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "NOTE_CONTENT_DOCUMENT",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "NoteContentDocumentSyncModelResponseSchema",
        "type": "object"
      },
      "NoteCreatedV1ArtifactPayload": {
        "properties": {
          "actor_display_names": {
            "additionalProperties": {
              "type": "string"
            },
            "default": {},
            "title": "Actor Display Names",
            "type": "object"
          },
          "attributed_created_by_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Attributed Created By Space Account Id"
          },
          "created_by_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created By Space Account Id"
          },
          "encoded_content": {
            "title": "Encoded Content",
            "type": "string"
          },
          "last_modified_by_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Modified By Space Account Id"
          },
          "markdown_content": {
            "title": "Markdown Content",
            "type": "string"
          },
          "note_created_at": {
            "format": "date-time",
            "title": "Note Created At",
            "type": "string"
          },
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          },
          "note_locally_created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note Locally Created At"
          },
          "note_locally_modified_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note Locally Modified At"
          },
          "note_quota_created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note Quota Created At"
          },
          "note_updated_at": {
            "format": "date-time",
            "title": "Note Updated At",
            "type": "string"
          },
          "owned_by_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Owned By Space Account Id"
          },
          "primary_label": {
            "title": "Primary Label",
            "type": "string"
          },
          "secondary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Secondary Label"
          },
          "shared_with_me_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Shared With Me At"
          },
          "shared_with_me_by_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Shared With Me By Space Account Id"
          }
        },
        "required": [
          "note_id",
          "note_created_at",
          "note_updated_at",
          "encoded_content",
          "primary_label",
          "secondary_label",
          "markdown_content"
        ],
        "title": "NoteCreatedV1ArtifactPayload",
        "type": "object"
      },
      "NoteListItemResponseSchema": {
        "properties": {
          "audio_recording_ids": {
            "description": "Audio Recording UUIDs currently associated with the note.",
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Audio Recording Ids",
            "type": "array"
          },
          "collection_ids": {
            "description": "Collection UUIDs currently associated with the note.",
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Collection Ids",
            "type": "array"
          },
          "content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Full markdown content for the note.\nIncluded only when `include_note_content=true` is requested.",
            "title": "Content"
          },
          "created_at": {
            "description": "Creation timestamp for the note in ISO 8601 format.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "UUID of the note.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "snippet": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional derived preview text for quick display and ranking context.\nIt may be truncated and is not guaranteed to contain full note context.",
            "title": "Snippet"
          },
          "title": {
            "description": "Current title of the note.",
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "description": "Last modification timestamp for the note in ISO 8601 format.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "title",
          "collection_ids",
          "audio_recording_ids",
          "created_at",
          "updated_at"
        ],
        "title": "NoteListItemResponseSchema",
        "type": "object"
      },
      "NoteListOrderBy": {
        "enum": [
          "created_at",
          "updated_at"
        ],
        "title": "NoteListOrderBy",
        "type": "string"
      },
      "NoteListQuerySchema": {
        "properties": {
          "collection_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional collection filter by UUID.\nWhen set, only notes linked to this collection are returned.",
            "title": "Collection Id"
          },
          "contains_files": {
            "default": false,
            "description": "When true, include notes that contain file-like attachments\n(including file and PDF kinds).\nWhen multiple `contains_*` fields are true, notes matching any selected\nfilter may be returned.",
            "title": "Contains Files",
            "type": "boolean"
          },
          "contains_images": {
            "default": false,
            "description": "When true, include notes that contain image media\n(including image and GIF kinds).\nWhen multiple `contains_*` fields are true, notes matching any selected\nfilter may be returned.",
            "title": "Contains Images",
            "type": "boolean"
          },
          "contains_open_tasks": {
            "default": false,
            "description": "When true, include notes that contain at least one open task item.\nWhen multiple `contains_*` fields are true, notes matching any selected\nfilter may be returned.",
            "title": "Contains Open Tasks",
            "type": "boolean"
          },
          "contains_tasks": {
            "default": false,
            "description": "When true, include notes that contain at least one task item\n(open or closed).\nWhen multiple `contains_*` fields are true, notes matching any selected\nfilter may be returned.",
            "title": "Contains Tasks",
            "type": "boolean"
          },
          "filter_by_created_after": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional inclusive lower bound for note creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "title": "Filter By Created After"
          },
          "filter_by_created_before": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional inclusive upper bound for note creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "title": "Filter By Created Before"
          },
          "filter_by_updated_after": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional inclusive lower bound for note update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "title": "Filter By Updated After"
          },
          "filter_by_updated_before": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional inclusive upper bound for note update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "title": "Filter By Updated Before"
          },
          "include_note_content": {
            "default": false,
            "description": "When true, include full markdown content for each returned note.\nIMPORTANT: This increases payload size and can increase latency.",
            "title": "Include Note Content",
            "type": "boolean"
          },
          "limit": {
            "anyOf": [
              {
                "maximum": 100,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 50,
            "description": "Maximum number of notes in this page.\nUse smaller values for lower latency.\nDefault is 50; valid range is 1 to 100.",
            "title": "Limit"
          },
          "order_by": {
            "allOf": [
              {
                "enum": [
                  "created_at",
                  "updated_at"
                ],
                "title": "NoteListOrderBy",
                "type": "string"
              }
            ],
            "default": "updated_at",
            "description": "Sort key for pagination boundaries.\nUse `updated_at` (default) for recency feeds.\nUse `created_at` for creation-order views."
          },
          "page": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Opaque cursor from a previous list response.\nOmit for the first page.\nIMPORTANT: Reuse with the same filters and `order_by` settings.",
            "title": "Page"
          }
        },
        "title": "NoteListQuerySchema",
        "type": "object"
      },
      "NoteListResponseSchema": {
        "example": {
          "next_page": "eyJpZCI6IjAxOGY4ZDBkLTVhM2MtN2FmYy04MzIxLTJmNmY2ZTBmZWZhYiIsIm9yZGVyX2J5IjoidXBkYXRlZF9hdCIsInJlcXVlc3RfZmluZ2VycHJpbnQiOiJkZjk4MDI5YjhhZGI0M2Q4NmI5YTRkYjQ3ZTZhYWE4NjkyZjUzZGFiZDQ4ZDg0MjYxZWI2YjY2MDVhODI2N2Q4IiwidmFsdWUiOiIyMDI1LTA1LTA0VDE0OjIwOjExWiJ9",
          "request_id": "api-request-018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
          "results": [
            {
              "audio_recording_ids": [
                "78ff64bc-09e3-4fd7-a4b9-53c258f35619"
              ],
              "collection_ids": [
                "59508b41-8770-4855-aa37-302b1e09aee7",
                "026b426c-14fb-4f22-8d98-7a9121bfaec8"
              ],
              "content": "# Weekly Planning\n\n## Priorities\n- Customer interviews\n- Ship timeline view\n",
              "created_at": "2025-05-01T10:05:45Z",
              "id": "018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
              "snippet": "Quarterly kickoff prep",
              "title": "Weekly Planning",
              "updated_at": "2025-05-04T14:20:11Z"
            }
          ],
          "total": 12
        },
        "properties": {
          "next_page": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Opaque cursor for the next page of results.\nOmitted when there are no more results.",
            "title": "Next Page"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "results": {
            "description": "Page of note results matching the requested filters and sort.",
            "items": {
              "$ref": "#/components/schemas/NoteListItemResponseSchema"
            },
            "title": "Results",
            "type": "array"
          },
          "total": {
            "description": "Total number of matching notes before pagination is applied.",
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "request_id",
          "results",
          "total"
        ],
        "title": "NoteListResponseSchema",
        "type": "object"
      },
      "NoteListSmartCardResponseSchema": {
        "properties": {
          "copied_from_smart_card_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Copied From Smart Card Id"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "NOTE_LIST",
            "title": "Kind",
            "type": "string"
          },
          "originated_from_find_more": {
            "title": "Originated From Find More",
            "type": "boolean"
          },
          "smart_view_id": {
            "format": "uuid",
            "title": "Smart View Id",
            "type": "string"
          },
          "sort_key": {
            "title": "Sort Key",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/NoteListValueSchema"
          }
        },
        "required": [
          "id",
          "smart_view_id",
          "sort_key",
          "kind",
          "copied_from_smart_card_id",
          "originated_from_find_more",
          "value"
        ],
        "title": "NoteListSmartCardResponseSchema",
        "type": "object"
      },
      "NoteListValueSchema": {
        "properties": {
          "internal_reason_for_selection": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Reason For Selection"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/NoteSmartCardItem"
            },
            "title": "Items",
            "type": "array"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "required": [
          "items"
        ],
        "title": "NoteListValueSchema",
        "type": "object"
      },
      "NoteResultsConfigSchema": {
        "properties": {
          "include_note_content": {
            "default": false,
            "description": "When true, include full markdown content for each returned note.\nKeep false for lightweight metadata/snippet responses.",
            "title": "Include Note Content",
            "type": "boolean"
          }
        },
        "title": "NoteResultsConfigSchema",
        "type": "object"
      },
      "NoteSearchEngineRequestSchema": {
        "properties": {
          "facet_filters": {
            "items": {
              "$ref": "#/components/schemas/SearchEngineRequestFacetFilterSchema"
            },
            "title": "Facet Filters",
            "type": "array"
          },
          "filters": {
            "items": {
              "$ref": "#/components/schemas/SearchEngineRequestFilterSchema"
            },
            "title": "Filters",
            "type": "array"
          },
          "pagination_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SearchEnginePaginationManagerSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "query": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Query"
          },
          "space_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Space Id"
          }
        },
        "title": "NoteSearchEngineRequestSchema",
        "type": "object"
      },
      "NoteSearchItemResponseSchema": {
        "properties": {
          "audio_recording_ids": {
            "description": "Audio Recording UUIDs currently associated with the note.",
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Audio Recording Ids",
            "type": "array"
          },
          "collection_ids": {
            "description": "Collection UUIDs currently associated with the note.",
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Collection Ids",
            "type": "array"
          },
          "content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Full markdown content for the note.\nIncluded only when `config.include_note_content=true` is requested.",
            "title": "Content"
          },
          "created_at": {
            "description": "Creation timestamp for the note in ISO 8601 format.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "UUID of the note.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "snippet": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional derived preview text for quick display and ranking context.\nIt may be truncated and is not guaranteed to contain full note context.",
            "title": "Snippet"
          },
          "title": {
            "description": "Current title of the note.",
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "description": "Last modification timestamp for the note in ISO 8601 format.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "title",
          "collection_ids",
          "audio_recording_ids",
          "created_at",
          "updated_at"
        ],
        "title": "NoteSearchItemResponseSchema",
        "type": "object"
      },
      "NoteSearchQuerySchema": {
        "properties": {
          "limit": {
            "anyOf": [
              {
                "maximum": 50,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 20,
            "description": "Maximum number of notes in this search page.\nUse smaller values for lower latency.\nDefault is 20; valid range is 1 to 50.",
            "title": "Limit"
          },
          "offset": {
            "default": 0,
            "description": "Number of matching notes to skip before returning results.\nThis value is zero-based.",
            "minimum": 0,
            "title": "Offset",
            "type": "integer"
          },
          "snapshot_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Opaque search snapshot identifier returned by a previous search page.\nRequired when requesting later pages with `offset > 0`.",
            "title": "Snapshot Id"
          }
        },
        "title": "NoteSearchQuerySchema",
        "type": "object"
      },
      "NoteSearchRequestSchema": {
        "properties": {
          "config": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NoteResultsConfigSchema"
              }
            ],
            "description": "Configuration flags controlling search response payload shape."
          },
          "filter_by_collection_ids": {
            "anyOf": [
              {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional collection UUID filters.\nWhen provided, results are limited to notes in any listed collection.",
            "title": "Filter By Collection Ids"
          },
          "filter_by_contains_files": {
            "default": false,
            "description": "When true, include notes that contain file-like attachments\n(including file and PDF kinds).",
            "title": "Filter By Contains Files",
            "type": "boolean"
          },
          "filter_by_contains_images": {
            "default": false,
            "description": "When true, include notes that contain image media\n(including image and GIF kinds).",
            "title": "Filter By Contains Images",
            "type": "boolean"
          },
          "filter_by_contains_open_tasks": {
            "default": false,
            "description": "When true, include notes that contain at least one open task item.",
            "title": "Filter By Contains Open Tasks",
            "type": "boolean"
          },
          "filter_by_contains_tasks": {
            "default": false,
            "description": "When true, include notes that contain at least one task item\n(open or closed).",
            "title": "Filter By Contains Tasks",
            "type": "boolean"
          },
          "filter_by_created_after": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional inclusive lower bound for note creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "examples": [
              "2025-04-01T14:30:45Z",
              "2023-12-15T09:45:30+01:00"
            ],
            "title": "Filter By Created After"
          },
          "filter_by_created_before": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional inclusive upper bound for note creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "examples": [
              "2025-04-30T23:59:59Z",
              "2023-12-31T18:00:00+01:00"
            ],
            "title": "Filter By Created Before"
          },
          "filter_by_updated_after": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional inclusive lower bound for note update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "examples": [
              "2025-04-01T14:30:45Z",
              "2023-12-15T09:45:30+01:00"
            ],
            "title": "Filter By Updated After"
          },
          "filter_by_updated_before": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional inclusive upper bound for note update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "examples": [
              "2025-04-30T23:59:59Z",
              "2023-12-31T18:00:00+01:00"
            ],
            "title": "Filter By Updated Before"
          },
          "query": {
            "description": "Required text query for relevance matching.\nThe query must contain at least one non-whitespace character.\nThis endpoint does not provide exhaustive chronological pagination; for that, use\n`GET /v2/notes`.",
            "minLength": 1,
            "title": "Query",
            "type": "string"
          }
        },
        "required": [
          "query"
        ],
        "title": "NoteSearchRequestSchema",
        "type": "object"
      },
      "NoteSearchResponseSchema": {
        "example": {
          "has_next_page": true,
          "limit": 1,
          "offset": 0,
          "request_id": "api-request-018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
          "results": [
            {
              "audio_recording_ids": [
                "78ff64bc-09e3-4fd7-a4b9-53c258f35619"
              ],
              "collection_ids": [
                "59508b41-8770-4855-aa37-302b1e09aee7"
              ],
              "content": "# Recipe Notes\n\n- Lemon pasta\n- Chili oil dumplings\n",
              "created_at": "2025-03-18T11:00:00Z",
              "id": "018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
              "snippet": "Dinner ideas",
              "title": "Recipe Notes",
              "updated_at": "2025-04-22T16:12:34Z"
            }
          ],
          "snapshot_id": "fd233b1f-25ac-4c0d-94db-4fa0843084ff",
          "total": 12
        },
        "properties": {
          "has_next_page": {
            "description": "Whether another request within the 100-result search window can return more matching notes.",
            "title": "Has Next Page",
            "type": "boolean"
          },
          "limit": {
            "description": "Limit applied to this search page.",
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "description": "Zero-based offset applied before returning results.",
            "title": "Offset",
            "type": "integer"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "results": {
            "description": "Relevance-ranked note results matching the search request.",
            "items": {
              "$ref": "#/components/schemas/NoteSearchItemResponseSchema"
            },
            "title": "Results",
            "type": "array"
          },
          "snapshot_id": {
            "description": "Opaque snapshot identifier to reuse for deterministic later pages.",
            "format": "uuid",
            "title": "Snapshot Id",
            "type": "string"
          },
          "total": {
            "description": "Number of matching notes captured in the bounded search snapshot, capped by the 100-result search window.",
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "request_id",
          "results",
          "total",
          "offset",
          "limit",
          "has_next_page",
          "snapshot_id"
        ],
        "title": "NoteSearchResponseSchema",
        "type": "object"
      },
      "NoteSessionMention": {
        "description": "Value class for note mentions in sessions.\nContains metadata specific to note mentions.",
        "properties": {
          "kind": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SessionMentionKind"
              }
            ],
            "default": "NOTE"
          },
          "note_id": {
            "title": "Note Id",
            "type": "string"
          },
          "note_primary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note Primary Label"
          }
        },
        "required": [
          "note_id"
        ],
        "title": "NoteSessionMention",
        "type": "object"
      },
      "NoteSmartCardItem": {
        "description": "Smart card item representing a note.",
        "properties": {
          "internal_reason_for_selection": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Reason For Selection"
          },
          "kind": {
            "const": "NOTE",
            "default": "NOTE",
            "title": "Kind",
            "type": "string"
          },
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          },
          "primary_label": {
            "title": "Primary Label",
            "type": "string"
          },
          "secondary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Secondary Label"
          },
          "sort_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sort Key"
          }
        },
        "required": [
          "primary_label",
          "secondary_label",
          "note_id"
        ],
        "title": "NoteSmartCardItem",
        "type": "object"
      },
      "NoteSourceSyncModelDataResponseSchema": {
        "properties": {
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          },
          "source_id": {
            "format": "uuid",
            "title": "Source Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "note_id",
          "source_id"
        ],
        "title": "NoteSourceSyncModelDataResponseSchema",
        "type": "object"
      },
      "NoteSourceSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/NoteSourceSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "NOTE_SOURCE",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "NoteSourceSyncModelResponseSchema",
        "type": "object"
      },
      "NotesSearchEngineResponseSchema": {
        "properties": {
          "config": {
            "$ref": "#/components/schemas/SearchEngineRequestConfigResponseSchema"
          },
          "pagination_info": {
            "$ref": "#/components/schemas/SearchResponsePaginationInfoSchema"
          },
          "results": {
            "items": {
              "$ref": "#/components/schemas/OnlyNoteItemsSearchEngineResultSchema"
            },
            "title": "Results",
            "type": "array"
          }
        },
        "required": [
          "pagination_info",
          "results",
          "config"
        ],
        "title": "NotesSearchEngineResponseSchema",
        "type": "object"
      },
      "NoteSuggestionArtifactInternalResponseSchema": {
        "properties": {
          "artifact_kind": {
            "const": "NOTE_SUGGESTION",
            "title": "Artifact Kind",
            "type": "string"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "metadata": {
            "additionalProperties": true,
            "title": "Metadata",
            "type": "object"
          },
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          },
          "prev_encoded_content": {
            "title": "Prev Encoded Content",
            "type": "string"
          },
          "prev_markdown_content": {
            "title": "Prev Markdown Content",
            "type": "string"
          },
          "prev_primary_label": {
            "title": "Prev Primary Label",
            "type": "string"
          },
          "prev_secondary_label": {
            "title": "Prev Secondary Label",
            "type": "string"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          },
          "space_account_note_id": {
            "format": "uuid",
            "title": "Space Account Note Id",
            "type": "string"
          },
          "suggested_encoded_content": {
            "title": "Suggested Encoded Content",
            "type": "string"
          },
          "suggested_encoded_content_diff": {
            "title": "Suggested Encoded Content Diff",
            "type": "string"
          },
          "suggested_markdown_content": {
            "title": "Suggested Markdown Content",
            "type": "string"
          },
          "suggested_primary_label": {
            "title": "Suggested Primary Label",
            "type": "string"
          },
          "suggested_secondary_label": {
            "title": "Suggested Secondary Label",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "note_id",
          "space_account_note_id",
          "kind",
          "prev_encoded_content",
          "prev_primary_label",
          "prev_secondary_label",
          "prev_markdown_content",
          "suggested_encoded_content",
          "suggested_encoded_content_diff",
          "suggested_primary_label",
          "suggested_secondary_label",
          "suggested_markdown_content",
          "metadata",
          "artifact_kind"
        ],
        "title": "NoteSuggestionArtifactInternalResponseSchema",
        "type": "object"
      },
      "NoteSyncModelDataResponseSchema": {
        "properties": {
          "attributed_created_by_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Attributed Created By Space Account Id"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "created_by_space_account_id": {
            "format": "uuid",
            "title": "Created By Space Account Id",
            "type": "string"
          },
          "created_context_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created Context Kind"
          },
          "import_batch_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Import Batch Id"
          },
          "is_editable_by_ai": {
            "title": "Is Editable By Ai",
            "type": "boolean"
          },
          "is_empty": {
            "title": "Is Empty",
            "type": "boolean"
          },
          "last_modified_by_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Modified By Space Account Id"
          },
          "last_modified_context_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Modified Context Kind"
          },
          "locally_created_at": {
            "format": "date-time",
            "title": "Locally Created At",
            "type": "string"
          },
          "locally_modified_at": {
            "format": "date-time",
            "title": "Locally Modified At",
            "type": "string"
          },
          "media_kinds": {
            "items": {
              "$ref": "#/components/schemas/MediaKind"
            },
            "title": "Media Kinds",
            "type": "array"
          },
          "mentioned_note_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Mentioned Note Ids",
            "type": "array"
          },
          "modified_by_space_account_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Modified By Space Account Ids",
            "type": "array"
          },
          "owned_by_space_account_id": {
            "format": "uuid",
            "title": "Owned By Space Account Id",
            "type": "string"
          },
          "primary_label": {
            "title": "Primary Label",
            "type": "string"
          },
          "primary_label_strategy": {
            "$ref": "#/components/schemas/NoteSyncModelPrimaryLabelStrategy"
          },
          "quota_created_at": {
            "format": "date-time",
            "title": "Quota Created At",
            "type": "string"
          },
          "secondary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Secondary Label"
          },
          "secondary_label_strategy": {
            "$ref": "#/components/schemas/NoteSyncModelSecondaryLabelStrategy"
          },
          "trashed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Trashed At"
          }
        },
        "required": [
          "trashed_at",
          "created_at",
          "locally_created_at",
          "quota_created_at",
          "locally_modified_at",
          "owned_by_space_account_id",
          "created_by_space_account_id",
          "modified_by_space_account_ids",
          "is_editable_by_ai",
          "primary_label",
          "primary_label_strategy",
          "secondary_label",
          "secondary_label_strategy",
          "media_kinds",
          "is_empty",
          "mentioned_note_ids"
        ],
        "title": "NoteSyncModelDataResponseSchema",
        "type": "object"
      },
      "NoteSyncModelPrimaryLabelStrategy": {
        "enum": [
          "INFERRED_FROM_CONTENT",
          "AUTOGENERATED"
        ],
        "title": "NoteSyncModelPrimaryLabelStrategy",
        "type": "string"
      },
      "NoteSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/NoteSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "NOTE",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "NoteSyncModelResponseSchema",
        "type": "object"
      },
      "NoteSyncModelSecondaryLabelStrategy": {
        "enum": [
          "INFERRED_FROM_CONTENT",
          "AUTOGENERATED"
        ],
        "title": "NoteSyncModelSecondaryLabelStrategy",
        "type": "string"
      },
      "NoteUpdatedV1ArtifactPayload": {
        "properties": {
          "actor_display_names": {
            "additionalProperties": {
              "type": "string"
            },
            "default": {},
            "title": "Actor Display Names",
            "type": "object"
          },
          "attributed_created_by_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Attributed Created By Space Account Id"
          },
          "created_by_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created By Space Account Id"
          },
          "encoded_content": {
            "title": "Encoded Content",
            "type": "string"
          },
          "encoded_content_diff": {
            "title": "Encoded Content Diff",
            "type": "string"
          },
          "last_modified_by_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Modified By Space Account Id"
          },
          "markdown_content": {
            "title": "Markdown Content",
            "type": "string"
          },
          "note_created_at": {
            "format": "date-time",
            "title": "Note Created At",
            "type": "string"
          },
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          },
          "note_locally_created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note Locally Created At"
          },
          "note_locally_modified_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note Locally Modified At"
          },
          "note_quota_created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note Quota Created At"
          },
          "note_updated_at": {
            "format": "date-time",
            "title": "Note Updated At",
            "type": "string"
          },
          "owned_by_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Owned By Space Account Id"
          },
          "prev_encoded_content": {
            "title": "Prev Encoded Content",
            "type": "string"
          },
          "prev_markdown_content": {
            "title": "Prev Markdown Content",
            "type": "string"
          },
          "prev_primary_label": {
            "title": "Prev Primary Label",
            "type": "string"
          },
          "prev_secondary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Prev Secondary Label"
          },
          "primary_label": {
            "title": "Primary Label",
            "type": "string"
          },
          "secondary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Secondary Label"
          },
          "shared_with_me_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Shared With Me At"
          },
          "shared_with_me_by_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Shared With Me By Space Account Id"
          },
          "version": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Version"
          }
        },
        "required": [
          "note_id",
          "note_created_at",
          "note_updated_at",
          "encoded_content",
          "primary_label",
          "secondary_label",
          "markdown_content",
          "prev_encoded_content",
          "prev_primary_label",
          "prev_secondary_label",
          "prev_markdown_content",
          "encoded_content_diff",
          "version"
        ],
        "title": "NoteUpdatedV1ArtifactPayload",
        "type": "object"
      },
      "NotificationPreferenceValidationError": {
        "properties": {
          "notification_preference": {
            "items": {
              "type": "string"
            },
            "title": "Notification Preference",
            "type": "array"
          }
        },
        "required": [
          "notification_preference"
        ],
        "title": "NotificationPreferenceValidationError",
        "type": "object"
      },
      "OAuth2ApplicationResponseSchema": {
        "description": "Schema for OAuth2 application metadata.",
        "properties": {
          "client_id": {
            "title": "Client Id",
            "type": "string"
          },
          "is_trusted": {
            "title": "Is Trusted",
            "type": "boolean"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "scopes": {
            "items": {
              "type": "string"
            },
            "title": "Scopes",
            "type": "array"
          }
        },
        "required": [
          "client_id",
          "name",
          "scopes",
          "is_trusted"
        ],
        "title": "OAuth2ApplicationResponseSchema",
        "type": "object"
      },
      "OAuth2ConsentRequestSchema": {
        "description": "Schema for OAuth2 consent request.",
        "properties": {
          "client_id": {
            "title": "Client Id",
            "type": "string"
          },
          "code_challenge": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Code Challenge"
          },
          "code_challenge_method": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Code Challenge Method"
          },
          "redirect_uri": {
            "title": "Redirect Uri",
            "type": "string"
          },
          "response_type": {
            "title": "Response Type",
            "type": "string"
          },
          "scope": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scope"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          }
        },
        "required": [
          "client_id",
          "redirect_uri",
          "response_type"
        ],
        "title": "OAuth2ConsentRequestSchema",
        "type": "object"
      },
      "OAuth2ErrorResponseSchema": {
        "properties": {
          "error": {
            "title": "Error",
            "type": "string"
          },
          "error_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Description"
          },
          "error_uri": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Uri"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          }
        },
        "required": [
          "error"
        ],
        "title": "OAuth2ErrorResponseSchema",
        "type": "object"
      },
      "OAuth2IntrospectionRequestSchema": {
        "properties": {
          "token": {
            "title": "Token",
            "type": "string"
          },
          "token_type_hint": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Token Type Hint"
          }
        },
        "required": [
          "token"
        ],
        "title": "OAuth2IntrospectionRequestSchema",
        "type": "object"
      },
      "OAuth2IntrospectionResponseSchema": {
        "properties": {
          "active": {
            "title": "Active",
            "type": "boolean"
          },
          "aud": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Aud"
          },
          "client_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Id"
          },
          "exp": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exp"
          },
          "iat": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Iat"
          },
          "iss": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Iss"
          },
          "jti": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Jti"
          },
          "scope": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scope"
          },
          "sub": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sub"
          },
          "token_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Token Type"
          }
        },
        "required": [
          "active"
        ],
        "title": "OAuth2IntrospectionResponseSchema",
        "type": "object"
      },
      "OAuth2RedirectResponseSchema": {
        "description": "Schema for OAuth2 redirect response.",
        "properties": {
          "redirect_url": {
            "title": "Redirect Url",
            "type": "string"
          }
        },
        "required": [
          "redirect_url"
        ],
        "title": "OAuth2RedirectResponseSchema",
        "type": "object"
      },
      "OAuth2TokenFormSchema": {
        "description": "Schema for OAuth2 token request.",
        "properties": {
          "client_id": {
            "title": "Client Id",
            "type": "string"
          },
          "client_secret": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Secret"
          },
          "code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Code"
          },
          "code_verifier": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Code Verifier"
          },
          "grant_type": {
            "title": "Grant Type",
            "type": "string"
          },
          "redirect_uri": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Redirect Uri"
          },
          "refresh_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Refresh Token"
          },
          "scope": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scope"
          }
        },
        "required": [
          "grant_type",
          "client_id"
        ],
        "title": "OAuth2TokenFormSchema",
        "type": "object"
      },
      "OAuth2TokenResponseSchema": {
        "properties": {
          "access_token": {
            "title": "Access Token",
            "type": "string"
          },
          "expires_in": {
            "title": "Expires In",
            "type": "integer"
          },
          "refresh_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Refresh Token"
          },
          "scope": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scope"
          },
          "token_type": {
            "title": "Token Type",
            "type": "string"
          }
        },
        "required": [
          "access_token",
          "token_type",
          "expires_in"
        ],
        "title": "OAuth2TokenResponseSchema",
        "type": "object"
      },
      "OAuthAccessTokenAuthenticatedHealthCheckResponse": {
        "properties": {
          "account_id": {
            "title": "Account Id",
            "type": "string"
          },
          "is_authenticated": {
            "title": "Is Authenticated",
            "type": "boolean"
          },
          "oauth_access_token_id": {
            "title": "Oauth Access Token Id",
            "type": "string"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success",
          "account_id",
          "oauth_access_token_id",
          "is_authenticated"
        ],
        "title": "OAuthAccessTokenAuthenticatedHealthCheckResponse",
        "type": "object"
      },
      "OnboardingStateEnum": {
        "enum": [
          "ONBOARDING",
          "ONBOARDING_COMPLETED",
          "UNKNOWN"
        ],
        "title": "OnboardingStateEnum",
        "type": "string"
      },
      "OnlyNoteItemsSearchEngineResultSchema": {
        "properties": {
          "kind": {
            "const": "ITEM",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/OnlyNotesSearchEngineResultSectionItemNoteValueSchema"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "OnlyNoteItemsSearchEngineResultSchema",
        "type": "object"
      },
      "OnlyNotesSearchEngineResultSectionItemNoteValueSchema": {
        "properties": {
          "kind": {
            "const": "NOTE",
            "title": "Kind",
            "type": "string"
          },
          "score": {
            "$ref": "#/components/schemas/SearchEngineResultItemScoreSchema"
          },
          "value": {
            "$ref": "#/components/schemas/SearchEngineResultSectionItemNoteValueSchema"
          }
        },
        "required": [
          "kind",
          "score",
          "value"
        ],
        "title": "OnlyNotesSearchEngineResultSectionItemNoteValueSchema",
        "type": "object"
      },
      "OpenAPIJsonSchema": {
        "properties": {
          "components": {
            "title": "Components"
          },
          "info": {
            "title": "Info"
          },
          "openapi": {
            "title": "Openapi"
          },
          "paths": {
            "title": "Paths"
          }
        },
        "required": [
          "openapi",
          "info",
          "paths",
          "components"
        ],
        "title": "OpenAPIJsonSchema",
        "type": "object"
      },
      "OperationKindEnum": {
        "description": "* `CREATE_NOTE` - CREATE_NOTE\n* `CREATE_NOTE_USING_MARKDOWN` - CREATE_NOTE_USING_MARKDOWN\n* `CREATE_NOTE_SOURCE` - CREATE_NOTE_SOURCE\n* `DELETE_NOTE_SOURCE` - DELETE_NOTE_SOURCE\n* `CREATE_SOURCE` - CREATE_SOURCE\n* `DELETE_SOURCE` - DELETE_SOURCE\n* `TRASH_NOTE` - TRASH_NOTE\n* `RESTORE_NOTE` - RESTORE_NOTE\n* `DELETE_NOTE` - DELETE_NOTE\n* `UPDATE_NOTE_CONTENT_USING_FULL_STATE` - UPDATE_NOTE_CONTENT_USING_FULL_STATE\n* `UPDATE_NOTE_CONTENT_OVERWRITING_FULL_STATE_DESTRUCTIVELY` - UPDATE_NOTE_CONTENT_OVERWRITING_FULL_STATE_DESTRUCTIVELY\n* `UPDATE_NOTE_CONTENT_USING_DIFF` - UPDATE_NOTE_CONTENT_USING_DIFF\n* `UPDATE_NOTE_CONTENT_USING_MARKDOWN` - UPDATE_NOTE_CONTENT_USING_MARKDOWN\n* `UPDATE_NOTE_LOCALLY_CREATED_AT` - UPDATE_NOTE_LOCALLY_CREATED_AT\n* `UPDATE_NOTE_IS_EDITABLE_BY_AI` - UPDATE_NOTE_IS_EDITABLE_BY_AI\n* `UPSERT_NOTE_SUGGESTION` - UPSERT_NOTE_SUGGESTION\n* `ACCEPT_NOTE_SUGGESTION` - ACCEPT_NOTE_SUGGESTION\n* `REJECT_NOTE_SUGGESTION` - REJECT_NOTE_SUGGESTION\n* `CLEAR_NOTE_SUGGESTION` - CLEAR_NOTE_SUGGESTION\n* `UPDATE_NOTE_REMINDER_SHILL` - UPDATE_NOTE_REMINDER_SHILL\n* `GRANT_NOTE_ACL_VIA_SPACE_ACCOUNT` - GRANT_NOTE_ACL_VIA_SPACE_ACCOUNT\n* `GRANT_NOTE_ACL_VIA_EMAIL_ADDRESS` - GRANT_NOTE_ACL_VIA_EMAIL_ADDRESS\n* `UPDATE_NOTE_ACL_VIA_SPACE_ACCOUNT` - UPDATE_NOTE_ACL_VIA_SPACE_ACCOUNT\n* `UPDATE_NOTE_ACL_VIA_EMAIL_ADDRESS` - UPDATE_NOTE_ACL_VIA_EMAIL_ADDRESS\n* `UPDATE_NOTE_ACL_VIA_COLLECTION` - UPDATE_NOTE_ACL_VIA_COLLECTION\n* `REVOKE_NOTE_ACL_VIA_SPACE_ACCOUNT` - REVOKE_NOTE_ACL_VIA_SPACE_ACCOUNT\n* `REVOKE_NOTE_ACL_VIA_EMAIL_ADDRESS` - REVOKE_NOTE_ACL_VIA_EMAIL_ADDRESS\n* `CREATE_COLLECTION` - CREATE_COLLECTION\n* `UPDATE_COLLECTION` - UPDATE_COLLECTION\n* `DELETE_COLLECTION` - DELETE_COLLECTION\n* `ADD_NOTE_TO_COLLECTION` - ADD_NOTE_TO_COLLECTION\n* `REMOVE_NOTE_FROM_COLLECTION` - REMOVE_NOTE_FROM_COLLECTION\n* `MARK_NOTE_VIEWED` - MARK_NOTE_VIEWED\n* `MARK_COLLECTION_VIEWED` - MARK_COLLECTION_VIEWED\n* `ADD_COLLECTION_TO_FAVORITES` - ADD_COLLECTION_TO_FAVORITES\n* `ADD_NOTE_TO_FAVORITES` - ADD_NOTE_TO_FAVORITES\n* `ADD_SAVED_SEARCH_TO_FAVORITES` - ADD_SAVED_SEARCH_TO_FAVORITES\n* `REMOVE_NOTE_FROM_FAVORITES` - REMOVE_NOTE_FROM_FAVORITES\n* `REMOVE_COLLECTION_FROM_FAVORITES` - REMOVE_COLLECTION_FROM_FAVORITES\n* `REMOVE_SAVED_SEARCH_FROM_FAVORITES` - REMOVE_SAVED_SEARCH_FROM_FAVORITES\n* `UPDATE_FAVORITE_ITEM_SORT_KEY` - UPDATE_FAVORITE_ITEM_SORT_KEY\n* `GRANT_COLLECTION_ACL_VIA_EMAIL_ADDRESS` - GRANT_COLLECTION_ACL_VIA_EMAIL_ADDRESS\n* `GRANT_COLLECTION_ACL_VIA_SPACE_ACCOUNT` - GRANT_COLLECTION_ACL_VIA_SPACE_ACCOUNT\n* `UPDATE_COLLECTION_ACL_VIA_EMAIL_ADDRESS` - UPDATE_COLLECTION_ACL_VIA_EMAIL_ADDRESS\n* `UPDATE_COLLECTION_ACL_VIA_SPACE_ACCOUNT` - UPDATE_COLLECTION_ACL_VIA_SPACE_ACCOUNT\n* `REVOKE_COLLECTION_ACL_VIA_EMAIL_ADDRESS` - REVOKE_COLLECTION_ACL_VIA_EMAIL_ADDRESS\n* `REVOKE_COLLECTION_ACL_VIA_SPACE_ACCOUNT` - REVOKE_COLLECTION_ACL_VIA_SPACE_ACCOUNT\n* `MAKE_COLLECTION_PRIVATE` - MAKE_COLLECTION_PRIVATE\n* `PROVIDE_FEEDBACK` - PROVIDE_FEEDBACK\n* `DISMISS_SPACE_ACCOUNT_APP_CALLOUT` - DISMISS_SPACE_ACCOUNT_APP_CALLOUT\n* `ENABLE_SPACE_ACCOUNT_APP_CALLOUT_DISMISSAL` - ENABLE_SPACE_ACCOUNT_APP_CALLOUT_DISMISSAL\n* `CREATE_TEMPLATE` - CREATE_TEMPLATE\n* `UPDATE_TEMPLATE` - UPDATE_TEMPLATE\n* `UPDATE_TEMPLATE_CONTENT_USING_DIFF` - UPDATE_TEMPLATE_CONTENT_USING_DIFF\n* `DELETE_TEMPLATE` - DELETE_TEMPLATE\n* `CREATE_NOTE_USING_TEMPLATE_AND_DIFF` - CREATE_NOTE_USING_TEMPLATE_AND_DIFF\n* `CREATE_NOTE_USING_CALENDAR_EVENT` - CREATE_NOTE_USING_CALENDAR_EVENT\n* `LINK_NOTE_TO_CALENDAR_EVENT` - LINK_NOTE_TO_CALENDAR_EVENT\n* `UPDATE_NOTE_CONTENT_USING_TEMPLATE_AND_DIFF` - UPDATE_NOTE_CONTENT_USING_TEMPLATE_AND_DIFF\n* `MARK_TEMPLATE_VIEWED` - MARK_TEMPLATE_VIEWED\n* `MARK_TEMPLATE_USED` - MARK_TEMPLATE_USED\n* `GRANT_TEMPLATE_ACL_VIA_EMAIL_ADDRESS` - GRANT_TEMPLATE_ACL_VIA_EMAIL_ADDRESS\n* `GRANT_TEMPLATE_ACL_VIA_SPACE_ACCOUNT` - GRANT_TEMPLATE_ACL_VIA_SPACE_ACCOUNT\n* `UPDATE_TEMPLATE_ACL_VIA_SPACE_ACCOUNT` - UPDATE_TEMPLATE_ACL_VIA_SPACE_ACCOUNT\n* `REVOKE_TEMPLATE_ACL_VIA_SPACE_ACCOUNT` - REVOKE_TEMPLATE_ACL_VIA_SPACE_ACCOUNT\n* `ADD_TEMPLATE_TO_COLLECTION` - ADD_TEMPLATE_TO_COLLECTION\n* `REMOVE_TEMPLATE_FROM_COLLECTION` - REMOVE_TEMPLATE_FROM_COLLECTION\n* `UPDATE_TEMPLATE_ACL_VIA_COLLECTION` - UPDATE_TEMPLATE_ACL_VIA_COLLECTION\n* `CREATE_API_KEY` - CREATE_API_KEY\n* `UPDATE_API_KEY` - UPDATE_API_KEY\n* `DELETE_API_KEY` - DELETE_API_KEY\n* `REVOKE_API_KEY` - REVOKE_API_KEY\n* `CREATE_UPLOADED_FILE_BATCH` - CREATE_UPLOADED_FILE_BATCH\n* `CREATE_UPLOADED_FILE` - CREATE_UPLOADED_FILE\n* `CREATE_AUDIO_RECORDING` - CREATE_AUDIO_RECORDING\n* `TRASH_AUDIO_RECORDING` - TRASH_AUDIO_RECORDING\n* `RESTORE_AUDIO_RECORDING` - RESTORE_AUDIO_RECORDING\n* `DELETE_AUDIO_RECORDING` - DELETE_AUDIO_RECORDING\n* `BATCH_CREATE_UPLOADED_FILE` - BATCH_CREATE_UPLOADED_FILE\n* `START_PROCESSING_UPLOADED_FILE_BATCH` - START_PROCESSING_UPLOADED_FILE_BATCH\n* `UPDATE_UPLOADED_FILE_BATCH` - UPDATE_UPLOADED_FILE_BATCH\n* `UPDATE_AUDIO_RECORDING` - UPDATE_AUDIO_RECORDING\n* `MARK_STARTED_PROCESSING_AUDIO_RECORDING` - MARK_STARTED_PROCESSING_AUDIO_RECORDING\n* `MARK_ERROR_PROCESSING_AUDIO_RECORDING` - MARK_ERROR_PROCESSING_AUDIO_RECORDING\n* `MARK_COMPLETED_PROCESSING_AUDIO_RECORDING` - MARK_COMPLETED_PROCESSING_AUDIO_RECORDING\n* `CREATE_SESSION` - CREATE_SESSION\n* `UPDATE_SESSION` - UPDATE_SESSION\n* `UPDATE_SESSION_EVENT` - UPDATE_SESSION_EVENT\n* `CREATE_SESSION_EVENT` - CREATE_SESSION_EVENT\n* `START_PROCESSING_SESSION` - START_PROCESSING_SESSION\n* `DELETE_SESSION` - DELETE_SESSION\n* `CREATE_DATA_EXPORT` - CREATE_DATA_EXPORT\n* `CREATE_MESSAGE_SENT_SESSION_EVENT` - CREATE_MESSAGE_SENT_SESSION_EVENT\n* `UPDATE_SPACE_ACCOUNT_SETTINGS` - UPDATE_SPACE_ACCOUNT_SETTINGS\n* `TRACK_SYNCED_APP_EVENT` - TRACK_SYNCED_APP_EVENT\n* `MARK_STARTED_LOCAL_AUDIO_RECORDING` - MARK_STARTED_LOCAL_AUDIO_RECORDING\n* `MARK_PAUSED_LOCAL_AUDIO_RECORDING` - MARK_PAUSED_LOCAL_AUDIO_RECORDING\n* `MARK_RESUMED_LOCAL_AUDIO_RECORDING` - MARK_RESUMED_LOCAL_AUDIO_RECORDING\n* `MARK_AUTO_PAUSED_LOCAL_AUDIO_RECORDING` - MARK_AUTO_PAUSED_LOCAL_AUDIO_RECORDING\n* `MARK_AUTO_RESUMED_LOCAL_AUDIO_RECORDING` - MARK_AUTO_RESUMED_LOCAL_AUDIO_RECORDING\n* `MARK_AUTO_RESUME_SKIPPED_LOCAL_AUDIO_RECORDING` - MARK_AUTO_RESUME_SKIPPED_LOCAL_AUDIO_RECORDING\n* `MARK_COMPLETED_LOCAL_AUDIO_RECORDING` - MARK_COMPLETED_LOCAL_AUDIO_RECORDING\n* `MARK_STARTED_UPLOADING_AUDIO_RECORDING` - MARK_STARTED_UPLOADING_AUDIO_RECORDING\n* `MARK_COMPLETED_UPLOADING_AUDIO_RECORDING` - MARK_COMPLETED_UPLOADING_AUDIO_RECORDING\n* `MARK_SKIPPED_UPLOADING_AUDIO_RECORDING` - MARK_SKIPPED_UPLOADING_AUDIO_RECORDING\n* `MARK_ERROR_UPLOADING_AUDIO_RECORDING` - MARK_ERROR_UPLOADING_AUDIO_RECORDING\n* `MARK_TRANSCRIPTION_CONNECTED_AUDIO_RECORDING` - MARK_TRANSCRIPTION_CONNECTED_AUDIO_RECORDING\n* `MARK_TRANSCRIPTION_DISCONNECTED_AUDIO_RECORDING` - MARK_TRANSCRIPTION_DISCONNECTED_AUDIO_RECORDING\n* `MARK_TRANSCRIPTION_RECONNECTED_AUDIO_RECORDING` - MARK_TRANSCRIPTION_RECONNECTED_AUDIO_RECORDING\n* `MARK_TRANSCRIPTION_COMPROMISED_AUDIO_RECORDING` - MARK_TRANSCRIPTION_COMPROMISED_AUDIO_RECORDING\n* `MARK_VOICE_CONNECTED_AUDIO_RECORDING` - MARK_VOICE_CONNECTED_AUDIO_RECORDING\n* `MARK_VOICE_DISCONNECTED_AUDIO_RECORDING` - MARK_VOICE_DISCONNECTED_AUDIO_RECORDING\n* `MARK_VOICE_RECONNECTED_AUDIO_RECORDING` - MARK_VOICE_RECONNECTED_AUDIO_RECORDING\n* `MARK_ERROR_STARTING_LOCAL_AUDIO_RECORDING` - MARK_ERROR_STARTING_LOCAL_AUDIO_RECORDING\n* `MARK_ERROR_RESUMING_LOCAL_AUDIO_RECORDING` - MARK_ERROR_RESUMING_LOCAL_AUDIO_RECORDING\n* `MARK_STARTED_RETRANSCRIBING_AUDIO_RECORDING` - MARK_STARTED_RETRANSCRIBING_AUDIO_RECORDING\n* `MARK_COMPLETED_RETRANSCRIBING_AUDIO_RECORDING` - MARK_COMPLETED_RETRANSCRIBING_AUDIO_RECORDING\n* `MARK_ERROR_RETRANSCRIBING_AUDIO_RECORDING` - MARK_ERROR_RETRANSCRIBING_AUDIO_RECORDING\n* `MARK_UNEXPECTED_ERROR_AUDIO_RECORDING` - MARK_UNEXPECTED_ERROR_AUDIO_RECORDING\n* `UPDATE_SPACE_ACCOUNT_CALENDAR_EVENT` - UPDATE_SPACE_ACCOUNT_CALENDAR_EVENT\n* `BATCH_CREATE_SPACE_ACCOUNT_NOTE_ATTACHMENT` - BATCH_CREATE_SPACE_ACCOUNT_NOTE_ATTACHMENT\n* `BATCH_UPDATE_SPACE_ACCOUNT_NOTE_ATTACHMENT_HOSTING` - BATCH_UPDATE_SPACE_ACCOUNT_NOTE_ATTACHMENT_HOSTING\n* `CREATE_ASSISTANT_TASK` - CREATE_ASSISTANT_TASK\n* `UPDATE_ASSISTANT_TASK` - UPDATE_ASSISTANT_TASK\n* `CREATE_ASSISTANT_PROJECT` - CREATE_ASSISTANT_PROJECT\n* `UPDATE_ASSISTANT_PROJECT` - UPDATE_ASSISTANT_PROJECT\n* `CREATE_ASSISTANT_FOLLOW_UP` - CREATE_ASSISTANT_FOLLOW_UP\n* `UPDATE_ASSISTANT_FOLLOW_UP` - UPDATE_ASSISTANT_FOLLOW_UP",
        "enum": [
          "CREATE_NOTE",
          "CREATE_NOTE_USING_MARKDOWN",
          "CREATE_NOTE_SOURCE",
          "DELETE_NOTE_SOURCE",
          "CREATE_SOURCE",
          "DELETE_SOURCE",
          "TRASH_NOTE",
          "RESTORE_NOTE",
          "DELETE_NOTE",
          "UPDATE_NOTE_CONTENT_USING_FULL_STATE",
          "UPDATE_NOTE_CONTENT_OVERWRITING_FULL_STATE_DESTRUCTIVELY",
          "UPDATE_NOTE_CONTENT_USING_DIFF",
          "UPDATE_NOTE_CONTENT_USING_MARKDOWN",
          "UPDATE_NOTE_LOCALLY_CREATED_AT",
          "UPDATE_NOTE_IS_EDITABLE_BY_AI",
          "UPSERT_NOTE_SUGGESTION",
          "ACCEPT_NOTE_SUGGESTION",
          "REJECT_NOTE_SUGGESTION",
          "CLEAR_NOTE_SUGGESTION",
          "UPDATE_NOTE_REMINDER_SHILL",
          "GRANT_NOTE_ACL_VIA_SPACE_ACCOUNT",
          "GRANT_NOTE_ACL_VIA_EMAIL_ADDRESS",
          "UPDATE_NOTE_ACL_VIA_SPACE_ACCOUNT",
          "UPDATE_NOTE_ACL_VIA_EMAIL_ADDRESS",
          "UPDATE_NOTE_ACL_VIA_COLLECTION",
          "REVOKE_NOTE_ACL_VIA_SPACE_ACCOUNT",
          "REVOKE_NOTE_ACL_VIA_EMAIL_ADDRESS",
          "CREATE_COLLECTION",
          "UPDATE_COLLECTION",
          "DELETE_COLLECTION",
          "ADD_NOTE_TO_COLLECTION",
          "REMOVE_NOTE_FROM_COLLECTION",
          "MARK_NOTE_VIEWED",
          "MARK_COLLECTION_VIEWED",
          "ADD_COLLECTION_TO_FAVORITES",
          "ADD_NOTE_TO_FAVORITES",
          "ADD_SAVED_SEARCH_TO_FAVORITES",
          "REMOVE_NOTE_FROM_FAVORITES",
          "REMOVE_COLLECTION_FROM_FAVORITES",
          "REMOVE_SAVED_SEARCH_FROM_FAVORITES",
          "UPDATE_FAVORITE_ITEM_SORT_KEY",
          "GRANT_COLLECTION_ACL_VIA_EMAIL_ADDRESS",
          "GRANT_COLLECTION_ACL_VIA_SPACE_ACCOUNT",
          "UPDATE_COLLECTION_ACL_VIA_EMAIL_ADDRESS",
          "UPDATE_COLLECTION_ACL_VIA_SPACE_ACCOUNT",
          "REVOKE_COLLECTION_ACL_VIA_EMAIL_ADDRESS",
          "REVOKE_COLLECTION_ACL_VIA_SPACE_ACCOUNT",
          "MAKE_COLLECTION_PRIVATE",
          "PROVIDE_FEEDBACK",
          "DISMISS_SPACE_ACCOUNT_APP_CALLOUT",
          "ENABLE_SPACE_ACCOUNT_APP_CALLOUT_DISMISSAL",
          "CREATE_TEMPLATE",
          "UPDATE_TEMPLATE",
          "UPDATE_TEMPLATE_CONTENT_USING_DIFF",
          "DELETE_TEMPLATE",
          "CREATE_NOTE_USING_TEMPLATE_AND_DIFF",
          "CREATE_NOTE_USING_CALENDAR_EVENT",
          "LINK_NOTE_TO_CALENDAR_EVENT",
          "UPDATE_NOTE_CONTENT_USING_TEMPLATE_AND_DIFF",
          "MARK_TEMPLATE_VIEWED",
          "MARK_TEMPLATE_USED",
          "GRANT_TEMPLATE_ACL_VIA_EMAIL_ADDRESS",
          "GRANT_TEMPLATE_ACL_VIA_SPACE_ACCOUNT",
          "UPDATE_TEMPLATE_ACL_VIA_SPACE_ACCOUNT",
          "REVOKE_TEMPLATE_ACL_VIA_SPACE_ACCOUNT",
          "ADD_TEMPLATE_TO_COLLECTION",
          "REMOVE_TEMPLATE_FROM_COLLECTION",
          "UPDATE_TEMPLATE_ACL_VIA_COLLECTION",
          "CREATE_API_KEY",
          "UPDATE_API_KEY",
          "DELETE_API_KEY",
          "REVOKE_API_KEY",
          "CREATE_UPLOADED_FILE_BATCH",
          "CREATE_UPLOADED_FILE",
          "CREATE_AUDIO_RECORDING",
          "TRASH_AUDIO_RECORDING",
          "RESTORE_AUDIO_RECORDING",
          "DELETE_AUDIO_RECORDING",
          "BATCH_CREATE_UPLOADED_FILE",
          "START_PROCESSING_UPLOADED_FILE_BATCH",
          "UPDATE_UPLOADED_FILE_BATCH",
          "UPDATE_AUDIO_RECORDING",
          "MARK_STARTED_PROCESSING_AUDIO_RECORDING",
          "MARK_ERROR_PROCESSING_AUDIO_RECORDING",
          "MARK_COMPLETED_PROCESSING_AUDIO_RECORDING",
          "CREATE_SESSION",
          "UPDATE_SESSION",
          "UPDATE_SESSION_EVENT",
          "CREATE_SESSION_EVENT",
          "START_PROCESSING_SESSION",
          "DELETE_SESSION",
          "CREATE_DATA_EXPORT",
          "CREATE_MESSAGE_SENT_SESSION_EVENT",
          "UPDATE_SPACE_ACCOUNT_SETTINGS",
          "TRACK_SYNCED_APP_EVENT",
          "MARK_STARTED_LOCAL_AUDIO_RECORDING",
          "MARK_PAUSED_LOCAL_AUDIO_RECORDING",
          "MARK_RESUMED_LOCAL_AUDIO_RECORDING",
          "MARK_AUTO_PAUSED_LOCAL_AUDIO_RECORDING",
          "MARK_AUTO_RESUMED_LOCAL_AUDIO_RECORDING",
          "MARK_AUTO_RESUME_SKIPPED_LOCAL_AUDIO_RECORDING",
          "MARK_COMPLETED_LOCAL_AUDIO_RECORDING",
          "MARK_STARTED_UPLOADING_AUDIO_RECORDING",
          "MARK_COMPLETED_UPLOADING_AUDIO_RECORDING",
          "MARK_SKIPPED_UPLOADING_AUDIO_RECORDING",
          "MARK_ERROR_UPLOADING_AUDIO_RECORDING",
          "MARK_TRANSCRIPTION_CONNECTED_AUDIO_RECORDING",
          "MARK_TRANSCRIPTION_DISCONNECTED_AUDIO_RECORDING",
          "MARK_TRANSCRIPTION_RECONNECTED_AUDIO_RECORDING",
          "MARK_TRANSCRIPTION_COMPROMISED_AUDIO_RECORDING",
          "MARK_VOICE_CONNECTED_AUDIO_RECORDING",
          "MARK_VOICE_DISCONNECTED_AUDIO_RECORDING",
          "MARK_VOICE_RECONNECTED_AUDIO_RECORDING",
          "MARK_ERROR_STARTING_LOCAL_AUDIO_RECORDING",
          "MARK_ERROR_RESUMING_LOCAL_AUDIO_RECORDING",
          "MARK_STARTED_RETRANSCRIBING_AUDIO_RECORDING",
          "MARK_COMPLETED_RETRANSCRIBING_AUDIO_RECORDING",
          "MARK_ERROR_RETRANSCRIBING_AUDIO_RECORDING",
          "MARK_UNEXPECTED_ERROR_AUDIO_RECORDING",
          "UPDATE_SPACE_ACCOUNT_CALENDAR_EVENT",
          "BATCH_CREATE_SPACE_ACCOUNT_NOTE_ATTACHMENT",
          "BATCH_UPDATE_SPACE_ACCOUNT_NOTE_ATTACHMENT_HOSTING",
          "CREATE_ASSISTANT_TASK",
          "UPDATE_ASSISTANT_TASK",
          "CREATE_ASSISTANT_PROJECT",
          "UPDATE_ASSISTANT_PROJECT",
          "CREATE_ASSISTANT_FOLLOW_UP",
          "UPDATE_ASSISTANT_FOLLOW_UP"
        ],
        "type": "string"
      },
      "OutlookCalendarAllSettingsResponseSchema": {
        "description": "Response schema for all calendar settings across all providers, keyed by subject_id",
        "properties": {
          "accounts": {
            "additionalProperties": {
              "$ref": "#/components/schemas/OutlookCalendarSettingsResponseSchema"
            },
            "description": "Calendar settings for each account, keyed by outlook_subject_id",
            "title": "Accounts",
            "type": "object"
          }
        },
        "title": "OutlookCalendarAllSettingsResponseSchema",
        "type": "object"
      },
      "OutlookCalendarChangeNotification": {
        "description": "Schema for a single change notification from Microsoft Graph.\n\nNote: The params are named 1-1 with the Microsoft Graph API for easier parsing.",
        "properties": {
          "changeType": {
            "title": "Changetype",
            "type": "string"
          },
          "clientState": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Clientstate"
          },
          "resource": {
            "title": "Resource",
            "type": "string"
          },
          "resourceData": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Resourcedata"
          },
          "subscriptionExpirationDateTime": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subscriptionexpirationdatetime"
          },
          "subscriptionId": {
            "title": "Subscriptionid",
            "type": "string"
          }
        },
        "required": [
          "subscriptionId",
          "changeType",
          "resource"
        ],
        "title": "OutlookCalendarChangeNotification",
        "type": "object"
      },
      "OutlookCalendarConnectResponseSchema": {
        "properties": {
          "authorization_url": {
            "title": "Authorization Url",
            "type": "string"
          },
          "scopes": {
            "items": {
              "type": "string"
            },
            "title": "Scopes",
            "type": "array"
          },
          "state": {
            "title": "State",
            "type": "string"
          }
        },
        "required": [
          "authorization_url",
          "state",
          "scopes"
        ],
        "title": "OutlookCalendarConnectResponseSchema",
        "type": "object"
      },
      "OutlookCalendarEntryConfigSchema": {
        "properties": {
          "is_enabled": {
            "default": false,
            "title": "Is Enabled",
            "type": "boolean"
          }
        },
        "title": "OutlookCalendarEntryConfigSchema",
        "type": "object"
      },
      "OutlookCalendarEntrySchema": {
        "properties": {
          "background_color": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Background Color"
          },
          "can_share": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Can Share"
          },
          "can_view_private_items": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Can View Private Items"
          },
          "color": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Color"
          },
          "config": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OutlookCalendarEntryConfigSchema"
              }
            ]
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "is_default": {
            "default": false,
            "title": "Is Default",
            "type": "boolean"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          }
        },
        "required": [
          "id"
        ],
        "title": "OutlookCalendarEntrySchema",
        "type": "object"
      },
      "OutlookCalendarOAuthCallbackRequestSchema": {
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "code_verifier": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Code Verifier"
          },
          "redirect_uri": {
            "title": "Redirect Uri",
            "type": "string"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          }
        },
        "required": [
          "code",
          "redirect_uri"
        ],
        "title": "OutlookCalendarOAuthCallbackRequestSchema",
        "type": "object"
      },
      "OutlookCalendarSettingsResponseSchema": {
        "properties": {
          "calendars": {
            "items": {
              "$ref": "#/components/schemas/OutlookCalendarEntrySchema"
            },
            "title": "Calendars",
            "type": "array"
          },
          "connected_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Connected At"
          },
          "is_connected": {
            "title": "Is Connected",
            "type": "boolean"
          },
          "last_synced_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Synced At"
          },
          "outlook_account_email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Outlook Account Email"
          },
          "outlook_subject_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Outlook Subject Id"
          },
          "revoked_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Revoked At"
          }
        },
        "required": [
          "is_connected",
          "calendars"
        ],
        "title": "OutlookCalendarSettingsResponseSchema",
        "type": "object"
      },
      "OutlookCalendarWebhookRequest": {
        "description": "Schema for Outlook Calendar webhook request body.\n\nMicrosoft Graph sends a collection of change notifications.",
        "properties": {
          "validationTokens": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Validationtokens"
          },
          "value": {
            "items": {
              "$ref": "#/components/schemas/OutlookCalendarChangeNotification"
            },
            "title": "Value",
            "type": "array"
          }
        },
        "required": [
          "value"
        ],
        "title": "OutlookCalendarWebhookRequest",
        "type": "object"
      },
      "PaginationQuerySchema": {
        "properties": {
          "limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 50,
            "title": "Limit"
          },
          "offset": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Offset"
          }
        },
        "title": "PaginationQuerySchema",
        "type": "object"
      },
      "PatchMeAccountRequestSchema": {
        "properties": {
          "profile_display_name": {
            "anyOf": [
              {
                "maxLength": 64,
                "minLength": 2,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Profile Display Name"
          },
          "profile_photo_uploaded_file_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Profile Photo Uploaded File Id"
          }
        },
        "title": "PatchMeAccountRequestSchema",
        "type": "object"
      },
      "PatchSpaceAccountSettingsRequestSchema": {
        "properties": {
          "settings": {
            "$ref": "#/components/schemas/SpaceAccountSettingsPatch"
          }
        },
        "required": [
          "settings"
        ],
        "title": "PatchSpaceAccountSettingsRequestSchema",
        "type": "object"
      },
      "PatchSpaceAccountSettingsResponseSchema": {
        "description": "Response schema for PATCH /me/settings.\n\nIncludes the model ID and version so the client can verify\nwhen the updated settings have arrived via the sync system.",
        "properties": {
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success",
          "model_id",
          "model_version"
        ],
        "title": "PatchSpaceAccountSettingsResponseSchema",
        "type": "object"
      },
      "PatchWebClipIntegrationSettingsRequestSchema": {
        "properties": {
          "instructions_enabled": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Instructions Enabled"
          },
          "instructions_markdown_content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Instructions Markdown Content"
          },
          "selected_model_kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WebClipIntegrationModelKind"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "PatchWebClipIntegrationSettingsRequestSchema",
        "type": "object"
      },
      "PaywallConfigurationResponseSchema": {
        "properties": {
          "monetization": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PaywallMonetizationSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "subscription": {
            "$ref": "#/components/schemas/SubscriptionSyncModelDataResponseSchema"
          },
          "subscription_id": {
            "format": "uuid",
            "title": "Subscription Id",
            "type": "string"
          }
        },
        "required": [
          "monetization",
          "subscription_id",
          "subscription"
        ],
        "title": "PaywallConfigurationResponseSchema",
        "type": "object"
      },
      "PaywallMonetizationSchema": {
        "properties": {
          "chat_messages_out_of_quota": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Chat Messages Out Of Quota"
          },
          "current_chat_message_usage": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Current Chat Message Usage"
          },
          "current_native_chat_message_usage": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Current Native Chat Message Usage"
          },
          "current_note_usage": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Current Note Usage"
          },
          "feature_gate_configs": {
            "additionalProperties": {
              "$ref": "#/components/schemas/FeatureGateConfigSchema"
            },
            "title": "Feature Gate Configs",
            "type": "object"
          },
          "native_chat_messages_out_of_quota": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Native Chat Messages Out Of Quota"
          },
          "notes_out_of_quota": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes Out Of Quota"
          },
          "schema_version": {
            "title": "Schema Version",
            "type": "string"
          },
          "subscriptions": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PaywallSubscriptionsSchema"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "schema_version",
          "feature_gate_configs"
        ],
        "title": "PaywallMonetizationSchema",
        "type": "object"
      },
      "PaywallSubscriptionProductSchema": {
        "properties": {
          "apple_product_id": {
            "title": "Apple Product Id",
            "type": "string"
          },
          "billing_strategy": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Billing Strategy"
          },
          "plan_kind": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SubscriptionPlanKind"
              }
            ],
            "default": "pro"
          },
          "plan_variant": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SubscriptionPlanVariant"
              },
              {
                "type": "null"
              }
            ]
          },
          "stripe_price_id": {
            "title": "Stripe Price Id",
            "type": "string"
          },
          "stripe_product_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Stripe Product Id"
          }
        },
        "required": [
          "apple_product_id",
          "stripe_price_id"
        ],
        "title": "PaywallSubscriptionProductSchema",
        "type": "object"
      },
      "PaywallSubscriptionsSchema": {
        "properties": {
          "apple_group_id": {
            "title": "Apple Group Id",
            "type": "string"
          },
          "available_products": {
            "items": {
              "$ref": "#/components/schemas/PaywallSubscriptionProductSchema"
            },
            "title": "Available Products",
            "type": "array"
          }
        },
        "required": [
          "apple_group_id",
          "available_products"
        ],
        "title": "PaywallSubscriptionsSchema",
        "type": "object"
      },
      "PlanId": {
        "enum": [
          "free",
          "paid"
        ],
        "title": "PlanId",
        "type": "string"
      },
      "PlanKindEnum": {
        "enum": [
          "free",
          "pro",
          "proactive",
          "unknown"
        ],
        "title": "PlanKindEnum",
        "type": "string"
      },
      "PlanVariantEnum": {
        "enum": [
          "standard",
          "max"
        ],
        "title": "PlanVariantEnum",
        "type": "string"
      },
      "PlatformEntitlements": {
        "properties": {
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          },
          "is_paid": {
            "title": "Is Paid",
            "type": "boolean"
          },
          "is_proactive": {
            "title": "Is Proactive",
            "type": "boolean"
          },
          "plan_kind": {
            "$ref": "#/components/schemas/PlanKindEnum"
          },
          "plan_variant": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PlanVariantEnum"
              },
              {
                "type": "null"
              }
            ]
          },
          "starts_at": {
            "format": "date-time",
            "title": "Starts At",
            "type": "string"
          },
          "tier": {
            "$ref": "#/components/schemas/TierEnum"
          }
        },
        "required": [
          "tier",
          "plan_kind",
          "starts_at",
          "expires_at",
          "is_paid",
          "is_proactive"
        ],
        "title": "PlatformEntitlements",
        "type": "object"
      },
      "PlatformIconKind": {
        "enum": [
          "MEM",
          "MOBILE",
          "LAPTOP",
          "DOWNLOAD_LAPTOP_MOBILE",
          "CHAT",
          "CHROME",
          "THINKING_HEADS",
          "ARROW_RIGHT",
          "UNKNOWN"
        ],
        "title": "PlatformIconKind",
        "type": "string"
      },
      "PlatformInfo": {
        "properties": {
          "account_state": {
            "$ref": "#/components/schemas/AccountStateEnum"
          },
          "entitlements": {
            "$ref": "#/components/schemas/PlatformEntitlements"
          },
          "feature_gate_configs": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/PlatformInfoFeatureGateConfig"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Feature Gate Configs"
          },
          "onboarding_info": {
            "$ref": "#/components/schemas/PlatformInfoOnboarding"
          },
          "stripe_subscriptions": {
            "items": {
              "$ref": "#/components/schemas/PlatformInfoSubscription"
            },
            "title": "Stripe Subscriptions",
            "type": "array"
          },
          "subscription": {
            "$ref": "#/components/schemas/PlatformUnifiedSubscription"
          }
        },
        "required": [
          "account_state",
          "stripe_subscriptions",
          "onboarding_info",
          "subscription",
          "entitlements"
        ],
        "title": "PlatformInfo",
        "type": "object"
      },
      "PlatformInfoFeatureGateConfig": {
        "properties": {
          "limits": {
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "title": "Limits",
            "type": "object"
          },
          "period": {
            "title": "Period",
            "type": "string"
          }
        },
        "required": [
          "period",
          "limits"
        ],
        "title": "PlatformInfoFeatureGateConfig",
        "type": "object"
      },
      "PlatformInfoOnboarding": {
        "properties": {
          "all_tasks_completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "All Tasks Completed At"
          },
          "completed_task_ids": {
            "items": {
              "type": "string"
            },
            "title": "Completed Task Ids",
            "type": "array"
          },
          "heads_up_coach_mark_dismissed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Heads Up Coach Mark Dismissed At"
          },
          "icp_rfi_dismissed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Icp Rfi Dismissed At"
          },
          "import_cta_dismissed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Import Cta Dismissed At"
          },
          "onboarding_checklist_is_relevant": {
            "title": "Onboarding Checklist Is Relevant",
            "type": "boolean"
          },
          "onboarding_profile": {
            "$ref": "#/components/schemas/PlatformInfoOnboardingProfile"
          },
          "onboarding_state": {
            "$ref": "#/components/schemas/OnboardingStateEnum"
          },
          "should_show_heads_up_coach_mark": {
            "title": "Should Show Heads Up Coach Mark",
            "type": "boolean"
          },
          "should_show_icp_rfi": {
            "title": "Should Show Icp Rfi",
            "type": "boolean"
          },
          "should_show_import_cta": {
            "title": "Should Show Import Cta",
            "type": "boolean"
          }
        },
        "required": [
          "onboarding_state",
          "onboarding_profile",
          "should_show_import_cta",
          "import_cta_dismissed_at",
          "should_show_icp_rfi",
          "icp_rfi_dismissed_at",
          "should_show_heads_up_coach_mark",
          "heads_up_coach_mark_dismissed_at",
          "onboarding_checklist_is_relevant",
          "completed_task_ids"
        ],
        "title": "PlatformInfoOnboarding",
        "type": "object"
      },
      "PlatformInfoOnboardingProfile": {
        "properties": {
          "desired_use_cases": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Desired Use Cases"
          },
          "job_role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Job Role"
          },
          "referrer": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Referrer"
          }
        },
        "title": "PlatformInfoOnboardingProfile",
        "type": "object"
      },
      "PlatformInfoSubscription": {
        "properties": {
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "stripe_subscription_id": {
            "title": "Stripe Subscription Id",
            "type": "string"
          },
          "stripe_subscription_status": {
            "$ref": "#/components/schemas/StripeSubscriptionStatusEnum"
          }
        },
        "required": [
          "id",
          "stripe_subscription_id",
          "stripe_subscription_status"
        ],
        "title": "PlatformInfoSubscription",
        "type": "object"
      },
      "PlatformUnifiedSubscription": {
        "properties": {
          "current_period_end": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Current Period End"
          },
          "current_period_start": {
            "format": "date-time",
            "title": "Current Period Start",
            "type": "string"
          },
          "is_paid": {
            "title": "Is Paid",
            "type": "boolean"
          },
          "plan_kind": {
            "$ref": "#/components/schemas/PlanKindEnum"
          },
          "plan_variant": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PlanVariantEnum"
              },
              {
                "type": "null"
              }
            ]
          },
          "provider": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ProviderEnum"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "$ref": "#/components/schemas/PlatformUnifiedSubscriptionStatusEnum"
          },
          "subscription_ends_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subscription Ends At"
          },
          "tier": {
            "$ref": "#/components/schemas/TierEnum"
          }
        },
        "required": [
          "tier",
          "plan_kind",
          "plan_variant",
          "status",
          "current_period_start",
          "current_period_end",
          "subscription_ends_at",
          "is_paid"
        ],
        "title": "PlatformUnifiedSubscription",
        "type": "object"
      },
      "PlatformUnifiedSubscriptionStatusEnum": {
        "enum": [
          "active",
          "canceled",
          "past_due",
          "unknown"
        ],
        "title": "PlatformUnifiedSubscriptionStatusEnum",
        "type": "string"
      },
      "PrepareAudioRecordingDownloadResponseSchema": {
        "properties": {
          "download_url": {
            "title": "Download Url",
            "type": "string"
          }
        },
        "required": [
          "download_url"
        ],
        "title": "PrepareAudioRecordingDownloadResponseSchema",
        "type": "object"
      },
      "PrepareNoteAttachmentRequest": {
        "additionalProperties": false,
        "properties": {
          "attachment_id": {
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "backfill_mode": {
            "default": false,
            "title": "Backfill Mode",
            "type": "boolean"
          }
        },
        "required": [
          "attachment_id"
        ],
        "title": "PrepareNoteAttachmentRequest",
        "type": "object"
      },
      "PrepareNoteAttachmentResult": {
        "additionalProperties": false,
        "properties": {
          "attachment_id": {
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "attachment_kind": {
            "$ref": "#/components/schemas/AttachmentKind"
          },
          "filename": {
            "title": "Filename",
            "type": "string"
          },
          "is_not_supported": {
            "title": "Is Not Supported",
            "type": "boolean"
          },
          "mime_type": {
            "title": "Mime Type",
            "type": "string"
          },
          "page_count": {
            "title": "Page Count",
            "type": "integer"
          },
          "sha256": {
            "title": "Sha256",
            "type": "string"
          },
          "size_bytes": {
            "title": "Size Bytes",
            "type": "integer"
          }
        },
        "required": [
          "attachment_id",
          "mime_type",
          "filename",
          "page_count",
          "size_bytes",
          "sha256",
          "attachment_kind",
          "is_not_supported"
        ],
        "title": "PrepareNoteAttachmentResult",
        "type": "object"
      },
      "ProactivePricingAssignmentResponseSchema": {
        "properties": {
          "currency": {
            "title": "Currency",
            "type": "string"
          },
          "display_price": {
            "title": "Display Price",
            "type": "string"
          },
          "display_price_cents": {
            "title": "Display Price Cents",
            "type": "integer"
          },
          "experiment_key": {
            "title": "Experiment Key",
            "type": "string"
          },
          "interval": {
            "title": "Interval",
            "type": "string"
          },
          "source": {
            "title": "Source",
            "type": "string"
          },
          "source_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Key"
          },
          "variant_key": {
            "title": "Variant Key",
            "type": "string"
          }
        },
        "required": [
          "experiment_key",
          "variant_key",
          "source",
          "display_price_cents",
          "display_price",
          "currency",
          "interval"
        ],
        "title": "ProactivePricingAssignmentResponseSchema",
        "type": "object"
      },
      "ProcessAudioRecordingRefineRequestSchema": {
        "properties": {
          "associated_note_markdown_content": {
            "title": "Associated Note Markdown Content",
            "type": "string"
          },
          "associated_session_id": {
            "format": "uuid",
            "title": "Associated Session Id",
            "type": "string"
          },
          "associated_transcript_data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AudioRecordingTranscriptDataRequestSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "audio_duration_seconds": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio Duration Seconds"
          },
          "transcript_content": {
            "title": "Transcript Content",
            "type": "string"
          },
          "user_prompt": {
            "title": "User Prompt",
            "type": "string"
          }
        },
        "required": [
          "transcript_content",
          "associated_note_markdown_content",
          "associated_session_id",
          "user_prompt"
        ],
        "title": "ProcessAudioRecordingRefineRequestSchema",
        "type": "object"
      },
      "ProcessAudioRecordingRequestSchema": {
        "description": "Request schema for processing audio recording.",
        "properties": {
          "associated_note_markdown_content": {
            "title": "Associated Note Markdown Content",
            "type": "string"
          },
          "associated_session_id": {
            "format": "uuid",
            "title": "Associated Session Id",
            "type": "string"
          },
          "associated_transcript_data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AudioRecordingTranscriptDataRequestSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "audio_duration_seconds": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio Duration Seconds"
          },
          "transcript_content": {
            "title": "Transcript Content",
            "type": "string"
          }
        },
        "required": [
          "transcript_content",
          "associated_note_markdown_content",
          "associated_session_id"
        ],
        "title": "ProcessAudioRecordingRequestSchema",
        "type": "object"
      },
      "ProcessAudioRecordingResponseSchema": {
        "description": "Response schema containing the suggested markdown content and processing metadata.",
        "properties": {
          "elapsed_seconds": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Elapsed Seconds"
          },
          "strategy": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Strategy"
          },
          "suggested_markdown_content": {
            "title": "Suggested Markdown Content",
            "type": "string"
          }
        },
        "required": [
          "suggested_markdown_content"
        ],
        "title": "ProcessAudioRecordingResponseSchema",
        "type": "object"
      },
      "ProcessingInfoSchema": {
        "description": "Structured information about page processing for frontend display.",
        "properties": {
          "cutoff_limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cutoff Limit"
          },
          "pages_failed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pages Failed"
          },
          "pages_processed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pages Processed"
          },
          "pages_total": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pages Total"
          },
          "was_cutoff": {
            "title": "Was Cutoff",
            "type": "boolean"
          }
        },
        "required": [
          "pages_processed",
          "pages_total",
          "pages_failed",
          "was_cutoff",
          "cutoff_limit"
        ],
        "title": "ProcessingInfoSchema",
        "type": "object"
      },
      "ProcessNoteCleanupRequestSchema": {
        "properties": {
          "associated_note_markdown_content": {
            "title": "Associated Note Markdown Content",
            "type": "string"
          },
          "associated_session_id": {
            "format": "uuid",
            "title": "Associated Session Id",
            "type": "string"
          }
        },
        "required": [
          "associated_session_id",
          "associated_note_markdown_content"
        ],
        "title": "ProcessNoteCleanupRequestSchema",
        "type": "object"
      },
      "ProcessNoteCleanupResponseSchema": {
        "properties": {
          "elapsed_seconds": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Elapsed Seconds"
          },
          "strategy": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Strategy"
          },
          "suggested_markdown_content": {
            "title": "Suggested Markdown Content",
            "type": "string"
          }
        },
        "required": [
          "suggested_markdown_content"
        ],
        "title": "ProcessNoteCleanupResponseSchema",
        "type": "object"
      },
      "ProcessNoteRefineErrorResponseSchema": {
        "properties": {
          "error_message": {
            "title": "Error Message",
            "type": "string"
          },
          "error_type": {
            "title": "Error Type",
            "type": "string"
          }
        },
        "required": [
          "error_type",
          "error_message"
        ],
        "title": "ProcessNoteRefineErrorResponseSchema",
        "type": "object"
      },
      "ProcessNoteRefineRequestSchema": {
        "additionalProperties": false,
        "properties": {
          "associated_note_markdown_content": {
            "title": "Associated Note Markdown Content",
            "type": "string"
          },
          "associated_session_id": {
            "format": "uuid",
            "title": "Associated Session Id",
            "type": "string"
          },
          "refine_request_id": {
            "format": "uuid",
            "title": "Refine Request Id",
            "type": "string"
          },
          "user_prompt": {
            "title": "User Prompt",
            "type": "string"
          }
        },
        "required": [
          "refine_request_id",
          "associated_session_id",
          "associated_note_markdown_content",
          "user_prompt"
        ],
        "title": "ProcessNoteRefineRequestSchema",
        "type": "object"
      },
      "ProcessNoteRefineResponseSchema": {
        "properties": {
          "elapsed_seconds": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Elapsed Seconds"
          },
          "suggested_markdown_content": {
            "title": "Suggested Markdown Content",
            "type": "string"
          }
        },
        "required": [
          "suggested_markdown_content"
        ],
        "title": "ProcessNoteRefineResponseSchema",
        "type": "object"
      },
      "ProcessSessionRequestSchema": {
        "properties": {
          "immediate": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Immediate"
          },
          "timeout_seconds": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timeout Seconds"
          }
        },
        "title": "ProcessSessionRequestSchema",
        "type": "object"
      },
      "ProjectListQuerySchema": {
        "properties": {
          "limit": {
            "anyOf": [
              {
                "maximum": 100,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 50,
            "description": "Maximum number of projects in this page.\nDefault is 50; valid range is 1 to 100.",
            "title": "Limit"
          },
          "order_by": {
            "allOf": [
              {
                "enum": [
                  "created_at",
                  "updated_at"
                ],
                "title": "AssistantProjectOrderBy",
                "type": "string"
              }
            ],
            "default": "updated_at",
            "description": "Sort key for pagination boundaries.\nUse `updated_at` (default) for recency feeds.\nUse `created_at` for creation-order views."
          },
          "page": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Opaque cursor from a previous list response.\nOmit for the first page.\nIMPORTANT: Reuse with the same `order_by` and `status` values.",
            "title": "Page"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ProjectStatusInput"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional filter by project status."
          }
        },
        "title": "ProjectListQuerySchema",
        "type": "object"
      },
      "ProjectListResponseSchema": {
        "properties": {
          "next_page": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Opaque cursor for the next page of project results.\n`null` when there are no more results.",
            "title": "Next Page"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "results": {
            "description": "Page of project results matching the requested filters and sort.",
            "items": {
              "$ref": "#/components/schemas/ProjectResponseItemSchema"
            },
            "title": "Results",
            "type": "array"
          },
          "total": {
            "description": "Total number of matching projects before pagination is applied.",
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "request_id",
          "results",
          "total"
        ],
        "title": "ProjectListResponseSchema",
        "type": "object"
      },
      "ProjectResponseItemSchema": {
        "properties": {
          "created_at": {
            "description": "Creation timestamp for the project in ISO 8601 format.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional longer description currently stored on the project.",
            "title": "Description"
          },
          "id": {
            "description": "UUID of the project.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "last_activity_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Most recent activity timestamp on the project, if any.",
            "title": "Last Activity At"
          },
          "status": {
            "description": "Current project status (`active`, `resolved`, or `archived`).",
            "title": "Status",
            "type": "string"
          },
          "title": {
            "description": "Current title of the project.",
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "description": "Last modification timestamp for the project in ISO 8601 format.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "title",
          "description",
          "status",
          "last_activity_at",
          "created_at",
          "updated_at"
        ],
        "title": "ProjectResponseItemSchema",
        "type": "object"
      },
      "ProjectStatusInput": {
        "enum": [
          "active",
          "resolved",
          "archived"
        ],
        "title": "ProjectStatusInput",
        "type": "string"
      },
      "ProviderEnum": {
        "enum": [
          "STRIPE",
          "APPLE",
          "HOUSE",
          "UNKNOWN"
        ],
        "title": "ProviderEnum",
        "type": "string"
      },
      "PusherAuthRequest": {
        "properties": {
          "channel_name": {
            "minLength": 1,
            "title": "Channel Name",
            "type": "string"
          },
          "socket_id": {
            "minLength": 1,
            "title": "Socket Id",
            "type": "string"
          }
        },
        "required": [
          "channel_name",
          "socket_id"
        ],
        "title": "PusherAuthRequest",
        "type": "object"
      },
      "PusherAuthResponse": {
        "properties": {
          "auth": {
            "title": "Auth",
            "type": "string"
          }
        },
        "required": [
          "auth"
        ],
        "title": "PusherAuthResponse",
        "type": "object"
      },
      "QuotaLimitReachedNotificationPayload": {
        "properties": {
          "feature": {
            "title": "Feature",
            "type": "string"
          },
          "limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Limit"
          },
          "used": {
            "title": "Used",
            "type": "integer"
          }
        },
        "required": [
          "feature",
          "used"
        ],
        "title": "QuotaLimitReachedNotificationPayload",
        "type": "object"
      },
      "ReadAttachmentRequestSchema": {
        "properties": {
          "attachment_id": {
            "description": "UUID of the attachment to read. For note attachment metadata returned by\n`GET /v2/notes/{note_id}`, pass the `attachment_id` value directly.",
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "attachment_kind": {
            "$ref": "#/components/schemas/AttachmentType",
            "description": "Kind of attachment to read. For note attachment metadata returned by\n`GET /v2/notes/{note_id}`, pass the `attachment_kind` value directly."
          },
          "content_limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Maximum content characters to return. Defaults to 10,000 and is capped at 20,000.",
            "title": "Content Limit"
          },
          "content_offset": {
            "default": 0,
            "description": "Zero-based character offset for audio, calendar, and email content.",
            "minimum": 0,
            "title": "Content Offset",
            "type": "integer"
          },
          "page_limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Maximum number of PDF pages to return. Defaults to 5 and is capped at 20.",
            "title": "Page Limit"
          },
          "page_offset": {
            "default": 0,
            "description": "Zero-based page offset for PDF attachments.",
            "minimum": 0,
            "title": "Page Offset",
            "type": "integer"
          }
        },
        "required": [
          "attachment_kind",
          "attachment_id"
        ],
        "title": "ReadAttachmentRequestSchema",
        "type": "object"
      },
      "ReadAttachmentResponseSchema": {
        "example": {
          "attachment_id": "2511691e-cfd2-47bc-a4b6-0104234ee1af",
          "attachment_kind": "pdf",
          "audio_recording": null,
          "calendar_event": null,
          "email": null,
          "image": null,
          "pdf": {
            "filename": "product-spec.pdf",
            "has_more": true,
            "mime_type": "application/pdf",
            "page_count": 7,
            "page_limit": 5,
            "page_offset": 0,
            "pages": [
              {
                "key_entities": [
                  "Launch"
                ],
                "page_number": 1,
                "plain_text": "Launch requirements...",
                "suggested_search": "launch requirements",
                "summary": "Overview of launch requirements."
              }
            ],
            "suggested_search": "product launch requirements",
            "summary": "Product requirements and launch milestones."
          },
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522"
        },
        "properties": {
          "attachment_id": {
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "attachment_kind": {
            "$ref": "#/components/schemas/AttachmentType"
          },
          "audio_recording": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AudioRecordingAttachmentResponseSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "calendar_event": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CalendarEventAttachmentResponseSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "email": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EmailAttachmentResponseSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "image": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AttachmentImageResponseSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "pdf": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AttachmentPdfResponseSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "request_id": {
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "attachment_kind",
          "attachment_id"
        ],
        "title": "ReadAttachmentResponseSchema",
        "type": "object"
      },
      "ReadAudioRecordingQuerySchema": {
        "properties": {
          "transcript_speaker_labels": {
            "default": true,
            "description": "When true (default), transcript turns are prefixed with available speaker\nlabels. Labels may be participant names, generic diarization labels such as\n`[Speaker 1]`, or app channel labels such as `[Speaker]` and\n`[Other Speakers]`.\nParticipant names are included only when available; many transcripts use\ngeneric diarization labels or app channel labels instead. Generic labels are\nspeaker grouping context, not verified participant identity.\nWhen false, the same transcript content is returned without speaker labels.",
            "title": "Transcript Speaker Labels",
            "type": "boolean"
          }
        },
        "title": "ReadAudioRecordingQuerySchema",
        "type": "object"
      },
      "ReadAudioRecordingResponseSchema": {
        "example": {
          "associated_note_id": "5e29c8a2-c73b-476b-9311-e2579712d4b1",
          "created_at": "2025-04-11T04:47:14.457Z",
          "duration_seconds": 123,
          "id": "78ff64bc-09e3-4fd7-a4b9-53c258f35619",
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522",
          "transcript": "[Speaker 1] Thanks for joining the call.\n\n[Speaker 2] Happy to be here.\n\n[Speaker 1] Let's review the launch plan.",
          "updated_at": "2025-04-11T04:47:19.702Z"
        },
        "properties": {
          "associated_note_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "UUID of the note directly associated with this audio recording, if any.",
            "title": "Associated Note Id"
          },
          "created_at": {
            "description": "Creation timestamp for the audio recording in ISO 8601 format.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "duration_seconds": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Audio duration in seconds when available.",
            "title": "Duration Seconds"
          },
          "id": {
            "description": "UUID of the requested audio recording.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "transcript": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Transcript text for the audio recording when available.\nBy default, transcript turns are returned with available speaker labels,\nincluding participant names, generic diarization labels such as\n`[Speaker 1]`, and app channel labels such as `[Speaker]` and\n`[Other Speakers]`.\nParticipant names are included only when available; many transcripts use\ngeneric diarization labels or app channel labels instead. Generic labels are\nspeaker grouping context, not verified participant identity.\nWhen `transcript_speaker_labels=false` is requested, speaker labels are\nomitted.\nNull means the recording exists but transcript data is not available yet.",
            "title": "Transcript"
          },
          "updated_at": {
            "description": "Last modification timestamp for the audio recording in ISO 8601 format.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "id",
          "created_at",
          "updated_at"
        ],
        "title": "ReadAudioRecordingResponseSchema",
        "type": "object"
      },
      "ReadCalendarEventResponseSchema": {
        "properties": {
          "event": {
            "$ref": "#/components/schemas/CalendarEventItemSchema"
          },
          "request_id": {
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "event"
        ],
        "title": "ReadCalendarEventResponseSchema",
        "type": "object"
      },
      "ReadCollectionResponseSchema": {
        "example": {
          "created_at": "2025-04-11T04:47:14.457Z",
          "description": "Anything related to Acme Corp; a software company that provides a suite of tools for managing customer relationships.",
          "id": "5e29c8a2-c73b-476b-9311-e2579712d4b1",
          "note_count": 12,
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522",
          "title": "Acme Corp",
          "updated_at": "2025-04-11T04:47:19.702Z"
        },
        "properties": {
          "created_at": {
            "description": "Creation timestamp for the collection in ISO 8601 format.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional description text currently stored on the collection.",
            "title": "Description"
          },
          "id": {
            "description": "UUID of the requested collection.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "note_count": {
            "description": "Current number of notes in the collection.",
            "title": "Note Count",
            "type": "integer"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "title": {
            "description": "Current title of the collection.",
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "description": "Last modification timestamp for the collection in ISO 8601 format.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "id",
          "title",
          "description",
          "note_count",
          "created_at",
          "updated_at"
        ],
        "title": "ReadCollectionResponseSchema",
        "type": "object"
      },
      "ReadCollectionToolCallArgs": {
        "properties": {
          "collection_id": {
            "title": "Collection Id",
            "type": "string"
          },
          "page": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Page"
          },
          "page_size": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Page Size"
          }
        },
        "required": [
          "collection_id"
        ],
        "title": "ReadCollectionToolCallArgs",
        "type": "object"
      },
      "ReadCollectionToolCallResult": {
        "properties": {
          "collection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AgentCollectionModel"
              },
              {
                "type": "null"
              }
            ]
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "has_next_page": {
            "default": false,
            "title": "Has Next Page",
            "type": "boolean"
          },
          "notes": {
            "items": {
              "$ref": "#/components/schemas/AgentNoteModel"
            },
            "title": "Notes",
            "type": "array"
          },
          "page": {
            "default": 1,
            "title": "Page",
            "type": "integer"
          },
          "page_size": {
            "default": 10,
            "title": "Page Size",
            "type": "integer"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          },
          "total_note_count_for_collection": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Total Note Count For Collection"
          },
          "total_pages": {
            "default": 0,
            "title": "Total Pages",
            "type": "integer"
          }
        },
        "required": [
          "success"
        ],
        "title": "ReadCollectionToolCallResult",
        "type": "object"
      },
      "ReadEventResponseSchema": {
        "properties": {
          "data": {
            "additionalProperties": true,
            "title": "Data",
            "type": "object"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "occurred_at": {
            "format": "date-time",
            "title": "Occurred At",
            "type": "string"
          },
          "primary_entity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EventPrimaryEntityResponseSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "sequence": {
            "title": "Sequence",
            "type": "integer"
          },
          "subject": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject"
          },
          "type": {
            "$ref": "#/components/schemas/ExternalEventType"
          }
        },
        "required": [
          "request_id",
          "id",
          "sequence",
          "type",
          "occurred_at",
          "subject",
          "primary_entity",
          "data"
        ],
        "title": "ReadEventResponseSchema",
        "type": "object"
      },
      "ReadFollowUpResponseSchema": {
        "properties": {
          "follow_up": {
            "$ref": "#/components/schemas/FollowUpResponseItemSchema"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "follow_up"
        ],
        "title": "ReadFollowUpResponseSchema",
        "type": "object"
      },
      "ReadNoteResponseSchema": {
        "example": {
          "attachment_metadata": [
            {
              "attachment_id": "2511691e-cfd2-47bc-a4b6-0104234ee1af",
              "attachment_kind": "pdf",
              "image_type": null,
              "ocr_text": null,
              "page_count": 7,
              "suggested_search": "product launch requirements",
              "summary": "Product requirements and launch milestones.",
              "visual_description": null
            }
          ],
          "audio_recording_ids": [
            "78ff64bc-09e3-4fd7-a4b9-53c258f35619"
          ],
          "collection_ids": [
            "59508b41-8770-4855-aa37-302b1e09aee7",
            "026b426c-14fb-4f22-8d98-7a9121bfaec8"
          ],
          "content": "# Sales Call with Acme Corp\n\nContact: John Smith (john@acme.com)\n\nInterested in enterprise plan. Follow up next week.\n\n## Action Items\n- Schedule follow-up call next week\n- Send enterprise pricing information\n\n## Key Points\n- Interested in enterprise plan\n- Contact: John Smith (john@acme.com)",
          "created_at": "2025-04-11T04:47:14.457Z",
          "id": "5e29c8a2-c73b-476b-9311-e2579712d4b1",
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522",
          "title": "Sales Call with Acme Corp",
          "trashed_at": null,
          "updated_at": "2025-04-11T04:47:19.702Z",
          "version": 4
        },
        "properties": {
          "attachment_metadata": {
            "description": "Compact metadata for PDF and image attachments embedded in this note.\nUse `attachment_id` with `GET /v2/note-attachments/{attachment_id}/download-url`.",
            "items": {
              "$ref": "#/components/schemas/NoteAttachmentMetadataResponseSchema"
            },
            "title": "Attachment Metadata",
            "type": "array"
          },
          "audio_recording_ids": {
            "description": "Audio Recording UUIDs currently associated with this note.",
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Audio Recording Ids",
            "type": "array"
          },
          "collection_ids": {
            "description": "Collection UUIDs currently associated with this note.",
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Collection Ids",
            "type": "array"
          },
          "content": {
            "description": "Full markdown content stored for the note.",
            "title": "Content",
            "type": "string"
          },
          "created_at": {
            "description": "Creation timestamp for the note in ISO 8601 format.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "UUID of the requested note.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "title": {
            "description": "Current note title.",
            "title": "Title",
            "type": "string"
          },
          "trashed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Timestamp for when the note was moved to trash, or null when the note is active.\nTrashed notes are still returned by `GET /v2/notes/{note_id}`.",
            "title": "Trashed At"
          },
          "updated_at": {
            "description": "Last modification timestamp for the note in ISO 8601 format.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "version": {
            "description": "Current note content document version.",
            "title": "Version",
            "type": "integer"
          }
        },
        "required": [
          "request_id",
          "id",
          "title",
          "content",
          "version",
          "collection_ids",
          "audio_recording_ids",
          "attachment_metadata",
          "trashed_at",
          "created_at",
          "updated_at"
        ],
        "title": "ReadNoteResponseSchema",
        "type": "object"
      },
      "ReadNoteToolCallArgs": {
        "properties": {
          "note_id": {
            "title": "Note Id",
            "type": "string"
          },
          "version": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Version"
          }
        },
        "required": [
          "note_id"
        ],
        "title": "ReadNoteToolCallArgs",
        "type": "object"
      },
      "ReadNoteToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "note": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AgentNoteModel"
              },
              {
                "type": "null"
              }
            ]
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "ReadNoteToolCallResult",
        "type": "object"
      },
      "ReadProjectResponseSchema": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "last_activity_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Activity At"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "id",
          "title",
          "description",
          "status",
          "last_activity_at",
          "created_at",
          "updated_at"
        ],
        "title": "ReadProjectResponseSchema",
        "type": "object"
      },
      "ReadTaskResponseSchema": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "due_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Due At"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "project_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Id"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "id",
          "title",
          "description",
          "status",
          "project_id",
          "due_at",
          "created_at",
          "updated_at"
        ],
        "title": "ReadTaskResponseSchema",
        "type": "object"
      },
      "ReasoningSessionPart": {
        "deprecated": true,
        "properties": {
          "client_meta": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Meta"
          },
          "kind": {
            "const": "REASONING",
            "default": "REASONING",
            "title": "Kind",
            "type": "string"
          },
          "parts": {
            "items": {
              "$ref": "#/components/schemas/TextSessionPart"
            },
            "title": "Parts",
            "type": "array"
          }
        },
        "required": [
          "parts"
        ],
        "title": "ReasoningSessionPart",
        "type": "object"
      },
      "ReasoningV1SessionPart": {
        "properties": {
          "client_meta": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Meta"
          },
          "collection_ids": {
            "anyOf": [
              {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Collection Ids"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "REASONING_V1",
            "default": "REASONING_V1",
            "title": "Kind",
            "type": "string"
          },
          "note_ids": {
            "anyOf": [
              {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note Ids"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "thinking_provider_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Thinking Provider Name"
          },
          "thinking_signature": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Thinking Signature"
          }
        },
        "required": [
          "id",
          "summary"
        ],
        "title": "ReasoningV1SessionPart",
        "type": "object"
      },
      "RecallSdkRecordingRealtimeEndpointSchema": {
        "properties": {
          "events": {
            "items": {
              "type": "string"
            },
            "title": "Events",
            "type": "array"
          },
          "type": {
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "type",
          "events"
        ],
        "title": "RecallSdkRecordingRealtimeEndpointSchema",
        "type": "object"
      },
      "RecallSdkRecordingTranscriptDiarizationSchema": {
        "properties": {
          "use_separate_streams_when_available": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Use Separate Streams When Available"
          }
        },
        "title": "RecallSdkRecordingTranscriptDiarizationSchema",
        "type": "object"
      },
      "RecallSdkRecordingTranscriptProviderAssemblyAiV3StreamingSchema": {
        "description": "AssemblyAI options accepted for Recall Desktop SDK transcription.\n\nDesktop speaker attribution should come from Recall participant timeline\nmetadata, not AssemblyAI's generic diarization. Generic labels from other\ncapture surfaces are still represented in stored transcript arrays with\n`speaker_label`.",
        "properties": {
          "format_turns": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Format Turns"
          },
          "keyterms_prompt": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Keyterms Prompt"
          },
          "language_detection": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Language Detection"
          },
          "speech_model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Speech Model"
          }
        },
        "title": "RecallSdkRecordingTranscriptProviderAssemblyAiV3StreamingSchema",
        "type": "object"
      },
      "RecallSdkRecordingTranscriptProviderSchema": {
        "properties": {
          "assembly_ai_v3_streaming": {
            "$ref": "#/components/schemas/RecallSdkRecordingTranscriptProviderAssemblyAiV3StreamingSchema"
          }
        },
        "required": [
          "assembly_ai_v3_streaming"
        ],
        "title": "RecallSdkRecordingTranscriptProviderSchema",
        "type": "object"
      },
      "RecallSdkRecordingTranscriptSchema": {
        "properties": {
          "diarization": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RecallSdkRecordingTranscriptDiarizationSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "provider": {
            "$ref": "#/components/schemas/RecallSdkRecordingTranscriptProviderSchema"
          }
        },
        "required": [
          "provider"
        ],
        "title": "RecallSdkRecordingTranscriptSchema",
        "type": "object"
      },
      "RecallSdkUploadRecordingConfigSchema": {
        "description": "Example:\n{\n    \"transcript\": {\n        \"provider\": {\n            \"assembly_ai_v3_streaming\": {\n                \"format_turns\": True,\n                \"speech_model\": \"universal-streaming-multilingual\",\n                \"language_detection\": True,\n                \"keyterms_prompt\": [\"Acme Corp\", \"TPS reports\"]\n            }\n        },\n        \"diarization\": {\n            \"use_separate_streams_when_available\": False\n        }\n    }\n    \"realtime_endpoints\": [\n        {\n            \"type\": \"desktop-sdk-callback\",\n            \"events\": [\n                \"participant_events.join\",\n                \"participant_events.update\",\n                \"participant_events.leave\",\n                \"participant_events.speech_on\",\n                \"participant_events.speech_off\",\n                \"transcript.data\",\n                \"transcript.partial_data\",\n                \"audio_mixed_raw.data\",\n            ]\n        }\n    ],\n    \"video_mixed_mp4\": None,\n    \"audio_mixed_mp3\": {}\n}\n\nNote: `keyterms_prompt` can be either a list of strings or a pre-JSON-stringified\nstring. If a list is passed, it will be JSON-stringified before sending to the API.\n\nRecall Desktop SDK uploads use participant-timeline attribution. Provider\ndiarization belongs in transcript-array `speaker_label` data from capture\nsurfaces that intentionally support generic speaker grouping.",
        "properties": {
          "audio_mixed_mp3": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio Mixed Mp3"
          },
          "realtime_endpoints": {
            "items": {
              "$ref": "#/components/schemas/RecallSdkRecordingRealtimeEndpointSchema"
            },
            "title": "Realtime Endpoints",
            "type": "array"
          },
          "transcript": {
            "$ref": "#/components/schemas/RecallSdkRecordingTranscriptSchema"
          },
          "video_mixed_mp4": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Video Mixed Mp4"
          }
        },
        "required": [
          "transcript",
          "realtime_endpoints",
          "video_mixed_mp4",
          "audio_mixed_mp3"
        ],
        "title": "RecallSdkUploadRecordingConfigSchema",
        "type": "object"
      },
      "RecallSdkUploadRequestSchema": {
        "properties": {
          "captured_audio_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Captured Audio Id"
          },
          "note_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note Id"
          },
          "recording_config": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RecallSdkUploadRecordingConfigSchema"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "RecallSdkUploadRequestSchema",
        "type": "object"
      },
      "RecallSdkUploadResponseSchema": {
        "properties": {
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          },
          "sdk_upload_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sdk Upload Id"
          },
          "upload_token": {
            "title": "Upload Token",
            "type": "string"
          }
        },
        "required": [
          "upload_token"
        ],
        "title": "RecallSdkUploadResponseSchema",
        "type": "object"
      },
      "ReceiveIosTransactionRequestSchema": {
        "description": "Request body for receiving a StoreKit 2 transaction.\n\nFields\n- signedTransaction: The StoreKit 2 Transaction JWS from the device\n- signedRenewalInfo: The StoreKit 2 Renewal Info JWS from the device (optional)",
        "properties": {
          "signedRenewalInfo": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signedrenewalinfo"
          },
          "signedTransaction": {
            "title": "Signedtransaction",
            "type": "string"
          }
        },
        "required": [
          "signedTransaction"
        ],
        "title": "ReceiveIosTransactionRequestSchema",
        "type": "object"
      },
      "ReceiveIosTransactionResponseSchema": {
        "properties": {
          "subscription": {
            "$ref": "#/components/schemas/SubscriptionSyncModelDataResponseSchema"
          },
          "subscription_id": {
            "format": "uuid",
            "title": "Subscription Id",
            "type": "string"
          }
        },
        "required": [
          "subscription_id",
          "subscription"
        ],
        "title": "ReceiveIosTransactionResponseSchema",
        "type": "object"
      },
      "ReconcileCalendarRequestSchema": {
        "properties": {
          "calendar_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "External calendar ID (provider calendar ID). If omitted, the primary/default enabled calendar is used.",
            "title": "Calendar Id"
          },
          "provider": {
            "description": "Calendar provider ('google' or 'outlook').",
            "title": "Provider",
            "type": "string"
          },
          "subject_id": {
            "description": "Provider subject ID of the account.",
            "title": "Subject Id",
            "type": "string"
          }
        },
        "required": [
          "provider",
          "subject_id"
        ],
        "title": "ReconcileCalendarRequestSchema",
        "type": "object"
      },
      "ReconcileCalendarResponseSchema": {
        "properties": {
          "request_id": {
            "title": "Request Id",
            "type": "string"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "request_id",
          "success"
        ],
        "title": "ReconcileCalendarResponseSchema",
        "type": "object"
      },
      "RecordReminderShillUpsellAttributionRequestSchema": {
        "properties": {
          "generated_reminder_text": {
            "title": "Generated Reminder Text",
            "type": "string"
          },
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          },
          "reminder_shill_id": {
            "format": "uuid",
            "title": "Reminder Shill Id",
            "type": "string"
          },
          "source": {
            "title": "Source",
            "type": "string"
          },
          "stripe_checkout_session_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Stripe Checkout Session Id"
          }
        },
        "required": [
          "note_id",
          "reminder_shill_id",
          "generated_reminder_text",
          "source"
        ],
        "title": "RecordReminderShillUpsellAttributionRequestSchema",
        "type": "object"
      },
      "RecordReminderShillUpsellAttributionResponseSchema": {
        "properties": {
          "captured_at": {
            "format": "date-time",
            "title": "Captured At",
            "type": "string"
          },
          "created": {
            "title": "Created",
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success",
          "id",
          "created",
          "captured_at"
        ],
        "title": "RecordReminderShillUpsellAttributionResponseSchema",
        "type": "object"
      },
      "ReferencedEntityMappingSchema": {
        "description": "ORJson requires that the keys of the dictionary are strings.",
        "properties": {
          "collections": {
            "additionalProperties": {
              "$ref": "#/components/schemas/HydratedCollectionEntitySchema"
            },
            "title": "Collections",
            "type": "object"
          },
          "notes": {
            "additionalProperties": {
              "$ref": "#/components/schemas/HydratedNoteEntitySchema"
            },
            "title": "Notes",
            "type": "object"
          }
        },
        "required": [
          "notes",
          "collections"
        ],
        "title": "ReferencedEntityMappingSchema",
        "type": "object"
      },
      "RegisterAudioRecordingUploadRequestSchema": {
        "properties": {
          "associated_transcript_data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AudioRecordingTranscriptDataRequestSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "filename": {
            "title": "Filename",
            "type": "string"
          },
          "mime_type": {
            "title": "Mime Type",
            "type": "string"
          }
        },
        "required": [
          "filename",
          "mime_type"
        ],
        "title": "RegisterAudioRecordingUploadRequestSchema",
        "type": "object"
      },
      "RegisterAudioRecordingUploadResponseSchema": {
        "properties": {
          "audio_recording_id": {
            "format": "uuid",
            "title": "Audio Recording Id",
            "type": "string"
          },
          "bucket_name": {
            "title": "Bucket Name",
            "type": "string"
          },
          "normalized_filename": {
            "title": "Normalized Filename",
            "type": "string"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          }
        },
        "required": [
          "bucket_name",
          "space_account_id",
          "audio_recording_id",
          "normalized_filename"
        ],
        "title": "RegisterAudioRecordingUploadResponseSchema",
        "type": "object"
      },
      "RegisterDeviceRequestSchema": {
        "properties": {
          "apns_environment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ApplePushNotificationEnvironment"
              }
            ],
            "default": "unknown"
          },
          "app_identifier": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "App Identifier"
          },
          "device_token": {
            "title": "Device Token",
            "type": "string"
          },
          "platform_kind": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ClientPlatformKind"
              }
            ],
            "default": "ios"
          },
          "provider": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ApplePushNotificationProvider"
              }
            ],
            "default": "apns"
          }
        },
        "required": [
          "device_token"
        ],
        "title": "RegisterDeviceRequestSchema",
        "type": "object"
      },
      "RelatedNoteCollectionResponseSchema": {
        "properties": {
          "created_at": {
            "description": "Creation timestamp for the collection in ISO 8601 format.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Current collection description, if one is set.",
            "title": "Description"
          },
          "id": {
            "description": "UUID of the collection.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "is_shared": {
            "description": "Whether this collection is shared with other accounts.",
            "title": "Is Shared",
            "type": "boolean"
          },
          "note_count": {
            "description": "Number of active notes currently linked to the collection.",
            "title": "Note Count",
            "type": "integer"
          },
          "title": {
            "description": "Current collection title.",
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "description": "Last modification timestamp for the collection in ISO 8601 format.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "title",
          "note_count",
          "is_shared",
          "created_at",
          "updated_at"
        ],
        "title": "RelatedNoteCollectionResponseSchema",
        "type": "object"
      },
      "RelatedNoteItemResponseSchema": {
        "properties": {
          "collection_ids": {
            "description": "Accessible collection UUIDs currently associated with the note.",
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Collection Ids",
            "type": "array"
          },
          "collections": {
            "description": "Accessible collection context for the related note.",
            "items": {
              "$ref": "#/components/schemas/RelatedNoteCollectionResponseSchema"
            },
            "title": "Collections",
            "type": "array"
          },
          "created_at": {
            "description": "Creation timestamp for the note in ISO 8601 format.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "UUID of the related note.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "preview": {
            "description": "Truncated markdown preview of the related note's current content.\nUse `GET /v2/notes/{note_id}` for the full note body.",
            "title": "Preview",
            "type": "string"
          },
          "score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Similarity score returned by the note vector index.",
            "title": "Score"
          },
          "snippet": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional derived note snippet for quick display.",
            "title": "Snippet"
          },
          "title": {
            "description": "Current title of the related note.",
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "description": "Last modification timestamp for the note in ISO 8601 format.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "title",
          "preview",
          "collection_ids",
          "collections",
          "created_at",
          "updated_at"
        ],
        "title": "RelatedNoteItemResponseSchema",
        "type": "object"
      },
      "RemoveNoteFromCollectionResponseSchema": {
        "example": {
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522"
        },
        "properties": {
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id"
        ],
        "title": "RemoveNoteFromCollectionResponseSchema",
        "type": "object"
      },
      "RemoveNoteFromCollectionToolCallArgs": {
        "properties": {
          "collection_id": {
            "title": "Collection Id",
            "type": "string"
          },
          "note_id": {
            "title": "Note Id",
            "type": "string"
          }
        },
        "required": [
          "note_id",
          "collection_id"
        ],
        "title": "RemoveNoteFromCollectionToolCallArgs",
        "type": "object"
      },
      "RemoveNoteFromCollectionToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "RemoveNoteFromCollectionToolCallResult",
        "type": "object"
      },
      "RenameCollectionToolCallArgs": {
        "properties": {
          "collection_id": {
            "title": "Collection Id",
            "type": "string"
          },
          "new_title": {
            "title": "New Title",
            "type": "string"
          }
        },
        "required": [
          "collection_id",
          "new_title"
        ],
        "title": "RenameCollectionToolCallArgs",
        "type": "object"
      },
      "RenameCollectionToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "RenameCollectionToolCallResult",
        "type": "object"
      },
      "RepresentativeSnapshotSummaryResponseSchema": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "edit_count": {
            "title": "Edit Count",
            "type": "integer"
          },
          "editor_context_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Editor Context Kind"
          },
          "editor_on_behalf_of_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Editor On Behalf Of Space Account Id"
          },
          "editor_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Editor Space Account Id"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "note_content_document_id": {
            "format": "uuid",
            "title": "Note Content Document Id",
            "type": "string"
          },
          "note_content_document_locally_modified_at": {
            "format": "date-time",
            "title": "Note Content Document Locally Modified At",
            "type": "string"
          },
          "note_content_document_version": {
            "title": "Note Content Document Version",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "created_at",
          "note_content_document_id",
          "note_content_document_locally_modified_at",
          "note_content_document_version",
          "editor_space_account_id",
          "edit_count"
        ],
        "title": "RepresentativeSnapshotSummaryResponseSchema",
        "type": "object"
      },
      "RequestEmailIntegrationSenderVerificationResponseSchema": {
        "properties": {
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "RequestEmailIntegrationSenderVerificationResponseSchema",
        "type": "object"
      },
      "RequireAccountAuthHealthCheckResponseSchema": {
        "properties": {
          "account_id": {
            "format": "uuid",
            "title": "Account Id",
            "type": "string"
          },
          "is_authenticated": {
            "title": "Is Authenticated",
            "type": "boolean"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success",
          "account_id",
          "is_authenticated"
        ],
        "title": "RequireAccountAuthHealthCheckResponseSchema",
        "type": "object"
      },
      "RequireAccountHealthCheckResponse": {
        "properties": {
          "account_id": {
            "title": "Account Id",
            "type": "string"
          },
          "is_authenticated": {
            "title": "Is Authenticated",
            "type": "boolean"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success",
          "account_id",
          "is_authenticated"
        ],
        "title": "RequireAccountHealthCheckResponse",
        "type": "object"
      },
      "RequireAnyAuthHealthCheckResponseSchema": {
        "properties": {
          "is_authenticated": {
            "title": "Is Authenticated",
            "type": "boolean"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success",
          "is_authenticated"
        ],
        "title": "RequireAnyAuthHealthCheckResponseSchema",
        "type": "object"
      },
      "RequireInternalAuthHealthCheckResponseSchema": {
        "properties": {
          "is_authenticated": {
            "title": "Is Authenticated",
            "type": "boolean"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success",
          "is_authenticated"
        ],
        "title": "RequireInternalAuthHealthCheckResponseSchema",
        "type": "object"
      },
      "ResolveLinkPreviewRequestSchema": {
        "properties": {
          "url": {
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "title": "ResolveLinkPreviewRequestSchema",
        "type": "object"
      },
      "ResolveLinkPreviewResponseSchema": {
        "properties": {
          "preview": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LinkPreviewSchema"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "preview"
        ],
        "title": "ResolveLinkPreviewResponseSchema",
        "type": "object"
      },
      "RestoreNoteResponseSchema": {
        "example": {
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522"
        },
        "properties": {
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id"
        ],
        "title": "RestoreNoteResponseSchema",
        "type": "object"
      },
      "RestoreNoteToolCallArgs": {
        "properties": {
          "note_id": {
            "title": "Note Id",
            "type": "string"
          }
        },
        "required": [
          "note_id"
        ],
        "title": "RestoreNoteToolCallArgs",
        "type": "object"
      },
      "RestoreNoteToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "RestoreNoteToolCallResult",
        "type": "object"
      },
      "RetrieveDocumentPagesToolCallArgs": {
        "properties": {
          "attachment_id": {
            "title": "Attachment Id",
            "type": "string"
          },
          "page_numbers": {
            "items": {
              "type": "integer"
            },
            "title": "Page Numbers",
            "type": "array"
          }
        },
        "required": [
          "attachment_id",
          "page_numbers"
        ],
        "title": "RetrieveDocumentPagesToolCallArgs",
        "type": "object"
      },
      "RetrieveDocumentPagesToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "pages": {
            "items": {
              "$ref": "#/components/schemas/DocumentPageContent"
            },
            "title": "Pages",
            "type": "array"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          },
          "truncated": {
            "default": false,
            "title": "Truncated",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "RetrieveDocumentPagesToolCallResult",
        "type": "object"
      },
      "RootHealthCheckResponse": {
        "properties": {
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "RootHealthCheckResponse",
        "type": "object"
      },
      "RootHealthCheckResponseSchema": {
        "properties": {
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "RootHealthCheckResponseSchema",
        "type": "object"
      },
      "SavedSearchSyncModelDataResponseSchema": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "locally_created_at": {
            "format": "date-time",
            "title": "Locally Created At",
            "type": "string"
          },
          "locally_modified_at": {
            "format": "date-time",
            "title": "Locally Modified At",
            "type": "string"
          },
          "query_string": {
            "title": "Query String",
            "type": "string"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "query_string",
          "label",
          "locally_created_at",
          "locally_modified_at"
        ],
        "title": "SavedSearchSyncModelDataResponseSchema",
        "type": "object"
      },
      "SavedSearchSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/SavedSearchSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "SAVED_SEARCH",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "SavedSearchSyncModelResponseSchema",
        "type": "object"
      },
      "SearchChatGPTRequestSchema": {
        "additionalProperties": false,
        "properties": {
          "kinds": {
            "description": "Resource kinds to search. Defaults to ['note'].",
            "items": {
              "type": "string"
            },
            "title": "Kinds",
            "type": "array"
          },
          "limit": {
            "default": 10,
            "description": "Maximum number of records to return.",
            "maximum": 50,
            "minimum": 1,
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "default": 0,
            "description": "Offset into the result set.",
            "minimum": 0,
            "title": "Offset",
            "type": "integer"
          },
          "query": {
            "description": "Free-text search string.",
            "minLength": 1,
            "title": "Query",
            "type": "string"
          }
        },
        "required": [
          "query"
        ],
        "title": "SearchChatGPTRequestSchema",
        "type": "object"
      },
      "SearchChatGPTResponseSchema": {
        "additionalProperties": false,
        "properties": {
          "limit": {
            "minimum": 1,
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "minimum": 0,
            "title": "Offset",
            "type": "integer"
          },
          "results": {
            "items": {
              "$ref": "#/components/schemas/SearchChatGPTResultSchema"
            },
            "title": "Results",
            "type": "array"
          },
          "total": {
            "minimum": 0,
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "results",
          "total",
          "limit",
          "offset"
        ],
        "title": "SearchChatGPTResponseSchema",
        "type": "object"
      },
      "SearchChatGPTResultSchema": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Creation timestamp for the resource.",
            "title": "Created At"
          },
          "id": {
            "description": "Primary identifier for the resource.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "description": "Resource kind identifier (e.g. note).",
            "title": "Kind",
            "type": "string"
          },
          "primary_label": {
            "description": "Primary display label.",
            "title": "Primary Label",
            "type": "string"
          },
          "secondary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Supplemental label shown beneath the primary label.",
            "title": "Secondary Label"
          },
          "snippet": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Preview text snippet matching the query.",
            "title": "Snippet"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Last modification timestamp for the resource.",
            "title": "Updated At"
          }
        },
        "required": [
          "kind",
          "id",
          "primary_label"
        ],
        "title": "SearchChatGPTResultSchema",
        "type": "object"
      },
      "SearchEngineBaseFiltersCreatedAfterValue": {
        "properties": {
          "created_after": {
            "format": "date-time",
            "title": "Created After",
            "type": "string"
          }
        },
        "required": [
          "created_after"
        ],
        "title": "SearchEngineBaseFiltersCreatedAfterValue",
        "type": "object"
      },
      "SearchEngineBaseFiltersCreatedBeforeValue": {
        "properties": {
          "created_before": {
            "format": "date-time",
            "title": "Created Before",
            "type": "string"
          }
        },
        "required": [
          "created_before"
        ],
        "title": "SearchEngineBaseFiltersCreatedBeforeValue",
        "type": "object"
      },
      "SearchEngineBaseFiltersModifiedAfterValue": {
        "properties": {
          "modified_after": {
            "format": "date-time",
            "title": "Modified After",
            "type": "string"
          }
        },
        "required": [
          "modified_after"
        ],
        "title": "SearchEngineBaseFiltersModifiedAfterValue",
        "type": "object"
      },
      "SearchEngineBaseFiltersModifiedBeforeValue": {
        "properties": {
          "modified_before": {
            "format": "date-time",
            "title": "Modified Before",
            "type": "string"
          }
        },
        "required": [
          "modified_before"
        ],
        "title": "SearchEngineBaseFiltersModifiedBeforeValue",
        "type": "object"
      },
      "SearchEngineFacetFiltersContainsClassicLinkKindValue": {
        "properties": {
          "link_kinds": {
            "items": {
              "$ref": "#/components/schemas/LinkKind"
            },
            "title": "Link Kinds",
            "type": "array"
          }
        },
        "required": [
          "link_kinds"
        ],
        "title": "SearchEngineFacetFiltersContainsClassicLinkKindValue",
        "type": "object"
      },
      "SearchEngineFacetFiltersContainsMediaKindValue": {
        "properties": {
          "media_kinds": {
            "items": {
              "$ref": "#/components/schemas/MediaKind"
            },
            "title": "Media Kinds",
            "type": "array"
          }
        },
        "required": [
          "media_kinds"
        ],
        "title": "SearchEngineFacetFiltersContainsMediaKindValue",
        "type": "object"
      },
      "SearchEngineFacetFiltersCreatedBySpaceAccountValue": {
        "properties": {
          "space_account_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Space Account Ids",
            "type": "array"
          }
        },
        "required": [
          "space_account_ids"
        ],
        "title": "SearchEngineFacetFiltersCreatedBySpaceAccountValue",
        "type": "object"
      },
      "SearchEngineFacetFiltersFromCaptureSourceValue": {
        "properties": {
          "capture_sources": {
            "items": {
              "$ref": "#/components/schemas/CaptureSourceKind"
            },
            "title": "Capture Sources",
            "type": "array"
          }
        },
        "required": [
          "capture_sources"
        ],
        "title": "SearchEngineFacetFiltersFromCaptureSourceValue",
        "type": "object"
      },
      "SearchEngineFacetFiltersInCollectionConfig": {
        "properties": {
          "negate": {
            "title": "Negate",
            "type": "boolean"
          }
        },
        "required": [
          "negate"
        ],
        "title": "SearchEngineFacetFiltersInCollectionConfig",
        "type": "object"
      },
      "SearchEngineFacetFiltersInCollectionValue": {
        "properties": {
          "collection_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Collection Ids",
            "type": "array"
          }
        },
        "required": [
          "collection_ids"
        ],
        "title": "SearchEngineFacetFiltersInCollectionValue",
        "type": "object"
      },
      "SearchEngineFacetFiltersModifiedBySpaceAccountValue": {
        "properties": {
          "space_account_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Space Account Ids",
            "type": "array"
          }
        },
        "required": [
          "space_account_ids"
        ],
        "title": "SearchEngineFacetFiltersModifiedBySpaceAccountValue",
        "type": "object"
      },
      "SearchEngineFacetFiltersOwnedBySpaceAccountConfig": {
        "properties": {
          "negate": {
            "title": "Negate",
            "type": "boolean"
          }
        },
        "required": [
          "negate"
        ],
        "title": "SearchEngineFacetFiltersOwnedBySpaceAccountConfig",
        "type": "object"
      },
      "SearchEngineFacetFiltersOwnedBySpaceAccountValue": {
        "properties": {
          "space_account_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Space Account Ids",
            "type": "array"
          }
        },
        "required": [
          "space_account_ids"
        ],
        "title": "SearchEngineFacetFiltersOwnedBySpaceAccountValue",
        "type": "object"
      },
      "SearchEngineFacetKind": {
        "enum": [
          "OWNED_BY_SPACE_ACCOUNT",
          "CREATED_BY_SPACE_ACCOUNT",
          "MODIFIED_BY_SPACE_ACCOUNT",
          "IN_COLLECTION",
          "CONTAINS_LINK_KIND",
          "CONTAINS_MEDIA_KIND",
          "FROM_CAPTURE_SOURCE"
        ],
        "title": "SearchEngineFacetKind",
        "type": "string"
      },
      "SearchEngineFilterKind": {
        "enum": [
          "CREATED_BEFORE",
          "CREATED_AFTER",
          "MODIFIED_BEFORE",
          "MODIFIED_AFTER"
        ],
        "title": "SearchEngineFilterKind",
        "type": "string"
      },
      "SearchEngineHighlightedSnippet": {
        "properties": {
          "is_highlight": {
            "title": "Is Highlight",
            "type": "boolean"
          },
          "is_truncated_end": {
            "title": "Is Truncated End",
            "type": "boolean"
          },
          "is_truncated_start": {
            "title": "Is Truncated Start",
            "type": "boolean"
          },
          "text": {
            "title": "Text",
            "type": "string"
          }
        },
        "required": [
          "text",
          "is_highlight",
          "is_truncated_start",
          "is_truncated_end"
        ],
        "title": "SearchEngineHighlightedSnippet",
        "type": "object"
      },
      "SearchEngineHighlightedSnippetSchema": {
        "properties": {
          "is_highlight": {
            "title": "Is Highlight",
            "type": "boolean"
          },
          "is_truncated_end": {
            "title": "Is Truncated End",
            "type": "boolean"
          },
          "is_truncated_start": {
            "title": "Is Truncated Start",
            "type": "boolean"
          },
          "text": {
            "title": "Text",
            "type": "string"
          }
        },
        "required": [
          "text",
          "is_highlight",
          "is_truncated_start",
          "is_truncated_end"
        ],
        "title": "SearchEngineHighlightedSnippetSchema",
        "type": "object"
      },
      "SearchEngineMetadataSource": {
        "properties": {
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "pre_adjusted_score": {
            "title": "Pre Adjusted Score",
            "type": "number"
          },
          "raw_score": {
            "title": "Raw Score",
            "type": "number"
          },
          "reranker_score": {
            "title": "Reranker Score",
            "type": "number"
          }
        },
        "required": [
          "raw_score",
          "kind",
          "reranker_score",
          "pre_adjusted_score"
        ],
        "title": "SearchEngineMetadataSource",
        "type": "object"
      },
      "SearchEngineMetadataSourceSchema": {
        "properties": {
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "pre_adjusted_score": {
            "title": "Pre Adjusted Score",
            "type": "number"
          },
          "raw_score": {
            "title": "Raw Score",
            "type": "number"
          },
          "reranker_score": {
            "title": "Reranker Score",
            "type": "number"
          }
        },
        "required": [
          "raw_score",
          "kind",
          "reranker_score",
          "pre_adjusted_score"
        ],
        "title": "SearchEngineMetadataSourceSchema",
        "type": "object"
      },
      "SearchEnginePaginationManager": {
        "properties": {
          "page_size": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Page Size"
          },
          "sort_by": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SearchEngineSortByKind"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sort By"
          }
        },
        "title": "SearchEnginePaginationManager",
        "type": "object"
      },
      "SearchEnginePaginationManagerSchema": {
        "properties": {
          "page_size": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Page Size"
          },
          "sort_by": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SearchEngineSortByKind"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "SearchEnginePaginationManagerSchema",
        "type": "object"
      },
      "SearchEngineRequest": {
        "properties": {
          "config": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SearchEngineRequestConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "facet_filters": {
            "items": {
              "$ref": "#/components/schemas/SearchEngineRequestFacetFilters"
            },
            "title": "Facet Filters",
            "type": "array"
          },
          "filters": {
            "items": {
              "$ref": "#/components/schemas/SearchEngineRequestFilters"
            },
            "title": "Filters",
            "type": "array"
          },
          "pagination_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SearchEnginePaginationManager"
              },
              {
                "type": "null"
              }
            ]
          },
          "query": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Query"
          },
          "space_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Space Id"
          }
        },
        "title": "SearchEngineRequest",
        "type": "object"
      },
      "SearchEngineRequestConfig": {
        "properties": {
          "supported_section_kinds": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/SearchEngineResultSectionKind"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Supported Section Kinds"
          }
        },
        "title": "SearchEngineRequestConfig",
        "type": "object"
      },
      "SearchEngineRequestConfigResponse": {
        "properties": {
          "supported_section_kinds": {
            "items": {
              "$ref": "#/components/schemas/SearchEngineResultSectionKind"
            },
            "title": "Supported Section Kinds",
            "type": "array"
          }
        },
        "required": [
          "supported_section_kinds"
        ],
        "title": "SearchEngineRequestConfigResponse",
        "type": "object"
      },
      "SearchEngineRequestConfigResponseSchema": {
        "properties": {
          "supported_section_kinds": {
            "items": {
              "$ref": "#/components/schemas/SearchEngineResultSectionKind"
            },
            "title": "Supported Section Kinds",
            "type": "array"
          }
        },
        "required": [
          "supported_section_kinds"
        ],
        "title": "SearchEngineRequestConfigResponseSchema",
        "type": "object"
      },
      "SearchEngineRequestFacetFilters": {
        "discriminator": {
          "mapping": {
            "CONTAINS_LINK_KIND": "#/components/schemas/SearchEngineRequestFacetFiltersSearchEngineFacetFiltersContainsClassicLinkKind",
            "CONTAINS_MEDIA_KIND": "#/components/schemas/SearchEngineRequestFacetFiltersSearchEngineFacetFiltersContainsMediaKind",
            "CREATED_BY_SPACE_ACCOUNT": "#/components/schemas/SearchEngineRequestFacetFiltersSearchEngineFacetFiltersCreatedBySpaceAccount",
            "FROM_CAPTURE_SOURCE": "#/components/schemas/SearchEngineRequestFacetFiltersSearchEngineFacetFiltersFromCaptureSource",
            "IN_COLLECTION": "#/components/schemas/SearchEngineRequestFacetFiltersSearchEngineFacetFiltersInCollection",
            "MODIFIED_BY_SPACE_ACCOUNT": "#/components/schemas/SearchEngineRequestFacetFiltersSearchEngineFacetFiltersModifiedBySpaceAccount",
            "OWNED_BY_SPACE_ACCOUNT": "#/components/schemas/SearchEngineRequestFacetFiltersSearchEngineFacetFiltersOwnedBySpaceAccount"
          },
          "propertyName": "kind"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/SearchEngineRequestFacetFiltersSearchEngineFacetFiltersOwnedBySpaceAccount"
          },
          {
            "$ref": "#/components/schemas/SearchEngineRequestFacetFiltersSearchEngineFacetFiltersCreatedBySpaceAccount"
          },
          {
            "$ref": "#/components/schemas/SearchEngineRequestFacetFiltersSearchEngineFacetFiltersModifiedBySpaceAccount"
          },
          {
            "$ref": "#/components/schemas/SearchEngineRequestFacetFiltersSearchEngineFacetFiltersInCollection"
          },
          {
            "$ref": "#/components/schemas/SearchEngineRequestFacetFiltersSearchEngineFacetFiltersContainsClassicLinkKind"
          },
          {
            "$ref": "#/components/schemas/SearchEngineRequestFacetFiltersSearchEngineFacetFiltersContainsMediaKind"
          },
          {
            "$ref": "#/components/schemas/SearchEngineRequestFacetFiltersSearchEngineFacetFiltersFromCaptureSource"
          }
        ]
      },
      "SearchEngineRequestFacetFilterSchema": {
        "properties": {
          "config": {
            "additionalProperties": true,
            "title": "Config",
            "type": "object"
          },
          "kind": {
            "$ref": "#/components/schemas/SearchEngineFacetKind"
          },
          "value": {
            "additionalProperties": true,
            "title": "Value",
            "type": "object"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SearchEngineRequestFacetFilterSchema",
        "type": "object"
      },
      "SearchEngineRequestFacetFiltersSearchEngineFacetFiltersContainsClassicLinkKind": {
        "properties": {
          "kind": {
            "const": "CONTAINS_LINK_KIND",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SearchEngineFacetFiltersContainsClassicLinkKindValue"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SearchEngineRequestFacetFiltersSearchEngineFacetFiltersContainsClassicLinkKind",
        "type": "object"
      },
      "SearchEngineRequestFacetFiltersSearchEngineFacetFiltersContainsMediaKind": {
        "properties": {
          "kind": {
            "const": "CONTAINS_MEDIA_KIND",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SearchEngineFacetFiltersContainsMediaKindValue"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SearchEngineRequestFacetFiltersSearchEngineFacetFiltersContainsMediaKind",
        "type": "object"
      },
      "SearchEngineRequestFacetFiltersSearchEngineFacetFiltersCreatedBySpaceAccount": {
        "properties": {
          "kind": {
            "const": "CREATED_BY_SPACE_ACCOUNT",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SearchEngineFacetFiltersCreatedBySpaceAccountValue"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SearchEngineRequestFacetFiltersSearchEngineFacetFiltersCreatedBySpaceAccount",
        "type": "object"
      },
      "SearchEngineRequestFacetFiltersSearchEngineFacetFiltersFromCaptureSource": {
        "properties": {
          "kind": {
            "const": "FROM_CAPTURE_SOURCE",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SearchEngineFacetFiltersFromCaptureSourceValue"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SearchEngineRequestFacetFiltersSearchEngineFacetFiltersFromCaptureSource",
        "type": "object"
      },
      "SearchEngineRequestFacetFiltersSearchEngineFacetFiltersInCollection": {
        "properties": {
          "config": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SearchEngineFacetFiltersInCollectionConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "kind": {
            "const": "IN_COLLECTION",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SearchEngineFacetFiltersInCollectionValue"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SearchEngineRequestFacetFiltersSearchEngineFacetFiltersInCollection",
        "type": "object"
      },
      "SearchEngineRequestFacetFiltersSearchEngineFacetFiltersModifiedBySpaceAccount": {
        "properties": {
          "kind": {
            "const": "MODIFIED_BY_SPACE_ACCOUNT",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SearchEngineFacetFiltersModifiedBySpaceAccountValue"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SearchEngineRequestFacetFiltersSearchEngineFacetFiltersModifiedBySpaceAccount",
        "type": "object"
      },
      "SearchEngineRequestFacetFiltersSearchEngineFacetFiltersOwnedBySpaceAccount": {
        "properties": {
          "config": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SearchEngineFacetFiltersOwnedBySpaceAccountConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "kind": {
            "const": "OWNED_BY_SPACE_ACCOUNT",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SearchEngineFacetFiltersOwnedBySpaceAccountValue"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SearchEngineRequestFacetFiltersSearchEngineFacetFiltersOwnedBySpaceAccount",
        "type": "object"
      },
      "SearchEngineRequestFilters": {
        "discriminator": {
          "mapping": {
            "CREATED_AFTER": "#/components/schemas/SearchEngineRequestFiltersSearchEngineBaseFiltersCreatedAfter",
            "CREATED_BEFORE": "#/components/schemas/SearchEngineRequestFiltersSearchEngineBaseFiltersCreatedBefore",
            "MODIFIED_AFTER": "#/components/schemas/SearchEngineRequestFiltersSearchEngineBaseFiltersModifiedAfter",
            "MODIFIED_BEFORE": "#/components/schemas/SearchEngineRequestFiltersSearchEngineBaseFiltersModifiedBefore"
          },
          "propertyName": "kind"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/SearchEngineRequestFiltersSearchEngineBaseFiltersCreatedBefore"
          },
          {
            "$ref": "#/components/schemas/SearchEngineRequestFiltersSearchEngineBaseFiltersCreatedAfter"
          },
          {
            "$ref": "#/components/schemas/SearchEngineRequestFiltersSearchEngineBaseFiltersModifiedBefore"
          },
          {
            "$ref": "#/components/schemas/SearchEngineRequestFiltersSearchEngineBaseFiltersModifiedAfter"
          }
        ]
      },
      "SearchEngineRequestFilterSchema": {
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/SearchEngineFilterKind"
          },
          "value": {
            "additionalProperties": true,
            "title": "Value",
            "type": "object"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SearchEngineRequestFilterSchema",
        "type": "object"
      },
      "SearchEngineRequestFiltersSearchEngineBaseFiltersCreatedAfter": {
        "properties": {
          "kind": {
            "const": "CREATED_AFTER",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SearchEngineBaseFiltersCreatedAfterValue"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SearchEngineRequestFiltersSearchEngineBaseFiltersCreatedAfter",
        "type": "object"
      },
      "SearchEngineRequestFiltersSearchEngineBaseFiltersCreatedBefore": {
        "properties": {
          "kind": {
            "const": "CREATED_BEFORE",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SearchEngineBaseFiltersCreatedBeforeValue"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SearchEngineRequestFiltersSearchEngineBaseFiltersCreatedBefore",
        "type": "object"
      },
      "SearchEngineRequestFiltersSearchEngineBaseFiltersModifiedAfter": {
        "properties": {
          "kind": {
            "const": "MODIFIED_AFTER",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SearchEngineBaseFiltersModifiedAfterValue"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SearchEngineRequestFiltersSearchEngineBaseFiltersModifiedAfter",
        "type": "object"
      },
      "SearchEngineRequestFiltersSearchEngineBaseFiltersModifiedBefore": {
        "properties": {
          "kind": {
            "const": "MODIFIED_BEFORE",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SearchEngineBaseFiltersModifiedBeforeValue"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SearchEngineRequestFiltersSearchEngineBaseFiltersModifiedBefore",
        "type": "object"
      },
      "SearchEngineResponse": {
        "properties": {
          "config": {
            "$ref": "#/components/schemas/SearchEngineRequestConfigResponse"
          },
          "pagination_info": {
            "$ref": "#/components/schemas/SearchResponsePaginationInfo"
          },
          "results": {
            "items": {
              "$ref": "#/components/schemas/SearchEngineResult"
            },
            "title": "Results",
            "type": "array"
          }
        },
        "required": [
          "pagination_info",
          "results",
          "config"
        ],
        "title": "SearchEngineResponse",
        "type": "object"
      },
      "SearchEngineResponseSerializerSearchEngineSessionExpired404": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "error_kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SearchEngineResultErrorKind"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "SearchEngineResponseSerializerSearchEngineSessionExpired404",
        "type": "object"
      },
      "SearchEngineResponseSerializerServiceUnavailable": {
        "properties": {
          "error_message": {
            "title": "Error Message",
            "type": "string"
          }
        },
        "required": [
          "error_message"
        ],
        "title": "SearchEngineResponseSerializerServiceUnavailable",
        "type": "object"
      },
      "SearchEngineResult": {
        "discriminator": {
          "mapping": {
            "CAROUSEL": "#/components/schemas/SearchEngineResultSearchEngineResultSectionCarousel",
            "HEADING": "#/components/schemas/SearchEngineResultSearchEngineResultSectionHeading",
            "ITEM": "#/components/schemas/SearchEngineResultSearchEngineResultSectionItem"
          },
          "propertyName": "kind"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/SearchEngineResultSearchEngineResultSectionItem"
          },
          {
            "$ref": "#/components/schemas/SearchEngineResultSearchEngineResultSectionCarousel"
          },
          {
            "$ref": "#/components/schemas/SearchEngineResultSearchEngineResultSectionHeading"
          }
        ]
      },
      "SearchEngineResultErrorKind": {
        "enum": [
          "SEARCH_SESSION_NOT_FOUND",
          "SERVICE_UNAVAILABLE"
        ],
        "title": "SearchEngineResultErrorKind",
        "type": "string"
      },
      "SearchEngineResultItemScore": {
        "properties": {
          "value": {
            "title": "Value",
            "type": "number"
          }
        },
        "required": [
          "value"
        ],
        "title": "SearchEngineResultItemScore",
        "type": "object"
      },
      "SearchEngineResultItemScoreSchema": {
        "properties": {
          "value": {
            "title": "Value",
            "type": "number"
          }
        },
        "required": [
          "value"
        ],
        "title": "SearchEngineResultItemScoreSchema",
        "type": "object"
      },
      "SearchEngineResultNoteValueMetadata": {
        "properties": {
          "is_strict_match": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is Strict Match"
          },
          "is_title_match": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is Title Match"
          },
          "search_engine_result_id": {
            "format": "uuid",
            "title": "Search Engine Result Id",
            "type": "string"
          },
          "search_session_cursor": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Search Session Cursor"
          },
          "source_debug_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SearchEngineMetadataSource"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "search_engine_result_id",
          "search_session_cursor"
        ],
        "title": "SearchEngineResultNoteValueMetadata",
        "type": "object"
      },
      "SearchEngineResultNoteValueMetadataSchema": {
        "properties": {
          "is_strict_match": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is Strict Match"
          },
          "is_title_match": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is Title Match"
          },
          "search_engine_result_id": {
            "format": "uuid",
            "title": "Search Engine Result Id",
            "type": "string"
          },
          "search_session_cursor": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Search Session Cursor"
          },
          "source_debug_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SearchEngineMetadataSourceSchema"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "search_engine_result_id",
          "search_session_cursor"
        ],
        "title": "SearchEngineResultNoteValueMetadataSchema",
        "type": "object"
      },
      "SearchEngineResultSearchEngineResultSectionCarousel": {
        "properties": {
          "kind": {
            "const": "CAROUSEL",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SearchEngineResultSectionCarouselValue"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SearchEngineResultSearchEngineResultSectionCarousel",
        "type": "object"
      },
      "SearchEngineResultSearchEngineResultSectionHeading": {
        "properties": {
          "kind": {
            "const": "HEADING",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SearchEngineResultSectionHeadingValue"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SearchEngineResultSearchEngineResultSectionHeading",
        "type": "object"
      },
      "SearchEngineResultSearchEngineResultSectionItem": {
        "properties": {
          "kind": {
            "const": "ITEM",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SearchEngineResultSectionItemValue"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SearchEngineResultSearchEngineResultSectionItem",
        "type": "object"
      },
      "SearchEngineResultSectionCarouselItemCollection": {
        "properties": {
          "kind": {
            "const": "COLLECTION",
            "title": "Kind",
            "type": "string"
          },
          "score": {
            "$ref": "#/components/schemas/SearchEngineResultItemScore"
          },
          "value": {
            "$ref": "#/components/schemas/SearchEngineResultSectionCarouselItemCollectionValue"
          }
        },
        "required": [
          "kind",
          "value",
          "score"
        ],
        "title": "SearchEngineResultSectionCarouselItemCollection",
        "type": "object"
      },
      "SearchEngineResultSectionCarouselItemCollectionValue": {
        "properties": {
          "collection_id": {
            "format": "uuid",
            "title": "Collection Id",
            "type": "string"
          }
        },
        "required": [
          "collection_id"
        ],
        "title": "SearchEngineResultSectionCarouselItemCollectionValue",
        "type": "object"
      },
      "SearchEngineResultSectionCarouselItemNote": {
        "properties": {
          "kind": {
            "const": "NOTE",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SearchEngineResultSectionCarouselItemNoteValue"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SearchEngineResultSectionCarouselItemNote",
        "type": "object"
      },
      "SearchEngineResultSectionCarouselItemNoteValue": {
        "properties": {
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          }
        },
        "required": [
          "note_id"
        ],
        "title": "SearchEngineResultSectionCarouselItemNoteValue",
        "type": "object"
      },
      "SearchEngineResultSectionCarouselItems": {
        "discriminator": {
          "mapping": {
            "COLLECTION": "#/components/schemas/SearchEngineResultSectionCarouselItemCollection",
            "NOTE": "#/components/schemas/SearchEngineResultSectionCarouselItemNote"
          },
          "propertyName": "kind"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/SearchEngineResultSectionCarouselItemNote"
          },
          {
            "$ref": "#/components/schemas/SearchEngineResultSectionCarouselItemCollection"
          }
        ]
      },
      "SearchEngineResultSectionCarouselValue": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/SearchEngineResultSectionCarouselItems"
            },
            "title": "Items",
            "type": "array"
          }
        },
        "required": [
          "items"
        ],
        "title": "SearchEngineResultSectionCarouselValue",
        "type": "object"
      },
      "SearchEngineResultSectionHeadingValue": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          }
        },
        "required": [
          "label"
        ],
        "title": "SearchEngineResultSectionHeadingValue",
        "type": "object"
      },
      "SearchEngineResultSectionItemCollectionValue": {
        "properties": {
          "collection_id": {
            "format": "uuid",
            "title": "Collection Id",
            "type": "string"
          }
        },
        "required": [
          "collection_id"
        ],
        "title": "SearchEngineResultSectionItemCollectionValue",
        "type": "object"
      },
      "SearchEngineResultSectionItemNoteValue": {
        "properties": {
          "attachment_match_infos": {
            "items": {
              "$ref": "#/components/schemas/AttachmentMatchInfo"
            },
            "title": "Attachment Match Infos",
            "type": "array"
          },
          "featured_collection_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Featured Collection Ids",
            "type": "array"
          },
          "highlighted_snippets": {
            "items": {
              "$ref": "#/components/schemas/SearchEngineHighlightedSnippet"
            },
            "title": "Highlighted Snippets",
            "type": "array"
          },
          "metadata": {
            "$ref": "#/components/schemas/SearchEngineResultNoteValueMetadata"
          },
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          }
        },
        "required": [
          "note_id",
          "metadata"
        ],
        "title": "SearchEngineResultSectionItemNoteValue",
        "type": "object"
      },
      "SearchEngineResultSectionItemNoteValueSchema": {
        "properties": {
          "attachment_match_infos": {
            "items": {
              "$ref": "#/components/schemas/AttachmentMatchInfoSchema"
            },
            "title": "Attachment Match Infos",
            "type": "array"
          },
          "featured_collection_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Featured Collection Ids",
            "type": "array"
          },
          "highlighted_snippets": {
            "items": {
              "$ref": "#/components/schemas/SearchEngineHighlightedSnippetSchema"
            },
            "title": "Highlighted Snippets",
            "type": "array"
          },
          "metadata": {
            "$ref": "#/components/schemas/SearchEngineResultNoteValueMetadataSchema"
          },
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          }
        },
        "required": [
          "note_id",
          "metadata"
        ],
        "title": "SearchEngineResultSectionItemNoteValueSchema",
        "type": "object"
      },
      "SearchEngineResultSectionItemValue": {
        "discriminator": {
          "mapping": {
            "COLLECTION": "#/components/schemas/SearchEngineResultSectionItemValueSearchEngineResultSectionItemCollection",
            "NOTE": "#/components/schemas/SearchEngineResultSectionItemValueSearchEngineResultSectionItemNote"
          },
          "propertyName": "kind"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/SearchEngineResultSectionItemValueSearchEngineResultSectionItemNote"
          },
          {
            "$ref": "#/components/schemas/SearchEngineResultSectionItemValueSearchEngineResultSectionItemCollection"
          }
        ]
      },
      "SearchEngineResultSectionItemValueSearchEngineResultSectionItemCollection": {
        "properties": {
          "kind": {
            "const": "COLLECTION",
            "title": "Kind",
            "type": "string"
          },
          "score": {
            "$ref": "#/components/schemas/SearchEngineResultItemScore"
          },
          "value": {
            "$ref": "#/components/schemas/SearchEngineResultSectionItemCollectionValue"
          }
        },
        "required": [
          "kind",
          "score",
          "value"
        ],
        "title": "SearchEngineResultSectionItemValueSearchEngineResultSectionItemCollection",
        "type": "object"
      },
      "SearchEngineResultSectionItemValueSearchEngineResultSectionItemNote": {
        "properties": {
          "kind": {
            "const": "NOTE",
            "title": "Kind",
            "type": "string"
          },
          "score": {
            "$ref": "#/components/schemas/SearchEngineResultItemScore"
          },
          "value": {
            "$ref": "#/components/schemas/SearchEngineResultSectionItemNoteValue"
          }
        },
        "required": [
          "kind",
          "score",
          "value"
        ],
        "title": "SearchEngineResultSectionItemValueSearchEngineResultSectionItemNote",
        "type": "object"
      },
      "SearchEngineResultSectionKind": {
        "enum": [
          "ITEM",
          "CAROUSEL",
          "HEADING"
        ],
        "title": "SearchEngineResultSectionKind",
        "type": "string"
      },
      "SearchEngineSortByKind": {
        "enum": [
          "RELEVANCE",
          "LAST_CREATED",
          "LAST_MODIFIED"
        ],
        "title": "SearchEngineSortByKind",
        "type": "string"
      },
      "SearchForCollectionsToolCallArgs": {
        "properties": {
          "end_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "End Date"
          },
          "query_string": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Query String"
          },
          "start_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start Date"
          }
        },
        "title": "SearchForCollectionsToolCallArgs",
        "type": "object"
      },
      "SearchForCollectionsToolCallResult": {
        "properties": {
          "collections": {
            "items": {
              "$ref": "#/components/schemas/AgentCollectionSearchResultModel"
            },
            "title": "Collections",
            "type": "array"
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "SearchForCollectionsToolCallResult",
        "type": "object"
      },
      "SearchNoteContentDocumentSnapshotsRequestSchema": {
        "properties": {
          "limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 10000,
            "title": "Limit"
          },
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          },
          "offset": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Offset"
          },
          "order_by_asc": {
            "default": false,
            "title": "Order By Asc",
            "type": "boolean"
          }
        },
        "required": [
          "note_id"
        ],
        "title": "SearchNoteContentDocumentSnapshotsRequestSchema",
        "type": "object"
      },
      "SearchNoteContentDocumentSnapshotsResponseSchema": {
        "properties": {
          "results": {
            "items": {
              "$ref": "#/components/schemas/RepresentativeSnapshotSummaryResponseSchema"
            },
            "title": "Results",
            "type": "array"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "results",
          "total"
        ],
        "title": "SearchNoteContentDocumentSnapshotsResponseSchema",
        "type": "object"
      },
      "SearchNotesAiToolSortBy": {
        "enum": [
          "RELEVANCE",
          "DATE"
        ],
        "title": "SearchNotesAiToolSortBy",
        "type": "string"
      },
      "SearchNotesByTimeRangeSessionMention": {
        "description": "Value class for search notes by time range mentions in sessions.\nContains metadata specific to search notes by time range mentions.",
        "properties": {
          "end_time": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "End Time"
          },
          "kind": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SessionMentionKind"
              }
            ],
            "default": "SEARCH_NOTES_BY_TIME_RANGE"
          },
          "start_time": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start Time"
          }
        },
        "title": "SearchNotesByTimeRangeSessionMention",
        "type": "object"
      },
      "SearchNotesRequestSchema": {
        "properties": {
          "limit": {
            "default": 10,
            "description": "Maximum number of notes to return.",
            "maximum": 50,
            "minimum": 1,
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "default": 0,
            "description": "Number of matching notes to skip before returning results.",
            "minimum": 0,
            "title": "Offset",
            "type": "integer"
          },
          "query": {
            "description": "Free-text query used to search across the caller's notes.",
            "minLength": 1,
            "title": "Query",
            "type": "string"
          }
        },
        "required": [
          "query"
        ],
        "title": "SearchNotesRequestSchema",
        "type": "object"
      },
      "SearchNotesResponseSchema": {
        "properties": {
          "limit": {
            "description": "Limit applied to the search results.",
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "description": "Offset applied before returning results.",
            "title": "Offset",
            "type": "integer"
          },
          "results": {
            "description": "Matching notes ordered by relevance.",
            "items": {
              "$ref": "#/components/schemas/SearchNotesResultSchema"
            },
            "title": "Results",
            "type": "array"
          },
          "total": {
            "description": "Total number of matching notes before pagination.",
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "total",
          "limit",
          "offset"
        ],
        "title": "SearchNotesResponseSchema",
        "type": "object"
      },
      "SearchNotesResultSchema": {
        "properties": {
          "created_at": {
            "description": "Timestamp representing when the note was created.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "Unique identifier of the note.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "primary_label": {
            "description": "Primary label or title associated with the note.",
            "title": "Primary Label",
            "type": "string"
          },
          "secondary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Secondary label for the note if available.",
            "title": "Secondary Label"
          },
          "snippet": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional snippet derived from the note content.",
            "title": "Snippet"
          },
          "updated_at": {
            "description": "Timestamp representing when the note was last updated.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "primary_label",
          "created_at",
          "updated_at"
        ],
        "title": "SearchNotesResultSchema",
        "type": "object"
      },
      "SearchNotesToolCallArgs": {
        "properties": {
          "end_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "End Date"
          },
          "next_page_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Page Cursor"
          },
          "query_string": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Query String"
          },
          "start_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start Date"
          }
        },
        "title": "SearchNotesToolCallArgs",
        "type": "object"
      },
      "SearchNotesToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "has_next_page": {
            "default": false,
            "title": "Has Next Page",
            "type": "boolean"
          },
          "next_page_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Page Cursor"
          },
          "notes": {
            "items": {
              "$ref": "#/components/schemas/AgentNoteModel"
            },
            "title": "Notes",
            "type": "array"
          },
          "page_size": {
            "default": 10,
            "title": "Page Size",
            "type": "integer"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          },
          "total_notes": {
            "default": 0,
            "title": "Total Notes",
            "type": "integer"
          }
        },
        "required": [
          "success"
        ],
        "title": "SearchNotesToolCallResult",
        "type": "object"
      },
      "SearchResponsePaginationInfo": {
        "properties": {
          "has_next_page": {
            "title": "Has Next Page",
            "type": "boolean"
          },
          "page_size": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Page Size"
          },
          "search_session_cursor": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Search Session Cursor"
          },
          "session_id": {
            "format": "uuid",
            "title": "Session Id",
            "type": "string"
          },
          "sort_by": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SearchEngineSortByKind"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "search_session_cursor",
          "has_next_page",
          "session_id"
        ],
        "title": "SearchResponsePaginationInfo",
        "type": "object"
      },
      "SearchResponsePaginationInfoSchema": {
        "properties": {
          "has_next_page": {
            "title": "Has Next Page",
            "type": "boolean"
          },
          "page_size": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Page Size"
          },
          "search_session_cursor": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Search Session Cursor"
          },
          "session_id": {
            "format": "uuid",
            "title": "Session Id",
            "type": "string"
          },
          "sort_by": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SearchEngineSortByKind"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "search_session_cursor",
          "has_next_page",
          "session_id"
        ],
        "title": "SearchResponsePaginationInfoSchema",
        "type": "object"
      },
      "SearchResultFeedbackErrorResponse": {
        "properties": {
          "error": {
            "title": "Error",
            "type": "string"
          }
        },
        "required": [
          "error"
        ],
        "title": "SearchResultFeedbackErrorResponse",
        "type": "object"
      },
      "SearchResultFeedbackRequest": {
        "properties": {
          "feedback_kind": {
            "$ref": "#/components/schemas/SearchResultFeedbackRequestFeedbackKindEnum"
          },
          "search_engine_result_id": {
            "format": "uuid",
            "title": "Search Engine Result Id",
            "type": "string"
          },
          "search_session_page_cursor": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Search Session Page Cursor"
          },
          "session_id": {
            "format": "uuid",
            "title": "Session Id",
            "type": "string"
          }
        },
        "required": [
          "session_id",
          "search_engine_result_id",
          "feedback_kind"
        ],
        "title": "SearchResultFeedbackRequest",
        "type": "object"
      },
      "SearchResultFeedbackRequestFeedbackKindEnum": {
        "enum": [
          "UPVOTE",
          "DOWNVOTE",
          "CLICK"
        ],
        "title": "SearchResultFeedbackRequestFeedbackKindEnum",
        "type": "string"
      },
      "SearchResultFeedbackResponse": {
        "properties": {
          "feedback_event_id": {
            "format": "uuid",
            "title": "Feedback Event Id",
            "type": "string"
          }
        },
        "required": [
          "feedback_event_id"
        ],
        "title": "SearchResultFeedbackResponse",
        "type": "object"
      },
      "SearchRouteNotFoundErrorResponseSchema": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "error_kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SearchEngineResultErrorKind"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "SearchRouteNotFoundErrorResponseSchema",
        "type": "object"
      },
      "SearchRouteValidationErrorResponseSchema": {
        "properties": {
          "error": {
            "title": "Error",
            "type": "string"
          }
        },
        "required": [
          "error"
        ],
        "title": "SearchRouteValidationErrorResponseSchema",
        "type": "object"
      },
      "SearchSessionEventsRequestSchema": {
        "properties": {
          "limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 50,
            "title": "Limit"
          },
          "offset": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Offset"
          },
          "session_id": {
            "format": "uuid",
            "title": "Session Id",
            "type": "string"
          }
        },
        "required": [
          "session_id"
        ],
        "title": "SearchSessionEventsRequestSchema",
        "type": "object"
      },
      "SearchSessionEventsResponseSchema": {
        "properties": {
          "results": {
            "items": {
              "$ref": "#/components/schemas/SessionEventResponseSchema"
            },
            "title": "Results",
            "type": "array"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "results",
          "total"
        ],
        "title": "SearchSessionEventsResponseSchema",
        "type": "object"
      },
      "SearchWithinDocumentToolCallArgs": {
        "properties": {
          "attachment_id": {
            "title": "Attachment Id",
            "type": "string"
          },
          "query_string": {
            "title": "Query String",
            "type": "string"
          }
        },
        "required": [
          "attachment_id",
          "query_string"
        ],
        "title": "SearchWithinDocumentToolCallArgs",
        "type": "object"
      },
      "SearchWithinDocumentToolCallResult": {
        "properties": {
          "answer": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Answer"
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "page_references": {
            "items": {
              "type": "integer"
            },
            "title": "Page References",
            "type": "array"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "SearchWithinDocumentToolCallResult",
        "type": "object"
      },
      "ServiceInfoResponseSchema": {
        "properties": {
          "chrome_extension": {
            "$ref": "#/components/schemas/ChromeExtensionServiceInfoSchema"
          },
          "supported_settings": {
            "$ref": "#/components/schemas/SupportedSettingsSchema"
          }
        },
        "required": [
          "chrome_extension",
          "supported_settings"
        ],
        "title": "ServiceInfoResponseSchema",
        "type": "object"
      },
      "SessionArtifactKind": {
        "enum": [
          "EMAIL",
          "TEXT_MESSAGE",
          "UPLOADED_FILE",
          "API_REQUEST",
          "NOTE_CONTENT",
          "AUDIO",
          "WEBSITE_CONTENT",
          "AUTO_ORGANIZE",
          "NOTE_SUGGESTION",
          "AUTO_ORGANIZE_UPDATE_COLLECTIONS",
          "AUTO_ORGANIZE_CREATE_COLLECTIONS",
          "CALENDAR_EVENT"
        ],
        "title": "SessionArtifactKind",
        "type": "string"
      },
      "SessionArtifactPartKind": {
        "enum": [
          "NOTE_CREATED_V1",
          "NOTE_UPDATED_V1"
        ],
        "title": "SessionArtifactPartKind",
        "type": "string"
      },
      "SessionConfigResponseSchema": {
        "properties": {
          "enable_agent_digests": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Enable Agent Digests"
          },
          "schema_version": {
            "title": "Schema Version",
            "type": "string"
          },
          "variant": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Variant"
          }
        },
        "required": [
          "schema_version"
        ],
        "title": "SessionConfigResponseSchema",
        "type": "object"
      },
      "SessionConfigSchema": {
        "properties": {
          "enable_agent_digests": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Enable Agent Digests"
          },
          "schema_version": {
            "title": "Schema Version",
            "type": "string"
          },
          "variant": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Variant"
          }
        },
        "required": [
          "schema_version"
        ],
        "title": "SessionConfigSchema",
        "type": "object"
      },
      "SessionConfigSchemaVersion": {
        "enum": [
          "V1",
          "V2"
        ],
        "title": "SessionConfigSchemaVersion",
        "type": "string"
      },
      "SessionConfigValueV1Schema": {
        "properties": {
          "enable_agent_digests": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Enable Agent Digests"
          },
          "schema_version": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionConfigSchemaVersion"
              },
              {
                "type": "null"
              }
            ]
          },
          "variant": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionConfigVariant"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "SessionConfigValueV1Schema",
        "type": "object"
      },
      "SessionConfigVariant": {
        "enum": [
          "STANDARD",
          "SONNET",
          "GPT_4O",
          "GEMINI_FLASH",
          "GPT_41",
          "GPT_41_MINI",
          "GPT_5",
          "GPT_5_MINI",
          "GPT_5_NANO",
          "GEMINI_2_5_FLASH_LITE",
          "GEMINI_2_5_FLASH_PREVIEW_9_25",
          "GPT_5_1",
          "GPT_5_2",
          "GPT_5_3",
          "GPT_5_3_MINI",
          "GPT_5_4",
          "GPT_5_6_TERRA",
          "CLAUDE_SONNET_4_5",
          "CLAUDE_SONNET_4_6",
          "CLAUDE_SONNET_5",
          "GEMINI_3_FLASH",
          "GEMINI_3_1_PRO",
          "GEMINI_3_5_FLASH"
        ],
        "title": "SessionConfigVariant",
        "type": "string"
      },
      "SessionEventAgentActionV1EventDataSchema": {
        "properties": {
          "kind": {
            "const": "AGENT_ACTION_V1",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionEventAgentActionV1Value"
              },
              {
                "$ref": "#/components/schemas/SessionEventAgentCommonActionV1Value"
              }
            ],
            "title": "Value"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SessionEventAgentActionV1EventDataSchema",
        "type": "object"
      },
      "SessionEventAgentActionV1Value": {
        "description": "V1 version of agent tool invocation events.\nRepresents an action taken by the agent.",
        "properties": {
          "completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Completed At"
          },
          "invoked_at": {
            "format": "date-time",
            "title": "Invoked At",
            "type": "string"
          },
          "parts": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/MessageSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningSessionPart"
                },
                {
                  "$ref": "#/components/schemas/MarkdownV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/InterruptV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ArtifactSessionPartV1"
                },
                {
                  "$ref": "#/components/schemas/FactCardV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/DraftNoteV1SessionPart"
                }
              ]
            },
            "title": "Parts",
            "type": "array"
          },
          "tool_call_args": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CreateNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/UpdateNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/CreateCollectionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/AddNoteToCollectionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/RemoveNoteFromCollectionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/MoveNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/SearchForCollectionsToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/SearchNotesToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/FindRelatedNotesToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/FindRelatedNotesToolCallArgsLegacy"
              },
              {
                "$ref": "#/components/schemas/MessageUserToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/ReadNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/RenameCollectionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/UpdateCollectionDescriptionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/ReadCollectionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/DeleteCollectionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/TrashNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/RestoreNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/ViewImageToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/CreateFactCardToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/CreateDraftNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/GetHelpCenterInfoToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/GetUserAccountStatisticsToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/SearchWithinDocumentToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/RetrieveDocumentPagesToolCallArgs"
              }
            ],
            "title": "Tool Call Args"
          },
          "tool_call_id": {
            "title": "Tool Call Id",
            "type": "string"
          },
          "tool_call_kind": {
            "$ref": "#/components/schemas/AgentToolCallKind"
          },
          "tool_call_origin": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ToolCallOrigin"
              },
              {
                "type": "null"
              }
            ]
          },
          "tool_call_result": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/InterruptedToolCallResult"
              },
              {
                "$ref": "#/components/schemas/CreateNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/UpdateNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/CreateCollectionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/AddNoteToCollectionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/RemoveNoteFromCollectionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/MoveNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/SearchForCollectionsToolCallResult"
              },
              {
                "$ref": "#/components/schemas/SearchNotesToolCallResult"
              },
              {
                "$ref": "#/components/schemas/FindRelatedNotesToolCallResult"
              },
              {
                "$ref": "#/components/schemas/MessageUserToolCallResult"
              },
              {
                "$ref": "#/components/schemas/ReadNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/UpdateCollectionDescriptionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/ReadCollectionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/DeleteCollectionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/TrashNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/RestoreNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/RenameCollectionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/ViewImageToolCallResult"
              },
              {
                "$ref": "#/components/schemas/CreateFactCardToolCallResult"
              },
              {
                "$ref": "#/components/schemas/CreateDraftNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/GetHelpCenterInfoToolCallResult"
              },
              {
                "$ref": "#/components/schemas/GetUserAccountStatisticsToolCallResult"
              },
              {
                "$ref": "#/components/schemas/SearchWithinDocumentToolCallResult"
              },
              {
                "$ref": "#/components/schemas/RetrieveDocumentPagesToolCallResult"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tool Call Result"
          }
        },
        "required": [
          "parts",
          "tool_call_id",
          "tool_call_kind",
          "tool_call_args",
          "tool_call_result",
          "invoked_at",
          "completed_at"
        ],
        "title": "SessionEventAgentActionV1Value",
        "type": "object"
      },
      "SessionEventAgentCommonActionV1Value": {
        "description": "Agent action event for BaseAiAgent-backed common tools.\n\nUnlike SessionEventAgentActionV1Value, this stores the common tool name and\nraw JSON args/results directly so V2 chat session history does not need to\nmap back through legacy AgentToolCallKind aliases.",
        "properties": {
          "action_schema": {
            "const": "common_tool_call_v1",
            "default": "common_tool_call_v1",
            "title": "Action Schema",
            "type": "string"
          },
          "completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Completed At"
          },
          "invoked_at": {
            "format": "date-time",
            "title": "Invoked At",
            "type": "string"
          },
          "parts": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/MessageSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningSessionPart"
                },
                {
                  "$ref": "#/components/schemas/MarkdownV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/InterruptV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ArtifactSessionPartV1"
                },
                {
                  "$ref": "#/components/schemas/FactCardV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/DraftNoteV1SessionPart"
                }
              ]
            },
            "title": "Parts",
            "type": "array"
          },
          "tool_call_args": {
            "additionalProperties": true,
            "title": "Tool Call Args",
            "type": "object"
          },
          "tool_call_error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tool Call Error"
          },
          "tool_call_id": {
            "title": "Tool Call Id",
            "type": "string"
          },
          "tool_call_origin": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ToolCallOrigin"
              },
              {
                "type": "null"
              }
            ]
          },
          "tool_call_result": {
            "anyOf": [
              {},
              {
                "type": "null"
              }
            ],
            "title": "Tool Call Result"
          },
          "tool_call_status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AgentCommonToolCallStatus"
              }
            ],
            "default": "in_progress"
          },
          "tool_name": {
            "title": "Tool Name",
            "type": "string"
          }
        },
        "required": [
          "parts",
          "tool_call_id",
          "tool_name",
          "invoked_at",
          "completed_at"
        ],
        "title": "SessionEventAgentCommonActionV1Value",
        "type": "object"
      },
      "SessionEventAgentDigestV1EventDataSchema": {
        "properties": {
          "kind": {
            "const": "AGENT_DIGEST_V1",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SessionEventAgentDigestV1Value"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SessionEventAgentDigestV1EventDataSchema",
        "type": "object"
      },
      "SessionEventAgentDigestV1Value": {
        "description": "V1 version of agent digest events.",
        "properties": {
          "parts": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/MessageSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningSessionPart"
                },
                {
                  "$ref": "#/components/schemas/MarkdownV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/InterruptV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ArtifactSessionPartV1"
                },
                {
                  "$ref": "#/components/schemas/FactCardV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/DraftNoteV1SessionPart"
                }
              ]
            },
            "title": "Parts",
            "type": "array"
          }
        },
        "required": [
          "parts"
        ],
        "title": "SessionEventAgentDigestV1Value",
        "type": "object"
      },
      "SessionEventAgentOutputEventDataSchema": {
        "properties": {
          "kind": {
            "const": "AGENT_OUTPUT",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SessionEventAgentOutputValue"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SessionEventAgentOutputEventDataSchema",
        "type": "object"
      },
      "SessionEventAgentOutputValue": {
        "description": "Represents the thoughts associated with an agent at that point in time.\n\n(Often thoughts are associated with a specific tool call, but sometimes the agent\njust outputs tokens that we want to track for historical context purposes.)",
        "properties": {
          "parts": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/MessageSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningSessionPart"
                },
                {
                  "$ref": "#/components/schemas/MarkdownV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/InterruptV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ArtifactSessionPartV1"
                },
                {
                  "$ref": "#/components/schemas/FactCardV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/DraftNoteV1SessionPart"
                }
              ]
            },
            "title": "Parts",
            "type": "array"
          }
        },
        "required": [
          "parts"
        ],
        "title": "SessionEventAgentOutputValue",
        "type": "object"
      },
      "SessionEventAgentPlanningV1EventDataSchema": {
        "properties": {
          "kind": {
            "const": "AGENT_PLANNING_V1",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SessionEventAgentPlanningV1Value"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SessionEventAgentPlanningV1EventDataSchema",
        "type": "object"
      },
      "SessionEventAgentPlanningV1Value": {
        "description": "V1 version of agent output events.\nRepresents the thoughts/outputs associated with an agent at that point in time.",
        "properties": {
          "internal_parts": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/MessageSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningSessionPart"
                },
                {
                  "$ref": "#/components/schemas/MarkdownV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/InterruptV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ArtifactSessionPartV1"
                },
                {
                  "$ref": "#/components/schemas/FactCardV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/DraftNoteV1SessionPart"
                }
              ]
            },
            "title": "Internal Parts",
            "type": "array"
          },
          "parts": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/MessageSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningSessionPart"
                },
                {
                  "$ref": "#/components/schemas/MarkdownV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/InterruptV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ArtifactSessionPartV1"
                },
                {
                  "$ref": "#/components/schemas/FactCardV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/DraftNoteV1SessionPart"
                }
              ]
            },
            "title": "Parts",
            "type": "array"
          }
        },
        "required": [
          "parts"
        ],
        "title": "SessionEventAgentPlanningV1Value",
        "type": "object"
      },
      "SessionEventAgentToolInvocationEventDataSchema": {
        "properties": {
          "kind": {
            "const": "AGENT_TOOL_INVOCATION",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SessionEventAgentToolInvocationValue"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SessionEventAgentToolInvocationEventDataSchema",
        "type": "object"
      },
      "SessionEventAgentToolInvocationValue": {
        "description": "Roughly maps to Pydantic's ToolCallPart and ToolReturnPart.\n\nhttps://ai.dev/api/messages\n\nRepresents an action taken by the agent.\nNote that multiple actions can be performed at the same time.\n\nThis is created immediately after invocation, and then updated upon completion.\nNote that it may complete with an error - you'll need to look at the \"tool_call_result\"\nfield to determine if it was successful.",
        "properties": {
          "completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Completed At"
          },
          "invoked_at": {
            "format": "date-time",
            "title": "Invoked At",
            "type": "string"
          },
          "parts": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/MessageSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningSessionPart"
                },
                {
                  "$ref": "#/components/schemas/MarkdownV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/InterruptV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ArtifactSessionPartV1"
                },
                {
                  "$ref": "#/components/schemas/FactCardV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/DraftNoteV1SessionPart"
                }
              ]
            },
            "title": "Parts",
            "type": "array"
          },
          "tool_call_args": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CreateNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/UpdateNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/CreateCollectionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/AddNoteToCollectionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/RemoveNoteFromCollectionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/MoveNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/SearchForCollectionsToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/SearchNotesToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/FindRelatedNotesToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/FindRelatedNotesToolCallArgsLegacy"
              },
              {
                "$ref": "#/components/schemas/MessageUserToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/ReadNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/RenameCollectionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/UpdateCollectionDescriptionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/ReadCollectionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/DeleteCollectionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/TrashNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/RestoreNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/ViewImageToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/CreateFactCardToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/CreateDraftNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/GetHelpCenterInfoToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/GetUserAccountStatisticsToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/SearchWithinDocumentToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/RetrieveDocumentPagesToolCallArgs"
              }
            ],
            "title": "Tool Call Args"
          },
          "tool_call_id": {
            "title": "Tool Call Id",
            "type": "string"
          },
          "tool_call_kind": {
            "$ref": "#/components/schemas/AgentToolCallKind"
          },
          "tool_call_result": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/InterruptedToolCallResult"
              },
              {
                "$ref": "#/components/schemas/CreateNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/UpdateNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/CreateCollectionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/AddNoteToCollectionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/RemoveNoteFromCollectionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/MoveNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/SearchForCollectionsToolCallResult"
              },
              {
                "$ref": "#/components/schemas/SearchNotesToolCallResult"
              },
              {
                "$ref": "#/components/schemas/FindRelatedNotesToolCallResult"
              },
              {
                "$ref": "#/components/schemas/MessageUserToolCallResult"
              },
              {
                "$ref": "#/components/schemas/ReadNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/UpdateCollectionDescriptionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/ReadCollectionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/DeleteCollectionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/TrashNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/RestoreNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/RenameCollectionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/ViewImageToolCallResult"
              },
              {
                "$ref": "#/components/schemas/CreateFactCardToolCallResult"
              },
              {
                "$ref": "#/components/schemas/CreateDraftNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/GetHelpCenterInfoToolCallResult"
              },
              {
                "$ref": "#/components/schemas/GetUserAccountStatisticsToolCallResult"
              },
              {
                "$ref": "#/components/schemas/SearchWithinDocumentToolCallResult"
              },
              {
                "$ref": "#/components/schemas/RetrieveDocumentPagesToolCallResult"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tool Call Result"
          }
        },
        "required": [
          "parts",
          "tool_call_id",
          "tool_call_kind",
          "tool_call_args",
          "tool_call_result",
          "invoked_at",
          "completed_at"
        ],
        "title": "SessionEventAgentToolInvocationValue",
        "type": "object"
      },
      "SessionEventExternalInputEventDataSchema": {
        "properties": {
          "kind": {
            "const": "EXTERNAL_INPUT",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SessionEventExternalInputValue"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SessionEventExternalInputEventDataSchema",
        "type": "object"
      },
      "SessionEventExternalInputValue": {
        "description": "Represents an external input attached to the session.",
        "properties": {
          "parts": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/MessageSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningSessionPart"
                },
                {
                  "$ref": "#/components/schemas/MarkdownV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/InterruptV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ArtifactSessionPartV1"
                },
                {
                  "$ref": "#/components/schemas/FactCardV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/DraftNoteV1SessionPart"
                }
              ]
            },
            "title": "Parts",
            "type": "array"
          },
          "payload": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WebClipExternalInputPayload"
              },
              {
                "$ref": "#/components/schemas/MemItApiRequestExternalInputPayload"
              }
            ],
            "title": "Payload"
          }
        },
        "required": [
          "parts",
          "payload"
        ],
        "title": "SessionEventExternalInputValue",
        "type": "object"
      },
      "SessionEventKind": {
        "enum": [
          "INPUT_ATTACHED",
          "ARTIFACT_CREATED",
          "OPERATION_PERFORMED",
          "MESSAGE_SENT",
          "INPUT_REQUESTED",
          "INPUT_PROVIDED",
          "EXPERIMENTAL",
          "EXTERNAL_INPUT",
          "USER_MESSAGE",
          "AGENT_TOOL_INVOCATION",
          "AGENT_OUTPUT",
          "USER_ACTION_V1",
          "AGENT_ACTION_V1",
          "AGENT_PLANNING_V1",
          "AGENT_DIGEST_V1",
          "SYSTEM_NOTIFICATION_V1",
          "UNKNOWN"
        ],
        "title": "SessionEventKind",
        "type": "string"
      },
      "SessionEventResponseSchema": {
        "properties": {
          "associated_session_agent_run_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Associated Session Agent Run Id"
          },
          "data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionEventUserActionV1EventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventAgentPlanningV1EventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventAgentDigestV1EventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventAgentActionV1EventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventSystemNotificationV1EventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventAgentOutputEventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventExternalInputEventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventAgentToolInvocationEventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventUserMessageEventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventUntypedEventDataSchema"
              }
            ],
            "title": "Data"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "internal_created_at": {
            "format": "date-time",
            "title": "Internal Created At",
            "type": "string"
          },
          "internal_updated_at": {
            "format": "date-time",
            "title": "Internal Updated At",
            "type": "string"
          },
          "locally_created_at": {
            "format": "date-time",
            "title": "Locally Created At",
            "type": "string"
          },
          "reply_to_session_event_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reply To Session Event Id"
          },
          "root_session_event_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Root Session Event Id"
          },
          "session_id": {
            "format": "uuid",
            "title": "Session Id",
            "type": "string"
          },
          "session_thread_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Session Thread Id"
          }
        },
        "required": [
          "id",
          "session_id",
          "locally_created_at",
          "internal_created_at",
          "internal_updated_at",
          "data"
        ],
        "title": "SessionEventResponseSchema",
        "type": "object"
      },
      "SessionEventsHydrationSessionNotFoundSchema": {
        "properties": {},
        "title": "SessionEventsHydrationSessionNotFoundSchema",
        "type": "object"
      },
      "SessionEventsHydrationSyncUpdatesQuerySchema": {
        "properties": {
          "hydration_session_cursor": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hydration Session Cursor"
          },
          "page_size": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 50,
            "title": "Page Size"
          },
          "session_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Session Ids",
            "type": "array"
          },
          "space_id": {
            "format": "uuid",
            "title": "Space Id",
            "type": "string"
          }
        },
        "required": [
          "space_id",
          "session_ids"
        ],
        "title": "SessionEventsHydrationSyncUpdatesQuerySchema",
        "type": "object"
      },
      "SessionEventsHydrationSyncUpdatesResponseSchema": {
        "properties": {
          "has_next_page": {
            "title": "Has Next Page",
            "type": "boolean"
          },
          "hydration_session_cursor": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hydration Session Cursor"
          },
          "hydration_session_final_sync_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hydration Session Final Sync Id"
          },
          "results": {
            "items": {
              "discriminator": {
                "mapping": {
                  "ACL_UPSERTED": "#/components/schemas/AclUpsertedSyncUpdateResponseSchema",
                  "UPSERTED": "#/components/schemas/UpsertedSyncUpdateResponseSchema"
                },
                "propertyName": "kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/UpsertedSyncUpdateResponseSchema"
                },
                {
                  "$ref": "#/components/schemas/AclUpsertedSyncUpdateResponseSchema"
                }
              ]
            },
            "title": "Results",
            "type": "array"
          }
        },
        "required": [
          "results",
          "has_next_page",
          "hydration_session_cursor",
          "hydration_session_final_sync_id"
        ],
        "title": "SessionEventsHydrationSyncUpdatesResponseSchema",
        "type": "object"
      },
      "SessionEventSummaryResponseSchema": {
        "properties": {
          "associated_session_agent_run_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Associated Session Agent Run Id"
          },
          "data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionEventUserActionV1EventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventAgentPlanningV1EventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventAgentDigestV1EventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventAgentActionV1EventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventSystemNotificationV1EventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventAgentOutputEventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventExternalInputEventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventAgentToolInvocationEventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventUserMessageEventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventUntypedEventDataSchema"
              }
            ],
            "title": "Data"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "internal_created_at": {
            "format": "date-time",
            "title": "Internal Created At",
            "type": "string"
          },
          "internal_updated_at": {
            "format": "date-time",
            "title": "Internal Updated At",
            "type": "string"
          },
          "locally_created_at": {
            "format": "date-time",
            "title": "Locally Created At",
            "type": "string"
          },
          "reply_to_session_event_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reply To Session Event Id"
          },
          "root_session_event_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Root Session Event Id"
          },
          "session_id": {
            "format": "uuid",
            "title": "Session Id",
            "type": "string"
          },
          "session_thread_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Session Thread Id"
          }
        },
        "required": [
          "id",
          "session_id",
          "locally_created_at",
          "internal_created_at",
          "internal_updated_at",
          "data"
        ],
        "title": "SessionEventSummaryResponseSchema",
        "type": "object"
      },
      "SessionEventSyncModelDataResponseSchema": {
        "properties": {
          "associated_session_agent_run_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Associated Session Agent Run Id"
          },
          "event_value_json": {
            "additionalProperties": true,
            "title": "Event Value Json",
            "type": "object"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/SessionEventKind"
          },
          "locally_created_at": {
            "format": "date-time",
            "title": "Locally Created At",
            "type": "string"
          },
          "reply_to_session_event_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reply To Session Event Id"
          },
          "root_session_event_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Root Session Event Id"
          },
          "session_id": {
            "format": "uuid",
            "title": "Session Id",
            "type": "string"
          },
          "session_thread_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Session Thread Id"
          },
          "value_json": {
            "additionalProperties": true,
            "title": "Value Json",
            "type": "object"
          }
        },
        "required": [
          "id",
          "session_id",
          "kind",
          "locally_created_at",
          "value_json",
          "event_value_json"
        ],
        "title": "SessionEventSyncModelDataResponseSchema",
        "type": "object"
      },
      "SessionEventSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/SessionEventSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "SESSION_EVENT",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "SessionEventSyncModelResponseSchema",
        "type": "object"
      },
      "SessionEventSystemNotificationV1EventDataSchema": {
        "properties": {
          "kind": {
            "const": "SYSTEM_NOTIFICATION_V1",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SessionEventSystemNotificationV1Value"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SessionEventSystemNotificationV1EventDataSchema",
        "type": "object"
      },
      "SessionEventSystemNotificationV1Value": {
        "description": "V1 version of system notification events.\nRepresents a notification or message from the system.",
        "properties": {
          "communication_kind": {
            "$ref": "#/components/schemas/SessionSystemNotificationKind"
          },
          "notification_payload": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WebClipCreatedNotificationPayload"
              },
              {
                "$ref": "#/components/schemas/ApiRequestRecordCreatedNotificationPayload"
              },
              {
                "$ref": "#/components/schemas/QuotaLimitReachedNotificationPayload"
              }
            ],
            "title": "Notification Payload"
          },
          "parts": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/MessageSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningSessionPart"
                },
                {
                  "$ref": "#/components/schemas/MarkdownV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/InterruptV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ArtifactSessionPartV1"
                },
                {
                  "$ref": "#/components/schemas/FactCardV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/DraftNoteV1SessionPart"
                }
              ]
            },
            "title": "Parts",
            "type": "array"
          }
        },
        "required": [
          "parts",
          "communication_kind",
          "notification_payload"
        ],
        "title": "SessionEventSystemNotificationV1Value",
        "type": "object"
      },
      "SessionEventUntypedEventDataSchema": {
        "description": "For now, every other session event kind is bucketed as \"untyped\".\n(This mainly applies to our \"legacy\" event kinds.)",
        "properties": {
          "kind": {
            "enum": [
              "UNKNOWN",
              "INPUT_ATTACHED",
              "ARTIFACT_CREATED",
              "OPERATION_PERFORMED",
              "MESSAGE_SENT",
              "INPUT_REQUESTED",
              "INPUT_PROVIDED",
              "EXPERIMENTAL"
            ],
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "additionalProperties": true,
            "title": "Value",
            "type": "object"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SessionEventUntypedEventDataSchema",
        "type": "object"
      },
      "SessionEventUserActionV1EventDataSchema": {
        "properties": {
          "kind": {
            "const": "USER_ACTION_V1",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SessionEventUserActionV1Value"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SessionEventUserActionV1EventDataSchema",
        "type": "object"
      },
      "SessionEventUserActionV1Value": {
        "description": "V1 version of user message events.\nRepresents messages sent by the user to the session.",
        "properties": {
          "context": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/UserActionV1SessionEventContext"
              },
              {
                "type": "null"
              }
            ]
          },
          "parts": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/MessageSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningSessionPart"
                },
                {
                  "$ref": "#/components/schemas/MarkdownV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/InterruptV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ArtifactSessionPartV1"
                },
                {
                  "$ref": "#/components/schemas/FactCardV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/DraftNoteV1SessionPart"
                }
              ]
            },
            "title": "Parts",
            "type": "array"
          }
        },
        "required": [
          "parts"
        ],
        "title": "SessionEventUserActionV1Value",
        "type": "object"
      },
      "SessionEventUserMessageEventDataSchema": {
        "properties": {
          "kind": {
            "const": "USER_MESSAGE",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SessionEventUserMessageValue"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SessionEventUserMessageEventDataSchema",
        "type": "object"
      },
      "SessionEventUserMessageValue": {
        "description": "Represents messages sent by the user to the session.",
        "properties": {
          "parts": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/MessageSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningSessionPart"
                },
                {
                  "$ref": "#/components/schemas/MarkdownV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/InterruptV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ArtifactSessionPartV1"
                },
                {
                  "$ref": "#/components/schemas/FactCardV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/DraftNoteV1SessionPart"
                }
              ]
            },
            "title": "Parts",
            "type": "array"
          }
        },
        "required": [
          "parts"
        ],
        "title": "SessionEventUserMessageValue",
        "type": "object"
      },
      "SessionGetOrCreateConfigSchema": {
        "properties": {
          "config": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionConfigSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionKind"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "title": "SessionGetOrCreateConfigSchema",
        "type": "object"
      },
      "SessionKind": {
        "enum": [
          "GENERIC",
          "IMPORT",
          "TEXT_MESSAGE",
          "EMAIL",
          "API_REQUEST",
          "AUDIO",
          "WEB_CLIP",
          "IOS_SHARE_EXTENSION_WEB_CLIP",
          "AUTO_ORGANIZE",
          "MEM_IT",
          "NATIVE_CHAT",
          "CLEANUP_NOTE",
          "UNKNOWN"
        ],
        "title": "SessionKind",
        "type": "string"
      },
      "SessionMentionKind": {
        "description": "Enum for different types of session mentions.",
        "enum": [
          "NOTE",
          "COLLECTION",
          "SEARCH_NOTES_BY_TIME_RANGE"
        ],
        "title": "SessionMentionKind",
        "type": "string"
      },
      "SessionResponseSchema": {
        "properties": {
          "config": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionConfigResponseSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "internal_created_at": {
            "format": "date-time",
            "title": "Internal Created At",
            "type": "string"
          },
          "internal_updated_at": {
            "format": "date-time",
            "title": "Internal Updated At",
            "type": "string"
          },
          "kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionKind"
              },
              {
                "type": "null"
              }
            ]
          },
          "owned_by_space_account_id": {
            "format": "uuid",
            "title": "Owned By Space Account Id",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/SessionStatus"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "required": [
          "id",
          "owned_by_space_account_id",
          "status",
          "internal_created_at",
          "internal_updated_at"
        ],
        "title": "SessionResponseSchema",
        "type": "object"
      },
      "SessionStatus": {
        "enum": [
          "UNKNOWN",
          "INITIAL",
          "WAITING",
          "PROCESSING",
          "FINISHED",
          "ERROR",
          "DISMISSED",
          "ABANDONED",
          "CONTEXT_LIMIT_EXCEEDED"
        ],
        "title": "SessionStatus",
        "type": "string"
      },
      "SessionSyncModelDataResponseSchema": {
        "properties": {
          "config": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionConfigValueV1Schema"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionKind"
              },
              {
                "type": "null"
              }
            ]
          },
          "last_event_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Event At"
          },
          "last_user_action_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last User Action At"
          },
          "owned_by_space_account_id": {
            "format": "uuid",
            "title": "Owned By Space Account Id",
            "type": "string"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "required": [
          "id",
          "owned_by_space_account_id",
          "created_at"
        ],
        "title": "SessionSyncModelDataResponseSchema",
        "type": "object"
      },
      "SessionSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/SessionSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "SESSION",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "SessionSyncModelResponseSchema",
        "type": "object"
      },
      "SessionSystemNotificationKind": {
        "enum": [
          "WEB_CLIP_CREATED",
          "API_REQUEST_RECORD_CREATED",
          "QUOTA_LIMIT_REACHED"
        ],
        "title": "SessionSystemNotificationKind",
        "type": "string"
      },
      "SetNoteCreatedAtRequestSchema": {
        "properties": {
          "created_at": {
            "description": "New visible creation timestamp for the note (ISO 8601).\nIt must include a timezone offset and cannot be in the future.\nIt can only backdate the note: the timestamp cannot be later than\nwhen the note was originally created.\nThis changes note metadata only; it does not update note content.",
            "examples": [
              "2020-01-07T00:00:00Z",
              "2020-01-07T09:00:00+01:00"
            ],
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          }
        },
        "required": [
          "created_at"
        ],
        "title": "SetNoteCreatedAtRequestSchema",
        "type": "object"
      },
      "SetNoteCreatedAtResponseSchema": {
        "example": {
          "collection_ids": [
            "59508b41-8770-4855-aa37-302b1e09aee7"
          ],
          "content": "# Meeting with Bill\n\nJan 7, 2020",
          "created_at": "2020-01-07T00:00:00.000Z",
          "id": "5e29c8a2-c73b-476b-9311-e2579712d4b1",
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522",
          "title": "Meeting with Bill",
          "trashed_at": null,
          "updated_at": "2026-05-15T10:15:00.000Z",
          "version": 5
        },
        "properties": {
          "collection_ids": {
            "description": "Collection UUIDs currently associated with this note.",
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Collection Ids",
            "type": "array"
          },
          "content": {
            "description": "Full markdown content stored for the note.",
            "title": "Content",
            "type": "string"
          },
          "created_at": {
            "description": "Creation timestamp for the note in ISO 8601 format after the metadata update.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "UUID of the updated note.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "title": {
            "description": "Current note title.",
            "title": "Title",
            "type": "string"
          },
          "trashed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Timestamp for when the note was moved to trash, or null when the note is active.",
            "title": "Trashed At"
          },
          "updated_at": {
            "description": "Last modification timestamp after the metadata update in ISO 8601 format.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "version": {
            "description": "Current note content document version.",
            "title": "Version",
            "type": "integer"
          }
        },
        "required": [
          "request_id",
          "id",
          "title",
          "content",
          "version",
          "collection_ids",
          "trashed_at",
          "created_at",
          "updated_at"
        ],
        "title": "SetNoteCreatedAtResponseSchema",
        "type": "object"
      },
      "SharedItemInviteListQuerySchema": {
        "properties": {
          "limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 50,
            "title": "Limit"
          },
          "offset": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Offset"
          },
          "perspective": {
            "anyOf": [
              {
                "enum": [
                  "associated",
                  "inviter",
                  "accepted",
                  "all"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "associated",
            "title": "Perspective"
          }
        },
        "title": "SharedItemInviteListQuerySchema",
        "type": "object"
      },
      "SharedItemInviteListResponse": {
        "properties": {
          "results": {
            "items": {
              "$ref": "#/components/schemas/SharedItemInviteResponseSchema"
            },
            "title": "Results",
            "type": "array"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "results",
          "total"
        ],
        "title": "SharedItemInviteListResponse",
        "type": "object"
      },
      "SharedItemInviteResponseSchema": {
        "properties": {
          "accepted_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Accepted At"
          },
          "accepted_by_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Accepted By Space Account Id"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "invitee_email": {
            "title": "Invitee Email",
            "type": "string"
          },
          "invitee_email_normalized": {
            "title": "Invitee Email Normalized",
            "type": "string"
          },
          "inviter_space_account_id": {
            "format": "uuid",
            "title": "Inviter Space Account Id",
            "type": "string"
          },
          "is_revoked": {
            "title": "Is Revoked",
            "type": "boolean"
          },
          "role": {
            "title": "Role",
            "type": "string"
          },
          "shared_item_id": {
            "format": "uuid",
            "title": "Shared Item Id",
            "type": "string"
          },
          "shared_item_kind": {
            "title": "Shared Item Kind",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "verification_token": {
            "format": "uuid",
            "title": "Verification Token",
            "type": "string"
          }
        },
        "required": [
          "id",
          "inviter_space_account_id",
          "shared_item_id",
          "shared_item_kind",
          "invitee_email",
          "invitee_email_normalized",
          "role",
          "status",
          "verification_token",
          "expires_at",
          "is_revoked",
          "accepted_by_space_account_id",
          "accepted_at",
          "created_at",
          "updated_at"
        ],
        "title": "SharedItemInviteResponseSchema",
        "type": "object"
      },
      "SharedItemInviteSharedItemDetailsSchema": {
        "properties": {
          "display_title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Title"
          },
          "inviter_profile_display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Inviter Profile Display Name"
          },
          "inviter_profile_email_address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Inviter Profile Email Address"
          },
          "inviter_profile_photo_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Inviter Profile Photo Url"
          },
          "preview_html": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Preview Html"
          },
          "shared_item_id": {
            "format": "uuid",
            "title": "Shared Item Id",
            "type": "string"
          },
          "shared_item_kind": {
            "$ref": "#/components/schemas/SharedItemKind"
          }
        },
        "required": [
          "shared_item_id",
          "shared_item_kind"
        ],
        "title": "SharedItemInviteSharedItemDetailsSchema",
        "type": "object"
      },
      "SharedItemKind": {
        "enum": [
          "NOTE",
          "COLLECTION",
          "SPACE",
          "UNKNOWN"
        ],
        "title": "SharedItemKind",
        "type": "string"
      },
      "SignUpUsingAppleOAuthCodeRequest": {
        "properties": {
          "apple_oauth_code": {
            "minLength": 1,
            "title": "Apple Oauth Code",
            "type": "string"
          },
          "client_kind": {
            "$ref": "#/components/schemas/AppleOAuthClientKind"
          },
          "profile_display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Profile Display Name"
          },
          "profile_email_address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "format": "email",
            "title": "Profile Email Address"
          },
          "profile_photo_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "format": "uri",
            "title": "Profile Photo Url"
          },
          "redirect_uri": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Redirect Uri"
          }
        },
        "required": [
          "apple_oauth_code",
          "client_kind"
        ],
        "title": "SignUpUsingAppleOAuthCodeRequest",
        "type": "object"
      },
      "SignUpUsingAppleOAuthCodeResponse": {
        "properties": {
          "account_id": {
            "format": "uuid",
            "title": "Account Id",
            "type": "string"
          },
          "oauth_access_token": {
            "title": "Oauth Access Token",
            "type": "string"
          }
        },
        "required": [
          "account_id",
          "oauth_access_token"
        ],
        "title": "SignUpUsingAppleOAuthCodeResponse",
        "type": "object"
      },
      "SignUpUsingGoogleOAuthCodeRequest": {
        "properties": {
          "client_kind": {
            "$ref": "#/components/schemas/GoogleOAuthClientKind"
          },
          "google_oauth_code": {
            "minLength": 1,
            "title": "Google Oauth Code",
            "type": "string"
          },
          "profile_display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Profile Display Name"
          },
          "profile_email_address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "format": "email",
            "title": "Profile Email Address"
          },
          "profile_photo_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "format": "uri",
            "title": "Profile Photo Url"
          },
          "redirect_uri": {
            "minLength": 1,
            "title": "Redirect Uri",
            "type": "string"
          }
        },
        "required": [
          "google_oauth_code",
          "client_kind",
          "redirect_uri"
        ],
        "title": "SignUpUsingGoogleOAuthCodeRequest",
        "type": "object"
      },
      "SignUpUsingGoogleOAuthCodeResponse": {
        "properties": {
          "account_id": {
            "format": "uuid",
            "title": "Account Id",
            "type": "string"
          },
          "oauth_access_token": {
            "title": "Oauth Access Token",
            "type": "string"
          }
        },
        "required": [
          "account_id",
          "oauth_access_token"
        ],
        "title": "SignUpUsingGoogleOAuthCodeResponse",
        "type": "object"
      },
      "SlackConnectionSettingsResponseSchema": {
        "properties": {
          "connected_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Connected At"
          },
          "is_available": {
            "title": "Is Available",
            "type": "boolean"
          },
          "is_connected": {
            "title": "Is Connected",
            "type": "boolean"
          },
          "is_enabled": {
            "title": "Is Enabled",
            "type": "boolean"
          },
          "slack_app_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Slack App Url"
          },
          "slack_team_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Slack Team Name"
          },
          "slack_workspace_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Slack Workspace Id"
          },
          "workspace_installation_status": {
            "title": "Workspace Installation Status",
            "type": "string"
          },
          "workspace_unavailable_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Workspace Unavailable Reason"
          }
        },
        "required": [
          "is_connected",
          "is_enabled",
          "is_available",
          "workspace_installation_status"
        ],
        "title": "SlackConnectionSettingsResponseSchema",
        "type": "object"
      },
      "SlackConnectResponseSchema": {
        "properties": {
          "authorization_url": {
            "title": "Authorization Url",
            "type": "string"
          },
          "state": {
            "title": "State",
            "type": "string"
          }
        },
        "required": [
          "authorization_url",
          "state"
        ],
        "title": "SlackConnectResponseSchema",
        "type": "object"
      },
      "SmartContextPayloadValue": {
        "description": "Typed payload stored on SmartContext records.",
        "properties": {
          "active_collection_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Active Collection Id"
          },
          "active_note_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Active Note Id"
          },
          "continuation_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Continuation Id"
          },
          "query": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Query"
          },
          "smart_view_kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SmartViewKind"
              },
              {
                "type": "null"
              }
            ]
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          }
        },
        "required": [
          "space_account_id"
        ],
        "title": "SmartContextPayloadValue",
        "type": "object"
      },
      "SmartViewKind": {
        "enum": [
          "HEADS_UP",
          "PULSE",
          "UNKNOWN"
        ],
        "title": "SmartViewKind",
        "type": "string"
      },
      "SmartViewResponseSchema": {
        "properties": {
          "associated_continuation_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Associated Continuation Id"
          },
          "associated_space_account_id": {
            "format": "uuid",
            "title": "Associated Space Account Id",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "generated_new_continuation": {
            "title": "Generated New Continuation",
            "type": "boolean"
          },
          "has_found_more": {
            "title": "Has Found More",
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "refreshed_at": {
            "format": "date-time",
            "title": "Refreshed At",
            "type": "string"
          },
          "smart_cards": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/NoteListSmartCardResponseSchema"
                },
                {
                  "$ref": "#/components/schemas/MentionedBySmartCardResponseSchema"
                },
                {
                  "$ref": "#/components/schemas/CollectionListSmartCardResponseSchema"
                },
                {
                  "$ref": "#/components/schemas/TimelineSmartCardResponseSchema"
                },
                {
                  "$ref": "#/components/schemas/LiveSmartCardResponseSchema"
                },
                {
                  "$ref": "#/components/schemas/MarkdownSmartCardResponseSchema"
                },
                {
                  "$ref": "#/components/schemas/MeetingBriefingSmartCardResponseSchema"
                },
                {
                  "$ref": "#/components/schemas/UnknownSmartCardResponseSchema"
                }
              ]
            },
            "title": "Smart Cards",
            "type": "array"
          },
          "smart_context_id": {
            "format": "uuid",
            "title": "Smart Context Id",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "value_json": {
            "additionalProperties": true,
            "title": "Value Json",
            "type": "object"
          }
        },
        "required": [
          "id",
          "associated_space_account_id",
          "smart_context_id",
          "associated_continuation_id",
          "generated_new_continuation",
          "value_json",
          "created_at",
          "updated_at",
          "refreshed_at",
          "has_found_more",
          "smart_cards"
        ],
        "title": "SmartViewResponseSchema",
        "type": "object"
      },
      "SmokeTestHealthCheckResponse": {
        "properties": {
          "api": {
            "$ref": "#/components/schemas/ComponentStatus"
          },
          "postgres": {
            "$ref": "#/components/schemas/ComponentStatus"
          },
          "redis": {
            "$ref": "#/components/schemas/ComponentStatus"
          }
        },
        "required": [
          "api",
          "postgres",
          "redis"
        ],
        "title": "SmokeTestHealthCheckResponse",
        "type": "object"
      },
      "SmokeTestHealthCheckResponseSchema": {
        "properties": {
          "api": {
            "$ref": "#/components/schemas/ApiComponentStatusSchema"
          },
          "postgres": {
            "$ref": "#/components/schemas/ApiComponentStatusSchema"
          },
          "redis": {
            "$ref": "#/components/schemas/ApiComponentStatusSchema"
          }
        },
        "required": [
          "api",
          "postgres",
          "redis"
        ],
        "title": "SmokeTestHealthCheckResponseSchema",
        "type": "object"
      },
      "SourceKind": {
        "enum": [
          "EMAIL",
          "TEXT_MESSAGE",
          "UPLOADED_FILE",
          "API_REQUEST",
          "API_REQUEST_VIA_ZAPIER",
          "AUDIO",
          "WEB_CLIP",
          "CALENDAR_EVENT"
        ],
        "title": "SourceKind",
        "type": "string"
      },
      "SourceSyncModelDataResponseSchema": {
        "properties": {
          "associated_artifact_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Associated Artifact Id"
          },
          "associated_audio_recording_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Associated Audio Recording Id"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "primary_label": {
            "title": "Primary Label",
            "type": "string"
          },
          "secondary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Secondary Label"
          },
          "source_kind": {
            "$ref": "#/components/schemas/SourceKind"
          }
        },
        "required": [
          "id",
          "source_kind",
          "primary_label",
          "secondary_label",
          "associated_artifact_id"
        ],
        "title": "SourceSyncModelDataResponseSchema",
        "type": "object"
      },
      "SourceSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/SourceSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "SOURCE",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "SourceSyncModelResponseSchema",
        "type": "object"
      },
      "Space": {
        "properties": {
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "is_primary_space": {
            "default": false,
            "title": "Is Primary Space",
            "type": "boolean"
          },
          "photo_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Photo Url"
          },
          "title": {
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "id",
          "title"
        ],
        "title": "Space",
        "type": "object"
      },
      "SpaceAccount": {
        "properties": {
          "account_id": {
            "title": "Account Id",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "is_primary_space_account": {
            "title": "Is Primary Space Account",
            "type": "boolean"
          },
          "mem_agent_tier_override": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MemAgentTierOverride"
              },
              {
                "type": "null"
              }
            ]
          },
          "profile_display_name": {
            "title": "Profile Display Name",
            "type": "string"
          },
          "profile_email_address": {
            "format": "email",
            "maxLength": 254,
            "title": "Profile Email Address",
            "type": "string"
          },
          "profile_photo_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Profile Photo Url"
          },
          "space_id": {
            "title": "Space Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "account_id",
          "space_id",
          "profile_display_name",
          "profile_email_address",
          "is_primary_space_account",
          "created_at"
        ],
        "title": "SpaceAccount",
        "type": "object"
      },
      "SpaceAccountAppCalloutSyncModelDataResponseSchema": {
        "properties": {
          "app_callout_id": {
            "format": "uuid",
            "title": "App Callout Id",
            "type": "string"
          },
          "callout_kind": {
            "$ref": "#/components/schemas/AppCalloutKind"
          },
          "end_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "End At"
          },
          "icon_kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PlatformIconKind"
              },
              {
                "type": "null"
              }
            ]
          },
          "icon_position": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AppCalloutIconPosition"
              },
              {
                "type": "null"
              }
            ]
          },
          "inline_action_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Inline Action Label"
          },
          "inline_action_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Inline Action Url"
          },
          "is_active": {
            "title": "Is Active",
            "type": "boolean"
          },
          "is_dismissal_enabled": {
            "title": "Is Dismissal Enabled",
            "type": "boolean"
          },
          "is_dismissed": {
            "title": "Is Dismissed",
            "type": "boolean"
          },
          "is_dismissible": {
            "title": "Is Dismissible",
            "type": "boolean"
          },
          "primary_action_button_variant": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AppCalloutActionButtonVariant"
              },
              {
                "type": "null"
              }
            ]
          },
          "primary_action_icon_kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PlatformIconKind"
              },
              {
                "type": "null"
              }
            ]
          },
          "primary_action_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Primary Action Label"
          },
          "primary_action_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Primary Action Url"
          },
          "primary_label": {
            "title": "Primary Label",
            "type": "string"
          },
          "required_feature_flag": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Required Feature Flag"
          },
          "secondary_action_icon_kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PlatformIconKind"
              },
              {
                "type": "null"
              }
            ]
          },
          "secondary_action_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Secondary Action Label"
          },
          "secondary_action_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Secondary Action Url"
          },
          "secondary_label": {
            "title": "Secondary Label",
            "type": "string"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          },
          "start_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start At"
          },
          "target_platform_kinds": {
            "items": {
              "$ref": "#/components/schemas/ClientPlatformKind"
            },
            "title": "Target Platform Kinds",
            "type": "array"
          },
          "tertiary_action_icon_kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PlatformIconKind"
              },
              {
                "type": "null"
              }
            ]
          },
          "tertiary_action_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tertiary Action Label"
          },
          "tertiary_action_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tertiary Action Url"
          }
        },
        "required": [
          "callout_kind",
          "is_dismissible",
          "is_dismissal_enabled",
          "is_active",
          "start_at",
          "end_at",
          "target_platform_kinds",
          "icon_kind",
          "icon_position",
          "primary_label",
          "secondary_label",
          "inline_action_label",
          "inline_action_url",
          "primary_action_label",
          "primary_action_url",
          "primary_action_icon_kind",
          "primary_action_button_variant",
          "secondary_action_label",
          "secondary_action_url",
          "secondary_action_icon_kind",
          "tertiary_action_label",
          "tertiary_action_url",
          "tertiary_action_icon_kind",
          "space_account_id",
          "is_dismissed",
          "app_callout_id"
        ],
        "title": "SpaceAccountAppCalloutSyncModelDataResponseSchema",
        "type": "object"
      },
      "SpaceAccountAppCalloutSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/SpaceAccountAppCalloutSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "SPACE_ACCOUNT_APP_CALLOUT",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "SpaceAccountAppCalloutSyncModelResponseSchema",
        "type": "object"
      },
      "SpaceAccountCalendarConnectionSyncModelDataResponseSchema": {
        "properties": {
          "associated_email_address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Associated Email Address"
          },
          "associated_space_account_id": {
            "format": "uuid",
            "title": "Associated Space Account Id",
            "type": "string"
          },
          "is_connected": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is Connected"
          },
          "provider_kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ConnectedCalendarProviderKind"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "associated_space_account_id",
          "associated_email_address",
          "provider_kind",
          "is_connected"
        ],
        "title": "SpaceAccountCalendarConnectionSyncModelDataResponseSchema",
        "type": "object"
      },
      "SpaceAccountCalendarConnectionSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/SpaceAccountCalendarConnectionSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "SPACE_ACCOUNT_CALENDAR_CONNECTION",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "SpaceAccountCalendarConnectionSyncModelResponseSchema",
        "type": "object"
      },
      "SpaceAccountCalendarEventSyncModelDataResponseSchema": {
        "properties": {
          "associated_connected_calendar_event_id": {
            "format": "uuid",
            "title": "Associated Connected Calendar Event Id",
            "type": "string"
          },
          "associated_space_account_calendar_id": {
            "format": "uuid",
            "title": "Associated Space Account Calendar Id",
            "type": "string"
          },
          "attendee_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Attendee Count"
          },
          "calendar_background_color": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Calendar Background Color"
          },
          "end_time": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "End Time"
          },
          "is_all_day": {
            "title": "Is All Day",
            "type": "boolean"
          },
          "is_hidden": {
            "title": "Is Hidden",
            "type": "boolean"
          },
          "meet_link": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Meet Link"
          },
          "primary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Primary Label"
          },
          "self_response_status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CalendarEventAttendeeStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "start_time": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start Time"
          }
        },
        "required": [
          "associated_space_account_calendar_id",
          "associated_connected_calendar_event_id",
          "start_time",
          "end_time",
          "is_all_day",
          "attendee_count",
          "primary_label",
          "is_hidden"
        ],
        "title": "SpaceAccountCalendarEventSyncModelDataResponseSchema",
        "type": "object"
      },
      "SpaceAccountCalendarEventSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/SpaceAccountCalendarEventSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "SPACE_ACCOUNT_CALENDAR_EVENT",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "SpaceAccountCalendarEventSyncModelResponseSchema",
        "type": "object"
      },
      "SpaceAccountCalendarSyncModelDataResponseSchema": {
        "properties": {
          "associated_connected_calendar_id": {
            "format": "uuid",
            "title": "Associated Connected Calendar Id",
            "type": "string"
          },
          "associated_space_account_calendar_connection_id": {
            "format": "uuid",
            "title": "Associated Space Account Calendar Connection Id",
            "type": "string"
          },
          "background_color": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Background Color"
          },
          "last_sync_ended_with_error": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Sync Ended With Error"
          },
          "primary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Primary Label"
          },
          "sync_ended_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sync Ended At"
          },
          "sync_started_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sync Started At"
          },
          "webhook_status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CalendarWebhookStatus"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "associated_connected_calendar_id",
          "associated_space_account_calendar_connection_id",
          "primary_label",
          "webhook_status",
          "sync_started_at",
          "sync_ended_at",
          "last_sync_ended_with_error"
        ],
        "title": "SpaceAccountCalendarSyncModelDataResponseSchema",
        "type": "object"
      },
      "SpaceAccountCalendarSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/SpaceAccountCalendarSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "SPACE_ACCOUNT_CALENDAR",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "SpaceAccountCalendarSyncModelResponseSchema",
        "type": "object"
      },
      "SpaceAccountCollectionSyncModelDataResponseSchema": {
        "properties": {
          "collection_id": {
            "format": "uuid",
            "title": "Collection Id",
            "type": "string"
          },
          "last_added_to_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Added To At"
          },
          "last_removed_from_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Removed From At"
          },
          "last_viewed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Viewed At"
          },
          "shared_with_me_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Shared With Me At"
          },
          "shared_with_me_by_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Shared With Me By Space Account Id"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "collection_id",
          "shared_with_me_at",
          "shared_with_me_by_space_account_id",
          "last_viewed_at",
          "last_added_to_at",
          "last_removed_from_at"
        ],
        "title": "SpaceAccountCollectionSyncModelDataResponseSchema",
        "type": "object"
      },
      "SpaceAccountCollectionSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/SpaceAccountCollectionSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "SPACE_ACCOUNT_COLLECTION",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "SpaceAccountCollectionSyncModelResponseSchema",
        "type": "object"
      },
      "SpaceAccountContactSyncModelDataResponseSchema": {
        "properties": {
          "contact_id": {
            "format": "uuid",
            "title": "Contact Id",
            "type": "string"
          },
          "last_shared_with_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Shared With At"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "contact_id",
          "last_shared_with_at"
        ],
        "title": "SpaceAccountContactSyncModelDataResponseSchema",
        "type": "object"
      },
      "SpaceAccountContactSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/SpaceAccountContactSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "SPACE_ACCOUNT_CONTACT",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "SpaceAccountContactSyncModelResponseSchema",
        "type": "object"
      },
      "SpaceAccountNoteAttachmentSyncModelDataResponseSchema": {
        "properties": {
          "associated_note_attachment_id": {
            "format": "uuid",
            "title": "Associated Note Attachment Id",
            "type": "string"
          },
          "associated_note_id": {
            "format": "uuid",
            "title": "Associated Note Id",
            "type": "string"
          },
          "attachment_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Attachment Url"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "extraction_status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NoteAttachmentProcessingStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "filename": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Filename"
          },
          "hosting_failure_reason": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NoteAttachmentHostingFailureReason"
              },
              {
                "type": "null"
              }
            ]
          },
          "hosting_status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NoteAttachmentHostingStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "indexing_status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NoteAttachmentProcessingStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "mime_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mime Type"
          },
          "ocr_markdown": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ocr Markdown"
          },
          "page_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Page Count"
          },
          "processing_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ProcessingInfoSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "serving_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Serving Url"
          },
          "size_bytes": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Size Bytes"
          },
          "suggested_search": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Suggested Search"
          },
          "summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Summary"
          }
        },
        "required": [
          "associated_note_attachment_id",
          "associated_note_id",
          "created_at",
          "attachment_url",
          "serving_url",
          "hosting_status",
          "hosting_failure_reason",
          "mime_type",
          "filename",
          "page_count",
          "size_bytes",
          "extraction_status",
          "indexing_status",
          "processing_info",
          "summary",
          "suggested_search",
          "ocr_markdown"
        ],
        "title": "SpaceAccountNoteAttachmentSyncModelDataResponseSchema",
        "type": "object"
      },
      "SpaceAccountNoteAttachmentSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/SpaceAccountNoteAttachmentSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "SPACE_ACCOUNT_NOTE_ATTACHMENT",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "SpaceAccountNoteAttachmentSyncModelResponseSchema",
        "type": "object"
      },
      "SpaceAccountNoteReminderShillResponseSchema": {
        "properties": {
          "event_source": {
            "title": "Event Source",
            "type": "string"
          },
          "generated_at": {
            "format": "date-time",
            "title": "Generated At",
            "type": "string"
          },
          "generated_from_note_model_version": {
            "title": "Generated From Note Model Version",
            "type": "integer"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "is_clicked": {
            "title": "Is Clicked",
            "type": "boolean"
          },
          "is_dismissed": {
            "title": "Is Dismissed",
            "type": "boolean"
          },
          "text": {
            "title": "Text",
            "type": "string"
          }
        },
        "required": [
          "id",
          "text",
          "is_dismissed",
          "is_clicked",
          "generated_at",
          "generated_from_note_model_version",
          "event_source"
        ],
        "title": "SpaceAccountNoteReminderShillResponseSchema",
        "type": "object"
      },
      "SpaceAccountNoteSyncModelDataResponseSchema": {
        "properties": {
          "is_running_relevant_notes_extraction_pipeline": {
            "title": "Is Running Relevant Notes Extraction Pipeline",
            "type": "boolean"
          },
          "last_relevant_note_extraction_completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Relevant Note Extraction Completed At"
          },
          "last_relevant_note_extraction_note_model_version": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Relevant Note Extraction Note Model Version"
          },
          "last_relevant_note_extraction_started_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Relevant Note Extraction Started At"
          },
          "last_viewed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Viewed At"
          },
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          },
          "reminder_shill": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SpaceAccountNoteReminderShillResponseSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "shared_with_me_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Shared With Me At"
          },
          "shared_with_me_by_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Shared With Me By Space Account Id"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          },
          "suggestion_data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SpaceAccountNoteSyncModelSuggestionDataVoiceSessionV1Schema"
              },
              {
                "$ref": "#/components/schemas/SpaceAccountNoteSyncModelSuggestionDataVoiceSessionRefineV1Schema"
              },
              {
                "$ref": "#/components/schemas/SpaceAccountNoteSyncModelSuggestionDataNoteCleanupV1Schema"
              },
              {
                "$ref": "#/components/schemas/SpaceAccountNoteSyncModelSuggestionDataNoteCleanupRefineV1Schema"
              },
              {
                "type": "null"
              }
            ],
            "title": "Suggestion Data"
          }
        },
        "required": [
          "space_account_id",
          "note_id",
          "shared_with_me_at",
          "shared_with_me_by_space_account_id",
          "last_viewed_at",
          "last_relevant_note_extraction_started_at",
          "last_relevant_note_extraction_completed_at",
          "is_running_relevant_notes_extraction_pipeline",
          "last_relevant_note_extraction_note_model_version",
          "suggestion_data",
          "reminder_shill"
        ],
        "title": "SpaceAccountNoteSyncModelDataResponseSchema",
        "type": "object"
      },
      "SpaceAccountNoteSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/SpaceAccountNoteSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "SPACE_ACCOUNT_NOTE",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "SpaceAccountNoteSyncModelResponseSchema",
        "type": "object"
      },
      "SpaceAccountNoteSyncModelSuggestionDataNoteCleanupRefineV1MetadataSchema": {
        "properties": {
          "session_id": {
            "format": "uuid",
            "title": "Session Id",
            "type": "string"
          },
          "user_prompt": {
            "title": "User Prompt",
            "type": "string"
          }
        },
        "required": [
          "session_id",
          "user_prompt"
        ],
        "title": "SpaceAccountNoteSyncModelSuggestionDataNoteCleanupRefineV1MetadataSchema",
        "type": "object"
      },
      "SpaceAccountNoteSyncModelSuggestionDataNoteCleanupRefineV1Schema": {
        "properties": {
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "NOTE_CLEANUP_REFINE_V1",
            "title": "Kind",
            "type": "string"
          },
          "metadata": {
            "$ref": "#/components/schemas/SpaceAccountNoteSyncModelSuggestionDataNoteCleanupRefineV1MetadataSchema"
          },
          "prev_encoded_content": {
            "title": "Prev Encoded Content",
            "type": "string"
          },
          "prev_markdown_content": {
            "title": "Prev Markdown Content",
            "type": "string"
          },
          "prev_primary_label": {
            "title": "Prev Primary Label",
            "type": "string"
          },
          "prev_secondary_label": {
            "title": "Prev Secondary Label",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/SpaceAccountNoteSyncModelSuggestionDataStatus"
          },
          "suggested_encoded_content": {
            "title": "Suggested Encoded Content",
            "type": "string"
          },
          "suggested_encoded_content_diff": {
            "title": "Suggested Encoded Content Diff",
            "type": "string"
          },
          "suggested_markdown_content": {
            "title": "Suggested Markdown Content",
            "type": "string"
          },
          "suggested_primary_label": {
            "title": "Suggested Primary Label",
            "type": "string"
          },
          "suggested_secondary_label": {
            "title": "Suggested Secondary Label",
            "type": "string"
          }
        },
        "required": [
          "id",
          "status",
          "kind",
          "suggested_encoded_content",
          "suggested_encoded_content_diff",
          "prev_encoded_content",
          "prev_primary_label",
          "prev_secondary_label",
          "prev_markdown_content",
          "suggested_primary_label",
          "suggested_secondary_label",
          "suggested_markdown_content",
          "metadata"
        ],
        "title": "SpaceAccountNoteSyncModelSuggestionDataNoteCleanupRefineV1Schema",
        "type": "object"
      },
      "SpaceAccountNoteSyncModelSuggestionDataNoteCleanupV1MetadataSchema": {
        "properties": {
          "session_id": {
            "format": "uuid",
            "title": "Session Id",
            "type": "string"
          }
        },
        "required": [
          "session_id"
        ],
        "title": "SpaceAccountNoteSyncModelSuggestionDataNoteCleanupV1MetadataSchema",
        "type": "object"
      },
      "SpaceAccountNoteSyncModelSuggestionDataNoteCleanupV1Schema": {
        "properties": {
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "NOTE_CLEANUP_V1",
            "title": "Kind",
            "type": "string"
          },
          "metadata": {
            "$ref": "#/components/schemas/SpaceAccountNoteSyncModelSuggestionDataNoteCleanupV1MetadataSchema"
          },
          "prev_encoded_content": {
            "title": "Prev Encoded Content",
            "type": "string"
          },
          "prev_markdown_content": {
            "title": "Prev Markdown Content",
            "type": "string"
          },
          "prev_primary_label": {
            "title": "Prev Primary Label",
            "type": "string"
          },
          "prev_secondary_label": {
            "title": "Prev Secondary Label",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/SpaceAccountNoteSyncModelSuggestionDataStatus"
          },
          "suggested_encoded_content": {
            "title": "Suggested Encoded Content",
            "type": "string"
          },
          "suggested_encoded_content_diff": {
            "title": "Suggested Encoded Content Diff",
            "type": "string"
          },
          "suggested_markdown_content": {
            "title": "Suggested Markdown Content",
            "type": "string"
          },
          "suggested_primary_label": {
            "title": "Suggested Primary Label",
            "type": "string"
          },
          "suggested_secondary_label": {
            "title": "Suggested Secondary Label",
            "type": "string"
          }
        },
        "required": [
          "id",
          "status",
          "kind",
          "suggested_encoded_content",
          "suggested_encoded_content_diff",
          "prev_encoded_content",
          "prev_primary_label",
          "prev_secondary_label",
          "prev_markdown_content",
          "suggested_primary_label",
          "suggested_secondary_label",
          "suggested_markdown_content",
          "metadata"
        ],
        "title": "SpaceAccountNoteSyncModelSuggestionDataNoteCleanupV1Schema",
        "type": "object"
      },
      "SpaceAccountNoteSyncModelSuggestionDataStatus": {
        "description": "Status tracking for suggestion data lifecycle.",
        "enum": [
          "PENDING",
          "ACCEPTED",
          "REJECTED",
          "CLEARED",
          "UNKNOWN"
        ],
        "title": "SpaceAccountNoteSyncModelSuggestionDataStatus",
        "type": "string"
      },
      "SpaceAccountNoteSyncModelSuggestionDataVoiceSessionRefineV1MetadataSchema": {
        "properties": {
          "audio_recording_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio Recording Id"
          },
          "captured_audio_id": {
            "format": "uuid",
            "title": "Captured Audio Id",
            "type": "string"
          },
          "session_id": {
            "format": "uuid",
            "title": "Session Id",
            "type": "string"
          },
          "transcript_text": {
            "title": "Transcript Text",
            "type": "string"
          },
          "user_prompt": {
            "title": "User Prompt",
            "type": "string"
          }
        },
        "required": [
          "session_id",
          "captured_audio_id",
          "transcript_text",
          "user_prompt"
        ],
        "title": "SpaceAccountNoteSyncModelSuggestionDataVoiceSessionRefineV1MetadataSchema",
        "type": "object"
      },
      "SpaceAccountNoteSyncModelSuggestionDataVoiceSessionRefineV1Schema": {
        "properties": {
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "VOICE_SESSION_REFINE_V1",
            "title": "Kind",
            "type": "string"
          },
          "metadata": {
            "$ref": "#/components/schemas/SpaceAccountNoteSyncModelSuggestionDataVoiceSessionRefineV1MetadataSchema"
          },
          "prev_encoded_content": {
            "title": "Prev Encoded Content",
            "type": "string"
          },
          "prev_markdown_content": {
            "title": "Prev Markdown Content",
            "type": "string"
          },
          "prev_primary_label": {
            "title": "Prev Primary Label",
            "type": "string"
          },
          "prev_secondary_label": {
            "title": "Prev Secondary Label",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/SpaceAccountNoteSyncModelSuggestionDataStatus"
          },
          "suggested_encoded_content": {
            "title": "Suggested Encoded Content",
            "type": "string"
          },
          "suggested_encoded_content_diff": {
            "title": "Suggested Encoded Content Diff",
            "type": "string"
          },
          "suggested_markdown_content": {
            "title": "Suggested Markdown Content",
            "type": "string"
          },
          "suggested_primary_label": {
            "title": "Suggested Primary Label",
            "type": "string"
          },
          "suggested_secondary_label": {
            "title": "Suggested Secondary Label",
            "type": "string"
          }
        },
        "required": [
          "id",
          "status",
          "kind",
          "suggested_encoded_content",
          "suggested_encoded_content_diff",
          "prev_encoded_content",
          "prev_primary_label",
          "prev_secondary_label",
          "prev_markdown_content",
          "suggested_primary_label",
          "suggested_secondary_label",
          "suggested_markdown_content",
          "metadata"
        ],
        "title": "SpaceAccountNoteSyncModelSuggestionDataVoiceSessionRefineV1Schema",
        "type": "object"
      },
      "SpaceAccountNoteSyncModelSuggestionDataVoiceSessionV1MetadataSchema": {
        "properties": {
          "audio_recording_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio Recording Id"
          },
          "captured_audio_id": {
            "format": "uuid",
            "title": "Captured Audio Id",
            "type": "string"
          },
          "session_id": {
            "format": "uuid",
            "title": "Session Id",
            "type": "string"
          },
          "transcript_text": {
            "title": "Transcript Text",
            "type": "string"
          }
        },
        "required": [
          "session_id",
          "captured_audio_id",
          "transcript_text"
        ],
        "title": "SpaceAccountNoteSyncModelSuggestionDataVoiceSessionV1MetadataSchema",
        "type": "object"
      },
      "SpaceAccountNoteSyncModelSuggestionDataVoiceSessionV1Schema": {
        "properties": {
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "VOICE_SESSION_V1",
            "title": "Kind",
            "type": "string"
          },
          "metadata": {
            "$ref": "#/components/schemas/SpaceAccountNoteSyncModelSuggestionDataVoiceSessionV1MetadataSchema"
          },
          "prev_encoded_content": {
            "title": "Prev Encoded Content",
            "type": "string"
          },
          "prev_markdown_content": {
            "title": "Prev Markdown Content",
            "type": "string"
          },
          "prev_primary_label": {
            "title": "Prev Primary Label",
            "type": "string"
          },
          "prev_secondary_label": {
            "title": "Prev Secondary Label",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/SpaceAccountNoteSyncModelSuggestionDataStatus"
          },
          "suggested_encoded_content": {
            "title": "Suggested Encoded Content",
            "type": "string"
          },
          "suggested_encoded_content_diff": {
            "title": "Suggested Encoded Content Diff",
            "type": "string"
          },
          "suggested_markdown_content": {
            "title": "Suggested Markdown Content",
            "type": "string"
          },
          "suggested_primary_label": {
            "title": "Suggested Primary Label",
            "type": "string"
          },
          "suggested_secondary_label": {
            "title": "Suggested Secondary Label",
            "type": "string"
          }
        },
        "required": [
          "id",
          "status",
          "kind",
          "suggested_encoded_content",
          "suggested_encoded_content_diff",
          "prev_encoded_content",
          "prev_primary_label",
          "prev_secondary_label",
          "prev_markdown_content",
          "suggested_primary_label",
          "suggested_secondary_label",
          "suggested_markdown_content",
          "metadata"
        ],
        "title": "SpaceAccountNoteSyncModelSuggestionDataVoiceSessionV1Schema",
        "type": "object"
      },
      "SpaceAccountSettingsPatch": {
        "properties": {
          "calendar": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CalendarSettingsPatch"
              },
              {
                "type": "null"
              }
            ]
          },
          "chat": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ChatSettingsPatch"
              },
              {
                "type": "null"
              }
            ]
          },
          "mem_agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MemAgentSettingsPatch"
              },
              {
                "type": "null"
              }
            ]
          },
          "voice": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/VoiceSettingsPatch"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "SpaceAccountSettingsPatch",
        "type": "object"
      },
      "SpaceAccountSettingsPayload": {
        "properties": {
          "calendar": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CalendarSettings"
              }
            ]
          },
          "chat": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ChatSettings"
              }
            ]
          },
          "mem_agent": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MemAgentSettings"
              }
            ]
          },
          "voice": {
            "allOf": [
              {
                "$ref": "#/components/schemas/VoiceSettings"
              }
            ]
          }
        },
        "title": "SpaceAccountSettingsPayload",
        "type": "object"
      },
      "SpaceAccountSettingsSyncModelDataResponseSchema": {
        "properties": {
          "owned_by_space_account_id": {
            "format": "uuid",
            "title": "Owned By Space Account Id",
            "type": "string"
          },
          "settings": {
            "$ref": "#/components/schemas/SpaceAccountSettingsPayload"
          }
        },
        "required": [
          "owned_by_space_account_id",
          "settings"
        ],
        "title": "SpaceAccountSettingsSyncModelDataResponseSchema",
        "type": "object"
      },
      "SpaceAccountSettingsSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/SpaceAccountSettingsSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "SPACE_ACCOUNT_SETTINGS",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "SpaceAccountSettingsSyncModelResponseSchema",
        "type": "object"
      },
      "SpaceAccountTemplateSyncModelDataResponseSchema": {
        "properties": {
          "last_used_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Used At"
          },
          "last_viewed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Viewed At"
          },
          "shared_with_me_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Shared With Me At"
          },
          "shared_with_me_by_space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Shared With Me By Space Account Id"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          },
          "template_id": {
            "format": "uuid",
            "title": "Template Id",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "template_id",
          "last_used_at",
          "last_viewed_at",
          "shared_with_me_at",
          "shared_with_me_by_space_account_id"
        ],
        "title": "SpaceAccountTemplateSyncModelDataResponseSchema",
        "type": "object"
      },
      "SpaceAccountTemplateSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/SpaceAccountTemplateSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "SPACE_ACCOUNT_TEMPLATE",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "SpaceAccountTemplateSyncModelResponseSchema",
        "type": "object"
      },
      "StartAttachmentIndexingRequest": {
        "additionalProperties": false,
        "properties": {
          "attachment_id": {
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "backfill_mode": {
            "default": false,
            "title": "Backfill Mode",
            "type": "boolean"
          }
        },
        "required": [
          "attachment_id"
        ],
        "title": "StartAttachmentIndexingRequest",
        "type": "object"
      },
      "StartAttachmentIndexingResult": {
        "additionalProperties": false,
        "properties": {
          "attachment_id": {
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "images_indexed": {
            "title": "Images Indexed",
            "type": "integer"
          },
          "pages_indexed": {
            "title": "Pages Indexed",
            "type": "integer"
          }
        },
        "required": [
          "attachment_id",
          "pages_indexed",
          "images_indexed"
        ],
        "title": "StartAttachmentIndexingResult",
        "type": "object"
      },
      "StartTranscriptionRequestSchema": {
        "properties": {
          "expires_at": {
            "format": "date-time",
            "title": "Expires At",
            "type": "string"
          },
          "token": {
            "title": "Token",
            "type": "string"
          }
        },
        "required": [
          "token",
          "expires_at"
        ],
        "title": "StartTranscriptionRequestSchema",
        "type": "object"
      },
      "StatusEnum": {
        "description": "* `COMPLETED` - COMPLETED\n* `SKIPPED` - SKIPPED\n* `FAILED` - FAILED\n* `NOT_PROCESSED` - NOT_PROCESSED",
        "enum": [
          "COMPLETED",
          "SKIPPED",
          "FAILED",
          "NOT_PROCESSED"
        ],
        "type": "string"
      },
      "StripeSubscriptionBillingStrategy": {
        "enum": [
          "MONTHLY",
          "YEARLY"
        ],
        "title": "StripeSubscriptionBillingStrategy",
        "type": "string"
      },
      "StripeSubscriptionStatusEnum": {
        "enum": [
          "ACTIVE",
          "TRIALING",
          "PAST_DUE",
          "UNPAID",
          "INCOMPLETE",
          "INCOMPLETE_EXPIRED",
          "CANCELED",
          "PAUSED",
          "UNKNOWN"
        ],
        "title": "StripeSubscriptionStatusEnum",
        "type": "string"
      },
      "SubmitSyncOperationClientSyncMetadata": {
        "properties": {
          "pending_sync_operations_count": {
            "type": "integer"
          },
          "request_submitted_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "pending_sync_operations_count",
          "request_submitted_at"
        ],
        "type": "object"
      },
      "SubmitSyncOperationCompletedValueResponse": {
        "properties": {
          "sync_operation": {
            "$ref": "#/components/schemas/SyncOperationResponse"
          }
        },
        "required": [
          "sync_operation"
        ],
        "type": "object"
      },
      "SubmitSyncOperationFailedCustomResponse": {
        "properties": {
          "error_data": {
            "$ref": "#/components/schemas/SubmitSyncOperationFailedCustomResponseData"
          }
        },
        "required": [
          "error_data"
        ],
        "type": "object"
      },
      "SubmitSyncOperationFailedCustomResponseData": {
        "discriminator": {
          "mapping": {
            "INVALID": "#/components/schemas/SubmitSyncOperationFailedCustomResponseDataSubmitSyncOperationFailedInfoEmptyResponse",
            "NOT_FOUND": "#/components/schemas/SubmitSyncOperationFailedCustomResponseDataSubmitSyncOperationFailedInfoEmptyResponse",
            "PERMISSION_DENIED": "#/components/schemas/SubmitSyncOperationFailedCustomResponseDataSubmitSyncOperationFailedInfoEmptyResponse",
            "TRANSIENT": "#/components/schemas/SubmitSyncOperationFailedCustomResponseDataSubmitSyncOperationFailedInfoEmptyResponse",
            "UNKNOWN": "#/components/schemas/SubmitSyncOperationFailedCustomResponseDataSubmitSyncOperationFailedInfoEmptyResponse"
          },
          "propertyName": "kind"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationFailedCustomResponseDataSubmitSyncOperationFailedInfoEmptyResponse"
          }
        ]
      },
      "SubmitSyncOperationFailedCustomResponseDataShared": {
        "description": "Polymorphic serializer base class.\n\nNote that the discriminator field must exist at the same depth as the mapped\nserializer fields for the OpenAPI introspection. See\nhttps://swagger.io/docs/specification/data-models/inheritance-and-polymorphism/ for\nmore information. As such, it's not possible to define something like:\n\n{\n    \"object_type\": \"foo\",\n    \"polymorphic_context\": {\n        <foo-specific fields>\n    }\n}\n\nwithout explicitly wrapping this in a parent serializer, i.e. -\n``polymorphic_context`` can not be a PolymorphicSerializer itself, as it requires\naccess to the ``object_type`` in the parent scope.",
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/SubmitSyncOperationFailedCustomResponseDataSharedKindEnum"
          },
          "metadata": {
            "additionalProperties": {},
            "type": "object"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "SubmitSyncOperationFailedCustomResponseDataSharedKindEnum": {
        "description": "* `UNKNOWN` - UNKNOWN\n* `TRANSIENT` - TRANSIENT\n* `PERMISSION_DENIED` - PERMISSION_DENIED\n* `INVALID` - INVALID\n* `NOT_FOUND` - NOT_FOUND",
        "enum": [
          "UNKNOWN",
          "TRANSIENT",
          "PERMISSION_DENIED",
          "INVALID",
          "NOT_FOUND"
        ],
        "type": "string"
      },
      "SubmitSyncOperationFailedCustomResponseDataSubmitSyncOperationFailedInfoEmptyResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationFailedCustomResponseDataShared"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationFailedInfoEmptyResponse"
          }
        ]
      },
      "SubmitSyncOperationFailedInfoEmptyResponse": {
        "properties": {
          "value": {
            "$ref": "#/components/schemas/SubmitSyncOperationFailedInfoEmptyResponseValue"
          }
        },
        "required": [
          "value"
        ],
        "type": "object"
      },
      "SubmitSyncOperationFailedInfoEmptyResponseValue": {
        "properties": {
          "info": {
            "additionalProperties": {},
            "type": "object"
          }
        },
        "type": "object"
      },
      "SubmitSyncOperationFailedInfoResponse": {
        "discriminator": {
          "mapping": {
            "CUSTOM_ERROR": "#/components/schemas/SubmitSyncOperationFailedInfoResponseSubmitSyncOperationFailedCustomResponse",
            "SERVER_ERROR": "#/components/schemas/SubmitSyncOperationFailedInfoResponseGenericObject"
          },
          "propertyName": "error_category"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationFailedInfoResponseGenericObject"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationFailedInfoResponseSubmitSyncOperationFailedCustomResponse"
          }
        ]
      },
      "SubmitSyncOperationFailedInfoResponseGenericObject": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationFailedInfoResponseShared"
          },
          {
            "$ref": "#/components/schemas/GenericObject"
          }
        ]
      },
      "SubmitSyncOperationFailedInfoResponseShared": {
        "description": "Polymorphic serializer base class.\n\nNote that the discriminator field must exist at the same depth as the mapped\nserializer fields for the OpenAPI introspection. See\nhttps://swagger.io/docs/specification/data-models/inheritance-and-polymorphism/ for\nmore information. As such, it's not possible to define something like:\n\n{\n    \"object_type\": \"foo\",\n    \"polymorphic_context\": {\n        <foo-specific fields>\n    }\n}\n\nwithout explicitly wrapping this in a parent serializer, i.e. -\n``polymorphic_context`` can not be a PolymorphicSerializer itself, as it requires\naccess to the ``object_type`` in the parent scope.",
        "properties": {
          "error_category": {
            "$ref": "#/components/schemas/SubmitSyncOperationFailedInfoResponseSharedErrorCategoryEnum"
          },
          "error_metadata": {
            "additionalProperties": {},
            "type": "object"
          }
        },
        "required": [
          "error_category"
        ],
        "type": "object"
      },
      "SubmitSyncOperationFailedInfoResponseSharedErrorCategoryEnum": {
        "description": "* `SERVER_ERROR` - SERVER_ERROR\n* `CUSTOM_ERROR` - CUSTOM_ERROR",
        "enum": [
          "SERVER_ERROR",
          "CUSTOM_ERROR"
        ],
        "type": "string"
      },
      "SubmitSyncOperationFailedInfoResponseSubmitSyncOperationFailedCustomResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationFailedInfoResponseShared"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationFailedCustomResponse"
          }
        ]
      },
      "SubmitSyncOperationFailedValueResponse": {
        "properties": {
          "info": {
            "$ref": "#/components/schemas/SubmitSyncOperationFailedInfoResponse"
          }
        },
        "required": [
          "info"
        ],
        "type": "object"
      },
      "SubmitSyncOperationNoteProcessedInfoResponse": {
        "properties": {
          "sync_operation": {
            "$ref": "#/components/schemas/SyncOperationPartialResponse"
          }
        },
        "required": [
          "sync_operation"
        ],
        "type": "object"
      },
      "SubmitSyncOperationNotProcessedValueResponse": {
        "properties": {
          "info": {
            "$ref": "#/components/schemas/SubmitSyncOperationNoteProcessedInfoResponse"
          }
        },
        "required": [
          "info"
        ],
        "type": "object"
      },
      "SubmitSyncOperationRequest": {
        "discriminator": {
          "mapping": {
            "ACCEPT_NOTE_SUGGESTION": "#/components/schemas/SubmitSyncOperationRequestSyncModelAcceptNoteSuggestionSyncOperationPayloadRequest",
            "ADD_COLLECTION_TO_FAVORITES": "#/components/schemas/SubmitSyncOperationRequestSyncModelAddCollectionToFavoritesSyncOperationPayloadRequest",
            "ADD_NOTE_TO_COLLECTION": "#/components/schemas/SubmitSyncOperationRequestSyncModelAddNoteToCollectionSyncOperationPayloadRequest",
            "ADD_NOTE_TO_FAVORITES": "#/components/schemas/SubmitSyncOperationRequestSyncModelAddNoteToFavoritesSyncOperationPayloadRequest",
            "ADD_SAVED_SEARCH_TO_FAVORITES": "#/components/schemas/SubmitSyncOperationRequestSyncModelAddSavedSearchToFavoritesSyncOperationPayloadRequest",
            "ADD_TEMPLATE_TO_COLLECTION": "#/components/schemas/SubmitSyncOperationRequestSyncModelAddTemplateToCollectionSyncOperationPayloadRequest",
            "BATCH_CREATE_SPACE_ACCOUNT_NOTE_ATTACHMENT": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateSpaceAccountNoteAttachmentSyncOperationPayloadRequest",
            "BATCH_CREATE_UPLOADED_FILE": "#/components/schemas/SubmitSyncOperationRequestSyncModelBatchCreateUploadedFileSyncOperationPayloadRequest",
            "BATCH_UPDATE_SPACE_ACCOUNT_NOTE_ATTACHMENT_HOSTING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBatchUpdateSpaceAccountNoteAttachmentHostingSyncOperationPayloadRequest",
            "CLEAR_NOTE_SUGGESTION": "#/components/schemas/SubmitSyncOperationRequestSyncModelClearNoteSuggestionSyncOperationPayloadRequest",
            "CREATE_API_KEY": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateApiKeySyncOperationPayloadRequest",
            "CREATE_ASSISTANT_FOLLOW_UP": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateAssistantFollowUpSyncOperationPayloadRequest",
            "CREATE_ASSISTANT_PROJECT": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateAssistantProjectSyncOperationPayloadRequest",
            "CREATE_ASSISTANT_TASK": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateAssistantTaskSyncOperationPayloadRequest",
            "CREATE_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateAudioRecordingSyncOperationPayloadRequest",
            "CREATE_COLLECTION": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateCollectionSyncOperationPayloadRequest",
            "CREATE_DATA_EXPORT": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateDataExportSyncOperationPayloadRequest",
            "CREATE_MESSAGE_SENT_SESSION_EVENT": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateMessageSentSessionEventSyncOperationPayloadRequest",
            "CREATE_NOTE": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateNoteSyncOperationPayloadRequest",
            "CREATE_NOTE_SOURCE": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateNoteSourceSyncOperationPayloadRequest",
            "CREATE_NOTE_USING_CALENDAR_EVENT": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateNoteUsingCalendarEventSyncOperationPayloadRequest",
            "CREATE_NOTE_USING_MARKDOWN": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateNoteUsingMarkdownSyncOperationPayloadRequest",
            "CREATE_NOTE_USING_TEMPLATE_AND_DIFF": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateNoteUsingTemplateSyncOperationPayloadRequest",
            "CREATE_SESSION": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateSessionSyncOperationPayloadRequest",
            "CREATE_SESSION_EVENT": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateSessionEventSyncOperationPayloadRequest",
            "CREATE_SOURCE": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateSourceSyncOperationPayloadRequest",
            "CREATE_TEMPLATE": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateTemplateSyncOperationPayloadRequest",
            "CREATE_UPLOADED_FILE": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateUploadedFileSyncOperationPayloadRequest",
            "CREATE_UPLOADED_FILE_BATCH": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateUploadedFileBatchSyncOperationPayloadRequest",
            "DELETE_API_KEY": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteApiKeySyncOperationPayloadRequest",
            "DELETE_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteAudioRecordingSyncOperationPayloadRequest",
            "DELETE_COLLECTION": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteCollectionSyncOperationPayloadRequest",
            "DELETE_NOTE": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteNoteSyncOperationPayloadRequest",
            "DELETE_NOTE_SOURCE": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteNoteSourceSyncOperationPayloadRequest",
            "DELETE_SESSION": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteSessionSyncOperationPayloadRequest",
            "DELETE_SOURCE": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteSourceSyncOperationPayloadRequest",
            "DELETE_TEMPLATE": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteTemplateSyncOperationPayloadRequest",
            "DISMISS_SPACE_ACCOUNT_APP_CALLOUT": "#/components/schemas/SubmitSyncOperationRequestSyncModelDismissSpaceAccountAppCalloutSyncOperationPayloadRequest",
            "ENABLE_SPACE_ACCOUNT_APP_CALLOUT_DISMISSAL": "#/components/schemas/SubmitSyncOperationRequestSyncModelEnableSpaceAccountAppCalloutDismissalSyncOperationPayloadRequest",
            "GRANT_COLLECTION_ACL_VIA_EMAIL_ADDRESS": "#/components/schemas/SubmitSyncOperationRequestSyncModelGrantCollectionAclViaEmailAddressSyncOperationPayloadRequest",
            "GRANT_COLLECTION_ACL_VIA_SPACE_ACCOUNT": "#/components/schemas/SubmitSyncOperationRequestSyncModelGrantCollectionAclViaSpaceAccountSyncOperationPayloadRequest",
            "GRANT_NOTE_ACL_VIA_EMAIL_ADDRESS": "#/components/schemas/SubmitSyncOperationRequestSyncModelGrantNoteAclViaEmailAddressSyncOperationPayloadRequest",
            "GRANT_NOTE_ACL_VIA_SPACE_ACCOUNT": "#/components/schemas/SubmitSyncOperationRequestSyncModelGrantNoteAclViaSpaceAccountSyncOperationPayloadRequest",
            "GRANT_TEMPLATE_ACL_VIA_EMAIL_ADDRESS": "#/components/schemas/SubmitSyncOperationRequestSyncModelGrantTemplateAclViaEmailAddressSyncOperationPayloadRequest",
            "GRANT_TEMPLATE_ACL_VIA_SPACE_ACCOUNT": "#/components/schemas/SubmitSyncOperationRequestSyncModelGrantTemplateAclViaSpaceAccountSyncOperationPayloadRequest",
            "LINK_NOTE_TO_CALENDAR_EVENT": "#/components/schemas/SubmitSyncOperationRequestSyncModelLinkNoteToCalendarEventSyncOperationPayloadRequest",
            "MAKE_COLLECTION_PRIVATE": "#/components/schemas/SubmitSyncOperationRequestSyncModelMakeCollectionPrivateSyncOperationPayloadRequest",
            "MARK_AUTO_PAUSED_LOCAL_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest",
            "MARK_AUTO_RESUME_SKIPPED_LOCAL_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest",
            "MARK_AUTO_RESUMED_LOCAL_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest",
            "MARK_COLLECTION_VIEWED": "#/components/schemas/SubmitSyncOperationRequestSyncModelMarkCollectionViewedSyncOperationPayloadRequest",
            "MARK_COMPLETED_LOCAL_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest",
            "MARK_COMPLETED_PROCESSING_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelMarkCompletedProcessingAudioRecordingSyncOperationPayloadRequest",
            "MARK_COMPLETED_RETRANSCRIBING_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest",
            "MARK_COMPLETED_UPLOADING_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest",
            "MARK_ERROR_PROCESSING_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelMarkErrorProcessingAudioRecordingSyncOperationPayloadRequest",
            "MARK_ERROR_RESUMING_LOCAL_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest",
            "MARK_ERROR_RETRANSCRIBING_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest",
            "MARK_ERROR_STARTING_LOCAL_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest",
            "MARK_ERROR_UPLOADING_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest",
            "MARK_NOTE_VIEWED": "#/components/schemas/SubmitSyncOperationRequestSyncModelMarkNoteViewedSyncOperationPayloadRequest",
            "MARK_PAUSED_LOCAL_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest",
            "MARK_RESUMED_LOCAL_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest",
            "MARK_SKIPPED_UPLOADING_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest",
            "MARK_STARTED_LOCAL_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest",
            "MARK_STARTED_PROCESSING_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelMarkStartedProcessingAudioRecordingSyncOperationPayloadRequest",
            "MARK_STARTED_RETRANSCRIBING_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest",
            "MARK_STARTED_UPLOADING_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest",
            "MARK_TEMPLATE_USED": "#/components/schemas/SubmitSyncOperationRequestSyncModelMarkTemplateUsedSyncOperationPayloadRequest",
            "MARK_TEMPLATE_VIEWED": "#/components/schemas/SubmitSyncOperationRequestSyncModelMarkTemplateViewedSyncOperationPayloadRequest",
            "MARK_TRANSCRIPTION_COMPROMISED_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest",
            "MARK_TRANSCRIPTION_CONNECTED_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest",
            "MARK_TRANSCRIPTION_DISCONNECTED_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest",
            "MARK_TRANSCRIPTION_RECONNECTED_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest",
            "MARK_UNEXPECTED_ERROR_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest",
            "MARK_VOICE_CONNECTED_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest",
            "MARK_VOICE_DISCONNECTED_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest",
            "MARK_VOICE_RECONNECTED_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest",
            "PROVIDE_FEEDBACK": "#/components/schemas/SubmitSyncOperationRequestSyncModelProvideFeedbackSyncOperationPayloadRequest",
            "REJECT_NOTE_SUGGESTION": "#/components/schemas/SubmitSyncOperationRequestSyncModelRejectNoteSuggestionSyncOperationPayloadRequest",
            "REMOVE_COLLECTION_FROM_FAVORITES": "#/components/schemas/SubmitSyncOperationRequestSyncModelRemoveCollectionFromFavoritesSyncOperationPayloadRequest",
            "REMOVE_NOTE_FROM_COLLECTION": "#/components/schemas/SubmitSyncOperationRequestSyncModelRemoveNoteFromCollectionSyncOperationPayloadRequest",
            "REMOVE_NOTE_FROM_FAVORITES": "#/components/schemas/SubmitSyncOperationRequestSyncModelRemoveNoteFromFavoritesSyncOperationPayloadRequest",
            "REMOVE_SAVED_SEARCH_FROM_FAVORITES": "#/components/schemas/SubmitSyncOperationRequestSyncModelRemoveSavedSearchFromFavoritesSyncOperationPayloadRequest",
            "REMOVE_TEMPLATE_FROM_COLLECTION": "#/components/schemas/SubmitSyncOperationRequestSyncModelRemoveTemplateFromCollectionSyncOperationPayloadRequest",
            "RESTORE_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelRestoreAudioRecordingSyncOperationPayloadRequest",
            "RESTORE_NOTE": "#/components/schemas/SubmitSyncOperationRequestSyncModelRestoreNoteSyncOperationPayloadRequest",
            "REVOKE_API_KEY": "#/components/schemas/SubmitSyncOperationRequestSyncModelRevokeApiKeySyncOperationPayloadRequest",
            "REVOKE_COLLECTION_ACL_VIA_EMAIL_ADDRESS": "#/components/schemas/SubmitSyncOperationRequestSyncModelRevokeCollectionAclViaEmailAddressSyncOperationPayloadRequest",
            "REVOKE_COLLECTION_ACL_VIA_SPACE_ACCOUNT": "#/components/schemas/SubmitSyncOperationRequestSyncModelRevokeCollectionAclViaSpaceAccountSyncOperationPayloadRequest",
            "REVOKE_NOTE_ACL_VIA_EMAIL_ADDRESS": "#/components/schemas/SubmitSyncOperationRequestSyncModelRevokeNoteAclViaEmailAddressSyncOperationPayloadRequest",
            "REVOKE_NOTE_ACL_VIA_SPACE_ACCOUNT": "#/components/schemas/SubmitSyncOperationRequestSyncModelRevokeNoteAclViaSpaceAccountSyncOperationPayloadRequest",
            "REVOKE_TEMPLATE_ACL_VIA_SPACE_ACCOUNT": "#/components/schemas/SubmitSyncOperationRequestSyncModelRevokeTemplateAclViaSpaceAccountSyncOperationPayloadRequest",
            "START_PROCESSING_SESSION": "#/components/schemas/SubmitSyncOperationRequestSyncModelStartProcessingSessionSyncOperationPayloadRequest",
            "START_PROCESSING_UPLOADED_FILE_BATCH": "#/components/schemas/SubmitSyncOperationRequestSyncModelStartProcessingUploadedFileBatchSyncOperationPayloadRequest",
            "TRACK_SYNCED_APP_EVENT": "#/components/schemas/SubmitSyncOperationRequestSyncModelTrackSyncedAppEventSyncOperationPayloadRequest",
            "TRASH_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelTrashAudioRecordingSyncOperationPayloadRequest",
            "TRASH_NOTE": "#/components/schemas/SubmitSyncOperationRequestSyncModelTrashNoteSyncOperationPayloadRequest",
            "UPDATE_API_KEY": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateApiKeySyncOperationPayloadRequest",
            "UPDATE_ASSISTANT_FOLLOW_UP": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateAssistantFollowUpSyncOperationPayloadRequest",
            "UPDATE_ASSISTANT_PROJECT": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateAssistantProjectSyncOperationPayloadRequest",
            "UPDATE_ASSISTANT_TASK": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateAssistantTaskSyncOperationPayloadRequest",
            "UPDATE_AUDIO_RECORDING": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateAudioRecordingSyncOperationPayloadRequest",
            "UPDATE_COLLECTION": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateCollectionSyncOperationPayloadRequest",
            "UPDATE_COLLECTION_ACL_VIA_EMAIL_ADDRESS": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateCollectionAclViaEmailAddressSyncOperationPayloadRequest",
            "UPDATE_COLLECTION_ACL_VIA_SPACE_ACCOUNT": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateCollectionAclViaSpaceAccountSyncOperationPayloadRequest",
            "UPDATE_FAVORITE_ITEM_SORT_KEY": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateFavoriteItemSortKeySyncOperationPayloadRequest",
            "UPDATE_NOTE_ACL_VIA_COLLECTION": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateNoteAclViaCollectionSyncOperationPayloadRequest",
            "UPDATE_NOTE_ACL_VIA_EMAIL_ADDRESS": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateNoteAclViaEmailAddressSyncOperationPayloadRequest",
            "UPDATE_NOTE_ACL_VIA_SPACE_ACCOUNT": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateNoteAclViaSpaceAccountSyncOperationPayloadRequest",
            "UPDATE_NOTE_CONTENT_OVERWRITING_FULL_STATE_DESTRUCTIVELY": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateNoteContentOverwritingFullStateDestructivelySyncOperationPayloadRequest",
            "UPDATE_NOTE_CONTENT_USING_DIFF": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateNoteContentUsingDiffSyncOperationPayloadRequest",
            "UPDATE_NOTE_CONTENT_USING_FULL_STATE": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateNoteContentUsingFullStateSyncOperationPayloadRequest",
            "UPDATE_NOTE_CONTENT_USING_MARKDOWN": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateNoteContentUsingMarkdownSyncOperationPayloadRequest",
            "UPDATE_NOTE_CONTENT_USING_TEMPLATE_AND_DIFF": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateNoteContentUsingTemplateAndDiffSyncOperationPayloadRequest",
            "UPDATE_NOTE_IS_EDITABLE_BY_AI": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateNoteIsEditableByAiSyncOperationPayloadRequest",
            "UPDATE_NOTE_LOCALLY_CREATED_AT": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateNoteLocallyCreatedAtSyncOperationPayloadRequest",
            "UPDATE_NOTE_REMINDER_SHILL": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateNoteReminderShillSyncOperationPayloadRequest",
            "UPDATE_SESSION": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateSessionSyncOperationPayloadRequest",
            "UPDATE_SESSION_EVENT": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateSessionEventSyncOperationPayloadRequest",
            "UPDATE_SPACE_ACCOUNT_CALENDAR_EVENT": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateSpaceAccountCalendarEventSyncOperationPayloadRequest",
            "UPDATE_SPACE_ACCOUNT_SETTINGS": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateSpaceAccountSettingsSyncOperationPayloadRequest",
            "UPDATE_TEMPLATE": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateTemplateSyncOperationPayloadRequest",
            "UPDATE_TEMPLATE_ACL_VIA_COLLECTION": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateTemplateAclViaCollectionSyncOperationPayloadRequest",
            "UPDATE_TEMPLATE_ACL_VIA_SPACE_ACCOUNT": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateTemplateAclViaSpaceAccountSyncOperationPayloadRequest",
            "UPDATE_TEMPLATE_CONTENT_USING_DIFF": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateTemplateContentUsingDiffSyncOperationPayloadRequest",
            "UPDATE_UPLOADED_FILE_BATCH": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateUploadedFileBatchSyncOperationPayloadRequest",
            "UPSERT_NOTE_SUGGESTION": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpsertNoteSuggestionSyncOperationPayloadRequest"
          },
          "propertyName": "operation_kind"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateNoteSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateNoteUsingMarkdownSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateNoteSourceSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteNoteSourceSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateSourceSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteSourceSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelTrashNoteSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelRestoreNoteSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteNoteSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateNoteContentUsingFullStateSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateNoteContentOverwritingFullStateDestructivelySyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateNoteContentUsingDiffSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateNoteContentUsingMarkdownSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateNoteLocallyCreatedAtSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateNoteIsEditableByAiSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpsertNoteSuggestionSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelAcceptNoteSuggestionSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelRejectNoteSuggestionSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelClearNoteSuggestionSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateNoteReminderShillSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelGrantNoteAclViaSpaceAccountSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelGrantNoteAclViaEmailAddressSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateNoteAclViaSpaceAccountSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateNoteAclViaEmailAddressSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateNoteAclViaCollectionSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelRevokeNoteAclViaSpaceAccountSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelRevokeNoteAclViaEmailAddressSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateCollectionSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateCollectionSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteCollectionSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelAddNoteToCollectionSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelRemoveNoteFromCollectionSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelMarkNoteViewedSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelMarkCollectionViewedSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelAddCollectionToFavoritesSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelAddNoteToFavoritesSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelAddSavedSearchToFavoritesSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelRemoveNoteFromFavoritesSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelRemoveCollectionFromFavoritesSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelRemoveSavedSearchFromFavoritesSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateFavoriteItemSortKeySyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelGrantCollectionAclViaEmailAddressSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelGrantCollectionAclViaSpaceAccountSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateCollectionAclViaEmailAddressSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateCollectionAclViaSpaceAccountSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelRevokeCollectionAclViaEmailAddressSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelRevokeCollectionAclViaSpaceAccountSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelMakeCollectionPrivateSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelProvideFeedbackSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelDismissSpaceAccountAppCalloutSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelEnableSpaceAccountAppCalloutDismissalSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateTemplateSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateTemplateSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateTemplateContentUsingDiffSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteTemplateSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateNoteUsingTemplateSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateNoteUsingCalendarEventSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelLinkNoteToCalendarEventSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateNoteContentUsingTemplateAndDiffSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelMarkTemplateViewedSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelMarkTemplateUsedSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelGrantTemplateAclViaEmailAddressSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelGrantTemplateAclViaSpaceAccountSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateTemplateAclViaSpaceAccountSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelRevokeTemplateAclViaSpaceAccountSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelAddTemplateToCollectionSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelRemoveTemplateFromCollectionSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateTemplateAclViaCollectionSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateApiKeySyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateApiKeySyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteApiKeySyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelRevokeApiKeySyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateUploadedFileBatchSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateUploadedFileSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateAudioRecordingSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelTrashAudioRecordingSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelRestoreAudioRecordingSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteAudioRecordingSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelBatchCreateUploadedFileSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelStartProcessingUploadedFileBatchSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateUploadedFileBatchSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateAudioRecordingSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelMarkStartedProcessingAudioRecordingSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelMarkErrorProcessingAudioRecordingSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelMarkCompletedProcessingAudioRecordingSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateSessionSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateSessionSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateSessionEventSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateSessionEventSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelStartProcessingSessionSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteSessionSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateDataExportSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateMessageSentSessionEventSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateSpaceAccountSettingsSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelTrackSyncedAppEventSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateSpaceAccountCalendarEventSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateSpaceAccountNoteAttachmentSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelBatchUpdateSpaceAccountNoteAttachmentHostingSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateAssistantTaskSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateAssistantTaskSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateAssistantProjectSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateAssistantProjectSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateAssistantFollowUpSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateAssistantFollowUpSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateDataExportSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateFeatureFlagsSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateFeatureFlagsSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateSpaceAccountAppCalloutSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateSpaceAccountAppCalloutSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteSpaceAccountAppCalloutSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelBatchUpdateContactSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelBatchDeleteContactSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelBatchShareContactsWithSpaceAccountSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelBatchShareCollectionMetadataWithSpaceAccountSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateSubscriptionSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateSubscriptionSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateSpaceAccountCalendarSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelBatchUpdateSpaceAccountCalendarSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteSpaceAccountCalendarSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateSpaceAccountCalendarEventSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteSpaceAccountCalendarEventSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateSpaceAccountCalendarConnectionSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelBatchUpdateSpaceAccountCalendarConnectionSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteSpaceAccountCalendarConnectionSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelBatchDeleteSourceSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelBatchDeleteNoteSourceSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelBatchUpdateSpaceAccountNoteAttachmentSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteSpaceAccountNoteAttachmentSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelSetAttributionSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteAssistantTaskSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteAssistantProjectSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelAddAssistantTaskActivitySyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelAddAssistantProjectActivitySyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelAddAssistantNoteActivitySyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateAssistantTaskLabelSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelAssignAssistantTaskLabelSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUnassignAssistantTaskLabelSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateAssistantTaskLabelGroupSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateAssistantTaskLabelGroupSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteAssistantTaskLabelGroupSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateAssistantProjectLabelSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelAssignAssistantProjectLabelSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUnassignAssistantProjectLabelSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateAssistantProjectLabelGroupSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateAssistantProjectLabelGroupSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteAssistantProjectLabelGroupSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteAssistantFollowUpSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCompletePendingAssistantFollowUpsForTaskSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateAssistantRoutineSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateAssistantRoutineSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelDeleteAssistantRoutineSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCreateAssistantObjectiveSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelCompleteAssistantObjectiveSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelDismissAssistantObjectiveSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateAssistantNoteReviewStatusSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelUpdateAssistantSpaceAccountSettingsSyncOperationPayloadRequest"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestSyncModelResetAssistantSetupStateSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestShared": {
        "description": "Polymorphic serializer base class.\n\nNote that the discriminator field must exist at the same depth as the mapped\nserializer fields for the OpenAPI introspection. See\nhttps://swagger.io/docs/specification/data-models/inheritance-and-polymorphism/ for\nmore information. As such, it's not possible to define something like:\n\n{\n    \"object_type\": \"foo\",\n    \"polymorphic_context\": {\n        <foo-specific fields>\n    }\n}\n\nwithout explicitly wrapping this in a parent serializer, i.e. -\n``polymorphic_context`` can not be a PolymorphicSerializer itself, as it requires\naccess to the ``object_type`` in the parent scope.",
        "properties": {
          "client_id": {
            "format": "uuid",
            "type": "string"
          },
          "client_sync_metadata": {
            "$ref": "#/components/schemas/SubmitSyncOperationClientSyncMetadata"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "locally_committed_at": {
            "format": "date-time",
            "type": "string"
          },
          "operation_kind": {
            "$ref": "#/components/schemas/OperationKindEnum"
          }
        },
        "required": [
          "client_id",
          "id",
          "locally_committed_at",
          "operation_kind"
        ],
        "type": "object"
      },
      "SubmitSyncOperationRequestSyncModelAcceptNoteSuggestionSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelAcceptNoteSuggestionSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelAddAssistantNoteActivitySyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelAddAssistantNoteActivitySyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelAddAssistantProjectActivitySyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelAddAssistantProjectActivitySyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelAddAssistantTaskActivitySyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelAddAssistantTaskActivitySyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelAddCollectionToFavoritesSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelAddCollectionToFavoritesSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelAddNoteToCollectionSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelAddNoteToCollectionSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelAddNoteToFavoritesSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelAddNoteToFavoritesSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelAddSavedSearchToFavoritesSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelAddSavedSearchToFavoritesSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelAddTemplateToCollectionSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelAddTemplateToCollectionSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelAssignAssistantProjectLabelSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelAssignAssistantProjectLabelSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelAssignAssistantTaskLabelSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelAssignAssistantTaskLabelSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelBatchCreateUploadedFileSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelBatchCreateUploadedFileSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelBatchDeleteContactSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelBatchDeleteContactSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelBatchDeleteNoteSourceSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelBatchDeleteNoteSourceSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelBatchDeleteSourceSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelBatchDeleteSourceSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelBatchShareCollectionMetadataWithSpaceAccountSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelBatchShareCollectionMetadataWithSpaceAccountSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelBatchShareContactsWithSpaceAccountSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelBatchShareContactsWithSpaceAccountSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelBatchUpdateContactSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelBatchUpdateContactSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelBatchUpdateSpaceAccountCalendarConnectionSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelBatchUpdateSpaceAccountCalendarConnectionSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelBatchUpdateSpaceAccountCalendarSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelBatchUpdateSpaceAccountCalendarSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelBatchUpdateSpaceAccountNoteAttachmentHostingSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelBatchUpdateSpaceAccountNoteAttachmentHostingSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelBatchUpdateSpaceAccountNoteAttachmentSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelBatchUpdateSpaceAccountNoteAttachmentSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelClearNoteSuggestionSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelClearNoteSuggestionSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCompleteAssistantObjectiveSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCompleteAssistantObjectiveSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCompletePendingAssistantFollowUpsForTaskSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCompletePendingAssistantFollowUpsForTaskSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateApiKeySyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateApiKeySyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateAssistantFollowUpSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateAssistantFollowUpSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateAssistantObjectiveSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateAssistantObjectiveSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateAssistantProjectLabelGroupSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateAssistantProjectLabelGroupSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateAssistantProjectLabelSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateAssistantProjectLabelSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateAssistantProjectSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateAssistantProjectSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateAssistantRoutineSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateAssistantRoutineSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateAssistantTaskLabelGroupSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateAssistantTaskLabelGroupSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateAssistantTaskLabelSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateAssistantTaskLabelSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateAssistantTaskSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateAssistantTaskSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateAudioRecordingSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateAudioRecordingSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateCollectionSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateCollectionSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateDataExportSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateDataExportSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateFeatureFlagsSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateFeatureFlagsSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateMessageSentSessionEventSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateMessageSentSessionEventSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateNoteSourceSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateNoteSourceSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateNoteSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateNoteSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateNoteUsingCalendarEventSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateNoteUsingCalendarEventSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateNoteUsingMarkdownSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateNoteUsingMarkdownSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateNoteUsingTemplateSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateNoteUsingTemplateSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateSessionEventSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateSessionEventSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateSessionSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateSessionSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateSourceSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateSourceSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateSpaceAccountAppCalloutSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateSpaceAccountAppCalloutSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateSpaceAccountCalendarConnectionSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateSpaceAccountCalendarConnectionSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateSpaceAccountCalendarEventSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateSpaceAccountCalendarEventSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateSpaceAccountCalendarSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateSpaceAccountCalendarSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateSpaceAccountNoteAttachmentSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateSpaceAccountNoteAttachmentSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateSubscriptionSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateSubscriptionSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateTemplateSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateTemplateSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateUploadedFileBatchSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateUploadedFileBatchSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelCreateUploadedFileSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelCreateUploadedFileSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelDeleteApiKeySyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelDeleteApiKeySyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelDeleteAssistantFollowUpSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelDeleteAssistantFollowUpSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelDeleteAssistantProjectLabelGroupSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelDeleteAssistantProjectLabelGroupSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelDeleteAssistantProjectSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelDeleteAssistantProjectSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelDeleteAssistantRoutineSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelDeleteAssistantRoutineSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelDeleteAssistantTaskLabelGroupSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelDeleteAssistantTaskLabelGroupSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelDeleteAssistantTaskSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelDeleteAssistantTaskSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelDeleteAudioRecordingSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelDeleteAudioRecordingSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelDeleteCollectionSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelDeleteCollectionSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelDeleteNoteSourceSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelDeleteNoteSourceSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelDeleteNoteSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelDeleteNoteSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelDeleteSessionSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelDeleteSessionSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelDeleteSourceSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelDeleteSourceSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelDeleteSpaceAccountAppCalloutSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelDeleteSpaceAccountAppCalloutSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelDeleteSpaceAccountCalendarConnectionSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelDeleteSpaceAccountCalendarConnectionSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelDeleteSpaceAccountCalendarEventSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelDeleteSpaceAccountCalendarEventSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelDeleteSpaceAccountCalendarSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelDeleteSpaceAccountCalendarSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelDeleteSpaceAccountNoteAttachmentSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelDeleteSpaceAccountNoteAttachmentSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelDeleteTemplateSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelDeleteTemplateSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelDismissAssistantObjectiveSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelDismissAssistantObjectiveSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelDismissSpaceAccountAppCalloutSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelDismissSpaceAccountAppCalloutSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelEnableSpaceAccountAppCalloutDismissalSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelEnableSpaceAccountAppCalloutDismissalSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelGrantCollectionAclViaEmailAddressSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelGrantCollectionAclViaEmailAddressSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelGrantCollectionAclViaSpaceAccountSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelGrantCollectionAclViaSpaceAccountSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelGrantNoteAclViaEmailAddressSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelGrantNoteAclViaEmailAddressSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelGrantNoteAclViaSpaceAccountSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelGrantNoteAclViaSpaceAccountSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelGrantTemplateAclViaEmailAddressSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelGrantTemplateAclViaEmailAddressSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelGrantTemplateAclViaSpaceAccountSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelGrantTemplateAclViaSpaceAccountSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelLinkNoteToCalendarEventSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelLinkNoteToCalendarEventSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelMakeCollectionPrivateSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelMakeCollectionPrivateSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelMarkCollectionViewedSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelMarkCollectionViewedSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelMarkCompletedProcessingAudioRecordingSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelMarkCompletedProcessingAudioRecordingSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelMarkErrorProcessingAudioRecordingSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelMarkErrorProcessingAudioRecordingSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelMarkNoteViewedSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelMarkNoteViewedSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelMarkStartedProcessingAudioRecordingSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelMarkStartedProcessingAudioRecordingSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelMarkTemplateUsedSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelMarkTemplateUsedSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelMarkTemplateViewedSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelMarkTemplateViewedSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelProvideFeedbackSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelProvideFeedbackSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelRejectNoteSuggestionSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelRejectNoteSuggestionSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelRemoveCollectionFromFavoritesSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelRemoveCollectionFromFavoritesSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelRemoveNoteFromCollectionSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelRemoveNoteFromCollectionSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelRemoveNoteFromFavoritesSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelRemoveNoteFromFavoritesSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelRemoveSavedSearchFromFavoritesSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelRemoveSavedSearchFromFavoritesSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelRemoveTemplateFromCollectionSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelRemoveTemplateFromCollectionSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelResetAssistantSetupStateSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelResetAssistantSetupStateSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelRestoreAudioRecordingSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelRestoreAudioRecordingSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelRestoreNoteSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelRestoreNoteSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelRevokeApiKeySyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelRevokeApiKeySyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelRevokeCollectionAclViaEmailAddressSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelRevokeCollectionAclViaEmailAddressSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelRevokeCollectionAclViaSpaceAccountSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelRevokeCollectionAclViaSpaceAccountSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelRevokeNoteAclViaEmailAddressSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelRevokeNoteAclViaEmailAddressSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelRevokeNoteAclViaSpaceAccountSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelRevokeNoteAclViaSpaceAccountSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelRevokeTemplateAclViaSpaceAccountSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelRevokeTemplateAclViaSpaceAccountSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelSetAttributionSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelSetAttributionSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelStartProcessingSessionSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelStartProcessingSessionSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelStartProcessingUploadedFileBatchSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelStartProcessingUploadedFileBatchSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelTrackSyncedAppEventSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelTrackSyncedAppEventSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelTrashAudioRecordingSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelTrashAudioRecordingSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelTrashNoteSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelTrashNoteSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUnassignAssistantProjectLabelSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUnassignAssistantProjectLabelSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUnassignAssistantTaskLabelSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUnassignAssistantTaskLabelSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateApiKeySyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateApiKeySyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateAssistantFollowUpSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateAssistantFollowUpSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateAssistantNoteReviewStatusSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateAssistantNoteReviewStatusSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateAssistantProjectLabelGroupSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateAssistantProjectLabelGroupSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateAssistantProjectSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateAssistantProjectSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateAssistantRoutineSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateAssistantRoutineSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateAssistantSpaceAccountSettingsSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateAssistantSpaceAccountSettingsSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateAssistantTaskLabelGroupSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateAssistantTaskLabelGroupSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateAssistantTaskSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateAssistantTaskSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateAudioRecordingSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateAudioRecordingSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateCollectionAclViaEmailAddressSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateCollectionAclViaEmailAddressSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateCollectionAclViaSpaceAccountSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateCollectionAclViaSpaceAccountSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateCollectionSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateCollectionSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateDataExportSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateDataExportSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateFavoriteItemSortKeySyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateFavoriteItemSortKeySyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateFeatureFlagsSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateFeatureFlagsSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateNoteAclViaCollectionSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateNoteAclViaCollectionSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateNoteAclViaEmailAddressSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateNoteAclViaEmailAddressSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateNoteAclViaSpaceAccountSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateNoteAclViaSpaceAccountSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateNoteContentOverwritingFullStateDestructivelySyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateNoteContentOverwritingFullStateDestructivelySyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateNoteContentUsingDiffSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateNoteContentUsingDiffSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateNoteContentUsingFullStateSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateNoteContentUsingFullStateSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateNoteContentUsingMarkdownSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateNoteContentUsingMarkdownSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateNoteContentUsingTemplateAndDiffSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateNoteContentUsingTemplateAndDiffSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateNoteIsEditableByAiSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateNoteIsEditableByAiSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateNoteLocallyCreatedAtSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateNoteLocallyCreatedAtSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateNoteReminderShillSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateNoteReminderShillSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateSessionEventSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateSessionEventSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateSessionSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateSessionSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateSpaceAccountAppCalloutSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateSpaceAccountAppCalloutSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateSpaceAccountCalendarEventSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateSpaceAccountCalendarEventSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateSpaceAccountSettingsSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateSpaceAccountSettingsSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateSubscriptionSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateSubscriptionSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateTemplateAclViaCollectionSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateTemplateAclViaCollectionSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateTemplateAclViaSpaceAccountSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateTemplateAclViaSpaceAccountSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateTemplateContentUsingDiffSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateTemplateContentUsingDiffSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateTemplateSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateTemplateSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpdateUploadedFileBatchSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpdateUploadedFileBatchSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationRequestSyncModelUpsertNoteSuggestionSyncOperationPayloadRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationRequestShared"
          },
          {
            "$ref": "#/components/schemas/SyncModelUpsertNoteSuggestionSyncOperationPayloadRequest"
          }
        ]
      },
      "SubmitSyncOperationResponse": {
        "discriminator": {
          "mapping": {
            "COMPLETED": "#/components/schemas/SubmitSyncOperationResponseSubmitSyncOperationCompletedValueResponse",
            "FAILED": "#/components/schemas/SubmitSyncOperationResponseSubmitSyncOperationFailedValueResponse",
            "NOT_PROCESSED": "#/components/schemas/SubmitSyncOperationResponseSubmitSyncOperationNotProcessedValueResponse",
            "SKIPPED": "#/components/schemas/SubmitSyncOperationResponseSubmitSyncOperationSkippedValueResponse"
          },
          "propertyName": "status"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationResponseSubmitSyncOperationCompletedValueResponse"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationResponseSubmitSyncOperationSkippedValueResponse"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationResponseSubmitSyncOperationNotProcessedValueResponse"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationResponseSubmitSyncOperationFailedValueResponse"
          }
        ]
      },
      "SubmitSyncOperationResponseShared": {
        "description": "Polymorphic serializer base class.\n\nNote that the discriminator field must exist at the same depth as the mapped\nserializer fields for the OpenAPI introspection. See\nhttps://swagger.io/docs/specification/data-models/inheritance-and-polymorphism/ for\nmore information. As such, it's not possible to define something like:\n\n{\n    \"object_type\": \"foo\",\n    \"polymorphic_context\": {\n        <foo-specific fields>\n    }\n}\n\nwithout explicitly wrapping this in a parent serializer, i.e. -\n``polymorphic_context`` can not be a PolymorphicSerializer itself, as it requires\naccess to the ``object_type`` in the parent scope.",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/StatusEnum"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "SubmitSyncOperationResponseSubmitSyncOperationCompletedValueResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationResponseShared"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationCompletedValueResponse"
          }
        ]
      },
      "SubmitSyncOperationResponseSubmitSyncOperationFailedValueResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationResponseShared"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationFailedValueResponse"
          }
        ]
      },
      "SubmitSyncOperationResponseSubmitSyncOperationNotProcessedValueResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationResponseShared"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationNotProcessedValueResponse"
          }
        ]
      },
      "SubmitSyncOperationResponseSubmitSyncOperationSkippedValueResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationResponseShared"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationSkippedValueResponse"
          }
        ]
      },
      "SubmitSyncOperationSkippedInfoAlreadyProcessedResponse": {
        "properties": {
          "value": {
            "$ref": "#/components/schemas/SubmitSyncOperationSkippedInfoAlreadyProcessedValueResponse"
          }
        },
        "required": [
          "value"
        ],
        "type": "object"
      },
      "SubmitSyncOperationSkippedInfoAlreadyProcessedValueResponse": {
        "properties": {
          "sync_operation": {
            "$ref": "#/components/schemas/SyncOperationResponse"
          }
        },
        "required": [
          "sync_operation"
        ],
        "type": "object"
      },
      "SubmitSyncOperationSkippedInfoResponse": {
        "discriminator": {
          "mapping": {
            "ALREADY_PROCESSED": "#/components/schemas/SubmitSyncOperationSkippedInfoResponseSubmitSyncOperationSkippedInfoAlreadyProcessedResponse",
            "UNKNOWN": "#/components/schemas/SubmitSyncOperationSkippedInfoResponseGenericObject"
          },
          "propertyName": "kind"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationSkippedInfoResponseGenericObject"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationSkippedInfoResponseSubmitSyncOperationSkippedInfoAlreadyProcessedResponse"
          }
        ]
      },
      "SubmitSyncOperationSkippedInfoResponseGenericObject": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationSkippedInfoResponseShared"
          },
          {
            "$ref": "#/components/schemas/GenericObject"
          }
        ]
      },
      "SubmitSyncOperationSkippedInfoResponseShared": {
        "description": "Polymorphic serializer base class.\n\nNote that the discriminator field must exist at the same depth as the mapped\nserializer fields for the OpenAPI introspection. See\nhttps://swagger.io/docs/specification/data-models/inheritance-and-polymorphism/ for\nmore information. As such, it's not possible to define something like:\n\n{\n    \"object_type\": \"foo\",\n    \"polymorphic_context\": {\n        <foo-specific fields>\n    }\n}\n\nwithout explicitly wrapping this in a parent serializer, i.e. -\n``polymorphic_context`` can not be a PolymorphicSerializer itself, as it requires\naccess to the ``object_type`` in the parent scope.",
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/SubmitSyncOperationSkippedInfoResponseSharedKindEnum"
          },
          "metadata": {
            "additionalProperties": {},
            "type": "object"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "SubmitSyncOperationSkippedInfoResponseSharedKindEnum": {
        "description": "* `UNKNOWN` - UNKNOWN\n* `ALREADY_PROCESSED` - ALREADY_PROCESSED",
        "enum": [
          "UNKNOWN",
          "ALREADY_PROCESSED"
        ],
        "type": "string"
      },
      "SubmitSyncOperationSkippedInfoResponseSubmitSyncOperationSkippedInfoAlreadyProcessedResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmitSyncOperationSkippedInfoResponseShared"
          },
          {
            "$ref": "#/components/schemas/SubmitSyncOperationSkippedInfoAlreadyProcessedResponse"
          }
        ]
      },
      "SubmitSyncOperationSkippedValueResponse": {
        "properties": {
          "info": {
            "$ref": "#/components/schemas/SubmitSyncOperationSkippedInfoResponse"
          }
        },
        "required": [
          "info"
        ],
        "type": "object"
      },
      "SubscriptionPlanKind": {
        "enum": [
          "free",
          "pro",
          "proactive",
          "unknown"
        ],
        "title": "SubscriptionPlanKind",
        "type": "string"
      },
      "SubscriptionPlanVariant": {
        "enum": [
          "standard",
          "max"
        ],
        "title": "SubscriptionPlanVariant",
        "type": "string"
      },
      "SubscriptionProvider": {
        "enum": [
          "STRIPE",
          "APPLE",
          "HOUSE",
          "UNKNOWN"
        ],
        "title": "SubscriptionProvider",
        "type": "string"
      },
      "SubscriptionStatus": {
        "enum": [
          "active",
          "canceled",
          "past_due",
          "unknown"
        ],
        "title": "SubscriptionStatus",
        "type": "string"
      },
      "SubscriptionSyncModelDataResponseSchema": {
        "description": "Legacy subscription sync payload.\n\nLatest clients no longer consume this model for subscription state. Keep\nthis schema stable for older clients, but new clients should use\n/v2/me/platform-info plus PLATFORM_INFO_INVALIDATED Pusher events.",
        "properties": {
          "current_period_end": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Current Period End"
          },
          "current_period_start": {
            "format": "date-time",
            "title": "Current Period Start",
            "type": "string"
          },
          "locally_created_at": {
            "format": "date-time",
            "title": "Locally Created At",
            "type": "string"
          },
          "locally_modified_at": {
            "format": "date-time",
            "title": "Locally Modified At",
            "type": "string"
          },
          "plan_kind": {
            "$ref": "#/components/schemas/SubscriptionPlanKind"
          },
          "plan_variant": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SubscriptionPlanVariant"
              },
              {
                "type": "null"
              }
            ]
          },
          "provider": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Provider"
          },
          "provider_subscription_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Provider Subscription Id"
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/SubscriptionStatus"
          },
          "subscription_ends_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subscription Ends At"
          },
          "tier": {
            "$ref": "#/components/schemas/SubscriptionTier"
          }
        },
        "required": [
          "space_account_id",
          "provider",
          "provider_subscription_id",
          "tier",
          "plan_kind",
          "status",
          "current_period_start",
          "current_period_end",
          "locally_created_at",
          "locally_modified_at"
        ],
        "title": "SubscriptionSyncModelDataResponseSchema",
        "type": "object"
      },
      "SubscriptionSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/SubscriptionSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "SUBSCRIPTION",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "SubscriptionSyncModelResponseSchema",
        "type": "object"
      },
      "SubscriptionTier": {
        "enum": [
          "free",
          "paid",
          "unknown"
        ],
        "title": "SubscriptionTier",
        "type": "string"
      },
      "SuccessResponseSchema": {
        "properties": {
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "SuccessResponseSchema",
        "type": "object"
      },
      "SummarizeNoteAttachmentResult": {
        "additionalProperties": false,
        "properties": {
          "attachment_id": {
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          },
          "suggested_search": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Suggested Search"
          },
          "summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Summary"
          }
        },
        "required": [
          "attachment_id",
          "success",
          "summary",
          "suggested_search"
        ],
        "title": "SummarizeNoteAttachmentResult",
        "type": "object"
      },
      "SupportedChatModelProvider": {
        "enum": [
          "STANDARD",
          "ANTHROPIC",
          "OPENAI",
          "GOOGLEGEMINI"
        ],
        "title": "SupportedChatModelProvider",
        "type": "string"
      },
      "SupportedChatModelSchema": {
        "properties": {
          "is_selectable": {
            "title": "Is Selectable",
            "type": "boolean"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "plans": {
            "items": {
              "$ref": "#/components/schemas/PlanId"
            },
            "title": "Plans",
            "type": "array"
          },
          "provider": {
            "$ref": "#/components/schemas/SupportedChatModelProvider"
          },
          "variant": {
            "$ref": "#/components/schemas/SessionConfigVariant"
          }
        },
        "required": [
          "variant",
          "label",
          "provider",
          "plans",
          "is_selectable"
        ],
        "title": "SupportedChatModelSchema",
        "type": "object"
      },
      "SupportedChatSettingsSchema": {
        "properties": {
          "models": {
            "items": {
              "$ref": "#/components/schemas/SupportedChatModelSchema"
            },
            "title": "Models",
            "type": "array"
          }
        },
        "required": [
          "models"
        ],
        "title": "SupportedChatSettingsSchema",
        "type": "object"
      },
      "SupportedFeaturesSchema": {
        "properties": {
          "chat": {
            "$ref": "#/components/schemas/SupportedChatSettingsSchema"
          }
        },
        "required": [
          "chat"
        ],
        "title": "SupportedFeaturesSchema",
        "type": "object"
      },
      "SupportedSettingsSchema": {
        "properties": {
          "features": {
            "$ref": "#/components/schemas/SupportedFeaturesSchema"
          },
          "schema_version": {
            "$ref": "#/components/schemas/SupportedSettingsSchemaVersion"
          }
        },
        "required": [
          "schema_version",
          "features"
        ],
        "title": "SupportedSettingsSchema",
        "type": "object"
      },
      "SupportedSettingsSchemaVersion": {
        "enum": [
          1
        ],
        "title": "SupportedSettingsSchemaVersion",
        "type": "integer"
      },
      "SyncModelAcceptNoteSuggestionSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "encoded_content_diff": {
                "title": "Encoded Content Diff",
                "type": "string"
              },
              "note_id": {
                "format": "uuid",
                "title": "Note Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "note_id",
              "encoded_content_diff"
            ],
            "title": "AcceptNoteSuggestionSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelAddAssistantNoteActivitySyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "assistant_id": {
                "format": "uuid",
                "title": "Assistant Id",
                "type": "string"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "kind": {
                "title": "Kind",
                "type": "string"
              },
              "note_id": {
                "format": "uuid",
                "title": "Note Id",
                "type": "string"
              },
              "payload_json": {
                "additionalProperties": true,
                "title": "Payload Json",
                "type": "object"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "assistant_id",
              "note_id",
              "kind",
              "payload_json"
            ],
            "title": "AddAssistantNoteActivitySyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelAddAssistantProjectActivitySyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "assistant_id": {
                "format": "uuid",
                "title": "Assistant Id",
                "type": "string"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "kind": {
                "title": "Kind",
                "type": "string"
              },
              "payload_json": {
                "additionalProperties": true,
                "title": "Payload Json",
                "type": "object"
              },
              "project_id": {
                "format": "uuid",
                "title": "Project Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "assistant_id",
              "project_id",
              "kind",
              "payload_json"
            ],
            "title": "AddAssistantProjectActivitySyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelAddAssistantTaskActivitySyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "assistant_id": {
                "format": "uuid",
                "title": "Assistant Id",
                "type": "string"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "kind": {
                "title": "Kind",
                "type": "string"
              },
              "payload_json": {
                "additionalProperties": true,
                "title": "Payload Json",
                "type": "object"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "task_id": {
                "format": "uuid",
                "title": "Task Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id",
              "assistant_id",
              "task_id",
              "kind",
              "payload_json"
            ],
            "title": "AddAssistantTaskActivitySyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelAddCollectionToFavoritesSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "collection_id": {
                "format": "uuid",
                "title": "Collection Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "sort_key": {
                "title": "Sort Key",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "collection_id",
              "sort_key"
            ],
            "title": "AddCollectionToFavoritesSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelAddNoteToCollectionSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "collection_id": {
                "format": "uuid",
                "title": "Collection Id",
                "type": "string"
              },
              "note_id": {
                "format": "uuid",
                "title": "Note Id",
                "type": "string"
              },
              "role_kind": {
                "default": null,
                "enum": [
                  "EDITOR",
                  "VIEWER",
                  "DIRECT_CONTACT",
                  "INDIRECT_CONTACT"
                ],
                "title": "Role Kind",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "collection_id",
              "note_id"
            ],
            "title": "AddNoteToCollectionSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelAddNoteToFavoritesSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "note_id": {
                "format": "uuid",
                "title": "Note Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "sort_key": {
                "title": "Sort Key",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "note_id",
              "sort_key"
            ],
            "title": "AddNoteToFavoritesSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelAddSavedSearchToFavoritesSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "saved_search_id": {
                "format": "uuid",
                "title": "Saved Search Id",
                "type": "string"
              },
              "saved_search_label": {
                "title": "Saved Search Label",
                "type": "string"
              },
              "saved_search_query_string": {
                "title": "Saved Search Query String",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "sort_key": {
                "title": "Sort Key",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "saved_search_id",
              "saved_search_query_string",
              "saved_search_label",
              "sort_key"
            ],
            "title": "AddSavedSearchToFavoritesSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelAddTemplateToCollectionSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "collection_id": {
                "format": "uuid",
                "title": "Collection Id",
                "type": "string"
              },
              "role_kind": {
                "default": null,
                "enum": [
                  "EDITOR",
                  "VIEWER",
                  "DIRECT_CONTACT",
                  "INDIRECT_CONTACT"
                ],
                "title": "Role Kind",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "template_id": {
                "format": "uuid",
                "title": "Template Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "template_id",
              "collection_id"
            ],
            "title": "AddTemplateToCollectionSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelAssignAssistantProjectLabelSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "assistant_id": {
                "format": "uuid",
                "title": "Assistant Id",
                "type": "string"
              },
              "project_id": {
                "format": "uuid",
                "title": "Project Id",
                "type": "string"
              },
              "project_label_id": {
                "format": "uuid",
                "title": "Project Label Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "assistant_id",
              "project_label_id",
              "project_id"
            ],
            "title": "AssignAssistantProjectLabelSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelAssignAssistantTaskLabelSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "assistant_id": {
                "format": "uuid",
                "title": "Assistant Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "task_id": {
                "format": "uuid",
                "title": "Task Id",
                "type": "string"
              },
              "task_label_id": {
                "format": "uuid",
                "title": "Task Label Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "assistant_id",
              "task_label_id",
              "task_id"
            ],
            "title": "AssignAssistantTaskLabelSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelBaseAudioRecordingAppEventSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "occurred_at": {
                "format": "date-time",
                "title": "Occurred At",
                "type": "string"
              },
              "properties": {
                "title": "Properties"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "occurred_at"
            ],
            "title": "BaseAudioRecordingAppEventSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelBatchCreateUploadedFileSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "uploaded_file_batch_id": {
                "format": "uuid",
                "title": "Uploaded File Batch Id",
                "type": "string"
              },
              "uploaded_files": {
                "items": {
                  "properties": {
                    "file_size_bytes": {
                      "title": "File Size Bytes",
                      "type": "integer"
                    },
                    "id": {
                      "format": "uuid",
                      "title": "Id",
                      "type": "string"
                    },
                    "mime_type": {
                      "title": "Mime Type",
                      "type": "string"
                    },
                    "modified_at_timestamp": {
                      "default": null,
                      "title": "Modified At Timestamp",
                      "type": "integer"
                    },
                    "normalized_filename": {
                      "title": "Normalized Filename",
                      "type": "string"
                    },
                    "original_filename": {
                      "title": "Original Filename",
                      "type": "string"
                    },
                    "original_filepath": {
                      "title": "Original Filepath",
                      "type": "string"
                    },
                    "uploaded_file_blob_name": {
                      "title": "Uploaded File Blob Name",
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "uploaded_file_blob_name",
                    "mime_type",
                    "normalized_filename",
                    "file_size_bytes",
                    "original_filename",
                    "original_filepath"
                  ],
                  "title": "BatchCreateUploadedFileItemPayload",
                  "type": "object"
                },
                "minItems": 1,
                "title": "Uploaded Files",
                "type": "array"
              }
            },
            "required": [
              "schema_version",
              "id",
              "uploaded_file_batch_id",
              "uploaded_files"
            ],
            "title": "BatchCreateUploadedFileSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelBatchDeleteContactSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "ids": {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "title": "Ids",
                "type": "array"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "ids"
            ],
            "title": "BatchDeleteContactSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelBatchDeleteNoteSourceSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "note_source_ids": {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "title": "Note Source Ids",
                "type": "array"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "note_source_ids"
            ],
            "title": "BatchDeleteNoteSourceSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelBatchDeleteSourceSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "source_ids": {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "title": "Source Ids",
                "type": "array"
              }
            },
            "required": [
              "schema_version",
              "source_ids"
            ],
            "title": "BatchDeleteSourceSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelBatchShareCollectionMetadataWithSpaceAccountSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "collection_ids": {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "title": "Collection Ids",
                "type": "array"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "space_account_id": {
                "format": "uuid",
                "title": "Space Account Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "collection_ids",
              "space_account_id"
            ],
            "title": "BatchShareCollectionMetadataWithSpaceAccountSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelBatchShareContactsWithSpaceAccountSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "contact_space_account_ids": {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "title": "Contact Space Account Ids",
                "type": "array"
              },
              "role_kind": {
                "default": "INDIRECT_CONTACT",
                "enum": [
                  "EDITOR",
                  "VIEWER",
                  "DIRECT_CONTACT",
                  "INDIRECT_CONTACT"
                ],
                "title": "AssignableSyncScopeRoleKind",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "space_account_id": {
                "format": "uuid",
                "title": "Space Account Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "contact_space_account_ids",
              "space_account_id"
            ],
            "title": "BatchShareContactsWithSpaceAccountSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelBatchUpdateContactSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "ids": {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "title": "Ids",
                "type": "array"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "ids"
            ],
            "title": "BatchUpdateContactSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelBatchUpdateSpaceAccountCalendarConnectionSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "ids": {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "title": "Ids",
                "type": "array"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "ids"
            ],
            "title": "BatchUpdateSpaceAccountCalendarConnectionSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelBatchUpdateSpaceAccountCalendarSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "ids": {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "title": "Ids",
                "type": "array"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "ids"
            ],
            "title": "BatchUpdateSpaceAccountCalendarSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelBatchUpdateSpaceAccountNoteAttachmentHostingSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "items": {
                "items": {
                  "properties": {
                    "hosting_failure_reason": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Hosting Failure Reason"
                    },
                    "hosting_status": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Hosting Status"
                    },
                    "id": {
                      "format": "uuid",
                      "title": "Id",
                      "type": "string"
                    },
                    "mime_type": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Mime Type"
                    },
                    "serving_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Serving Url"
                    },
                    "task_queue": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Task Queue"
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "title": "BatchUpdateSpaceAccountNoteAttachmentHostingItemPayload",
                  "type": "object"
                },
                "title": "Items",
                "type": "array"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "items"
            ],
            "title": "BatchUpdateSpaceAccountNoteAttachmentHostingSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelBatchUpdateSpaceAccountNoteAttachmentSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "ids": {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "title": "Ids",
                "type": "array"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "ids"
            ],
            "title": "BatchUpdateSpaceAccountNoteAttachmentSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelClearNoteSuggestionSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "note_id": {
                "format": "uuid",
                "title": "Note Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "space_account_id": {
                "format": "uuid",
                "title": "Space Account Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "note_id",
              "space_account_id"
            ],
            "title": "ClearNoteSuggestionSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCompleteAssistantObjectiveSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "CompleteAssistantObjectiveSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCompletePendingAssistantFollowUpsForTaskSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "assistant_id": {
                "format": "uuid",
                "title": "Assistant Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "task_id": {
                "format": "uuid",
                "title": "Task Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "assistant_id",
              "task_id"
            ],
            "title": "CompletePendingAssistantFollowUpsForTaskSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateApiKeySyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Description"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "secret_key_token": {
                "format": "uuid",
                "title": "Secret Key Token",
                "type": "string"
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Title"
              }
            },
            "required": [
              "schema_version",
              "id",
              "secret_key_token"
            ],
            "title": "CreateApiKeySyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateAssistantFollowUpSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "assistant_id": {
                "format": "uuid",
                "title": "Assistant Id",
                "type": "string"
              },
              "commitment_kind": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Commitment Kind"
              },
              "content": {
                "title": "Content",
                "type": "string"
              },
              "deadline_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Deadline At"
              },
              "due_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Due At"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "project_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Project Id"
              },
              "scheduled_for": {
                "format": "date-time",
                "title": "Scheduled For",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "source_context_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Source Context Id"
              },
              "status": {
                "title": "Status",
                "type": "string"
              },
              "task_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Task Id"
              },
              "trigger_not_after": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Trigger Not After"
              },
              "trigger_not_before": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Trigger Not Before"
              },
              "trigger_type": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Trigger Type"
              }
            },
            "required": [
              "schema_version",
              "id",
              "assistant_id",
              "content",
              "status",
              "scheduled_for"
            ],
            "title": "CreateAssistantFollowUpSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateAssistantObjectiveSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "assistant_id": {
                "format": "uuid",
                "title": "Assistant Id",
                "type": "string"
              },
              "blocking": {
                "default": false,
                "title": "Blocking",
                "type": "boolean"
              },
              "context_json": {
                "additionalProperties": true,
                "default": {},
                "title": "Context Json",
                "type": "object"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "key": {
                "title": "Key",
                "type": "string"
              },
              "priority": {
                "title": "Priority",
                "type": "string"
              },
              "prompt": {
                "title": "Prompt",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "scope_key": {
                "default": "",
                "title": "Scope Key",
                "type": "string"
              },
              "scope_kind": {
                "default": "",
                "title": "Scope Kind",
                "type": "string"
              },
              "status": {
                "title": "Status",
                "type": "string"
              },
              "title": {
                "title": "Title",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id",
              "assistant_id",
              "key",
              "title",
              "prompt",
              "status",
              "priority"
            ],
            "title": "CreateAssistantObjectiveSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateAssistantProjectLabelGroupSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "assistant_id": {
                "format": "uuid",
                "title": "Assistant Id",
                "type": "string"
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Description"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "name": {
                "title": "Name",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "assistant_id",
              "name"
            ],
            "title": "CreateAssistantProjectLabelGroupSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateAssistantProjectLabelSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "assistant_id": {
                "format": "uuid",
                "title": "Assistant Id",
                "type": "string"
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Description"
              },
              "group_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Group Id"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "name": {
                "title": "Name",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "assistant_id",
              "name"
            ],
            "title": "CreateAssistantProjectLabelSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateAssistantProjectSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "assistant_id": {
                "format": "uuid",
                "title": "Assistant Id",
                "type": "string"
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Description"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "status": {
                "title": "Status",
                "type": "string"
              },
              "title": {
                "title": "Title",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id",
              "assistant_id",
              "title",
              "status"
            ],
            "title": "CreateAssistantProjectSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateAssistantRoutineSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "assistant_id": {
                "format": "uuid",
                "title": "Assistant Id",
                "type": "string"
              },
              "config_json": {
                "additionalProperties": true,
                "default": {},
                "title": "Config Json",
                "type": "object"
              },
              "description": {
                "title": "Description",
                "type": "string"
              },
              "fixed": {
                "default": false,
                "title": "Fixed",
                "type": "boolean"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "kind": {
                "title": "Kind",
                "type": "string"
              },
              "label": {
                "title": "Label",
                "type": "string"
              },
              "next_run_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Next Run At"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "status": {
                "title": "Status",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id",
              "assistant_id",
              "label",
              "description",
              "kind",
              "status"
            ],
            "title": "CreateAssistantRoutineSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateAssistantTaskLabelGroupSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "assistant_id": {
                "format": "uuid",
                "title": "Assistant Id",
                "type": "string"
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Description"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "name": {
                "title": "Name",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "assistant_id",
              "name"
            ],
            "title": "CreateAssistantTaskLabelGroupSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateAssistantTaskLabelSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "assistant_id": {
                "format": "uuid",
                "title": "Assistant Id",
                "type": "string"
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Description"
              },
              "group_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Group Id"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "name": {
                "title": "Name",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "assistant_id",
              "name"
            ],
            "title": "CreateAssistantTaskLabelSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateAssistantTaskSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "assistant_id": {
                "format": "uuid",
                "title": "Assistant Id",
                "type": "string"
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Description"
              },
              "due_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Due At"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "project_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Project Id"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "status": {
                "title": "Status",
                "type": "string"
              },
              "title": {
                "title": "Title",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id",
              "assistant_id",
              "title",
              "status"
            ],
            "title": "CreateAssistantTaskSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateAudioRecordingSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "associated_client_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Associated Client Id"
              },
              "associated_note_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Associated Note Id"
              },
              "associated_platform_kind": {
                "anyOf": [
                  {
                    "enum": [
                      "web",
                      "macos",
                      "windows",
                      "ios",
                      "internal",
                      "unknown"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Associated Platform Kind"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "processing_status": {
                "anyOf": [
                  {
                    "enum": [
                      "INITIAL",
                      "IN_PROGRESS",
                      "COMPLETED",
                      "ERROR"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Processing Status"
              },
              "recording_status": {
                "anyOf": [
                  {
                    "enum": [
                      "INITIAL",
                      "IN_PROGRESS",
                      "COMPLETED",
                      "ERROR"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Recording Status"
              },
              "retranscription_status": {
                "anyOf": [
                  {
                    "enum": [
                      "INITIAL",
                      "IN_PROGRESS",
                      "COMPLETED",
                      "ERROR"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Retranscription Status"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "upload_status": {
                "anyOf": [
                  {
                    "enum": [
                      "INITIAL",
                      "IN_PROGRESS",
                      "COMPLETED",
                      "SKIPPED",
                      "ERROR"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Upload Status"
              },
              "value_json": {
                "additionalProperties": true,
                "title": "Value Json",
                "type": "object"
              }
            },
            "required": [
              "schema_version",
              "id",
              "value_json"
            ],
            "title": "CreateAudioRecordingSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateCollectionSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "description": {
                "title": "Description",
                "type": "string"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "title": {
                "title": "Title",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id",
              "title",
              "description"
            ],
            "title": "CreateCollectionSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateDataExportSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "kind": {
                "enum": [
                  "MARKDOWN"
                ],
                "title": "DataExportSyncModelKind",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "kind"
            ],
            "title": "CreateDataExportSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateFeatureFlagsSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "flags": {
                "additionalProperties": {},
                "title": "Flags",
                "type": "object"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "owner_space_account_id": {
                "format": "uuid",
                "title": "Owner Space Account Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "owner_space_account_id",
              "flags"
            ],
            "title": "CreateFeatureFlagsSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateMessageSentSessionEventSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "event_kind": {
                "enum": [
                  "INPUT_ATTACHED",
                  "ARTIFACT_CREATED",
                  "OPERATION_PERFORMED",
                  "MESSAGE_SENT",
                  "INPUT_REQUESTED",
                  "INPUT_PROVIDED",
                  "EXPERIMENTAL",
                  "EXTERNAL_INPUT",
                  "USER_MESSAGE",
                  "AGENT_TOOL_INVOCATION",
                  "AGENT_OUTPUT",
                  "USER_ACTION_V1",
                  "AGENT_ACTION_V1",
                  "AGENT_PLANNING_V1",
                  "AGENT_DIGEST_V1",
                  "SYSTEM_NOTIFICATION_V1",
                  "UNKNOWN"
                ],
                "title": "SessionEventKind",
                "type": "string"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "locally_created_at": {
                "format": "date-time",
                "title": "Locally Created At",
                "type": "string"
              },
              "message_value_json": {
                "title": "Message Value Json"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "session_id": {
                "format": "uuid",
                "title": "Session Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id",
              "locally_created_at",
              "session_id",
              "event_kind",
              "message_value_json"
            ],
            "title": "CreateMessageSentSessionEventSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateNoteSourceSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "note_id": {
                "format": "uuid",
                "title": "Note Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "source_id": {
                "format": "uuid",
                "title": "Source Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id",
              "note_id",
              "source_id"
            ],
            "title": "CreateNoteSourceSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateNoteSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "CreateNoteSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateNoteUsingCalendarEventSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "connected_calendar_event_id": {
                "format": "uuid",
                "title": "Connected Calendar Event Id",
                "type": "string"
              },
              "encoded_content": {
                "title": "Encoded Content",
                "type": "string"
              },
              "note_id": {
                "format": "uuid",
                "title": "Note Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "template_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Template Id"
              }
            },
            "required": [
              "schema_version",
              "note_id",
              "connected_calendar_event_id",
              "encoded_content"
            ],
            "title": "CreateNoteUsingCalendarEventSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateNoteUsingMarkdownSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "markdown_content": {
                "title": "Markdown Content",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "markdown_content"
            ],
            "title": "CreateNoteUsingMarkdownSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateNoteUsingTemplateSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "encoded_content": {
                "title": "Encoded Content",
                "type": "string"
              },
              "note_id": {
                "format": "uuid",
                "title": "Note Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "template_id": {
                "format": "uuid",
                "title": "Template Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "note_id",
              "template_id",
              "encoded_content"
            ],
            "title": "CreateNoteUsingTemplateSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateSessionEventSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "associated_session_agent_run_id": {
                "default": null,
                "format": "uuid",
                "title": "Associated Session Agent Run Id",
                "type": "string"
              },
              "event_kind": {
                "enum": [
                  "INPUT_ATTACHED",
                  "ARTIFACT_CREATED",
                  "OPERATION_PERFORMED",
                  "MESSAGE_SENT",
                  "INPUT_REQUESTED",
                  "INPUT_PROVIDED",
                  "EXPERIMENTAL",
                  "EXTERNAL_INPUT",
                  "USER_MESSAGE",
                  "AGENT_TOOL_INVOCATION",
                  "AGENT_OUTPUT",
                  "USER_ACTION_V1",
                  "AGENT_ACTION_V1",
                  "AGENT_PLANNING_V1",
                  "AGENT_DIGEST_V1",
                  "SYSTEM_NOTIFICATION_V1",
                  "UNKNOWN"
                ],
                "title": "SessionEventKind",
                "type": "string"
              },
              "event_value_json": {
                "default": null,
                "title": "Event Value Json"
              },
              "events": {
                "default": null,
                "title": "Events"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "locally_created_at": {
                "format": "date-time",
                "title": "Locally Created At",
                "type": "string"
              },
              "reply_to_session_event_id": {
                "default": null,
                "format": "uuid",
                "title": "Reply To Session Event Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "session_id": {
                "format": "uuid",
                "title": "Session Id",
                "type": "string"
              },
              "session_thread_id": {
                "default": null,
                "format": "uuid",
                "title": "Session Thread Id",
                "type": "string"
              },
              "value_json": {
                "title": "Value Json"
              }
            },
            "required": [
              "schema_version",
              "id",
              "locally_created_at",
              "session_id",
              "event_kind",
              "value_json"
            ],
            "title": "CreateSessionEventSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateSessionSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "config": {
                "anyOf": [
                  {
                    "properties": {
                      "enable_agent_digests": {
                        "anyOf": [
                          {
                            "type": "boolean"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "default": null,
                        "title": "Enable Agent Digests"
                      },
                      "schema_version": {
                        "const": "V2",
                        "title": "Schema Version",
                        "type": "string"
                      },
                      "variant": {
                        "anyOf": [
                          {
                            "enum": [
                              "STANDARD",
                              "SONNET",
                              "GPT_4O",
                              "GEMINI_FLASH",
                              "GPT_41",
                              "GPT_41_MINI",
                              "GPT_5",
                              "GPT_5_MINI",
                              "GPT_5_NANO",
                              "GEMINI_2_5_FLASH_LITE",
                              "GEMINI_2_5_FLASH_PREVIEW_9_25",
                              "GPT_5_1",
                              "GPT_5_2",
                              "GPT_5_3",
                              "GPT_5_3_MINI",
                              "GPT_5_4",
                              "GPT_5_6_TERRA",
                              "CLAUDE_SONNET_4_5",
                              "CLAUDE_SONNET_4_6",
                              "CLAUDE_SONNET_5",
                              "GEMINI_3_FLASH",
                              "GEMINI_3_1_PRO",
                              "GEMINI_3_5_FLASH"
                            ],
                            "title": "SessionConfigVariant",
                            "type": "string"
                          },
                          {
                            "const": "",
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "default": null,
                        "title": "Variant"
                      }
                    },
                    "required": [
                      "schema_version"
                    ],
                    "title": "SessionConfigPayload",
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "description": {
                "anyOf": [
                  {
                    "maxLength": 4096,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Description"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "kind": {
                "anyOf": [
                  {
                    "enum": [
                      "GENERIC",
                      "IMPORT",
                      "TEXT_MESSAGE",
                      "EMAIL",
                      "API_REQUEST",
                      "AUDIO",
                      "WEB_CLIP",
                      "IOS_SHARE_EXTENSION_WEB_CLIP",
                      "AUTO_ORGANIZE",
                      "MEM_IT",
                      "NATIVE_CHAT",
                      "CLEANUP_NOTE",
                      "UNKNOWN"
                    ],
                    "title": "SessionKind",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "status": {
                "anyOf": [
                  {
                    "enum": [
                      "UNKNOWN",
                      "INITIAL",
                      "WAITING",
                      "PROCESSING",
                      "FINISHED",
                      "ERROR",
                      "DISMISSED",
                      "ABANDONED",
                      "CONTEXT_LIMIT_EXCEEDED"
                    ],
                    "title": "SessionStatus",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "title": {
                "anyOf": [
                  {
                    "maxLength": 1024,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Title"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "CreateSessionSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateSourceSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "associated_artifact_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Associated Artifact Id"
              },
              "associated_audio_recording_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Associated Audio Recording Id"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "primary_label": {
                "title": "Primary Label",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "secondary_label": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Secondary Label"
              },
              "source_kind": {
                "title": "Source Kind",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id",
              "source_kind",
              "associated_artifact_id",
              "primary_label"
            ],
            "title": "CreateSourceSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateSpaceAccountAppCalloutSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "app_callout_id": {
                "format": "uuid",
                "title": "App Callout Id",
                "type": "string"
              },
              "is_dismissal_enabled": {
                "default": true,
                "title": "Is Dismissal Enabled",
                "type": "boolean"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "space_account_id": {
                "format": "uuid",
                "title": "Space Account Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "space_account_id",
              "app_callout_id"
            ],
            "title": "CreateSpaceAccountAppCalloutSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateSpaceAccountCalendarConnectionSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "connections": {
                "items": {
                  "properties": {
                    "associated_calendar_connection_id": {
                      "format": "uuid",
                      "title": "Associated Calendar Connection Id",
                      "type": "string"
                    },
                    "id": {
                      "format": "uuid",
                      "title": "Id",
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "associated_calendar_connection_id"
                  ],
                  "title": "CreateSpaceAccountCalendarConnectionItemPayload",
                  "type": "object"
                },
                "title": "Connections",
                "type": "array"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "connections"
            ],
            "title": "CreateSpaceAccountCalendarConnectionSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateSpaceAccountCalendarEventSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "events": {
                "items": {
                  "properties": {
                    "associated_connected_calendar_event_id": {
                      "format": "uuid",
                      "title": "Associated Connected Calendar Event Id",
                      "type": "string"
                    },
                    "associated_space_account_calendar_id": {
                      "format": "uuid",
                      "title": "Associated Space Account Calendar Id",
                      "type": "string"
                    },
                    "id": {
                      "format": "uuid",
                      "title": "Id",
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "associated_space_account_calendar_id",
                    "associated_connected_calendar_event_id"
                  ],
                  "title": "CreateSpaceAccountCalendarEventItemPayload",
                  "type": "object"
                },
                "title": "Events",
                "type": "array"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "events"
            ],
            "title": "CreateSpaceAccountCalendarEventSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateSpaceAccountCalendarSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "calendars": {
                "items": {
                  "properties": {
                    "associated_connected_calendar_id": {
                      "format": "uuid",
                      "title": "Associated Connected Calendar Id",
                      "type": "string"
                    },
                    "associated_space_account_calendar_connection_id": {
                      "format": "uuid",
                      "title": "Associated Space Account Calendar Connection Id",
                      "type": "string"
                    },
                    "id": {
                      "format": "uuid",
                      "title": "Id",
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "associated_space_account_calendar_connection_id",
                    "associated_connected_calendar_id"
                  ],
                  "title": "CreateSpaceAccountCalendarItemPayload",
                  "type": "object"
                },
                "title": "Calendars",
                "type": "array"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "calendars"
            ],
            "title": "CreateSpaceAccountCalendarSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateSpaceAccountNoteAttachmentSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "note_attachments": {
                "items": {
                  "properties": {
                    "associated_note_attachment_id": {
                      "format": "uuid",
                      "title": "Associated Note Attachment Id",
                      "type": "string"
                    },
                    "associated_note_id": {
                      "format": "uuid",
                      "title": "Associated Note Id",
                      "type": "string"
                    },
                    "attachment_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Attachment Url"
                    },
                    "hosting_status": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Hosting Status"
                    },
                    "mime_type": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Mime Type"
                    },
                    "page_count": {
                      "anyOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Page Count"
                    }
                  },
                  "required": [
                    "associated_note_attachment_id",
                    "associated_note_id"
                  ],
                  "title": "CreateSpaceAccountNoteAttachmentItemPayload",
                  "type": "object"
                },
                "title": "Note Attachments",
                "type": "array"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "note_attachments"
            ],
            "title": "CreateSpaceAccountNoteAttachmentSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateSubscriptionSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "current_period_end": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Current Period End"
              },
              "current_period_start": {
                "format": "date-time",
                "title": "Current Period Start",
                "type": "string"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "plan_kind": {
                "default": null,
                "title": "Plan Kind",
                "type": "string"
              },
              "plan_variant": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Plan Variant"
              },
              "provider": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Provider"
              },
              "provider_subscription_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Provider Subscription Id"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "space_account_id": {
                "format": "uuid",
                "title": "Space Account Id",
                "type": "string"
              },
              "status": {
                "title": "Status",
                "type": "string"
              },
              "subscription_ends_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Subscription Ends At"
              },
              "tier": {
                "title": "Tier",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id",
              "space_account_id",
              "tier",
              "status",
              "current_period_start"
            ],
            "title": "CreateSubscriptionSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateTemplateSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "CreateTemplateSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateUploadedFileBatchSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "associated_session_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Associated Session Id"
              },
              "config_json": {
                "default": null,
                "title": "Config Json"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "processing_ended_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Processing Ended At"
              },
              "processing_started_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Processing Started At"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "session_id": {
                "format": "uuid",
                "title": "Session Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id",
              "session_id"
            ],
            "title": "CreateUploadedFileBatchSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelCreateUploadedFileSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "file_size_bytes": {
                "title": "File Size Bytes",
                "type": "integer"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "mime_type": {
                "title": "Mime Type",
                "type": "string"
              },
              "modified_at_timestamp": {
                "default": null,
                "title": "Modified At Timestamp",
                "type": "integer"
              },
              "normalized_filename": {
                "title": "Normalized Filename",
                "type": "string"
              },
              "original_filename": {
                "title": "Original Filename",
                "type": "string"
              },
              "original_filepath": {
                "title": "Original Filepath",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "uploaded_file_batch_id": {
                "format": "uuid",
                "title": "Uploaded File Batch Id",
                "type": "string"
              },
              "uploaded_file_blob_name": {
                "title": "Uploaded File Blob Name",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id",
              "uploaded_file_batch_id",
              "uploaded_file_blob_name",
              "mime_type",
              "normalized_filename",
              "file_size_bytes",
              "original_filename",
              "original_filepath"
            ],
            "title": "CreateUploadedFileSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelDeleteApiKeySyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "DeleteApiKeySyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelDeleteAssistantFollowUpSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "DeleteAssistantFollowUpSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelDeleteAssistantProjectLabelGroupSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "DeleteAssistantProjectLabelGroupSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelDeleteAssistantProjectSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "DeleteAssistantProjectSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelDeleteAssistantRoutineSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "DeleteAssistantRoutineSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelDeleteAssistantTaskLabelGroupSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "DeleteAssistantTaskLabelGroupSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelDeleteAssistantTaskSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "DeleteAssistantTaskSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelDeleteAudioRecordingSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "DeleteAudioRecordingSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelDeleteCollectionSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "DeleteCollectionSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelDeleteNoteSourceSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "note_id": {
                "format": "uuid",
                "title": "Note Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "source_id": {
                "format": "uuid",
                "title": "Source Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "note_id",
              "source_id"
            ],
            "title": "DeleteNoteSourceSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelDeleteNoteSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "DeleteNoteSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelDeleteSessionSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "DeleteSessionSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelDeleteSourceSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "source_id": {
                "format": "uuid",
                "title": "Source Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "source_id"
            ],
            "title": "DeleteSourceSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelDeleteSpaceAccountAppCalloutSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "space_account_app_callout_id": {
                "format": "uuid",
                "title": "Space Account App Callout Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "space_account_app_callout_id"
            ],
            "title": "DeleteSpaceAccountAppCalloutSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelDeleteSpaceAccountCalendarConnectionSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "ids": {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "title": "Ids",
                "type": "array"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "ids"
            ],
            "title": "DeleteSpaceAccountCalendarConnectionSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelDeleteSpaceAccountCalendarEventSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "ids": {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "title": "Ids",
                "type": "array"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "ids"
            ],
            "title": "DeleteSpaceAccountCalendarEventSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelDeleteSpaceAccountCalendarSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "ids": {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "title": "Ids",
                "type": "array"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "ids"
            ],
            "title": "DeleteSpaceAccountCalendarSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelDeleteSpaceAccountNoteAttachmentSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "ids": {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "title": "Ids",
                "type": "array"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "ids"
            ],
            "title": "DeleteSpaceAccountNoteAttachmentSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelDeleteTemplateSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "DeleteTemplateSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelDismissAssistantObjectiveSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "DismissAssistantObjectiveSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelDismissSpaceAccountAppCalloutSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "dismissed_at": {
                "format": "date-time",
                "title": "Dismissed At",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "space_account_app_callout_id": {
                "format": "uuid",
                "title": "Space Account App Callout Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "space_account_app_callout_id",
              "dismissed_at"
            ],
            "title": "DismissSpaceAccountAppCalloutSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelEnableSpaceAccountAppCalloutDismissalSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "space_account_app_callout_id": {
                "format": "uuid",
                "title": "Space Account App Callout Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "space_account_app_callout_id"
            ],
            "title": "EnableSpaceAccountAppCalloutDismissalSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelGrantCollectionAclViaEmailAddressSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "email_address": {
                "format": "email",
                "title": "Email Address",
                "type": "string"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "role_kind": {
                "enum": [
                  "EDITOR",
                  "VIEWER",
                  "DIRECT_CONTACT",
                  "INDIRECT_CONTACT"
                ],
                "title": "AssignableSyncScopeRoleKind",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "role_kind",
              "email_address"
            ],
            "title": "GrantCollectionAclViaEmailAddressSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelGrantCollectionAclViaSpaceAccountSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "role_kind": {
                "enum": [
                  "EDITOR",
                  "VIEWER",
                  "DIRECT_CONTACT",
                  "INDIRECT_CONTACT"
                ],
                "title": "AssignableSyncScopeRoleKind",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "space_account_id": {
                "format": "uuid",
                "title": "Space Account Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id",
              "role_kind",
              "space_account_id"
            ],
            "title": "GrantCollectionAclViaSpaceAccountSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelGrantNoteAclViaEmailAddressSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "email_address": {
                "format": "email",
                "title": "Email Address",
                "type": "string"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "role_kind": {
                "enum": [
                  "EDITOR",
                  "VIEWER",
                  "DIRECT_CONTACT",
                  "INDIRECT_CONTACT"
                ],
                "title": "AssignableSyncScopeRoleKind",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "role_kind",
              "email_address"
            ],
            "title": "GrantNoteAclViaEmailAddressSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelGrantNoteAclViaSpaceAccountSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "role_kind": {
                "enum": [
                  "EDITOR",
                  "VIEWER",
                  "DIRECT_CONTACT",
                  "INDIRECT_CONTACT"
                ],
                "title": "AssignableSyncScopeRoleKind",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "space_account_id": {
                "format": "uuid",
                "title": "Space Account Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id",
              "role_kind",
              "space_account_id"
            ],
            "title": "GrantNoteAclViaSpaceAccountSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelGrantTemplateAclViaEmailAddressSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "email_address": {
                "format": "email",
                "title": "Email Address",
                "type": "string"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "role_kind": {
                "enum": [
                  "EDITOR",
                  "VIEWER",
                  "DIRECT_CONTACT",
                  "INDIRECT_CONTACT"
                ],
                "title": "AssignableSyncScopeRoleKind",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "role_kind",
              "email_address"
            ],
            "title": "GrantTemplateAclViaEmailAddressSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelGrantTemplateAclViaSpaceAccountSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "role_kind": {
                "enum": [
                  "EDITOR",
                  "VIEWER",
                  "DIRECT_CONTACT",
                  "INDIRECT_CONTACT"
                ],
                "title": "AssignableSyncScopeRoleKind",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "space_account_id": {
                "format": "uuid",
                "title": "Space Account Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id",
              "role_kind",
              "space_account_id"
            ],
            "title": "GrantTemplateAclViaSpaceAccountSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelKind": {
        "enum": [
          "API_KEY",
          "COLLECTION",
          "COLLECTION_ITEM",
          "FAVORITE_ITEM",
          "NOTE",
          "NOTE_CONTENT_DOCUMENT",
          "SAVED_SEARCH",
          "CONTACT",
          "COLLECTION_METADATA",
          "SPACE_ACCOUNT_COLLECTION",
          "SPACE_ACCOUNT_NOTE",
          "SPACE_ACCOUNT_CONTACT",
          "FEEDBACK",
          "DATA_EXPORT",
          "SPACE_ACCOUNT_FEATURE_FLAGS_CONFIG",
          "SPACE_ACCOUNT_APP_CALLOUT",
          "TEMPLATE",
          "TEMPLATE_CONTENT_DOCUMENT",
          "SPACE_ACCOUNT_TEMPLATE",
          "UPLOADED_FILE_BATCH",
          "UPLOADED_FILE",
          "NOTE_SOURCE",
          "SOURCE",
          "SESSION",
          "SESSION_EVENT",
          "AUDIO_RECORDING",
          "SUBSCRIPTION",
          "SPACE_ACCOUNT_CALENDAR_CONNECTION",
          "SPACE_ACCOUNT_CALENDAR",
          "SPACE_ACCOUNT_CALENDAR_EVENT",
          "SPACE_ACCOUNT_SETTINGS",
          "SPACE_ACCOUNT_NOTE_ATTACHMENT",
          "ASSISTANT_TASK",
          "ASSISTANT_PROJECT",
          "ASSISTANT_TASK_ACTIVITY",
          "ASSISTANT_PROJECT_ACTIVITY",
          "ASSISTANT_NOTE_ACTIVITY",
          "ASSISTANT_TASK_LABEL",
          "ASSISTANT_TASK_LABEL_GROUP",
          "ASSISTANT_TASK_LABEL_ASSIGNMENT",
          "ASSISTANT_PROJECT_LABEL",
          "ASSISTANT_PROJECT_LABEL_GROUP",
          "ASSISTANT_PROJECT_LABEL_ASSIGNMENT",
          "ASSISTANT_FOLLOW_UP",
          "ASSISTANT_ROUTINE",
          "ASSISTANT_OBJECTIVE",
          "ASSISTANT_NOTE_REVIEW_STATUS",
          "ASSISTANT_SPACE_ACCOUNT_SETTINGS"
        ],
        "title": "SyncModelKind",
        "type": "string"
      },
      "SyncModelLinkNoteToCalendarEventSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "connected_calendar_event_id": {
                "format": "uuid",
                "title": "Connected Calendar Event Id",
                "type": "string"
              },
              "note_id": {
                "format": "uuid",
                "title": "Note Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "note_id",
              "connected_calendar_event_id"
            ],
            "title": "LinkNoteToCalendarEventSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelMakeCollectionPrivateSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "MakeCollectionPrivateSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelMarkCollectionViewedSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "collection_id": {
                "format": "uuid",
                "title": "Collection Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "collection_id"
            ],
            "title": "MarkCollectionViewedSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelMarkCompletedProcessingAudioRecordingSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "MarkCompletedProcessingAudioRecordingSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelMarkErrorProcessingAudioRecordingSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "MarkErrorProcessingAudioRecordingSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelMarkNoteViewedSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "note_id": {
                "format": "uuid",
                "title": "Note Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "note_id"
            ],
            "title": "MarkNoteViewedSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelMarkStartedProcessingAudioRecordingSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "MarkStartedProcessingAudioRecordingSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelMarkTemplateUsedSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "template_id": {
                "format": "uuid",
                "title": "Template Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "template_id"
            ],
            "title": "MarkTemplateUsedSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelMarkTemplateViewedSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "template_id": {
                "format": "uuid",
                "title": "Template Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "template_id"
            ],
            "title": "MarkTemplateViewedSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelProvideFeedbackSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "associated_context": {
                "title": "Associated Context"
              },
              "associated_model_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Associated Model Id"
              },
              "associated_model_kind": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Associated Model Kind"
              },
              "feedback_kind": {
                "enum": [
                  "MEM_IT_RESPONSE",
                  "SEARCH_RESULT"
                ],
                "title": "FeedbackKind",
                "type": "string"
              },
              "feedback_responded_at": {
                "format": "date-time",
                "title": "Feedback Responded At",
                "type": "string"
              },
              "feedback_response_kind": {
                "anyOf": [
                  {
                    "enum": [
                      "UPVOTE",
                      "DOWNVOTE"
                    ],
                    "title": "FeedbackResponseKind",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "feedback_selected_suggestions": {
                "items": {
                  "type": "string"
                },
                "title": "Feedback Selected Suggestions",
                "type": "array"
              },
              "feedback_user_text": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Feedback User Text"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "feedback_kind",
              "feedback_responded_at"
            ],
            "title": "ProvideFeedbackSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelRejectNoteSuggestionSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "note_id": {
                "format": "uuid",
                "title": "Note Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "note_id"
            ],
            "title": "RejectNoteSuggestionSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelRemoveCollectionFromFavoritesSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "collection_id": {
                "format": "uuid",
                "title": "Collection Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "collection_id"
            ],
            "title": "RemoveCollectionFromFavoritesSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelRemoveNoteFromCollectionSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "collection_id": {
                "format": "uuid",
                "title": "Collection Id",
                "type": "string"
              },
              "note_id": {
                "format": "uuid",
                "title": "Note Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "collection_id",
              "note_id"
            ],
            "title": "RemoveNoteFromCollectionSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelRemoveNoteFromFavoritesSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "note_id": {
                "format": "uuid",
                "title": "Note Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "note_id"
            ],
            "title": "RemoveNoteFromFavoritesSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelRemoveSavedSearchFromFavoritesSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "saved_search_id": {
                "format": "uuid",
                "title": "Saved Search Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "saved_search_id"
            ],
            "title": "RemoveSavedSearchFromFavoritesSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelRemoveTemplateFromCollectionSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "collection_id": {
                "format": "uuid",
                "title": "Collection Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "template_id": {
                "format": "uuid",
                "title": "Template Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "template_id",
              "collection_id"
            ],
            "title": "RemoveTemplateFromCollectionSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelResetAssistantSetupStateSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "assistant_id": {
                "format": "uuid",
                "title": "Assistant Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "assistant_id"
            ],
            "title": "ResetAssistantSetupStateSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelResponseSchema": {
        "discriminator": {
          "mapping": {
            "API_KEY": "#/$defs/ApiKeySyncModelResponseSchema",
            "ASSISTANT_FOLLOW_UP": "#/$defs/AssistantFollowUpSyncModelResponseSchema",
            "ASSISTANT_NOTE_ACTIVITY": "#/$defs/AssistantNoteActivitySyncModelResponseSchema",
            "ASSISTANT_NOTE_REVIEW_STATUS": "#/$defs/AssistantNoteReviewStatusSyncModelResponseSchema",
            "ASSISTANT_OBJECTIVE": "#/$defs/AssistantObjectiveSyncModelResponseSchema",
            "ASSISTANT_PROJECT": "#/$defs/AssistantProjectSyncModelResponseSchema",
            "ASSISTANT_PROJECT_ACTIVITY": "#/$defs/AssistantProjectActivitySyncModelResponseSchema",
            "ASSISTANT_PROJECT_LABEL": "#/$defs/AssistantProjectLabelSyncModelResponseSchema",
            "ASSISTANT_PROJECT_LABEL_ASSIGNMENT": "#/$defs/AssistantProjectLabelAssignmentSyncModelResponseSchema",
            "ASSISTANT_PROJECT_LABEL_GROUP": "#/$defs/AssistantProjectLabelGroupSyncModelResponseSchema",
            "ASSISTANT_ROUTINE": "#/$defs/AssistantRoutineSyncModelResponseSchema",
            "ASSISTANT_SPACE_ACCOUNT_SETTINGS": "#/$defs/AssistantSpaceAccountSettingsSyncModelResponseSchema",
            "ASSISTANT_TASK": "#/$defs/AssistantTaskSyncModelResponseSchema",
            "ASSISTANT_TASK_ACTIVITY": "#/$defs/AssistantTaskActivitySyncModelResponseSchema",
            "ASSISTANT_TASK_LABEL": "#/$defs/AssistantTaskLabelSyncModelResponseSchema",
            "ASSISTANT_TASK_LABEL_ASSIGNMENT": "#/$defs/AssistantTaskLabelAssignmentSyncModelResponseSchema",
            "ASSISTANT_TASK_LABEL_GROUP": "#/$defs/AssistantTaskLabelGroupSyncModelResponseSchema",
            "AUDIO_RECORDING": "#/$defs/AudioRecordingSyncModelResponseSchema",
            "COLLECTION": "#/$defs/CollectionSyncModelResponseSchema",
            "COLLECTION_ITEM": "#/$defs/CollectionItemSyncModelResponseSchema",
            "COLLECTION_METADATA": "#/$defs/CollectionMetadataSyncModelResponseSchema",
            "CONTACT": "#/$defs/ContactSyncModelResponseSchema",
            "DATA_EXPORT": "#/$defs/DataExportSyncModelResponseSchema",
            "FAVORITE_ITEM": "#/$defs/FavoriteItemSyncModelResponseSchema",
            "FEEDBACK": "#/$defs/FeedbackSyncModelResponseSchema",
            "NOTE": "#/$defs/NoteSyncModelResponseSchema",
            "NOTE_CONTENT_DOCUMENT": "#/$defs/NoteContentDocumentSyncModelResponseSchema",
            "NOTE_SOURCE": "#/$defs/NoteSourceSyncModelResponseSchema",
            "SAVED_SEARCH": "#/$defs/SavedSearchSyncModelResponseSchema",
            "SESSION": "#/$defs/SessionSyncModelResponseSchema",
            "SESSION_EVENT": "#/$defs/SessionEventSyncModelResponseSchema",
            "SOURCE": "#/$defs/SourceSyncModelResponseSchema",
            "SPACE_ACCOUNT_APP_CALLOUT": "#/$defs/SpaceAccountAppCalloutSyncModelResponseSchema",
            "SPACE_ACCOUNT_CALENDAR": "#/$defs/SpaceAccountCalendarSyncModelResponseSchema",
            "SPACE_ACCOUNT_CALENDAR_CONNECTION": "#/$defs/SpaceAccountCalendarConnectionSyncModelResponseSchema",
            "SPACE_ACCOUNT_CALENDAR_EVENT": "#/$defs/SpaceAccountCalendarEventSyncModelResponseSchema",
            "SPACE_ACCOUNT_COLLECTION": "#/$defs/SpaceAccountCollectionSyncModelResponseSchema",
            "SPACE_ACCOUNT_CONTACT": "#/$defs/SpaceAccountContactSyncModelResponseSchema",
            "SPACE_ACCOUNT_FEATURE_FLAGS_CONFIG": "#/$defs/FeatureFlagsSyncModelResponseSchema",
            "SPACE_ACCOUNT_NOTE": "#/$defs/SpaceAccountNoteSyncModelResponseSchema",
            "SPACE_ACCOUNT_NOTE_ATTACHMENT": "#/$defs/SpaceAccountNoteAttachmentSyncModelResponseSchema",
            "SPACE_ACCOUNT_SETTINGS": "#/$defs/SpaceAccountSettingsSyncModelResponseSchema",
            "SPACE_ACCOUNT_TEMPLATE": "#/$defs/SpaceAccountTemplateSyncModelResponseSchema",
            "SUBSCRIPTION": "#/$defs/SubscriptionSyncModelResponseSchema",
            "TEMPLATE": "#/$defs/TemplateSyncModelResponseSchema",
            "TEMPLATE_CONTENT_DOCUMENT": "#/$defs/TemplateContentDocumentSyncModelResponseSchema",
            "UPLOADED_FILE": "#/$defs/UploadedFileSyncModelResponseSchema",
            "UPLOADED_FILE_BATCH": "#/$defs/UploadedFileBatchSyncModelResponseSchema"
          },
          "propertyName": "model_kind"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/ApiKeySyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/CollectionItemSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/CollectionSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/FavoriteItemSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/NoteSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/NoteContentDocumentSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/SavedSearchSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/SpaceAccountCollectionSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/SpaceAccountNoteSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/ContactSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/CollectionMetadataSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/SpaceAccountContactSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/FeedbackSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/DataExportSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/FeatureFlagsSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/SpaceAccountAppCalloutSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/SpaceAccountSettingsSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/TemplateContentDocumentSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/TemplateSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/SpaceAccountTemplateSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/AudioRecordingSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/UploadedFileSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/UploadedFileBatchSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/NoteSourceSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/SourceSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/SessionSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/SessionEventSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/SubscriptionSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/SpaceAccountCalendarSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/SpaceAccountCalendarEventSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/SpaceAccountCalendarConnectionSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/SpaceAccountNoteAttachmentSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/AssistantTaskSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/AssistantProjectSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/AssistantTaskActivitySyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/AssistantProjectActivitySyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/AssistantNoteActivitySyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/AssistantTaskLabelSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/AssistantTaskLabelGroupSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/AssistantTaskLabelAssignmentSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/AssistantProjectLabelSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/AssistantProjectLabelGroupSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/AssistantProjectLabelAssignmentSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/AssistantFollowUpSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/AssistantRoutineSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/AssistantObjectiveSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/AssistantNoteReviewStatusSyncModelResponseSchema"
          },
          {
            "$ref": "#/components/schemas/AssistantSpaceAccountSettingsSyncModelResponseSchema"
          }
        ],
        "title": "SyncModelResponseSchema"
      },
      "SyncModelRestoreAudioRecordingSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "RestoreAudioRecordingSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelRestoreNoteSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "trash": {
                "default": null,
                "title": "Trash",
                "type": "boolean"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "RestoreNoteSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelRevokeApiKeySyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "RevokeApiKeySyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelRevokeCollectionAclViaEmailAddressSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "email_address": {
                "format": "email",
                "title": "Email Address",
                "type": "string"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "email_address"
            ],
            "title": "RevokeCollectionAclViaEmailAddressSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelRevokeCollectionAclViaSpaceAccountSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "space_account_id": {
                "format": "uuid",
                "title": "Space Account Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id",
              "space_account_id"
            ],
            "title": "RevokeCollectionAclViaSpaceAccountSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelRevokeNoteAclViaEmailAddressSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "email_address": {
                "format": "email",
                "title": "Email Address",
                "type": "string"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "email_address"
            ],
            "title": "RevokeNoteAclViaEmailAddressSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelRevokeNoteAclViaSpaceAccountSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "space_account_id": {
                "format": "uuid",
                "title": "Space Account Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id",
              "space_account_id"
            ],
            "title": "RevokeNoteAclViaSpaceAccountSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelRevokeTemplateAclViaSpaceAccountSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "space_account_id": {
                "format": "uuid",
                "title": "Space Account Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id",
              "space_account_id"
            ],
            "title": "RevokeTemplateAclViaSpaceAccountSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelSetAttributionSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "patches": {
                "items": {
                  "properties": {
                    "added_by_space_account_id": {
                      "anyOf": [
                        {
                          "format": "uuid",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Added By Space Account Id"
                    },
                    "added_context_kind": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Added Context Kind"
                    },
                    "attributed_created_by_space_account_id": {
                      "anyOf": [
                        {
                          "format": "uuid",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Attributed Created By Space Account Id"
                    },
                    "created_context_kind": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Created Context Kind"
                    },
                    "last_modified_by_space_account_id": {
                      "anyOf": [
                        {
                          "format": "uuid",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Last Modified By Space Account Id"
                    },
                    "last_modified_context_kind": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Last Modified Context Kind"
                    },
                    "model_id": {
                      "format": "uuid",
                      "title": "Model Id",
                      "type": "string"
                    },
                    "model_kind": {
                      "title": "Model Kind",
                      "type": "string"
                    },
                    "modified_by_space_account_ids": {
                      "anyOf": [
                        {
                          "items": {
                            "format": "uuid",
                            "type": "string"
                          },
                          "type": "array"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Modified By Space Account Ids"
                    },
                    "replace_modified_by_space_account_ids": {
                      "anyOf": [
                        {
                          "items": {
                            "format": "uuid",
                            "type": "string"
                          },
                          "type": "array"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Replace Modified By Space Account Ids"
                    },
                    "snapshot_attribution_updates": {
                      "anyOf": [
                        {
                          "items": {
                            "properties": {
                              "editor_context_kind": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "default": null,
                                "title": "Editor Context Kind"
                              },
                              "editor_on_behalf_of_space_account_id": {
                                "anyOf": [
                                  {
                                    "format": "uuid",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "default": null,
                                "title": "Editor On Behalf Of Space Account Id"
                              },
                              "editor_space_account_id": {
                                "anyOf": [
                                  {
                                    "format": "uuid",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "default": null,
                                "title": "Editor Space Account Id"
                              },
                              "snapshot_id": {
                                "format": "uuid",
                                "title": "Snapshot Id",
                                "type": "string"
                              }
                            },
                            "required": [
                              "snapshot_id"
                            ],
                            "title": "SetAttributionSnapshotPatch",
                            "type": "object"
                          },
                          "type": "array"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Snapshot Attribution Updates"
                    }
                  },
                  "required": [
                    "model_kind",
                    "model_id"
                  ],
                  "title": "SetAttributionPatch",
                  "type": "object"
                },
                "title": "Patches",
                "type": "array"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "patches"
            ],
            "title": "SetAttributionSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelStartProcessingSessionSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "StartProcessingSessionSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelStartProcessingUploadedFileBatchSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "session_id": {
                "format": "uuid",
                "title": "Session Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id",
              "session_id"
            ],
            "title": "StartProcessingUploadedFileBatchSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelTrackSyncedAppEventSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "event_id": {
                "format": "uuid",
                "title": "Event Id",
                "type": "string"
              },
              "event_kind": {
                "description": "App events that can be tracked from the client via sync operations.\nThis is a curated subset - add new events here as needed.",
                "enum": [
                  "example_synced_app_event"
                ],
                "title": "SyncedAppEventKind",
                "type": "string"
              },
              "occurred_at": {
                "format": "date-time",
                "title": "Occurred At",
                "type": "string"
              },
              "properties": {
                "title": "Properties"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "event_id",
              "event_kind",
              "occurred_at"
            ],
            "title": "TrackSyncedAppEventSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelTrashAudioRecordingSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "TrashAudioRecordingSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelTrashNoteSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "TrashNoteSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUnassignAssistantProjectLabelSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "assistant_id": {
                "format": "uuid",
                "title": "Assistant Id",
                "type": "string"
              },
              "project_id": {
                "format": "uuid",
                "title": "Project Id",
                "type": "string"
              },
              "project_label_id": {
                "format": "uuid",
                "title": "Project Label Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "assistant_id",
              "project_label_id",
              "project_id"
            ],
            "title": "UnassignAssistantProjectLabelSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUnassignAssistantTaskLabelSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "assistant_id": {
                "format": "uuid",
                "title": "Assistant Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "task_id": {
                "format": "uuid",
                "title": "Task Id",
                "type": "string"
              },
              "task_label_id": {
                "format": "uuid",
                "title": "Task Label Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "assistant_id",
              "task_label_id",
              "task_id"
            ],
            "title": "UnassignAssistantTaskLabelSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateApiKeySyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Description"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Title"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "UpdateApiKeySyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateAssistantFollowUpSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "clear_project_id": {
                "default": false,
                "title": "Clear Project Id",
                "type": "boolean"
              },
              "clear_task_id": {
                "default": false,
                "title": "Clear Task Id",
                "type": "boolean"
              },
              "commitment_kind": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Commitment Kind"
              },
              "completed_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Completed At"
              },
              "content": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Content"
              },
              "deadline_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Deadline At"
              },
              "due_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Due At"
              },
              "fired_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Fired At"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "project_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Project Id"
              },
              "scheduled_for": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Scheduled For"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "status": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Status"
              },
              "task_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Task Id"
              },
              "trigger_not_after": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Trigger Not After"
              },
              "trigger_not_before": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Trigger Not Before"
              },
              "trigger_type": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Trigger Type"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "UpdateAssistantFollowUpSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateAssistantNoteReviewStatusSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "description": "Refreshes the note-review status sync model by re-reading the latest\n`AssistantNoteReviewSession` row for (assistant_id, note_id).",
            "properties": {
              "assistant_id": {
                "format": "uuid",
                "title": "Assistant Id",
                "type": "string"
              },
              "note_id": {
                "format": "uuid",
                "title": "Note Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "assistant_id",
              "note_id"
            ],
            "title": "UpdateAssistantNoteReviewStatusSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateAssistantProjectLabelGroupSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Description"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Name"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "UpdateAssistantProjectLabelGroupSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateAssistantProjectSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Description"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "status": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Status"
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Title"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "UpdateAssistantProjectSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateAssistantRoutineSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "clear_next_run_at": {
                "default": false,
                "title": "Clear Next Run At",
                "type": "boolean"
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Description"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "label": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Label"
              },
              "last_run_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Last Run At"
              },
              "next_run_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Next Run At"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "status": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Status"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "UpdateAssistantRoutineSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateAssistantSpaceAccountSettingsSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "description": "Upsert-and-patch settings for a given assistant.\n\nFields omitted (None) are left untouched. To clear text fields, pass an\nempty string (not None).",
            "properties": {
              "assistant_id": {
                "format": "uuid",
                "title": "Assistant Id",
                "type": "string"
              },
              "communication_email_enabled": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Communication Email Enabled"
              },
              "communication_push_notification_enabled": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Communication Push Notification Enabled"
              },
              "communication_slack_enabled": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Communication Slack Enabled"
              },
              "email_sender_allowlist": {
                "anyOf": [
                  {
                    "items": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Email Sender Allowlist"
              },
              "preferred_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Preferred Name"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "timezone": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Timezone"
              }
            },
            "required": [
              "schema_version",
              "assistant_id"
            ],
            "title": "UpdateAssistantSpaceAccountSettingsSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateAssistantTaskLabelGroupSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Description"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Name"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "UpdateAssistantTaskLabelGroupSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateAssistantTaskSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "clear_due_at": {
                "default": false,
                "title": "Clear Due At",
                "type": "boolean"
              },
              "clear_project_id": {
                "default": false,
                "title": "Clear Project Id",
                "type": "boolean"
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Description"
              },
              "due_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Due At"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "project_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Project Id"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "status": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Status"
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Title"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "UpdateAssistantTaskSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateAudioRecordingSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "associated_client_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Associated Client Id"
              },
              "associated_note_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Associated Note Id"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "processing_status": {
                "anyOf": [
                  {
                    "enum": [
                      "INITIAL",
                      "IN_PROGRESS",
                      "COMPLETED",
                      "ERROR"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Processing Status"
              },
              "recording_status": {
                "anyOf": [
                  {
                    "enum": [
                      "INITIAL",
                      "IN_PROGRESS",
                      "COMPLETED",
                      "ERROR"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Recording Status"
              },
              "retranscription_status": {
                "anyOf": [
                  {
                    "enum": [
                      "INITIAL",
                      "IN_PROGRESS",
                      "COMPLETED",
                      "ERROR"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Retranscription Status"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "upload_status": {
                "anyOf": [
                  {
                    "enum": [
                      "INITIAL",
                      "IN_PROGRESS",
                      "COMPLETED",
                      "SKIPPED",
                      "ERROR"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Upload Status"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "UpdateAudioRecordingSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateCollectionAclViaEmailAddressSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "email_address": {
                "format": "email",
                "title": "Email Address",
                "type": "string"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "role_kind": {
                "enum": [
                  "EDITOR",
                  "VIEWER",
                  "DIRECT_CONTACT",
                  "INDIRECT_CONTACT"
                ],
                "title": "AssignableSyncScopeRoleKind",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "role_kind",
              "email_address"
            ],
            "title": "UpdateCollectionAclViaEmailAddressSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateCollectionAclViaSpaceAccountSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "role_kind": {
                "enum": [
                  "EDITOR",
                  "VIEWER",
                  "DIRECT_CONTACT",
                  "INDIRECT_CONTACT"
                ],
                "title": "AssignableSyncScopeRoleKind",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "space_account_id": {
                "format": "uuid",
                "title": "Space Account Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id",
              "role_kind",
              "space_account_id"
            ],
            "title": "UpdateCollectionAclViaSpaceAccountSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateCollectionSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "description": {
                "default": null,
                "title": "Description",
                "type": "string"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "title": {
                "default": null,
                "title": "Title",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "UpdateCollectionSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateDataExportSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "ended_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Ended At"
              },
              "ended_with_error": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Ended With Error"
              },
              "export_zip_filepath": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Export Zip Filepath"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  2
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "UpdateDataExportSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateFavoriteItemSortKeySyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "favorite_item_id": {
                "format": "uuid",
                "title": "Favorite Item Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "sort_key": {
                "title": "Sort Key",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "favorite_item_id",
              "sort_key"
            ],
            "title": "UpdateFavoriteItemSortKeySyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateFeatureFlagsSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "flags": {
                "additionalProperties": {},
                "title": "Flags",
                "type": "object"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "owner_space_account_id": {
                "format": "uuid",
                "title": "Owner Space Account Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "owner_space_account_id",
              "flags"
            ],
            "title": "UpdateFeatureFlagsSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateNoteAclViaCollectionSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "collection_id": {
                "format": "uuid",
                "title": "Collection Id",
                "type": "string"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "role_kind": {
                "enum": [
                  "EDITOR",
                  "VIEWER",
                  "DIRECT_CONTACT",
                  "INDIRECT_CONTACT"
                ],
                "title": "AssignableSyncScopeRoleKind",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "role_kind",
              "collection_id"
            ],
            "title": "UpdateNoteAclViaCollectionSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateNoteAclViaEmailAddressSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "email_address": {
                "format": "email",
                "title": "Email Address",
                "type": "string"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "role_kind": {
                "enum": [
                  "EDITOR",
                  "VIEWER",
                  "DIRECT_CONTACT",
                  "INDIRECT_CONTACT"
                ],
                "title": "AssignableSyncScopeRoleKind",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "role_kind",
              "email_address"
            ],
            "title": "UpdateNoteAclViaEmailAddressSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateNoteAclViaSpaceAccountSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "role_kind": {
                "enum": [
                  "EDITOR",
                  "VIEWER",
                  "DIRECT_CONTACT",
                  "INDIRECT_CONTACT"
                ],
                "title": "AssignableSyncScopeRoleKind",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "space_account_id": {
                "format": "uuid",
                "title": "Space Account Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id",
              "role_kind",
              "space_account_id"
            ],
            "title": "UpdateNoteAclViaSpaceAccountSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateNoteContentOverwritingFullStateDestructivelySyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "encoded_content": {
                "title": "Encoded Content",
                "type": "string"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "encoded_content"
            ],
            "title": "UpdateNoteContentOverwritingFullStateDestructivelySyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateNoteContentUsingDiffSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "encoded_content_diff": {
                "title": "Encoded Content Diff",
                "type": "string"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "is_silent": {
                "default": false,
                "title": "Is Silent",
                "type": "boolean"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "encoded_content_diff"
            ],
            "title": "UpdateNoteContentUsingDiffSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateNoteContentUsingFullStateSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "encoded_content": {
                "title": "Encoded Content",
                "type": "string"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "encoded_content"
            ],
            "title": "UpdateNoteContentUsingFullStateSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateNoteContentUsingMarkdownSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "markdown_content": {
                "title": "Markdown Content",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "version": {
                "minimum": 1,
                "title": "Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "markdown_content",
              "version"
            ],
            "title": "UpdateNoteContentUsingMarkdownSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateNoteContentUsingTemplateAndDiffSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "encoded_content_diff": {
                "title": "Encoded Content Diff",
                "type": "string"
              },
              "note_id": {
                "format": "uuid",
                "title": "Note Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "template_id": {
                "format": "uuid",
                "title": "Template Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "note_id",
              "template_id",
              "encoded_content_diff"
            ],
            "title": "UpdateNoteContentUsingTemplateAndDiffSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateNoteIsEditableByAiSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "is_editable_by_ai": {
                "title": "Is Editable By Ai",
                "type": "boolean"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "is_editable_by_ai"
            ],
            "title": "UpdateNoteIsEditableByAiSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateNoteLocallyCreatedAtSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "new_locally_created_at": {
                "format": "date-time",
                "title": "New Locally Created At",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "new_locally_created_at"
            ],
            "title": "UpdateNoteLocallyCreatedAtSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateNoteReminderShillSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "action": {
                "enum": [
                  "upsert",
                  "dismiss",
                  "click"
                ],
                "title": "UpdateNoteReminderShillAction",
                "type": "string"
              },
              "note_id": {
                "format": "uuid",
                "title": "Note Id",
                "type": "string"
              },
              "reminder_shill": {
                "default": null,
                "properties": {
                  "event_source": {
                    "title": "Event Source",
                    "type": "string"
                  },
                  "generated_at": {
                    "format": "date-time",
                    "title": "Generated At",
                    "type": "string"
                  },
                  "generated_from_note_model_version": {
                    "title": "Generated From Note Model Version",
                    "type": "integer"
                  },
                  "id": {
                    "format": "uuid",
                    "title": "Id",
                    "type": "string"
                  },
                  "is_clicked": {
                    "title": "Is Clicked",
                    "type": "boolean"
                  },
                  "is_dismissed": {
                    "title": "Is Dismissed",
                    "type": "boolean"
                  },
                  "text": {
                    "title": "Text",
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "text",
                  "is_dismissed",
                  "is_clicked",
                  "generated_at",
                  "generated_from_note_model_version",
                  "event_source"
                ],
                "title": "Reminder Shill",
                "type": "object"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "space_account_id": {
                "default": null,
                "format": "uuid",
                "title": "Space Account Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "note_id",
              "action"
            ],
            "title": "UpdateNoteReminderShillSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateSessionEventSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "associated_session_agent_run_id": {
                "default": null,
                "format": "uuid",
                "title": "Associated Session Agent Run Id",
                "type": "string"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "override_created_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Override Created At"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "value_json": {
                "default": null,
                "title": "Value Json"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "UpdateSessionEventSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateSessionSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "config": {
                "anyOf": [
                  {
                    "properties": {
                      "enable_agent_digests": {
                        "anyOf": [
                          {
                            "type": "boolean"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "default": null,
                        "title": "Enable Agent Digests"
                      },
                      "schema_version": {
                        "const": "V2",
                        "title": "Schema Version",
                        "type": "string"
                      },
                      "variant": {
                        "anyOf": [
                          {
                            "enum": [
                              "STANDARD",
                              "SONNET",
                              "GPT_4O",
                              "GEMINI_FLASH",
                              "GPT_41",
                              "GPT_41_MINI",
                              "GPT_5",
                              "GPT_5_MINI",
                              "GPT_5_NANO",
                              "GEMINI_2_5_FLASH_LITE",
                              "GEMINI_2_5_FLASH_PREVIEW_9_25",
                              "GPT_5_1",
                              "GPT_5_2",
                              "GPT_5_3",
                              "GPT_5_3_MINI",
                              "GPT_5_4",
                              "GPT_5_6_TERRA",
                              "CLAUDE_SONNET_4_5",
                              "CLAUDE_SONNET_4_6",
                              "CLAUDE_SONNET_5",
                              "GEMINI_3_FLASH",
                              "GEMINI_3_1_PRO",
                              "GEMINI_3_5_FLASH"
                            ],
                            "title": "SessionConfigVariant",
                            "type": "string"
                          },
                          {
                            "const": "",
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "default": null,
                        "title": "Variant"
                      }
                    },
                    "required": [
                      "schema_version"
                    ],
                    "title": "SessionConfigPayload",
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "description": {
                "anyOf": [
                  {
                    "maxLength": 4096,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Description"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "kind": {
                "anyOf": [
                  {
                    "enum": [
                      "GENERIC",
                      "IMPORT",
                      "TEXT_MESSAGE",
                      "EMAIL",
                      "API_REQUEST",
                      "AUDIO",
                      "WEB_CLIP",
                      "IOS_SHARE_EXTENSION_WEB_CLIP",
                      "AUTO_ORGANIZE",
                      "MEM_IT",
                      "NATIVE_CHAT",
                      "CLEANUP_NOTE",
                      "UNKNOWN"
                    ],
                    "title": "SessionKind",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "last_event_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Last Event At"
              },
              "last_user_action_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Last User Action At"
              },
              "override_created_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Override Created At"
              },
              "processing_scheduled_for": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Processing Scheduled For"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "status": {
                "anyOf": [
                  {
                    "enum": [
                      "UNKNOWN",
                      "INITIAL",
                      "WAITING",
                      "PROCESSING",
                      "FINISHED",
                      "ERROR",
                      "DISMISSED",
                      "ABANDONED",
                      "CONTEXT_LIMIT_EXCEEDED"
                    ],
                    "title": "SessionStatus",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "title": {
                "anyOf": [
                  {
                    "maxLength": 1024,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Title"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "UpdateSessionSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateSpaceAccountAppCalloutSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "dismissed_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Dismissed At"
              },
              "is_dismissal_enabled": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Is Dismissal Enabled"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "space_account_app_callout_id": {
                "format": "uuid",
                "title": "Space Account App Callout Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "space_account_app_callout_id",
              "dismissed_at"
            ],
            "title": "UpdateSpaceAccountAppCalloutSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateSpaceAccountCalendarEventSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "is_hidden": {
                "title": "Is Hidden",
                "type": "boolean"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "is_hidden"
            ],
            "title": "UpdateSpaceAccountCalendarEventSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateSpaceAccountSettingsSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "settings": {
                "properties": {
                  "calendar": {
                    "anyOf": [
                      {
                        "properties": {
                          "enable_calendar_event_notifications": {
                            "anyOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "default": null,
                            "title": "Enable Calendar Event Notifications"
                          },
                          "enable_unscheduled_meeting_notifications": {
                            "anyOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "default": null,
                            "title": "Enable Unscheduled Meeting Notifications"
                          },
                          "hide_calendar_integration_shill": {
                            "anyOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "default": null,
                            "title": "Hide Calendar Integration Shill"
                          }
                        },
                        "title": "CalendarSettingsPatchPayload",
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "chat": {
                    "anyOf": [
                      {
                        "properties": {
                          "instructions": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "default": null,
                            "title": "Instructions"
                          }
                        },
                        "title": "ChatSettingsPatchPayload",
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "mem_agent": {
                    "anyOf": [
                      {
                        "properties": {
                          "hold_to_talk_key": {
                            "anyOf": [
                              {
                                "enum": [
                                  "tab",
                                  "caps-lock",
                                  "right-shift",
                                  "right-alt",
                                  "right-ctrl",
                                  "scroll-lock",
                                  "fn"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "default": null,
                            "title": "Hold To Talk Key"
                          },
                          "reminders_callout_dismissed_at": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "default": null,
                            "title": "Reminders Callout Dismissed At"
                          },
                          "reminders_callout_is_dismissible": {
                            "anyOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "default": null,
                            "title": "Reminders Callout Is Dismissible"
                          }
                        },
                        "title": "MemAgentSettingsPatchPayload",
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "voice": {
                    "anyOf": [
                      {
                        "properties": {
                          "custom_vocabulary": {
                            "anyOf": [
                              {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "default": null,
                            "title": "Custom Vocabulary"
                          },
                          "processing_instructions": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "default": null,
                            "title": "Processing Instructions"
                          }
                        },
                        "title": "VoiceSettingsPatchPayload",
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "title": "SpaceAccountSettingsPatchPayload",
                "type": "object"
              },
              "space_account_id": {
                "format": "uuid",
                "title": "Space Account Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "space_account_id",
              "settings"
            ],
            "title": "UpdateSpaceAccountSettingsSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateSubscriptionSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "current_period_end": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Current Period End"
              },
              "current_period_start": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Current Period Start"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "plan_kind": {
                "default": null,
                "title": "Plan Kind",
                "type": "string"
              },
              "plan_variant": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Plan Variant"
              },
              "provider": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Provider"
              },
              "provider_subscription_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Provider Subscription Id"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "status": {
                "default": null,
                "title": "Status",
                "type": "string"
              },
              "subscription_ends_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Subscription Ends At"
              },
              "tier": {
                "default": null,
                "title": "Tier",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "UpdateSubscriptionSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateTemplateAclViaCollectionSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "collection_id": {
                "format": "uuid",
                "title": "Collection Id",
                "type": "string"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "role_kind": {
                "enum": [
                  "EDITOR",
                  "VIEWER",
                  "DIRECT_CONTACT",
                  "INDIRECT_CONTACT"
                ],
                "title": "AssignableSyncScopeRoleKind",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "role_kind",
              "collection_id"
            ],
            "title": "UpdateTemplateAclViaCollectionSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateTemplateAclViaSpaceAccountSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "role_kind": {
                "enum": [
                  "EDITOR",
                  "VIEWER",
                  "DIRECT_CONTACT",
                  "INDIRECT_CONTACT"
                ],
                "title": "AssignableSyncScopeRoleKind",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "space_account_id": {
                "format": "uuid",
                "title": "Space Account Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id",
              "role_kind",
              "space_account_id"
            ],
            "title": "UpdateTemplateAclViaSpaceAccountSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateTemplateContentUsingDiffSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "encoded_content_diff": {
                "title": "Encoded Content Diff",
                "type": "string"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id",
              "encoded_content_diff"
            ],
            "title": "UpdateTemplateContentUsingDiffSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateTemplateSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "is_auto_sharing_enabled": {
                "default": null,
                "title": "Is Auto Sharing Enabled",
                "type": "boolean"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "title": {
                "default": null,
                "title": "Title",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "UpdateTemplateSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpdateUploadedFileBatchSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "config_json": {
                "default": null,
                "title": "Config Json"
              },
              "id": {
                "format": "uuid",
                "title": "Id",
                "type": "string"
              },
              "processing_ended_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Processing Ended At"
              },
              "processing_started_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Processing Started At"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              }
            },
            "required": [
              "schema_version",
              "id"
            ],
            "title": "UpdateUploadedFileBatchSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncModelUpsertNoteSuggestionSyncOperationPayloadRequest": {
        "properties": {
          "payload": {
            "properties": {
              "app_event_artifact_id": {
                "default": null,
                "format": "uuid",
                "title": "App Event Artifact Id",
                "type": "string"
              },
              "audio_recording_merge_intent": {
                "default": null,
                "properties": {
                  "canonical_audio_recording_id": {
                    "format": "uuid",
                    "title": "Canonical Audio Recording Id",
                    "type": "string"
                  },
                  "source_audio_recording_ids": {
                    "items": {
                      "format": "uuid",
                      "type": "string"
                    },
                    "title": "Source Audio Recording Ids",
                    "type": "array"
                  }
                },
                "required": [
                  "canonical_audio_recording_id",
                  "source_audio_recording_ids"
                ],
                "title": "Audio Recording Merge Intent",
                "type": "object"
              },
              "kind": {
                "title": "Kind",
                "type": "string"
              },
              "metadata": {
                "additionalProperties": {},
                "title": "Metadata",
                "type": "object"
              },
              "note_id": {
                "format": "uuid",
                "title": "Note Id",
                "type": "string"
              },
              "prev_encoded_content": {
                "title": "Prev Encoded Content",
                "type": "string"
              },
              "prev_markdown_content": {
                "title": "Prev Markdown Content",
                "type": "string"
              },
              "prev_primary_label": {
                "title": "Prev Primary Label",
                "type": "string"
              },
              "prev_secondary_label": {
                "title": "Prev Secondary Label",
                "type": "string"
              },
              "schema_version": {
                "enum": [
                  1
                ],
                "title": "Schema Version",
                "type": "integer"
              },
              "space_account_id": {
                "default": null,
                "format": "uuid",
                "title": "Space Account Id",
                "type": "string"
              },
              "suggested_encoded_content": {
                "title": "Suggested Encoded Content",
                "type": "string"
              },
              "suggested_encoded_content_diff": {
                "title": "Suggested Encoded Content Diff",
                "type": "string"
              },
              "suggested_markdown_content": {
                "title": "Suggested Markdown Content",
                "type": "string"
              },
              "suggested_primary_label": {
                "title": "Suggested Primary Label",
                "type": "string"
              },
              "suggested_secondary_label": {
                "title": "Suggested Secondary Label",
                "type": "string"
              },
              "suggestion_id": {
                "default": null,
                "format": "uuid",
                "title": "Suggestion Id",
                "type": "string"
              }
            },
            "required": [
              "schema_version",
              "note_id",
              "suggested_encoded_content",
              "suggested_encoded_content_diff",
              "kind",
              "prev_encoded_content",
              "prev_primary_label",
              "prev_secondary_label",
              "prev_markdown_content",
              "suggested_primary_label",
              "suggested_secondary_label",
              "suggested_markdown_content",
              "metadata"
            ],
            "title": "UpsertNoteSuggestionSyncOperationPayload",
            "type": "object"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "SyncOperationPartialResponse": {
        "properties": {
          "id": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "SyncOperationResponse": {
        "properties": {
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SyncOperationValueResponse"
          }
        },
        "required": [
          "id",
          "value"
        ],
        "type": "object"
      },
      "SyncOperationValueResponse": {
        "description": "Deprecated.\nReplaced by `sync_client_group_mutation_sequence_version`.",
        "properties": {
          "latest_space_account_sequence_id": {
            "type": "integer"
          },
          "sync_client_group_mutation_sequence_version": {
            "type": "integer"
          }
        },
        "required": [
          "latest_space_account_sequence_id",
          "sync_client_group_mutation_sequence_version"
        ],
        "type": "object"
      },
      "SyncScopeCollectionSchema": {
        "properties": {
          "scope_kind": {
            "const": "COLLECTION_SCOPE",
            "title": "Scope Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SyncScopeCollectionValueSchema"
          }
        },
        "required": [
          "scope_kind",
          "value"
        ],
        "title": "SyncScopeCollectionSchema",
        "type": "object"
      },
      "SyncScopeCollectionValueSchema": {
        "properties": {
          "collection_id": {
            "format": "uuid",
            "title": "Collection Id",
            "type": "string"
          }
        },
        "required": [
          "collection_id"
        ],
        "title": "SyncScopeCollectionValueSchema",
        "type": "object"
      },
      "SyncScopeCollectionWithRoleSchema": {
        "properties": {
          "role_kind": {
            "$ref": "#/components/schemas/SyncScopeRoleKind"
          },
          "scope_kind": {
            "const": "COLLECTION_SCOPE",
            "title": "Scope Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SyncScopeCollectionValueSchema"
          }
        },
        "required": [
          "scope_kind",
          "value",
          "role_kind"
        ],
        "title": "SyncScopeCollectionWithRoleSchema",
        "type": "object"
      },
      "SyncScopeGuestAccountSchema": {
        "properties": {
          "scope_kind": {
            "const": "GUEST_ACCOUNT_SCOPE",
            "title": "Scope Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SyncScopeGuestAccountValueSchema"
          }
        },
        "required": [
          "scope_kind",
          "value"
        ],
        "title": "SyncScopeGuestAccountSchema",
        "type": "object"
      },
      "SyncScopeGuestAccountValueSchema": {
        "properties": {
          "guest_account_id": {
            "format": "uuid",
            "title": "Guest Account Id",
            "type": "string"
          }
        },
        "required": [
          "guest_account_id"
        ],
        "title": "SyncScopeGuestAccountValueSchema",
        "type": "object"
      },
      "SyncScopeGuestAccountWithRoleSchema": {
        "properties": {
          "role_kind": {
            "$ref": "#/components/schemas/SyncScopeRoleKind"
          },
          "scope_kind": {
            "const": "GUEST_ACCOUNT_SCOPE",
            "title": "Scope Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SyncScopeGuestAccountValueSchema"
          }
        },
        "required": [
          "scope_kind",
          "value",
          "role_kind"
        ],
        "title": "SyncScopeGuestAccountWithRoleSchema",
        "type": "object"
      },
      "SyncScopePermissionSchema": {
        "discriminator": {
          "mapping": {
            "COLLECTION_SCOPE": "#/$defs/SyncScopeCollectionSchema",
            "GUEST_ACCOUNT_SCOPE": "#/$defs/SyncScopeGuestAccountSchema",
            "SPACE_ACCOUNT_SCOPE": "#/$defs/SyncScopeSpaceAccountSchema",
            "SPACE_SCOPE": "#/$defs/SyncScopeSpaceSchema"
          },
          "propertyName": "scope_kind"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/SyncScopeCollectionSchema"
          },
          {
            "$ref": "#/components/schemas/SyncScopeSpaceAccountSchema"
          },
          {
            "$ref": "#/components/schemas/SyncScopeGuestAccountSchema"
          },
          {
            "$ref": "#/components/schemas/SyncScopeSpaceSchema"
          }
        ],
        "title": "SyncScopePermissionSchema"
      },
      "SyncScopeRoleAndPermissionSchema": {
        "discriminator": {
          "mapping": {
            "COLLECTION_SCOPE": "#/$defs/SyncScopeCollectionWithRoleSchema",
            "GUEST_ACCOUNT_SCOPE": "#/$defs/SyncScopeGuestAccountWithRoleSchema",
            "SPACE_ACCOUNT_SCOPE": "#/$defs/SyncScopeSpaceAccountWithRoleSchema",
            "SPACE_SCOPE": "#/$defs/SyncScopeSpaceWithRoleSchema"
          },
          "propertyName": "scope_kind"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
          },
          {
            "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
          },
          {
            "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
          },
          {
            "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
          }
        ],
        "title": "SyncScopeRoleAndPermissionSchema"
      },
      "SyncScopeRoleKind": {
        "enum": [
          "OWNER",
          "ADMIN",
          "EDITOR",
          "CONTRIBUTOR",
          "VIEWER",
          "DIRECT_CONTACT",
          "INDIRECT_CONTACT"
        ],
        "title": "SyncScopeRoleKind",
        "type": "string"
      },
      "SyncScopeSpaceAccountSchema": {
        "properties": {
          "scope_kind": {
            "const": "SPACE_ACCOUNT_SCOPE",
            "title": "Scope Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SyncScopeSpaceAccountValueSchema"
          }
        },
        "required": [
          "scope_kind",
          "value"
        ],
        "title": "SyncScopeSpaceAccountSchema",
        "type": "object"
      },
      "SyncScopeSpaceAccountValueSchema": {
        "properties": {
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          }
        },
        "required": [
          "space_account_id"
        ],
        "title": "SyncScopeSpaceAccountValueSchema",
        "type": "object"
      },
      "SyncScopeSpaceAccountWithRoleSchema": {
        "properties": {
          "role_kind": {
            "$ref": "#/components/schemas/SyncScopeRoleKind"
          },
          "scope_kind": {
            "const": "SPACE_ACCOUNT_SCOPE",
            "title": "Scope Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SyncScopeSpaceAccountValueSchema"
          }
        },
        "required": [
          "scope_kind",
          "value",
          "role_kind"
        ],
        "title": "SyncScopeSpaceAccountWithRoleSchema",
        "type": "object"
      },
      "SyncScopeSpaceSchema": {
        "properties": {
          "scope_kind": {
            "const": "SPACE_SCOPE",
            "title": "Scope Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SyncScopeSpaceValueSchema"
          }
        },
        "required": [
          "scope_kind",
          "value"
        ],
        "title": "SyncScopeSpaceSchema",
        "type": "object"
      },
      "SyncScopeSpaceValueSchema": {
        "properties": {
          "space_id": {
            "format": "uuid",
            "title": "Space Id",
            "type": "string"
          }
        },
        "required": [
          "space_id"
        ],
        "title": "SyncScopeSpaceValueSchema",
        "type": "object"
      },
      "SyncScopeSpaceWithRoleSchema": {
        "properties": {
          "role_kind": {
            "$ref": "#/components/schemas/SyncScopeRoleKind"
          },
          "scope_kind": {
            "const": "SPACE_SCOPE",
            "title": "Scope Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SyncScopeSpaceValueSchema"
          }
        },
        "required": [
          "scope_kind",
          "value",
          "role_kind"
        ],
        "title": "SyncScopeSpaceWithRoleSchema",
        "type": "object"
      },
      "SyncUpdatePartialValueResponseSchema": {
        "properties": {
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "$ref": "#/components/schemas/SyncModelKind"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version"
        ],
        "title": "SyncUpdatePartialValueResponseSchema",
        "type": "object"
      },
      "TaskListQuerySchema": {
        "properties": {
          "limit": {
            "anyOf": [
              {
                "maximum": 100,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 50,
            "description": "Maximum number of tasks in this page.\nDefault is 50; valid range is 1 to 100.",
            "title": "Limit"
          },
          "order_by": {
            "allOf": [
              {
                "enum": [
                  "created_at",
                  "updated_at"
                ],
                "title": "AssistantTaskOrderBy",
                "type": "string"
              }
            ],
            "default": "updated_at",
            "description": "Sort key for pagination boundaries.\nUse `updated_at` (default) for recency feeds.\nUse `created_at` for creation-order views."
          },
          "page": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Opaque cursor from a previous list response.\nOmit for the first page.\nIMPORTANT: Reuse with the same `order_by`, `status`, and `project_id` values.",
            "title": "Page"
          },
          "project_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional filter to tasks belonging to a single project.",
            "title": "Project Id"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TaskStatusInput"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional filter by task status."
          }
        },
        "title": "TaskListQuerySchema",
        "type": "object"
      },
      "TaskListResponseSchema": {
        "example": {
          "next_page": null,
          "request_id": "api-request-018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
          "results": [
            {
              "created_at": "2026-04-27T10:00:00Z",
              "description": null,
              "due_at": "2026-05-15T17:00:00Z",
              "id": "5e29c8a2-c73b-476b-9311-e2579712d4b1",
              "project_id": null,
              "status": "pending",
              "title": "Send Q1 planning recap",
              "updated_at": "2026-04-27T10:00:00Z"
            }
          ],
          "total": 1
        },
        "properties": {
          "next_page": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Opaque cursor for the next page of task results.\n`null` when there are no more results.",
            "title": "Next Page"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "results": {
            "description": "Page of task results matching the requested filters and sort.",
            "items": {
              "$ref": "#/components/schemas/TaskResponseItemSchema"
            },
            "title": "Results",
            "type": "array"
          },
          "total": {
            "description": "Total number of matching tasks before pagination is applied.",
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "request_id",
          "results",
          "total"
        ],
        "title": "TaskListResponseSchema",
        "type": "object"
      },
      "TaskResponseItemSchema": {
        "properties": {
          "created_at": {
            "description": "Creation timestamp for the task in ISO 8601 format.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional longer description currently stored on the task.",
            "title": "Description"
          },
          "due_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Task deadline, if set, in ISO 8601 format.",
            "title": "Due At"
          },
          "id": {
            "description": "UUID of the task.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "project_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "UUID of the parent project, if any.",
            "title": "Project Id"
          },
          "status": {
            "description": "Current task status (e.g. `pending`, `in_progress`, `completed`, `canceled`).",
            "title": "Status",
            "type": "string"
          },
          "title": {
            "description": "Current title of the task.",
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "description": "Last modification timestamp for the task in ISO 8601 format.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "title",
          "description",
          "status",
          "project_id",
          "due_at",
          "created_at",
          "updated_at"
        ],
        "title": "TaskResponseItemSchema",
        "type": "object"
      },
      "TaskStatusInput": {
        "enum": [
          "pending",
          "in_progress",
          "completed",
          "canceled"
        ],
        "title": "TaskStatusInput",
        "type": "string"
      },
      "TemplateContentDocumentSyncModelDataResponseSchema": {
        "properties": {
          "encoded_content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Encoded Content"
          },
          "template_id": {
            "format": "uuid",
            "title": "Template Id",
            "type": "string"
          }
        },
        "required": [
          "template_id",
          "encoded_content"
        ],
        "title": "TemplateContentDocumentSyncModelDataResponseSchema",
        "type": "object"
      },
      "TemplateContentDocumentSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/TemplateContentDocumentSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "TEMPLATE_CONTENT_DOCUMENT",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "TemplateContentDocumentSyncModelResponseSchema",
        "type": "object"
      },
      "TemplateSyncModelDataResponseSchema": {
        "properties": {
          "created_by_space_account_id": {
            "format": "uuid",
            "title": "Created By Space Account Id",
            "type": "string"
          },
          "is_auto_sharing_enabled": {
            "title": "Is Auto Sharing Enabled",
            "type": "boolean"
          },
          "is_default_calendar_event_template": {
            "title": "Is Default Calendar Event Template",
            "type": "boolean"
          },
          "locally_created_at": {
            "format": "date-time",
            "title": "Locally Created At",
            "type": "string"
          },
          "locally_modified_at": {
            "format": "date-time",
            "title": "Locally Modified At",
            "type": "string"
          },
          "modified_by_space_account_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Modified By Space Account Ids",
            "type": "array"
          },
          "owned_by_space_account_id": {
            "format": "uuid",
            "title": "Owned By Space Account Id",
            "type": "string"
          },
          "primary_label": {
            "title": "Primary Label",
            "type": "string"
          },
          "target_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Target Scopes",
            "type": "array"
          },
          "title": {
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "title",
          "primary_label",
          "locally_created_at",
          "locally_modified_at",
          "owned_by_space_account_id",
          "created_by_space_account_id",
          "modified_by_space_account_ids",
          "is_auto_sharing_enabled",
          "is_default_calendar_event_template",
          "target_scopes"
        ],
        "title": "TemplateSyncModelDataResponseSchema",
        "type": "object"
      },
      "TemplateSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/TemplateSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "TEMPLATE",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "TemplateSyncModelResponseSchema",
        "type": "object"
      },
      "TextMessageArtifactInternalResponseSchema": {
        "properties": {
          "artifact_kind": {
            "const": "TEXT_MESSAGE",
            "title": "Artifact Kind",
            "type": "string"
          },
          "media": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/TextMessageMediaAttachment"
            },
            "title": "Media",
            "type": "array"
          },
          "message_kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TextMessageKind"
              },
              {
                "type": "null"
              }
            ]
          },
          "received_at": {
            "format": "date-time",
            "title": "Received At",
            "type": "string"
          },
          "text": {
            "title": "Text",
            "type": "string"
          }
        },
        "required": [
          "text",
          "received_at",
          "artifact_kind"
        ],
        "title": "TextMessageArtifactInternalResponseSchema",
        "type": "object"
      },
      "TextMessageKind": {
        "enum": [
          "whatsapp",
          "sms"
        ],
        "title": "TextMessageKind",
        "type": "string"
      },
      "TextMessageMediaAttachment": {
        "properties": {
          "content_type": {
            "title": "Content Type",
            "type": "string"
          },
          "private_url": {
            "title": "Private Url",
            "type": "string"
          },
          "public_url": {
            "title": "Public Url",
            "type": "string"
          }
        },
        "required": [
          "content_type",
          "private_url",
          "public_url"
        ],
        "title": "TextMessageMediaAttachment",
        "type": "object"
      },
      "TextSessionPart": {
        "deprecated": true,
        "properties": {
          "client_meta": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Meta"
          },
          "content": {
            "title": "Content",
            "type": "string"
          },
          "kind": {
            "const": "TEXT",
            "default": "TEXT",
            "title": "Kind",
            "type": "string"
          }
        },
        "required": [
          "content"
        ],
        "title": "TextSessionPart",
        "type": "object"
      },
      "TierEnum": {
        "enum": [
          "free",
          "paid",
          "unknown"
        ],
        "title": "TierEnum",
        "type": "string"
      },
      "TimelineSmartCardResponseSchema": {
        "properties": {
          "copied_from_smart_card_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Copied From Smart Card Id"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "EVENT_TIMELINE",
            "title": "Kind",
            "type": "string"
          },
          "originated_from_find_more": {
            "title": "Originated From Find More",
            "type": "boolean"
          },
          "smart_view_id": {
            "format": "uuid",
            "title": "Smart View Id",
            "type": "string"
          },
          "sort_key": {
            "title": "Sort Key",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/TimelineValueSchema"
          }
        },
        "required": [
          "id",
          "smart_view_id",
          "sort_key",
          "kind",
          "copied_from_smart_card_id",
          "originated_from_find_more",
          "value"
        ],
        "title": "TimelineSmartCardResponseSchema",
        "type": "object"
      },
      "TimelineValueSchema": {
        "properties": {
          "internal_reason_for_selection": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Reason For Selection"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/EventSmartEntitySmartCardItem"
            },
            "title": "Items",
            "type": "array"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "required": [
          "items"
        ],
        "title": "TimelineValueSchema",
        "type": "object"
      },
      "ToolCallOrigin": {
        "description": "Indicates who initiated a tool call.\n\nMODEL: The AI model requested this tool call as part of its response.\nUSER: The system initiated this call on behalf of the user (e.g., pre-fetching\n      mentioned content). These are formatted as context in conversation history.",
        "enum": [
          "MODEL",
          "USER"
        ],
        "title": "ToolCallOrigin",
        "type": "string"
      },
      "TranscribeAudioRecordingFromSourceRequestSchema": {
        "description": "Request schema for transcribing audio recording from a source blob name.",
        "properties": {
          "source_blob_name": {
            "title": "Source Blob Name",
            "type": "string"
          },
          "transcription_config": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AssemblyAiPrerecordedTranscriptionConfig"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "source_blob_name"
        ],
        "title": "TranscribeAudioRecordingFromSourceRequestSchema",
        "type": "object"
      },
      "TranscribeAudioRecordingFromSourceResponseSchema": {
        "description": "Response schema containing the transcript content.",
        "properties": {
          "transcript_content": {
            "title": "Transcript Content",
            "type": "string"
          }
        },
        "required": [
          "transcript_content"
        ],
        "title": "TranscribeAudioRecordingFromSourceResponseSchema",
        "type": "object"
      },
      "TranscribeVoiceRequestSchema": {
        "properties": {
          "captured_audio_id": {
            "format": "uuid",
            "title": "Captured Audio Id",
            "type": "string"
          },
          "force": {
            "default": false,
            "title": "Force",
            "type": "boolean"
          },
          "transcription_config": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AssemblyAiPrerecordedTranscriptionConfig"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "captured_audio_id"
        ],
        "title": "TranscribeVoiceRequestSchema",
        "type": "object"
      },
      "TransformNoteUsingAudioRecordingRequestSchema": {
        "properties": {
          "associated_session_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Associated Session Id"
          },
          "audio_recording_id": {
            "format": "uuid",
            "title": "Audio Recording Id",
            "type": "string"
          },
          "force_transcript_generation_using_audio_recording": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": false,
            "title": "Force Transcript Generation Using Audio Recording"
          },
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          },
          "transcription_config": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AssemblyAiPrerecordedTranscriptionConfig"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "note_id",
          "audio_recording_id"
        ],
        "title": "TransformNoteUsingAudioRecordingRequestSchema",
        "type": "object"
      },
      "TransformNoteWithVoiceRequestSchema": {
        "properties": {
          "captured_audio_id": {
            "format": "uuid",
            "title": "Captured Audio Id",
            "type": "string"
          },
          "from_source": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": false,
            "title": "From Source"
          },
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          },
          "session_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Session Id"
          }
        },
        "required": [
          "note_id",
          "captured_audio_id"
        ],
        "title": "TransformNoteWithVoiceRequestSchema",
        "type": "object"
      },
      "TransitoryMemAccountAuthHealthCheckResponseSchema": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "format": "uuid",
            "title": "Account Id",
            "type": "string"
          },
          "is_authenticated": {
            "title": "Is Authenticated",
            "type": "boolean"
          },
          "is_internal_service": {
            "title": "Is Internal Service",
            "type": "boolean"
          },
          "space_account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Space Account Id"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success",
          "account_id",
          "space_account_id",
          "is_authenticated",
          "is_internal_service"
        ],
        "title": "TransitoryMemAccountAuthHealthCheckResponseSchema",
        "type": "object"
      },
      "TrashNoteResponseSchema": {
        "example": {
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522"
        },
        "properties": {
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id"
        ],
        "title": "TrashNoteResponseSchema",
        "type": "object"
      },
      "TrashNoteToolCallArgs": {
        "properties": {
          "note_id": {
            "title": "Note Id",
            "type": "string"
          }
        },
        "required": [
          "note_id"
        ],
        "title": "TrashNoteToolCallArgs",
        "type": "object"
      },
      "TrashNoteToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "TrashNoteToolCallResult",
        "type": "object"
      },
      "TriggerNoteReminderShillErrorResponseSchema": {
        "properties": {
          "error_message": {
            "title": "Error Message",
            "type": "string"
          },
          "error_type": {
            "title": "Error Type",
            "type": "string"
          }
        },
        "required": [
          "error_type",
          "error_message"
        ],
        "title": "TriggerNoteReminderShillErrorResponseSchema",
        "type": "object"
      },
      "TriggerNoteReminderShillRequestSchema": {
        "additionalProperties": false,
        "properties": {
          "generated_reminder_text": {
            "title": "Generated Reminder Text",
            "type": "string"
          },
          "reminder_shill_id": {
            "format": "uuid",
            "title": "Reminder Shill Id",
            "type": "string"
          }
        },
        "required": [
          "reminder_shill_id",
          "generated_reminder_text"
        ],
        "title": "TriggerNoteReminderShillRequestSchema",
        "type": "object"
      },
      "TriggerNoteReminderShillResponseSchema": {
        "properties": {
          "directive_id": {
            "format": "uuid",
            "title": "Directive Id",
            "type": "string"
          },
          "work_item_id": {
            "format": "uuid",
            "title": "Work Item Id",
            "type": "string"
          }
        },
        "required": [
          "work_item_id",
          "directive_id"
        ],
        "title": "TriggerNoteReminderShillResponseSchema",
        "type": "object"
      },
      "UnknownSmartCardResponseSchema": {
        "properties": {
          "copied_from_smart_card_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Copied From Smart Card Id"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "UNKNOWN",
            "title": "Kind",
            "type": "string"
          },
          "originated_from_find_more": {
            "title": "Originated From Find More",
            "type": "boolean"
          },
          "smart_view_id": {
            "format": "uuid",
            "title": "Smart View Id",
            "type": "string"
          },
          "sort_key": {
            "title": "Sort Key",
            "type": "string"
          },
          "value": {
            "additionalProperties": true,
            "title": "Value",
            "type": "object"
          }
        },
        "required": [
          "id",
          "smart_view_id",
          "sort_key",
          "kind",
          "copied_from_smart_card_id",
          "originated_from_find_more",
          "value"
        ],
        "title": "UnknownSmartCardResponseSchema",
        "type": "object"
      },
      "UnregisterDeviceQuerySchema": {
        "properties": {
          "device_token": {
            "title": "Device Token",
            "type": "string"
          },
          "provider": {
            "allOf": [
              {
                "enum": [
                  "apns",
                  "unknown"
                ],
                "title": "ApplePushNotificationProvider",
                "type": "string"
              }
            ],
            "default": "apns"
          }
        },
        "required": [
          "device_token"
        ],
        "title": "UnregisterDeviceQuerySchema",
        "type": "object"
      },
      "UpdateAssistantRequestSchema": {
        "properties": {
          "is_enabled": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is Enabled"
          },
          "slug": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Slug"
          }
        },
        "title": "UpdateAssistantRequestSchema",
        "type": "object"
      },
      "UpdateCalendarSettingsRequestSchema": {
        "properties": {
          "enabled_calendar_ids": {
            "description": "List of calendar IDs to enable.",
            "items": {
              "type": "string"
            },
            "title": "Enabled Calendar Ids",
            "type": "array"
          },
          "provider": {
            "description": "Calendar provider ('google' or 'outlook').",
            "title": "Provider",
            "type": "string"
          },
          "subject_id": {
            "description": "Provider subject ID of the account.",
            "title": "Subject Id",
            "type": "string"
          }
        },
        "required": [
          "provider",
          "subject_id",
          "enabled_calendar_ids"
        ],
        "title": "UpdateCalendarSettingsRequestSchema",
        "type": "object"
      },
      "UpdateCalendarSettingsResponseSchema": {
        "properties": {
          "request_id": {
            "title": "Request Id",
            "type": "string"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "request_id",
          "success"
        ],
        "title": "UpdateCalendarSettingsResponseSchema",
        "type": "object"
      },
      "UpdateCollectionDescriptionToolCallArgs": {
        "properties": {
          "collection_id": {
            "title": "Collection Id",
            "type": "string"
          },
          "new_description": {
            "title": "New Description",
            "type": "string"
          }
        },
        "required": [
          "collection_id",
          "new_description"
        ],
        "title": "UpdateCollectionDescriptionToolCallArgs",
        "type": "object"
      },
      "UpdateCollectionDescriptionToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "UpdateCollectionDescriptionToolCallResult",
        "type": "object"
      },
      "UpdateCollectionRequestSchema": {
        "properties": {
          "description": {
            "anyOf": [
              {
                "description": "Optional descriptive text for collection scope or intent.\nMaximum: 10,000 characters (and no more than 10,000 UTF-8 bytes).",
                "maxLength": 10000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional replacement description for the collection.\nOmit to keep the current description unchanged.\nSet to an empty string to clear the description.\nMaximum: 10,000 characters (and no more than 10,000 UTF-8 bytes).",
            "examples": [
              "Collection for 2026 Acme planning and execution notes."
            ],
            "title": "Description"
          },
          "title": {
            "anyOf": [
              {
                "description": "Human-readable collection title.\nUse a stable label suitable for navigation and exact title matching.\nMaximum: 1,000 characters (and no more than 1,000 UTF-8 bytes).",
                "maxLength": 1000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional replacement title for the collection.\nUse this field to rename a collection.\nOmit to keep the current title unchanged.\nMaximum: 1,000 characters (and no more than 1,000 UTF-8 bytes).",
            "examples": [
              "Acme Corp - 2026"
            ],
            "title": "Title"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional \"last updated\" timestamp for this write (ISO 8601).\nIf provided, it must include a timezone offset and cannot be in the future.\nIf omitted, the current server time is used.",
            "examples": [
              "2025-04-02T09:15:22Z",
              "2023-12-15T09:45:30+01:00"
            ],
            "title": "Updated At"
          }
        },
        "title": "UpdateCollectionRequestSchema",
        "type": "object"
      },
      "UpdateCollectionResponseSchema": {
        "example": {
          "created_at": "2025-04-11T04:47:14.457Z",
          "description": "Collection for 2026 Acme planning and execution notes.",
          "id": "5e29c8a2-c73b-476b-9311-e2579712d4b1",
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522",
          "title": "Acme Corp - 2026",
          "updated_at": "2025-04-12T10:15:00.000Z"
        },
        "properties": {
          "created_at": {
            "description": "Creation timestamp for the collection in ISO 8601 format.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional description text currently stored on the collection.",
            "title": "Description"
          },
          "id": {
            "description": "UUID of the updated collection.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "title": {
            "description": "Current title of the collection after the update.",
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "description": "Last modification timestamp for the collection in ISO 8601 format.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "id",
          "title",
          "description",
          "created_at",
          "updated_at"
        ],
        "title": "UpdateCollectionResponseSchema",
        "type": "object"
      },
      "UpdateEmailIntegrationSettingsRequestSchema": {
        "properties": {
          "formatting_instructions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Formatting Instructions"
          },
          "formatting_mode": {
            "$ref": "#/components/schemas/EmailIntegrationSettingsFormattingMode"
          },
          "organizing_instructions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Organizing Instructions"
          },
          "organizing_manual_collections": {
            "anyOf": [
              {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Organizing Manual Collections"
          },
          "organizing_manual_enabled": {
            "title": "Organizing Manual Enabled",
            "type": "boolean"
          },
          "organizing_smart_enabled": {
            "title": "Organizing Smart Enabled",
            "type": "boolean"
          }
        },
        "required": [
          "formatting_mode",
          "formatting_instructions",
          "organizing_manual_enabled",
          "organizing_smart_enabled",
          "organizing_manual_collections",
          "organizing_instructions"
        ],
        "title": "UpdateEmailIntegrationSettingsRequestSchema",
        "type": "object"
      },
      "UpdateEmailSenderAllowlistRequestSchema": {
        "properties": {
          "email_sender_allowlist": {
            "items": {
              "$ref": "#/components/schemas/EmailSenderAllowlistEntrySchema"
            },
            "title": "Email Sender Allowlist",
            "type": "array"
          }
        },
        "required": [
          "email_sender_allowlist"
        ],
        "title": "UpdateEmailSenderAllowlistRequestSchema",
        "type": "object"
      },
      "UpdateGoogleCalendarSettingsRequestSchema": {
        "properties": {
          "enabled_calendar_ids": {
            "items": {
              "type": "string"
            },
            "title": "Enabled Calendar Ids",
            "type": "array"
          },
          "subject_id": {
            "title": "Subject Id",
            "type": "string"
          }
        },
        "required": [
          "subject_id"
        ],
        "title": "UpdateGoogleCalendarSettingsRequestSchema",
        "type": "object"
      },
      "UpdateIMessageConnectionRequestSchema": {
        "properties": {
          "is_enabled": {
            "title": "Is Enabled",
            "type": "boolean"
          }
        },
        "required": [
          "is_enabled"
        ],
        "title": "UpdateIMessageConnectionRequestSchema",
        "type": "object"
      },
      "UpdateNoteRequestSchema": {
        "properties": {
          "content": {
            "description": "Complete markdown body to submit for this write.\nSend the full desired note body (partial patch semantics are not supported\nin this request payload).\nThe first line is interpreted as the title.",
            "examples": [
              "# Updated Meeting Notes\n\nDiscussion Topics:\n- Sprint planning\n- Release checklist\n\nAction Items:\n- Finalize scope by Friday\n- Share release notes draft"
            ],
            "maxLength": 200000,
            "title": "Content",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional \"last updated\" timestamp for this write (ISO 8601).\nIf omitted, the current server time is used.",
            "examples": [
              "2025-04-02T09:15:22Z",
              "2023-12-15T09:45:30+01:00"
            ],
            "title": "Updated At"
          },
          "version": {
            "description": "Exact note content document version this update is based on.\nUse the `version` returned by `GET /v2/notes/{note_id}` or by the most\nrecent note write response.",
            "examples": [
              2
            ],
            "minimum": 1,
            "title": "Version",
            "type": "integer"
          }
        },
        "required": [
          "content",
          "version"
        ],
        "title": "UpdateNoteRequestSchema",
        "type": "object"
      },
      "UpdateNoteResponseSchema": {
        "example": {
          "collection_ids": [
            "59508b41-8770-4855-aa37-302b1e09aee7",
            "026b426c-14fb-4f22-8d98-7a9121bfaec8"
          ],
          "content": "# Sales Call with Acme Corp\n\nUpdated summary and next steps.",
          "created_at": "2025-04-11T04:47:14.457Z",
          "id": "5e29c8a2-c73b-476b-9311-e2579712d4b1",
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522",
          "title": "Sales Call with Acme Corp",
          "trashed_at": null,
          "updated_at": "2025-04-12T10:15:00.000Z",
          "version": 5
        },
        "properties": {
          "collection_ids": {
            "description": "Collection UUIDs currently associated with this note.",
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Collection Ids",
            "type": "array"
          },
          "content": {
            "description": "Full markdown content stored after the update.",
            "title": "Content",
            "type": "string"
          },
          "created_at": {
            "description": "Creation timestamp for the note in ISO 8601 format.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "UUID of the updated note.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "title": {
            "description": "Current note title after the update.",
            "title": "Title",
            "type": "string"
          },
          "trashed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Timestamp for when the note was moved to trash, or null when the note is active.",
            "title": "Trashed At"
          },
          "updated_at": {
            "description": "Last modification timestamp after the update in ISO 8601 format.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "version": {
            "description": "Current note content document version after the update.",
            "title": "Version",
            "type": "integer"
          }
        },
        "required": [
          "request_id",
          "id",
          "title",
          "content",
          "version",
          "collection_ids",
          "trashed_at",
          "created_at",
          "updated_at"
        ],
        "title": "UpdateNoteResponseSchema",
        "type": "object"
      },
      "UpdateNoteToolCallArgs": {
        "properties": {
          "content": {
            "title": "Content",
            "type": "string"
          },
          "note_id": {
            "title": "Note Id",
            "type": "string"
          },
          "source_web_clip_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Web Clip Id"
          },
          "version_to_update": {
            "title": "Version To Update",
            "type": "integer"
          }
        },
        "required": [
          "note_id",
          "content",
          "version_to_update"
        ],
        "title": "UpdateNoteToolCallArgs",
        "type": "object"
      },
      "UpdateNoteToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "note": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AgentNoteModel"
              },
              {
                "type": "null"
              }
            ]
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "UpdateNoteToolCallResult",
        "type": "object"
      },
      "UpdateOutlookCalendarSettingsRequestSchema": {
        "properties": {
          "enabled_calendar_ids": {
            "items": {
              "type": "string"
            },
            "title": "Enabled Calendar Ids",
            "type": "array"
          },
          "subject_id": {
            "title": "Subject Id",
            "type": "string"
          }
        },
        "required": [
          "subject_id"
        ],
        "title": "UpdateOutlookCalendarSettingsRequestSchema",
        "type": "object"
      },
      "UpdateSessionRequestSchema": {
        "properties": {
          "config": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionConfigSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionKind"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "title": "UpdateSessionRequestSchema",
        "type": "object"
      },
      "UpdateSlackConnectionRequestSchema": {
        "properties": {
          "is_enabled": {
            "title": "Is Enabled",
            "type": "boolean"
          }
        },
        "required": [
          "is_enabled"
        ],
        "title": "UpdateSlackConnectionRequestSchema",
        "type": "object"
      },
      "UpdateWebClipIntegrationSettingsRequestSchema": {
        "properties": {
          "instructions_enabled": {
            "title": "Instructions Enabled",
            "type": "boolean"
          },
          "instructions_markdown_content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Instructions Markdown Content"
          },
          "selected_model_kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WebClipIntegrationModelKind"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "instructions_enabled",
          "instructions_markdown_content"
        ],
        "title": "UpdateWebClipIntegrationSettingsRequestSchema",
        "type": "object"
      },
      "UpdateWhatsAppConnectionRequestSchema": {
        "properties": {
          "is_enabled": {
            "title": "Is Enabled",
            "type": "boolean"
          }
        },
        "required": [
          "is_enabled"
        ],
        "title": "UpdateWhatsAppConnectionRequestSchema",
        "type": "object"
      },
      "UploadedFileArtifactInternalResponseSchema": {
        "properties": {
          "artifact_kind": {
            "const": "UPLOADED_FILE",
            "title": "Artifact Kind",
            "type": "string"
          }
        },
        "required": [
          "artifact_kind"
        ],
        "title": "UploadedFileArtifactInternalResponseSchema",
        "type": "object"
      },
      "UploadedFileBatchSyncModelDataResponseSchema": {
        "properties": {
          "associated_session_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Associated Session Id"
          },
          "config_json": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Config Json"
          },
          "locally_created_at": {
            "format": "date-time",
            "title": "Locally Created At",
            "type": "string"
          },
          "locally_modified_at": {
            "format": "date-time",
            "title": "Locally Modified At",
            "type": "string"
          },
          "owned_by_space_account_id": {
            "format": "uuid",
            "title": "Owned By Space Account Id",
            "type": "string"
          },
          "processing_ended_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Processing Ended At"
          },
          "processing_enqueued_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Processing Enqueued At"
          },
          "processing_started_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Processing Started At"
          }
        },
        "required": [
          "owned_by_space_account_id",
          "locally_created_at",
          "locally_modified_at",
          "config_json",
          "processing_enqueued_at",
          "processing_started_at",
          "processing_ended_at",
          "associated_session_id"
        ],
        "title": "UploadedFileBatchSyncModelDataResponseSchema",
        "type": "object"
      },
      "UploadedFileBatchSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/UploadedFileBatchSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "UPLOADED_FILE_BATCH",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "UploadedFileBatchSyncModelResponseSchema",
        "type": "object"
      },
      "UploadedFileSyncModelDataResponseSchema": {
        "properties": {
          "file_size_bytes": {
            "title": "File Size Bytes",
            "type": "integer"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "mime_type": {
            "$ref": "#/components/schemas/MimeType"
          },
          "modified_at_timestamp": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Modified At Timestamp"
          },
          "normalized_filename": {
            "title": "Normalized Filename",
            "type": "string"
          },
          "original_filename": {
            "title": "Original Filename",
            "type": "string"
          },
          "original_filepath": {
            "title": "Original Filepath",
            "type": "string"
          },
          "uploaded_file_batch_id": {
            "format": "uuid",
            "title": "Uploaded File Batch Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "mime_type",
          "uploaded_file_batch_id",
          "normalized_filename",
          "original_filename",
          "original_filepath",
          "file_size_bytes",
          "modified_at_timestamp"
        ],
        "title": "UploadedFileSyncModelDataResponseSchema",
        "type": "object"
      },
      "UploadedFileSyncModelResponseSchema": {
        "properties": {
          "model_data": {
            "$ref": "#/components/schemas/UploadedFileSyncModelDataResponseSchema"
          },
          "model_id": {
            "format": "uuid",
            "title": "Model Id",
            "type": "string"
          },
          "model_kind": {
            "const": "UPLOADED_FILE",
            "title": "Model Kind",
            "type": "string"
          },
          "model_scopes": {
            "items": {
              "discriminator": {
                "mapping": {
                  "COLLECTION_SCOPE": "#/components/schemas/SyncScopeCollectionWithRoleSchema",
                  "GUEST_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema",
                  "SPACE_ACCOUNT_SCOPE": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema",
                  "SPACE_SCOPE": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                },
                "propertyName": "scope_kind"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/SyncScopeCollectionWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeGuestAccountWithRoleSchema"
                },
                {
                  "$ref": "#/components/schemas/SyncScopeSpaceWithRoleSchema"
                }
              ]
            },
            "title": "Model Scopes",
            "type": "array"
          },
          "model_version": {
            "title": "Model Version",
            "type": "integer"
          }
        },
        "required": [
          "model_id",
          "model_kind",
          "model_version",
          "model_scopes",
          "model_data"
        ],
        "title": "UploadedFileSyncModelResponseSchema",
        "type": "object"
      },
      "UploadVoiceFileRequestSchema": {
        "properties": {
          "captured_audio_id": {
            "title": "Captured Audio Id",
            "type": "string"
          },
          "filename": {
            "title": "Filename",
            "type": "string"
          },
          "mime_type": {
            "title": "Mime Type",
            "type": "string"
          },
          "transcript_array": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CapturedAudioTranscriptArrayInputItem"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Array"
          },
          "transcript_provider": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CapturedAudioTranscriptProvider"
              },
              {
                "type": "null"
              }
            ]
          },
          "transcript_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Text"
          }
        },
        "required": [
          "captured_audio_id",
          "filename",
          "mime_type"
        ],
        "title": "UploadVoiceFileRequestSchema",
        "type": "object"
      },
      "UpsertedSyncUpdateResponseSchema": {
        "properties": {
          "kind": {
            "const": "UPSERTED",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "discriminator": {
              "mapping": {
                "API_KEY": "#/components/schemas/ApiKeySyncModelResponseSchema",
                "ASSISTANT_FOLLOW_UP": "#/components/schemas/AssistantFollowUpSyncModelResponseSchema",
                "ASSISTANT_NOTE_ACTIVITY": "#/components/schemas/AssistantNoteActivitySyncModelResponseSchema",
                "ASSISTANT_NOTE_REVIEW_STATUS": "#/components/schemas/AssistantNoteReviewStatusSyncModelResponseSchema",
                "ASSISTANT_OBJECTIVE": "#/components/schemas/AssistantObjectiveSyncModelResponseSchema",
                "ASSISTANT_PROJECT": "#/components/schemas/AssistantProjectSyncModelResponseSchema",
                "ASSISTANT_PROJECT_ACTIVITY": "#/components/schemas/AssistantProjectActivitySyncModelResponseSchema",
                "ASSISTANT_PROJECT_LABEL": "#/components/schemas/AssistantProjectLabelSyncModelResponseSchema",
                "ASSISTANT_PROJECT_LABEL_ASSIGNMENT": "#/components/schemas/AssistantProjectLabelAssignmentSyncModelResponseSchema",
                "ASSISTANT_PROJECT_LABEL_GROUP": "#/components/schemas/AssistantProjectLabelGroupSyncModelResponseSchema",
                "ASSISTANT_ROUTINE": "#/components/schemas/AssistantRoutineSyncModelResponseSchema",
                "ASSISTANT_SPACE_ACCOUNT_SETTINGS": "#/components/schemas/AssistantSpaceAccountSettingsSyncModelResponseSchema",
                "ASSISTANT_TASK": "#/components/schemas/AssistantTaskSyncModelResponseSchema",
                "ASSISTANT_TASK_ACTIVITY": "#/components/schemas/AssistantTaskActivitySyncModelResponseSchema",
                "ASSISTANT_TASK_LABEL": "#/components/schemas/AssistantTaskLabelSyncModelResponseSchema",
                "ASSISTANT_TASK_LABEL_ASSIGNMENT": "#/components/schemas/AssistantTaskLabelAssignmentSyncModelResponseSchema",
                "ASSISTANT_TASK_LABEL_GROUP": "#/components/schemas/AssistantTaskLabelGroupSyncModelResponseSchema",
                "AUDIO_RECORDING": "#/components/schemas/AudioRecordingSyncModelResponseSchema",
                "COLLECTION": "#/components/schemas/CollectionSyncModelResponseSchema",
                "COLLECTION_ITEM": "#/components/schemas/CollectionItemSyncModelResponseSchema",
                "COLLECTION_METADATA": "#/components/schemas/CollectionMetadataSyncModelResponseSchema",
                "CONTACT": "#/components/schemas/ContactSyncModelResponseSchema",
                "DATA_EXPORT": "#/components/schemas/DataExportSyncModelResponseSchema",
                "FAVORITE_ITEM": "#/components/schemas/FavoriteItemSyncModelResponseSchema",
                "FEEDBACK": "#/components/schemas/FeedbackSyncModelResponseSchema",
                "NOTE": "#/components/schemas/NoteSyncModelResponseSchema",
                "NOTE_CONTENT_DOCUMENT": "#/components/schemas/NoteContentDocumentSyncModelResponseSchema",
                "NOTE_SOURCE": "#/components/schemas/NoteSourceSyncModelResponseSchema",
                "SAVED_SEARCH": "#/components/schemas/SavedSearchSyncModelResponseSchema",
                "SESSION": "#/components/schemas/SessionSyncModelResponseSchema",
                "SESSION_EVENT": "#/components/schemas/SessionEventSyncModelResponseSchema",
                "SOURCE": "#/components/schemas/SourceSyncModelResponseSchema",
                "SPACE_ACCOUNT_APP_CALLOUT": "#/components/schemas/SpaceAccountAppCalloutSyncModelResponseSchema",
                "SPACE_ACCOUNT_CALENDAR": "#/components/schemas/SpaceAccountCalendarSyncModelResponseSchema",
                "SPACE_ACCOUNT_CALENDAR_CONNECTION": "#/components/schemas/SpaceAccountCalendarConnectionSyncModelResponseSchema",
                "SPACE_ACCOUNT_CALENDAR_EVENT": "#/components/schemas/SpaceAccountCalendarEventSyncModelResponseSchema",
                "SPACE_ACCOUNT_COLLECTION": "#/components/schemas/SpaceAccountCollectionSyncModelResponseSchema",
                "SPACE_ACCOUNT_CONTACT": "#/components/schemas/SpaceAccountContactSyncModelResponseSchema",
                "SPACE_ACCOUNT_FEATURE_FLAGS_CONFIG": "#/components/schemas/FeatureFlagsSyncModelResponseSchema",
                "SPACE_ACCOUNT_NOTE": "#/components/schemas/SpaceAccountNoteSyncModelResponseSchema",
                "SPACE_ACCOUNT_NOTE_ATTACHMENT": "#/components/schemas/SpaceAccountNoteAttachmentSyncModelResponseSchema",
                "SPACE_ACCOUNT_SETTINGS": "#/components/schemas/SpaceAccountSettingsSyncModelResponseSchema",
                "SPACE_ACCOUNT_TEMPLATE": "#/components/schemas/SpaceAccountTemplateSyncModelResponseSchema",
                "SUBSCRIPTION": "#/components/schemas/SubscriptionSyncModelResponseSchema",
                "TEMPLATE": "#/components/schemas/TemplateSyncModelResponseSchema",
                "TEMPLATE_CONTENT_DOCUMENT": "#/components/schemas/TemplateContentDocumentSyncModelResponseSchema",
                "UPLOADED_FILE": "#/components/schemas/UploadedFileSyncModelResponseSchema",
                "UPLOADED_FILE_BATCH": "#/components/schemas/UploadedFileBatchSyncModelResponseSchema"
              },
              "propertyName": "model_kind"
            },
            "oneOf": [
              {
                "$ref": "#/components/schemas/ApiKeySyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/CollectionItemSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/CollectionSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/FavoriteItemSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/NoteSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/NoteContentDocumentSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SavedSearchSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SpaceAccountCollectionSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SpaceAccountNoteSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/ContactSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/CollectionMetadataSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SpaceAccountContactSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/FeedbackSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/DataExportSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/FeatureFlagsSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SpaceAccountAppCalloutSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SpaceAccountSettingsSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/TemplateContentDocumentSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/TemplateSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SpaceAccountTemplateSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AudioRecordingSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/UploadedFileSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/UploadedFileBatchSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/NoteSourceSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SourceSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SessionSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SubscriptionSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SpaceAccountCalendarSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SpaceAccountCalendarEventSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SpaceAccountCalendarConnectionSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/SpaceAccountNoteAttachmentSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantTaskSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantProjectSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantTaskActivitySyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantProjectActivitySyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantNoteActivitySyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantTaskLabelSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantTaskLabelGroupSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantTaskLabelAssignmentSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantProjectLabelSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantProjectLabelGroupSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantProjectLabelAssignmentSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantFollowUpSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantRoutineSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantObjectiveSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantNoteReviewStatusSyncModelResponseSchema"
              },
              {
                "$ref": "#/components/schemas/AssistantSpaceAccountSettingsSyncModelResponseSchema"
              }
            ],
            "title": "Value"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "UpsertedSyncUpdateResponseSchema",
        "type": "object"
      },
      "UpsertSessionRequestSchema": {
        "properties": {
          "config": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionConfigSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionKind"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "title": "UpsertSessionRequestSchema",
        "type": "object"
      },
      "UserActionV1SessionEventContext": {
        "description": "Context for V1 user action session events.\nContains additional metadata about the user action.",
        "properties": {
          "implicit_mentions": {
            "anyOf": [
              {
                "items": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/NoteSessionMention"
                    },
                    {
                      "$ref": "#/components/schemas/CollectionSessionMention"
                    }
                  ]
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Implicit Mentions"
          },
          "kind": {
            "const": "USER_CONTEXT_V1",
            "default": "USER_CONTEXT_V1",
            "title": "Kind",
            "type": "string"
          },
          "mentions": {
            "anyOf": [
              {
                "items": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/NoteSessionMention"
                    },
                    {
                      "$ref": "#/components/schemas/CollectionSessionMention"
                    },
                    {
                      "$ref": "#/components/schemas/SearchNotesByTimeRangeSessionMention"
                    }
                  ]
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mentions"
          }
        },
        "title": "UserActionV1SessionEventContext",
        "type": "object"
      },
      "V2MigrationAccountTransitionInfoForcedUpgradeModalContentResponseSchema": {
        "properties": {
          "macos_action_label": {
            "title": "Macos Action Label",
            "type": "string"
          },
          "macos_action_link": {
            "title": "Macos Action Link",
            "type": "string"
          },
          "macos_description": {
            "title": "Macos Description",
            "type": "string"
          },
          "macos_header": {
            "title": "Macos Header",
            "type": "string"
          },
          "macos_learn_more_link": {
            "title": "Macos Learn More Link",
            "type": "string"
          },
          "web_action_label": {
            "title": "Web Action Label",
            "type": "string"
          },
          "web_action_link": {
            "title": "Web Action Link",
            "type": "string"
          },
          "web_description": {
            "title": "Web Description",
            "type": "string"
          },
          "web_header": {
            "title": "Web Header",
            "type": "string"
          },
          "web_learn_more_link": {
            "title": "Web Learn More Link",
            "type": "string"
          },
          "windows_action_label": {
            "title": "Windows Action Label",
            "type": "string"
          },
          "windows_action_link": {
            "title": "Windows Action Link",
            "type": "string"
          },
          "windows_description": {
            "title": "Windows Description",
            "type": "string"
          },
          "windows_header": {
            "title": "Windows Header",
            "type": "string"
          },
          "windows_learn_more_link": {
            "title": "Windows Learn More Link",
            "type": "string"
          }
        },
        "required": [
          "web_header",
          "web_description",
          "web_action_label",
          "web_action_link",
          "web_learn_more_link",
          "macos_header",
          "macos_description",
          "macos_action_label",
          "macos_action_link",
          "macos_learn_more_link",
          "windows_header",
          "windows_description",
          "windows_action_label",
          "windows_action_link",
          "windows_learn_more_link"
        ],
        "title": "V2MigrationAccountTransitionInfoForcedUpgradeModalContentResponseSchema",
        "type": "object"
      },
      "V2MigrationAccountTransitionInfoMatchingVersionTwoModalContentResponseSchema": {
        "properties": {
          "macos_action_label": {
            "title": "Macos Action Label",
            "type": "string"
          },
          "macos_action_link": {
            "title": "Macos Action Link",
            "type": "string"
          },
          "macos_cancel_action_label": {
            "title": "Macos Cancel Action Label",
            "type": "string"
          },
          "macos_description": {
            "title": "Macos Description",
            "type": "string"
          },
          "macos_header": {
            "title": "Macos Header",
            "type": "string"
          },
          "macos_learn_more_link": {
            "title": "Macos Learn More Link",
            "type": "string"
          },
          "web_action_label": {
            "title": "Web Action Label",
            "type": "string"
          },
          "web_action_link": {
            "title": "Web Action Link",
            "type": "string"
          },
          "web_cancel_action_label": {
            "title": "Web Cancel Action Label",
            "type": "string"
          },
          "web_description": {
            "title": "Web Description",
            "type": "string"
          },
          "web_header": {
            "title": "Web Header",
            "type": "string"
          },
          "web_learn_more_link": {
            "title": "Web Learn More Link",
            "type": "string"
          },
          "windows_action_label": {
            "title": "Windows Action Label",
            "type": "string"
          },
          "windows_action_link": {
            "title": "Windows Action Link",
            "type": "string"
          },
          "windows_cancel_action_label": {
            "title": "Windows Cancel Action Label",
            "type": "string"
          },
          "windows_description": {
            "title": "Windows Description",
            "type": "string"
          },
          "windows_header": {
            "title": "Windows Header",
            "type": "string"
          },
          "windows_learn_more_link": {
            "title": "Windows Learn More Link",
            "type": "string"
          }
        },
        "required": [
          "web_header",
          "web_description",
          "web_action_label",
          "web_action_link",
          "web_learn_more_link",
          "web_cancel_action_label",
          "macos_header",
          "macos_description",
          "macos_action_label",
          "macos_action_link",
          "macos_learn_more_link",
          "macos_cancel_action_label",
          "windows_header",
          "windows_description",
          "windows_action_label",
          "windows_action_link",
          "windows_learn_more_link",
          "windows_cancel_action_label"
        ],
        "title": "V2MigrationAccountTransitionInfoMatchingVersionTwoModalContentResponseSchema",
        "type": "object"
      },
      "V2MigrationAccountTransitionInfoResponseSchema": {
        "properties": {
          "force_upgrade_modal_content": {
            "$ref": "#/components/schemas/V2MigrationAccountTransitionInfoForcedUpgradeModalContentResponseSchema"
          },
          "force_upgraded_to_version_two": {
            "title": "Force Upgraded To Version Two",
            "type": "boolean"
          },
          "has_matching_version_two_account": {
            "title": "Has Matching Version Two Account",
            "type": "boolean"
          },
          "matching_version_two_modal_content": {
            "$ref": "#/components/schemas/V2MigrationAccountTransitionInfoMatchingVersionTwoModalContentResponseSchema"
          },
          "version_two_transition_decision_required": {
            "title": "Version Two Transition Decision Required",
            "type": "boolean"
          }
        },
        "required": [
          "has_matching_version_two_account",
          "force_upgraded_to_version_two",
          "version_two_transition_decision_required",
          "force_upgrade_modal_content",
          "matching_version_two_modal_content"
        ],
        "title": "V2MigrationAccountTransitionInfoResponseSchema",
        "type": "object"
      },
      "VerifyEmailIntegrationSenderRequestSchema": {
        "properties": {
          "token": {
            "title": "Token",
            "type": "string"
          }
        },
        "required": [
          "token"
        ],
        "title": "VerifyEmailIntegrationSenderRequestSchema",
        "type": "object"
      },
      "VerifyFeatureEnrollmentLinkResponse": {
        "properties": {
          "feature_enrollment": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FeatureEnrollmentResponseSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "feature_enrollment_link": {
            "$ref": "#/components/schemas/FeatureEnrollmentLinkResponseSchema"
          },
          "is_disabled": {
            "title": "Is Disabled",
            "type": "boolean"
          },
          "is_expired": {
            "title": "Is Expired",
            "type": "boolean"
          }
        },
        "required": [
          "feature_enrollment_link",
          "is_expired",
          "is_disabled"
        ],
        "title": "VerifyFeatureEnrollmentLinkResponse",
        "type": "object"
      },
      "VerifySharedItemInviteRequestSchema": {
        "properties": {
          "verification_token": {
            "format": "uuid",
            "title": "Verification Token",
            "type": "string"
          }
        },
        "required": [
          "verification_token"
        ],
        "title": "VerifySharedItemInviteRequestSchema",
        "type": "object"
      },
      "VerifySharedItemInviteResponse": {
        "properties": {
          "invite": {
            "$ref": "#/components/schemas/SharedItemInviteResponseSchema"
          },
          "is_expired": {
            "title": "Is Expired",
            "type": "boolean"
          },
          "is_revoked": {
            "title": "Is Revoked",
            "type": "boolean"
          },
          "shared_item_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SharedItemInviteSharedItemDetailsSchema"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "invite",
          "is_expired",
          "is_revoked"
        ],
        "title": "VerifySharedItemInviteResponse",
        "type": "object"
      },
      "ViewImageToolCallArgs": {
        "properties": {
          "image_url": {
            "title": "Image Url",
            "type": "string"
          }
        },
        "required": [
          "image_url"
        ],
        "title": "ViewImageToolCallArgs",
        "type": "object"
      },
      "ViewImageToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "ocr_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ocr Text"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          },
          "visual_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Visual Description"
          }
        },
        "required": [
          "success"
        ],
        "title": "ViewImageToolCallResult",
        "type": "object"
      },
      "ViewNoteResponseSchema": {
        "properties": {
          "created_at": {
            "description": "Timestamp representing when the note was created.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "Unique identifier of the requested note.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "markdown_content": {
            "description": "Full markdown representation of the note content.",
            "title": "Markdown Content",
            "type": "string"
          },
          "primary_label": {
            "description": "Primary label or title for the note.",
            "title": "Primary Label",
            "type": "string"
          },
          "secondary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Secondary label for the note if available.",
            "title": "Secondary Label"
          },
          "updated_at": {
            "description": "Timestamp representing when the note was last updated.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "primary_label",
          "markdown_content",
          "created_at",
          "updated_at"
        ],
        "title": "ViewNoteResponseSchema",
        "type": "object"
      },
      "VoiceSettings": {
        "properties": {
          "custom_vocabulary": {
            "items": {
              "type": "string"
            },
            "title": "Custom Vocabulary",
            "type": "array"
          },
          "processing_instructions": {
            "default": "",
            "title": "Processing Instructions",
            "type": "string"
          }
        },
        "title": "VoiceSettings",
        "type": "object"
      },
      "VoiceSettingsPatch": {
        "properties": {
          "custom_vocabulary": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Custom Vocabulary"
          },
          "processing_instructions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Processing Instructions"
          }
        },
        "title": "VoiceSettingsPatch",
        "type": "object"
      },
      "WebClipCreatedNotificationPayload": {
        "properties": {
          "web_clip_id": {
            "format": "uuid",
            "title": "Web Clip Id",
            "type": "string"
          }
        },
        "required": [
          "web_clip_id"
        ],
        "title": "WebClipCreatedNotificationPayload",
        "type": "object"
      },
      "WebClipExternalInputPayload": {
        "properties": {
          "kind": {
            "const": "WEB_CLIP",
            "default": "WEB_CLIP",
            "title": "Kind",
            "type": "string"
          },
          "web_clip_id": {
            "title": "Web Clip Id",
            "type": "string"
          }
        },
        "required": [
          "web_clip_id"
        ],
        "title": "WebClipExternalInputPayload",
        "type": "object"
      },
      "WebClipInputRequestSchema": {
        "properties": {
          "captured_website_id": {
            "format": "uuid",
            "title": "Captured Website Id",
            "type": "string"
          },
          "clipped_image_uploaded_file_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Clipped Image Uploaded File Id"
          },
          "clipped_text_content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Clipped Text Content"
          },
          "id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "timestamp": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timestamp"
          }
        },
        "required": [
          "captured_website_id"
        ],
        "title": "WebClipInputRequestSchema",
        "type": "object"
      },
      "WebClipInputResponseSchema": {
        "properties": {
          "web_clip_id": {
            "format": "uuid",
            "title": "Web Clip Id",
            "type": "string"
          }
        },
        "required": [
          "web_clip_id"
        ],
        "title": "WebClipInputResponseSchema",
        "type": "object"
      },
      "WebClipIntegrationModelKind": {
        "enum": [
          "AUTO",
          "GPT_4_1",
          "GPT_5_2",
          "GPT_5_3",
          "GPT_5_3_MINI",
          "GPT_5_4",
          "GPT_5_6_TERRA",
          "CLAUDE_SONNET_4_5",
          "CLAUDE_SONNET_4_6",
          "CLAUDE_SONNET_5",
          "GEMINI_3_FLASH",
          "GEMINI_3_1_PRO",
          "GEMINI_3_5_FLASH",
          "UNKNOWN"
        ],
        "title": "WebClipIntegrationModelKind",
        "type": "string"
      },
      "WebClipIntegrationSettingsResponseSchema": {
        "properties": {
          "instructions_enabled": {
            "title": "Instructions Enabled",
            "type": "boolean"
          },
          "instructions_markdown_content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Instructions Markdown Content"
          },
          "selected_model_kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WebClipIntegrationModelKind"
              },
              {
                "type": "null"
              }
            ]
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          }
        },
        "required": [
          "space_account_id",
          "instructions_enabled",
          "instructions_markdown_content",
          "selected_model_kind"
        ],
        "title": "WebClipIntegrationSettingsResponseSchema",
        "type": "object"
      },
      "WebClipSessionPart": {
        "deprecated": true,
        "properties": {
          "captured_website_title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Captured Website Title"
          },
          "captured_website_uploaded_file_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Captured Website Uploaded File Url"
          },
          "captured_website_url": {
            "title": "Captured Website Url",
            "type": "string"
          },
          "client_meta": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Meta"
          },
          "clipped_image_uploaded_file_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Clipped Image Uploaded File Url"
          },
          "clipped_text_content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Clipped Text Content"
          },
          "kind": {
            "const": "WEB_CLIP",
            "default": "WEB_CLIP",
            "title": "Kind",
            "type": "string"
          },
          "web_clip_id": {
            "format": "uuid",
            "title": "Web Clip Id",
            "type": "string"
          }
        },
        "required": [
          "web_clip_id",
          "captured_website_url"
        ],
        "title": "WebClipSessionPart",
        "type": "object"
      },
      "WebClipV1SessionPart": {
        "properties": {
          "captured_website_title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Captured Website Title"
          },
          "captured_website_uploaded_file_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Captured Website Uploaded File Url"
          },
          "captured_website_url": {
            "title": "Captured Website Url",
            "type": "string"
          },
          "client_meta": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Meta"
          },
          "clipped_image_uploaded_file_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Clipped Image Uploaded File Url"
          },
          "clipped_rich_text_content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Clipped Rich Text Content"
          },
          "clipped_text_content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Clipped Text Content"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "is_primary_clip": {
            "default": true,
            "title": "Is Primary Clip",
            "type": "boolean"
          },
          "kind": {
            "const": "WEB_CLIP_V1",
            "default": "WEB_CLIP_V1",
            "title": "Kind",
            "type": "string"
          },
          "preview_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Preview Description"
          },
          "preview_favicon_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Preview Favicon Url"
          },
          "preview_thumbnail_uploaded_file_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Preview Thumbnail Uploaded File Url"
          },
          "preview_thumbnail_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Preview Thumbnail Url"
          },
          "web_clip_id": {
            "format": "uuid",
            "title": "Web Clip Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "web_clip_id",
          "captured_website_url"
        ],
        "title": "WebClipV1SessionPart",
        "type": "object"
      },
      "WebhookResponse": {
        "description": "Standard webhook response.",
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Message"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "WebhookResponse",
        "type": "object"
      },
      "WebsiteContentArtifactInternalResponseSchema": {
        "properties": {
          "artifact_kind": {
            "const": "WEBSITE_CONTENT",
            "title": "Artifact Kind",
            "type": "string"
          },
          "captured_website_id": {
            "format": "uuid",
            "title": "Captured Website Id",
            "type": "string"
          },
          "website_html_content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Website Html Content"
          },
          "website_title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Website Title"
          },
          "website_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Website Url"
          }
        },
        "required": [
          "captured_website_id",
          "artifact_kind"
        ],
        "title": "WebsiteContentArtifactInternalResponseSchema",
        "type": "object"
      },
      "WebsiteLinkChipSessionPartPayload": {
        "properties": {
          "kind": {
            "const": "WEBSITE_LINK",
            "default": "WEBSITE_LINK",
            "title": "Kind",
            "type": "string"
          },
          "website_title": {
            "title": "Website Title",
            "type": "string"
          },
          "website_url": {
            "title": "Website Url",
            "type": "string"
          }
        },
        "required": [
          "website_title",
          "website_url"
        ],
        "title": "WebsiteLinkChipSessionPartPayload",
        "type": "object"
      },
      "WhatsAppConnectionSettingsResponseSchema": {
        "properties": {
          "connected_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Connected At"
          },
          "is_connected": {
            "title": "Is Connected",
            "type": "boolean"
          },
          "is_enabled": {
            "title": "Is Enabled",
            "type": "boolean"
          },
          "phone_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone Number"
          }
        },
        "required": [
          "is_connected",
          "is_enabled"
        ],
        "title": "WhatsAppConnectionSettingsResponseSchema",
        "type": "object"
      },
      "WhatsAppConnectResponseSchema": {
        "properties": {
          "activation_url": {
            "title": "Activation Url",
            "type": "string"
          },
          "expires_at": {
            "title": "Expires At",
            "type": "string"
          }
        },
        "required": [
          "activation_url",
          "expires_at"
        ],
        "title": "WhatsAppConnectResponseSchema",
        "type": "object"
      },
      "ZapierIntegrationSettingsResponseSchema": {
        "properties": {
          "is_enabled": {
            "title": "Is Enabled",
            "type": "boolean"
          }
        },
        "required": [
          "is_enabled"
        ],
        "title": "ZapierIntegrationSettingsResponseSchema",
        "type": "object"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "The external developer API exposed through api.mem.ai. This compatibility projection remains independent from first-party product routes.",
    "title": "Mem Public Client API",
    "version": "1.0.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/schema/openapi.json": {
      "get": {
        "operationId": "app_src_api_routes_external_v1_openapi_views_openapi_schema_json",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "title": "Response"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Openapi Schema Json",
        "tags": [
          "external"
        ]
      }
    },
    "/schema/openapi.yaml": {
      "get": {
        "operationId": "app_src_api_routes_external_v1_openapi_views_openapi_schema_yaml",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "title": "Response"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Openapi Schema Yaml",
        "tags": [
          "external"
        ]
      }
    },
    "/v0": {
      "get": {
        "operationId": "app_src_api_routes_external_v0_views_root",
        "parameters": [],
        "responses": {
          "410": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeprecatedRouteResponseSchema"
                }
              }
            },
            "description": "Gone"
          }
        },
        "summary": "Root",
        "tags": [
          "external",
          "external-v0"
        ]
      }
    },
    "/v0/mems": {
      "post": {
        "operationId": "app_src_api_routes_external_v0_views_create_mem",
        "parameters": [],
        "responses": {
          "410": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeprecatedRouteResponseSchema"
                }
              }
            },
            "description": "Gone"
          }
        },
        "summary": "Create Mem",
        "tags": [
          "external",
          "external-v0"
        ]
      }
    },
    "/v0/mems/{mem_id}/append": {
      "post": {
        "operationId": "app_src_api_routes_external_v0_views_append_mem",
        "parameters": [
          {
            "in": "path",
            "name": "mem_id",
            "required": true,
            "schema": {
              "title": "Mem Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "410": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeprecatedRouteResponseSchema"
                }
              }
            },
            "description": "Gone"
          }
        },
        "summary": "Append Mem",
        "tags": [
          "external",
          "external-v0"
        ]
      }
    },
    "/v0/mems/batch": {
      "post": {
        "operationId": "app_src_api_routes_external_v0_views_batch_create_mems",
        "parameters": [],
        "responses": {
          "410": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeprecatedRouteResponseSchema"
                }
              }
            },
            "description": "Gone"
          }
        },
        "summary": "Batch Create Mems",
        "tags": [
          "external",
          "external-v0"
        ]
      }
    },
    "/v1/mem-it": {
      "post": {
        "operationId": "app_src_api_routes_external_v1_mem_it_views_mem_it",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LegacyMemItRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyMemItResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Mem It",
        "tags": [
          "external",
          "external-v1"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v1/mem-it\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --data '{\n         \"input\": \"<!DOCTYPE html><html><head><title>AI Trends 2025</title>...</html>\",\n         \"instructions\": \"Extract the key findings and save as a research note\",\n     }'"
          }
        ]
      }
    },
    "/v1/notes": {
      "post": {
        "operationId": "app_src_api_routes_external_v1_notes_views_create_note",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LegacyCreateNoteRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyCreateNoteResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Create Note",
        "tags": [
          "external",
          "external-v1"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "                    curl \"https://api.mem.ai/v1/notes\" \\\n                         --header \"Content-Type: application/json\" \\\n                         --header \"Authorization: Bearer $MEM_API_KEY\" \\\n                         --data '{\n                             \"content\": \"# Sales Call with Acme Corp\n\nContact: John Smith (john@acme.com)\n\nInterested in enterprise plan. Follow up next week.\",\n                             \"auto_organize\": \"Add this to both my Sales and Follow-ups collections\",\n                             \"auto_format\": \"Format as a sales call summary with clear follow-up tasks\"\n                         }'\n                    "
          }
        ]
      }
    },
    "/v1/notes/{note_id}": {
      "delete": {
        "operationId": "app_src_api_routes_external_v1_notes_views_delete_note",
        "parameters": [
          {
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Note Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyDeleteNoteResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Delete Note",
        "tags": [
          "external",
          "external-v1"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v1/notes/01961d40-7a67-7049-a8a6-d5638cbaaeb9\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --request DELETE"
          }
        ]
      }
    },
    "/v1/service-info": {
      "get": {
        "operationId": "app_src_api_routes_service_info_views_get_service_info",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceInfoResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Get Service Info",
        "tags": [
          "external",
          "external-v1"
        ]
      }
    },
    "/v2/attachments/answer-question": {
      "post": {
        "description": "Ask one focused question about a single attachment by kind and ID.\nUse `attachment_kind` and `attachment_id` returned in note attachment metadata.",
        "operationId": "app_src_api_routes_external_v2_attachments_views_answer_question_about_attachment",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AnswerQuestionAboutAttachmentRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnswerQuestionAboutAttachmentResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Answer Question About Attachment",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/attachments/read": {
      "post": {
        "description": "Read structured content for a single attachment by kind and ID.\nUse `attachment_kind` and `attachment_id` returned in note attachment metadata.",
        "operationId": "app_src_api_routes_external_v2_attachments_views_read_attachment",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReadAttachmentRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReadAttachmentResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Read Attachment",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/audio-recordings/{audio_recording_id}": {
      "get": {
        "description": "Fetch the current public transcript and metadata for a single audio recording by ID.",
        "operationId": "app_src_api_routes_external_v2_audio_recordings_views_read_audio_recording",
        "parameters": [
          {
            "description": "When true (default), transcript turns are prefixed with available speaker\nlabels. Labels may be participant names, generic diarization labels such as\n`[Speaker 1]`, or app channel labels such as `[Speaker]` and\n`[Other Speakers]`.\nParticipant names are included only when available; many transcripts use\ngeneric diarization labels or app channel labels instead. Generic labels are\nspeaker grouping context, not verified participant identity.\nWhen false, the same transcript content is returned without speaker labels.",
            "in": "query",
            "name": "transcript_speaker_labels",
            "required": false,
            "schema": {
              "default": true,
              "description": "When true (default), transcript turns are prefixed with available speaker\nlabels. Labels may be participant names, generic diarization labels such as\n`[Speaker 1]`, or app channel labels such as `[Speaker]` and\n`[Other Speakers]`.\nParticipant names are included only when available; many transcripts use\ngeneric diarization labels or app channel labels instead. Generic labels are\nspeaker grouping context, not verified participant identity.\nWhen false, the same transcript content is returned without speaker labels.",
              "title": "Transcript Speaker Labels",
              "type": "boolean"
            }
          },
          {
            "description": "UUID of the audio recording to read. The caller must be able to access this recording.",
            "in": "path",
            "name": "audio_recording_id",
            "required": true,
            "schema": {
              "description": "UUID of the audio recording to read. The caller must be able to access this recording.",
              "format": "uuid",
              "title": "Audio Recording Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReadAudioRecordingResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Read Audio Recording",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/calendar/calendars": {
      "get": {
        "operationId": "app_src_api_routes_external_v2_calendar_views_list_calendars",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListCalendarsResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List Calendars",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/calendar/calendars/settings": {
      "post": {
        "operationId": "app_src_api_routes_external_v2_calendar_views_update_calendar_settings",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCalendarSettingsRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateCalendarSettingsResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Update Calendar Settings",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/calendar/connections": {
      "get": {
        "operationId": "app_src_api_routes_external_v2_calendar_views_list_calendar_connections",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListCalendarConnectionsResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List Calendar Connections",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/calendar/connections/{provider}/callback": {
      "post": {
        "operationId": "app_src_api_routes_external_v2_calendar_views_calendar_oauth_callback",
        "parameters": [
          {
            "in": "path",
            "name": "provider",
            "required": true,
            "schema": {
              "title": "Provider",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CalendarOAuthCallbackRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalendarOAuthCallbackResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Calendar Oauth Callback",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/calendar/connections/{provider}/connect": {
      "post": {
        "operationId": "app_src_api_routes_external_v2_calendar_views_connect_calendar",
        "parameters": [
          {
            "in": "path",
            "name": "provider",
            "required": true,
            "schema": {
              "title": "Provider",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConnectCalendarRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConnectCalendarResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Connect Calendar",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/calendar/connections/{provider}/disconnect": {
      "post": {
        "operationId": "app_src_api_routes_external_v2_calendar_views_disconnect_calendar",
        "parameters": [
          {
            "in": "path",
            "name": "provider",
            "required": true,
            "schema": {
              "title": "Provider",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DisconnectCalendarRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DisconnectCalendarResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Disconnect Calendar",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/calendar/events": {
      "get": {
        "operationId": "app_src_api_routes_external_v2_calendar_views_list_calendar_events",
        "parameters": [
          {
            "description": "Filter events ending at or after this time.",
            "in": "query",
            "name": "start_time",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Filter events ending at or after this time.",
              "title": "Start Time"
            }
          },
          {
            "description": "Filter events starting at or before this time.",
            "in": "query",
            "name": "end_time",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Filter events starting at or before this time.",
              "title": "End Time"
            }
          },
          {
            "description": "Filter by external calendar ID (provider calendar ID).",
            "in": "query",
            "name": "calendar_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Filter by external calendar ID (provider calendar ID).",
              "title": "Calendar Id"
            }
          },
          {
            "description": "Maximum number of events to return.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Maximum number of events to return.",
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListCalendarEventsResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List Calendar Events",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/calendar/events/{event_id}": {
      "get": {
        "operationId": "app_src_api_routes_external_v2_calendar_views_read_calendar_event",
        "parameters": [
          {
            "description": "UUID of the calendar event to read.",
            "in": "path",
            "name": "event_id",
            "required": true,
            "schema": {
              "description": "UUID of the calendar event to read.",
              "format": "uuid",
              "title": "Event Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReadCalendarEventResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Read Calendar Event",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/calendar/reconcile": {
      "post": {
        "operationId": "app_src_api_routes_external_v2_calendar_views_reconcile_calendar",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReconcileCalendarRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReconcileCalendarResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Reconcile Calendar",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/collections": {
      "get": {
        "description": "List collections visible to the authenticated caller with cursor pagination.\nResults are ordered by `order_by` and return `next_page` when additional rows are available.\nFor relevance-ranked retrieval by query, use `POST /v2/collections/search`.",
        "operationId": "app_src_api_routes_external_v2_collections_views_list_collections",
        "parameters": [
          {
            "description": "Maximum number of collections in this page.\nUse smaller values for lower latency.\nDefault is 50; valid range is 1 to 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maximum": 100,
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": 50,
              "description": "Maximum number of collections in this page.\nUse smaller values for lower latency.\nDefault is 50; valid range is 1 to 100.",
              "title": "Limit"
            }
          },
          {
            "description": "Opaque cursor from a previous list response.\nOmit for the first page.\nIMPORTANT: Reuse with the same filters and `order_by` settings.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Opaque cursor from a previous list response.\nOmit for the first page.\nIMPORTANT: Reuse with the same filters and `order_by` settings.",
              "title": "Page"
            }
          },
          {
            "description": "Sort key for pagination boundaries.\nUse `updated_at` (default) for recency feeds.\nUse `created_at` for creation-order views.",
            "in": "query",
            "name": "order_by",
            "required": false,
            "schema": {
              "allOf": [
                {
                  "enum": [
                    "created_at",
                    "updated_at"
                  ],
                  "title": "CollectionListOrderBy",
                  "type": "string"
                }
              ],
              "default": "updated_at",
              "description": "Sort key for pagination boundaries.\nUse `updated_at` (default) for recency feeds.\nUse `created_at` for creation-order views."
            }
          },
          {
            "description": "Optional inclusive lower bound for collection creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "in": "query",
            "name": "filter_by_created_after",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional inclusive lower bound for collection creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
              "title": "Filter By Created After"
            }
          },
          {
            "description": "Optional inclusive upper bound for collection creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "in": "query",
            "name": "filter_by_created_before",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional inclusive upper bound for collection creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
              "title": "Filter By Created Before"
            }
          },
          {
            "description": "Optional inclusive lower bound for collection update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "in": "query",
            "name": "filter_by_updated_after",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional inclusive lower bound for collection update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
              "title": "Filter By Updated After"
            }
          },
          {
            "description": "Optional inclusive upper bound for collection update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "in": "query",
            "name": "filter_by_updated_before",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional inclusive upper bound for collection update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
              "title": "Filter By Updated Before"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollectionListResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List Collections",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/collections?limit=20\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\""
          }
        ]
      },
      "post": {
        "description": "Create a collection with optional caller-provided ID and timestamps.\nIf `id` already exists, this request returns a conflict.\nUse collection membership endpoints to add, remove, or move notes between collections.",
        "operationId": "app_src_api_routes_external_v2_collections_views_create_collection",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCollectionRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateCollectionResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Create Collection",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/collections\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --data '{\n         \"title\": \"Acme Corp\"\n     }'"
          }
        ]
      }
    },
    "/v2/collections/{collection_id}": {
      "delete": {
        "description": "Permanently delete a collection.\nHard-deleting removes the collection resource itself.\nFor membership-only changes, use note add, remove, or move collection endpoints.",
        "operationId": "app_src_api_routes_external_v2_collections_views_delete_collection",
        "parameters": [
          {
            "description": "UUID of the collection to permanently delete. Use an ID returned by create/list/search. The caller must be able to access this collection.",
            "in": "path",
            "name": "collection_id",
            "required": true,
            "schema": {
              "description": "UUID of the collection to permanently delete. Use an ID returned by create/list/search. The caller must be able to access this collection.",
              "format": "uuid",
              "title": "Collection Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteCollectionResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Delete Collection",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/collections/01961d40-7a67-7049-a8a6-d5638cbaaeb9\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --request DELETE"
          }
        ]
      },
      "get": {
        "description": "Fetch metadata for a single collection by ID.\nThis endpoint returns collection metadata only, not a note list for that collection.\nFor discovery flows, use `GET /v2/collections` or `POST /v2/collections/search`.",
        "operationId": "app_src_api_routes_external_v2_collections_views_read_collection",
        "parameters": [
          {
            "description": "UUID of the collection to read. Use an ID returned by create/list/search. The caller must be able to access this collection.",
            "in": "path",
            "name": "collection_id",
            "required": true,
            "schema": {
              "description": "UUID of the collection to read. Use an ID returned by create/list/search. The caller must be able to access this collection.",
              "format": "uuid",
              "title": "Collection Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReadCollectionResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Read Collection",
        "tags": [
          "external",
          "external-v2"
        ]
      },
      "patch": {
        "description": "Update metadata for a collection by ID.\nUse this endpoint to rename a collection by setting `title`.\nThis endpoint updates only provided fields (`title`, `description`) and leaves omitted fields unchanged.\nFor read-only retrieval, use `GET /v2/collections/{collection_id}`.",
        "operationId": "app_src_api_routes_external_v2_collections_views_update_collection",
        "parameters": [
          {
            "description": "UUID of the collection to update. Use an ID returned by create/list/search. The caller must be able to edit this collection.",
            "in": "path",
            "name": "collection_id",
            "required": true,
            "schema": {
              "description": "UUID of the collection to update. Use an ID returned by create/list/search. The caller must be able to edit this collection.",
              "format": "uuid",
              "title": "Collection Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCollectionRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateCollectionResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Update Collection",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/collections/01961d40-7a67-7049-a8a6-d5638cbaaeb9\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --request PATCH \\\n     --data '{\n         \"title\": \"Acme Corp - 2026\",\n         \"description\": \"Collection for 2026 Acme planning and execution notes.\"\n     }'"
          }
        ]
      }
    },
    "/v2/collections/{collection_id}/notes/{note_id}": {
      "delete": {
        "description": "Remove a note from a collection while keeping both resources.\nThis operation only removes the membership link between IDs.\nUse note/collection deletion endpoints to remove resources.",
        "operationId": "app_src_api_routes_external_v2_collections_views_remove_note_from_collection",
        "parameters": [
          {
            "description": "UUID of the collection to unlink. Use an ID returned by create/list/search. Caller must be able to edit the note or contribute to the collection.",
            "in": "path",
            "name": "collection_id",
            "required": true,
            "schema": {
              "description": "UUID of the collection to unlink. Use an ID returned by create/list/search. Caller must be able to edit the note or contribute to the collection.",
              "format": "uuid",
              "title": "Collection Id",
              "type": "string"
            }
          },
          {
            "description": "UUID of the note to unlink. Use an ID returned by create/list/search. Caller must be able to edit the note or contribute to the collection.",
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "description": "UUID of the note to unlink. Use an ID returned by create/list/search. Caller must be able to edit the note or contribute to the collection.",
              "format": "uuid",
              "title": "Note Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoveNoteFromCollectionResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Remove Note From Collection",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/collections/01961d40-7a67-7049-a8a6-d5638cbaaeb9/notes/01961d40-7b6f-70dd-8a92-2ee8f7137ab5\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --request DELETE"
          }
        ]
      },
      "put": {
        "description": "Add an existing note to an existing collection.\nThis operation only creates the membership link and does not modify note or collection content.\nUse create endpoints to create notes or collections.",
        "operationId": "app_src_api_routes_external_v2_collections_views_add_note_to_collection",
        "parameters": [
          {
            "description": "UUID of the collection that will receive the note. Use an ID returned by create/list/search. The caller must be able to contribute to this collection.",
            "in": "path",
            "name": "collection_id",
            "required": true,
            "schema": {
              "description": "UUID of the collection that will receive the note. Use an ID returned by create/list/search. The caller must be able to contribute to this collection.",
              "format": "uuid",
              "title": "Collection Id",
              "type": "string"
            }
          },
          {
            "description": "UUID of the note to add. Use an ID returned by create/list/search. The caller must be able to access this note.",
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "description": "UUID of the note to add. Use an ID returned by create/list/search. The caller must be able to access this note.",
              "format": "uuid",
              "title": "Note Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddNoteToCollectionResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Add Note To Collection",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/collections/01961d40-7a67-7049-a8a6-d5638cbaaeb9/notes/01961d40-7b6f-70dd-8a92-2ee8f7137ab5\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --request PUT"
          }
        ]
      }
    },
    "/v2/collections/{source_collection_id}/notes/{note_id}/move": {
      "post": {
        "description": "Move a note from one collection to another collection.\nThis operation adds the note to the target collection, then removes it from the source collection.\nIt does not modify note or collection content.",
        "operationId": "app_src_api_routes_external_v2_collections_views_move_note",
        "parameters": [
          {
            "description": "UUID of the collection that currently contains the note. Caller must be able to remove the note from this collection.",
            "in": "path",
            "name": "source_collection_id",
            "required": true,
            "schema": {
              "description": "UUID of the collection that currently contains the note. Caller must be able to remove the note from this collection.",
              "format": "uuid",
              "title": "Source Collection Id",
              "type": "string"
            }
          },
          {
            "description": "UUID of the note to move. Use an ID returned by create/list/search.",
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "description": "UUID of the note to move. Use an ID returned by create/list/search.",
              "format": "uuid",
              "title": "Note Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MoveNoteRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MoveNoteResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Move Note",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/collections/01961d40-7a67-7049-a8a6-d5638cbaaeb9/notes/01961d40-7b6f-70dd-8a92-2ee8f7137ab5/move\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --data '{\n         \"target_collection_id\": \"01961d40-7c70-7ed8-8cd4-bd99203de422\"\n     }'"
          }
        ]
      }
    },
    "/v2/collections/search": {
      "post": {
        "description": "Search collections using free-text relevance matching.\nReturns a bounded relevance-ranked result set and does not return `next_page`.\nFor deterministic chronological pagination, use `GET /v2/collections`.",
        "operationId": "app_src_api_routes_external_v2_collections_views_search_collections",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CollectionSearchRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollectionSearchResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Search Collections",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/collections/search\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --data '{\n         \"query\": \"recipes\"\n     }'"
          }
        ]
      }
    },
    "/v2/event-types": {
      "get": {
        "description": "List event types supported by the Events API.",
        "operationId": "app_src_api_routes_external_v2_events_views_list_event_types",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventTypeListResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List Event Types",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/events": {
      "get": {
        "description": "List events for the authenticated account in sequence order.\nEvents are a stable external projection over Mem domain events. They are\nthin by default; fetch full object state with the corresponding read API.",
        "operationId": "app_src_api_routes_external_v2_events_views_list_events",
        "parameters": [
          {
            "description": "Return events with a sequence greater than this value.\nStore `next_after_sequence` from each response as the next watermark.",
            "in": "query",
            "name": "after_sequence",
            "required": false,
            "schema": {
              "default": 0,
              "description": "Return events with a sequence greater than this value.\nStore `next_after_sequence` from each response as the next watermark.",
              "minimum": 0,
              "title": "After Sequence",
              "type": "integer"
            }
          },
          {
            "description": "Maximum number of events to return. Max: 1000.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 100,
              "description": "Maximum number of events to return. Max: 1000.",
              "maximum": 1000,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "description": "Optional repeated event type filter, for example\n`?types=mem.note.created.v1&types=mem.conversation.message_received.v1`.",
            "in": "query",
            "name": "types",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "items": {
                    "$ref": "#/components/schemas/ExternalEventType"
                  },
                  "type": "array"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional repeated event type filter, for example\n`?types=mem.note.created.v1&types=mem.conversation.message_received.v1`.",
              "title": "Types"
            }
          },
          {
            "description": "Optional primary entity kind filter, such as `note`.",
            "in": "query",
            "name": "entity_kind",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional primary entity kind filter, such as `note`.",
              "title": "Entity Kind"
            }
          },
          {
            "description": "Optional primary entity UUID filter.",
            "in": "query",
            "name": "entity_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "uuid",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional primary entity UUID filter.",
              "title": "Entity Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventListResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List Events",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/events/{event_id}": {
      "get": {
        "description": "Fetch a single event by ID.",
        "operationId": "app_src_api_routes_external_v2_events_views_read_event",
        "parameters": [
          {
            "description": "UUID of the event to read.",
            "in": "path",
            "name": "event_id",
            "required": true,
            "schema": {
              "description": "UUID of the event to read.",
              "format": "uuid",
              "title": "Event Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReadEventResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Read Event",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/follow-ups": {
      "get": {
        "description": "List follow-ups for the authenticated caller's assistant with cursor pagination.\nResults are ordered by `order_by` and return `next_page` when additional rows are available.\nUse the optional `status`, `task_id`, and `project_id` filters to narrow the result set.",
        "operationId": "app_src_api_routes_external_v2_follow_ups_views_list_follow_ups",
        "parameters": [
          {
            "description": "Maximum number of follow-ups in this page.\nDefault is 50; valid range is 1 to 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maximum": 100,
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": 50,
              "description": "Maximum number of follow-ups in this page.\nDefault is 50; valid range is 1 to 100.",
              "title": "Limit"
            }
          },
          {
            "description": "Opaque cursor from a previous list response.\nOmit for the first page.\nIMPORTANT: Reuse with the same `order_by`, `status`, `task_id`, and `project_id` values.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Opaque cursor from a previous list response.\nOmit for the first page.\nIMPORTANT: Reuse with the same `order_by`, `status`, `task_id`, and `project_id` values.",
              "title": "Page"
            }
          },
          {
            "description": "Sort key for pagination boundaries.\nUse `scheduled_for` (default) to view follow-ups by trigger time.\nUse `updated_at` for recency feeds, or `created_at` for creation-order views.",
            "in": "query",
            "name": "order_by",
            "required": false,
            "schema": {
              "allOf": [
                {
                  "enum": [
                    "created_at",
                    "updated_at",
                    "scheduled_for"
                  ],
                  "title": "AssistantFollowUpOrderBy",
                  "type": "string"
                }
              ],
              "default": "scheduled_for",
              "description": "Sort key for pagination boundaries.\nUse `scheduled_for` (default) to view follow-ups by trigger time.\nUse `updated_at` for recency feeds, or `created_at` for creation-order views."
            }
          },
          {
            "description": "Optional filter by follow-up status.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/FollowUpStatusInput"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional filter by follow-up status."
            }
          },
          {
            "description": "Optional filter to follow-ups associated with a single task.",
            "in": "query",
            "name": "task_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "uuid",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional filter to follow-ups associated with a single task.",
              "title": "Task Id"
            }
          },
          {
            "description": "Optional filter to follow-ups associated with a single project.",
            "in": "query",
            "name": "project_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "uuid",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional filter to follow-ups associated with a single project.",
              "title": "Project Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FollowUpListResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List Follow Ups",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/follow-ups?limit=20&status=pending\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\""
          }
        ]
      }
    },
    "/v2/follow-ups/{follow_up_id}": {
      "get": {
        "description": "Fetch metadata for a single follow-up by ID.",
        "operationId": "app_src_api_routes_external_v2_follow_ups_views_read_follow_up",
        "parameters": [
          {
            "description": "UUID of the follow-up to read. The caller's assistant must own this follow-up.",
            "in": "path",
            "name": "follow_up_id",
            "required": true,
            "schema": {
              "description": "UUID of the follow-up to read. The caller's assistant must own this follow-up.",
              "format": "uuid",
              "title": "Follow Up Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReadFollowUpResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Read Follow Up",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/mcp/chatgpt/fetch": {
      "post": {
        "operationId": "app_src_api_routes_external_v2_mcp_chatgpt_views_fetch_resources",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FetchChatGPTRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FetchChatGPTResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Fetch Resources",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/mcp/chatgpt/search": {
      "post": {
        "operationId": "app_src_api_routes_external_v2_mcp_chatgpt_views_search_resources",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchChatGPTRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchChatGPTResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Search Resources",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/mcp/initialize": {
      "post": {
        "operationId": "app_src_api_routes_external_v2_mcp_initialize_views_initialize_mcp",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/McpInitializeRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "No Content"
          }
        },
        "summary": "Initialize Mcp",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/mcp/notes/{note_id}": {
      "get": {
        "operationId": "app_src_api_routes_external_v2_mcp_notes_views_view_note",
        "parameters": [
          {
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Note Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ViewNoteResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "View Note",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/mcp/notes/search": {
      "post": {
        "operationId": "app_src_api_routes_external_v2_mcp_notes_views_search_notes",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchNotesRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchNotesResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Search Notes",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/mem-it": {
      "post": {
        "operationId": "app_src_api_routes_external_v2_mem_it_views_mem_it",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MemItRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MemItResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Mem It",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/mem-it\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --data '{\n         \"input\": \"<!DOCTYPE html><html><head><title>AI Trends 2025</title>...</html>\",\n         \"instructions\": \"Extract the key findings and save as a research note\"\n     }'"
          }
        ]
      }
    },
    "/v2/note-attachments/{attachment_id}/download-url": {
      "get": {
        "description": "Generate a temporary signed download URL for a note attachment.\nUse this when note content references an attachment, but the underlying file URL is not directly downloadable.\nThe caller must be able to access the requested attachment.",
        "operationId": "app_src_api_routes_external_v2_notes_views_get_note_attachment_download_url",
        "parameters": [
          {
            "description": "UUID of the note attachment to download. The caller must be able to access this attachment.",
            "in": "path",
            "name": "attachment_id",
            "required": true,
            "schema": {
              "description": "UUID of the note attachment to download. The caller must be able to access this attachment.",
              "format": "uuid",
              "title": "Attachment Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetNoteAttachmentDownloadUrlResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Get Note Attachment Download Url",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/note-attachments/01961d40-7a67-7049-a8a6-d5638cbaaeb9/download-url\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\""
          }
        ]
      }
    },
    "/v2/notes": {
      "get": {
        "description": "List notes visible to the authenticated caller with cursor pagination.\nWhen multiple `contains_*` fields are true, a note may match any of them.\nResults are ordered by `order_by` and return `next_page` when additional rows are available.\nFor relevance-ranked retrieval by query, use `POST /v2/notes/search`.",
        "operationId": "app_src_api_routes_external_v2_notes_views_list_notes",
        "parameters": [
          {
            "description": "Maximum number of notes in this page.\nUse smaller values for lower latency.\nDefault is 50; valid range is 1 to 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maximum": 100,
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": 50,
              "description": "Maximum number of notes in this page.\nUse smaller values for lower latency.\nDefault is 50; valid range is 1 to 100.",
              "title": "Limit"
            }
          },
          {
            "description": "Opaque cursor from a previous list response.\nOmit for the first page.\nIMPORTANT: Reuse with the same filters and `order_by` settings.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Opaque cursor from a previous list response.\nOmit for the first page.\nIMPORTANT: Reuse with the same filters and `order_by` settings.",
              "title": "Page"
            }
          },
          {
            "description": "Sort key for pagination boundaries.\nUse `updated_at` (default) for recency feeds.\nUse `created_at` for creation-order views.",
            "in": "query",
            "name": "order_by",
            "required": false,
            "schema": {
              "allOf": [
                {
                  "enum": [
                    "created_at",
                    "updated_at"
                  ],
                  "title": "NoteListOrderBy",
                  "type": "string"
                }
              ],
              "default": "updated_at",
              "description": "Sort key for pagination boundaries.\nUse `updated_at` (default) for recency feeds.\nUse `created_at` for creation-order views."
            }
          },
          {
            "description": "Optional collection filter by UUID.\nWhen set, only notes linked to this collection are returned.",
            "in": "query",
            "name": "collection_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "uuid",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional collection filter by UUID.\nWhen set, only notes linked to this collection are returned.",
              "title": "Collection Id"
            }
          },
          {
            "description": "Optional inclusive lower bound for note creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "in": "query",
            "name": "filter_by_created_after",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional inclusive lower bound for note creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
              "title": "Filter By Created After"
            }
          },
          {
            "description": "Optional inclusive upper bound for note creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "in": "query",
            "name": "filter_by_created_before",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional inclusive upper bound for note creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
              "title": "Filter By Created Before"
            }
          },
          {
            "description": "Optional inclusive lower bound for note update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "in": "query",
            "name": "filter_by_updated_after",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional inclusive lower bound for note update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
              "title": "Filter By Updated After"
            }
          },
          {
            "description": "Optional inclusive upper bound for note update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "in": "query",
            "name": "filter_by_updated_before",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional inclusive upper bound for note update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
              "title": "Filter By Updated Before"
            }
          },
          {
            "description": "When true, include notes that contain at least one open task item.\nWhen multiple `contains_*` fields are true, notes matching any selected\nfilter may be returned.",
            "in": "query",
            "name": "contains_open_tasks",
            "required": false,
            "schema": {
              "default": false,
              "description": "When true, include notes that contain at least one open task item.\nWhen multiple `contains_*` fields are true, notes matching any selected\nfilter may be returned.",
              "title": "Contains Open Tasks",
              "type": "boolean"
            }
          },
          {
            "description": "When true, include notes that contain at least one task item\n(open or closed).\nWhen multiple `contains_*` fields are true, notes matching any selected\nfilter may be returned.",
            "in": "query",
            "name": "contains_tasks",
            "required": false,
            "schema": {
              "default": false,
              "description": "When true, include notes that contain at least one task item\n(open or closed).\nWhen multiple `contains_*` fields are true, notes matching any selected\nfilter may be returned.",
              "title": "Contains Tasks",
              "type": "boolean"
            }
          },
          {
            "description": "When true, include notes that contain image media\n(including image and GIF kinds).\nWhen multiple `contains_*` fields are true, notes matching any selected\nfilter may be returned.",
            "in": "query",
            "name": "contains_images",
            "required": false,
            "schema": {
              "default": false,
              "description": "When true, include notes that contain image media\n(including image and GIF kinds).\nWhen multiple `contains_*` fields are true, notes matching any selected\nfilter may be returned.",
              "title": "Contains Images",
              "type": "boolean"
            }
          },
          {
            "description": "When true, include notes that contain file-like attachments\n(including file and PDF kinds).\nWhen multiple `contains_*` fields are true, notes matching any selected\nfilter may be returned.",
            "in": "query",
            "name": "contains_files",
            "required": false,
            "schema": {
              "default": false,
              "description": "When true, include notes that contain file-like attachments\n(including file and PDF kinds).\nWhen multiple `contains_*` fields are true, notes matching any selected\nfilter may be returned.",
              "title": "Contains Files",
              "type": "boolean"
            }
          },
          {
            "description": "When true, include full markdown content for each returned note.\nIMPORTANT: This increases payload size and can increase latency.",
            "in": "query",
            "name": "include_note_content",
            "required": false,
            "schema": {
              "default": false,
              "description": "When true, include full markdown content for each returned note.\nIMPORTANT: This increases payload size and can increase latency.",
              "title": "Include Note Content",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NoteListResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List Notes",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/notes?limit=20\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\""
          }
        ]
      },
      "post": {
        "description": "Create a note with an optional note ID, timestamps, and collection links.\nIf omitted, Mem generates the note ID.\nThe first line of `content` becomes the note title.",
        "operationId": "app_src_api_routes_external_v2_notes_views_create_note",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateNoteRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateNoteResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Create Note",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "                    curl \"https://api.mem.ai/v2/notes\" \\\n                         --header \"Content-Type: application/json\" \\\n                         --header \"Authorization: Bearer $MEM_API_KEY\" \\\n                         --data '{\n                             \"content\": \"# Sales Call with Acme Corp\n\nContact: John Smith (john@acme.com)\n\nInterested in enterprise plan. Follow up next week.\"\n                         }'\n                    "
          }
        ]
      }
    },
    "/v2/notes/{note_id}": {
      "delete": {
        "description": "Permanently delete a note.\nHard-deleted notes cannot be restored.\nFor recoverable removal, use `POST /v2/notes/{note_id}/trash`.",
        "operationId": "app_src_api_routes_external_v2_notes_views_delete_note",
        "parameters": [
          {
            "description": "UUID of the note to permanently delete. Use an ID returned by create/list/search. The caller must be able to edit this note.",
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "description": "UUID of the note to permanently delete. Use an ID returned by create/list/search. The caller must be able to edit this note.",
              "format": "uuid",
              "title": "Note Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteNoteResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Delete Note",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/notes/01961d40-7a67-7049-a8a6-d5638cbaaeb9\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --request DELETE"
          }
        ]
      },
      "get": {
        "description": "Fetch the full current state of a single note by ID.\nIf the note is in trash, the response still returns the note and includes `trashed_at`.\nFor discovery flows, use `GET /v2/notes` or `POST /v2/notes/search`.",
        "operationId": "app_src_api_routes_external_v2_notes_views_read_note",
        "parameters": [
          {
            "description": "UUID of the note to read. Use an ID returned by create/list/search. The caller must be able to access this note.",
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "description": "UUID of the note to read. Use an ID returned by create/list/search. The caller must be able to access this note.",
              "format": "uuid",
              "title": "Note Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReadNoteResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Read Note",
        "tags": [
          "external",
          "external-v2"
        ]
      },
      "patch": {
        "description": "Submit a complete markdown body for a note and the exact `version` being updated.\nSend the full desired body in `content` (not a partial markdown patch).\nThe first line of `content` becomes the updated title.\nTrashed notes must be restored before they can be updated.",
        "operationId": "app_src_api_routes_external_v2_notes_views_update_note",
        "parameters": [
          {
            "description": "UUID of the note to update. Use an ID returned by create/list/search. The caller must be able to edit this note.",
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "description": "UUID of the note to update. Use an ID returned by create/list/search. The caller must be able to edit this note.",
              "format": "uuid",
              "title": "Note Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateNoteRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateNoteResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Update Note",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/notes/01961d40-7a67-7049-a8a6-d5638cbaaeb9\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --request PATCH \\\n     --data '{\n         \"content\": \"# Updated title\\n\\nUpdated markdown content.\",\n         \"version\": 3\n     }'"
          }
        ]
      }
    },
    "/v2/notes/{note_id}/created-at": {
      "patch": {
        "description": "Set a note's visible creation timestamp without changing its content.\nThe supplied `created_at` must include a timezone offset and cannot be in the future.\nIt can only backdate the note: the timestamp cannot be later than\nwhen the note was originally created.\nThis operation changes note metadata only.\nTrashed notes must be restored before their creation date can be changed.",
        "operationId": "app_src_api_routes_external_v2_notes_views_set_note_created_at",
        "parameters": [
          {
            "description": "UUID of the note whose visible creation timestamp should change. The caller must own this note.",
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "description": "UUID of the note whose visible creation timestamp should change. The caller must own this note.",
              "format": "uuid",
              "title": "Note Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetNoteCreatedAtRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetNoteCreatedAtResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Set Note Created At",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/notes/01961d40-7a67-7049-a8a6-d5638cbaaeb9/created-at\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --request PATCH \\\n     --data '{\n         \"created_at\": \"2020-01-07T00:00:00Z\"\n     }'"
          }
        ]
      }
    },
    "/v2/notes/{note_id}/related-notes": {
      "get": {
        "description": "Find notes semantically related to the current persisted content of a note.\nThe source note is embedded at request time, so newly created or recently\nupdated notes can be used before asynchronous indexing catches up.\nCandidate related notes still come from the note search index.",
        "operationId": "app_src_api_routes_external_v2_notes_views_find_related_notes",
        "parameters": [
          {
            "description": "Maximum number of related notes to return.\nDefault is 10; valid range is 1 to 20.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 10,
              "description": "Maximum number of related notes to return.\nDefault is 10; valid range is 1 to 20.",
              "maximum": 20,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "description": "UUID of the source note. The caller must be able to access this note.",
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "description": "UUID of the source note. The caller must be able to access this note.",
              "format": "uuid",
              "title": "Note Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FindRelatedNotesResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Find Related Notes",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/notes/01961d40-7a67-7049-a8a6-d5638cbaaeb9/related-notes?limit=10\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\""
          }
        ]
      }
    },
    "/v2/notes/{note_id}/restore": {
      "post": {
        "description": "Restore a previously trashed note to the active note set.\nThis only reverses soft-delete lifecycle state.\nNotes permanently deleted via `DELETE /v2/notes/{note_id}` cannot be restored.",
        "operationId": "app_src_api_routes_external_v2_notes_views_restore_note",
        "parameters": [
          {
            "description": "UUID of the note to restore from trash. Use an ID returned by create/list/search. The caller must be able to edit this note.",
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "description": "UUID of the note to restore from trash. Use an ID returned by create/list/search. The caller must be able to edit this note.",
              "format": "uuid",
              "title": "Note Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RestoreNoteResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Restore Note",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/notes/01961d40-7a67-7049-a8a6-d5638cbaaeb9/restore\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --request POST"
          }
        ]
      }
    },
    "/v2/notes/{note_id}/trash": {
      "post": {
        "description": "Soft-delete a note by moving it to trash.\nTrashed notes can be restored via `POST /v2/notes/{note_id}/restore`.\nFor irreversible deletion, use `DELETE /v2/notes/{note_id}`.",
        "operationId": "app_src_api_routes_external_v2_notes_views_trash_note",
        "parameters": [
          {
            "description": "UUID of the note to move to trash. Use an ID returned by create/list/search. The caller must be able to edit this note.",
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "description": "UUID of the note to move to trash. Use an ID returned by create/list/search. The caller must be able to edit this note.",
              "format": "uuid",
              "title": "Note Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrashNoteResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Trash Note",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/notes/01961d40-7a67-7049-a8a6-d5638cbaaeb9/trash\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --request POST"
          }
        ]
      }
    },
    "/v2/notes/extended-search": {
      "post": {
        "description": "Search notes and note-linked attachments together.\nReturns note hits with attachment match context for PDFs, images, audio\nrecordings, calendar events, and emails. Use returned attachment IDs with\nthe attachment tools for deeper inspection.",
        "operationId": "app_src_api_routes_external_v2_notes_views_extended_search_notes",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExtendedSearchNotesRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExtendedSearchNotesResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Extended Search Notes",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/notes/extended-search\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --data '{\n         \"query\": \"renewal terms in uploaded PDFs\",\n         \"limit\": 10\n     }'"
          }
        ]
      }
    },
    "/v2/notes/search": {
      "post": {
        "description": "Search notes using a required free-text query and structured filters.\nWhen multiple `filter_by_contains_*` fields are true, a note may match any of them.\nReturns note results from a bounded search snapshot with deterministic offset pagination.\nQuery-based searches are relevance-ranked within the bounded search snapshot window.\nReuse the returned `snapshot_id` when requesting later pages.\nThe returned `total` reflects the bounded search snapshot, capped by the 100-result search window.\nFor deterministic chronological pagination across all accessible notes, use `GET /v2/notes`.",
        "operationId": "app_src_api_routes_external_v2_notes_views_search_notes",
        "parameters": [
          {
            "description": "Maximum number of notes in this search page.\nUse smaller values for lower latency.\nDefault is 20; valid range is 1 to 50.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maximum": 50,
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": 20,
              "description": "Maximum number of notes in this search page.\nUse smaller values for lower latency.\nDefault is 20; valid range is 1 to 50.",
              "title": "Limit"
            }
          },
          {
            "description": "Number of matching notes to skip before returning results.\nThis value is zero-based.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "description": "Number of matching notes to skip before returning results.\nThis value is zero-based.",
              "minimum": 0,
              "title": "Offset",
              "type": "integer"
            }
          },
          {
            "description": "Opaque search snapshot identifier returned by a previous search page.\nRequired when requesting later pages with `offset > 0`.",
            "in": "query",
            "name": "snapshot_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "uuid",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Opaque search snapshot identifier returned by a previous search page.\nRequired when requesting later pages with `offset > 0`.",
              "title": "Snapshot Id"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NoteSearchRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NoteSearchResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Search Notes",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/notes/search?limit=20&offset=0\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --data '{\n         \"query\": \"sales\"\n     }'"
          }
        ]
      }
    },
    "/v2/projects": {
      "get": {
        "description": "List projects for the authenticated caller's assistant with cursor pagination.\nResults are ordered by `order_by` and return `next_page` when additional rows are available.\nUse the optional `status` filter to narrow the result set.",
        "operationId": "app_src_api_routes_external_v2_projects_views_list_projects",
        "parameters": [
          {
            "description": "Maximum number of projects in this page.\nDefault is 50; valid range is 1 to 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maximum": 100,
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": 50,
              "description": "Maximum number of projects in this page.\nDefault is 50; valid range is 1 to 100.",
              "title": "Limit"
            }
          },
          {
            "description": "Opaque cursor from a previous list response.\nOmit for the first page.\nIMPORTANT: Reuse with the same `order_by` and `status` values.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Opaque cursor from a previous list response.\nOmit for the first page.\nIMPORTANT: Reuse with the same `order_by` and `status` values.",
              "title": "Page"
            }
          },
          {
            "description": "Sort key for pagination boundaries.\nUse `updated_at` (default) for recency feeds.\nUse `created_at` for creation-order views.",
            "in": "query",
            "name": "order_by",
            "required": false,
            "schema": {
              "allOf": [
                {
                  "enum": [
                    "created_at",
                    "updated_at"
                  ],
                  "title": "AssistantProjectOrderBy",
                  "type": "string"
                }
              ],
              "default": "updated_at",
              "description": "Sort key for pagination boundaries.\nUse `updated_at` (default) for recency feeds.\nUse `created_at` for creation-order views."
            }
          },
          {
            "description": "Optional filter by project status.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ProjectStatusInput"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional filter by project status."
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectListResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List Projects",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/projects?limit=20&status=active\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\""
          }
        ]
      }
    },
    "/v2/projects/{project_id}": {
      "get": {
        "description": "Fetch metadata for a single project by ID.",
        "operationId": "app_src_api_routes_external_v2_projects_views_read_project",
        "parameters": [
          {
            "description": "UUID of the project to read. The caller's assistant must own this project.",
            "in": "path",
            "name": "project_id",
            "required": true,
            "schema": {
              "description": "UUID of the project to read. The caller's assistant must own this project.",
              "format": "uuid",
              "title": "Project Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReadProjectResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Read Project",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/session-events/search": {
      "post": {
        "operationId": "app_src_api_routes_external_v2_session_events_views_search_session_events",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchSessionEventsRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchSessionEventsResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Search Session Events",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/sessions": {
      "post": {
        "operationId": "app_src_api_routes_external_v2_sessions_views_create_session",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSessionRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Create Session",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/sessions/{session_id}": {
      "delete": {
        "operationId": "app_src_api_routes_external_v2_sessions_views_delete_session",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Session Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Delete Session",
        "tags": [
          "external",
          "external-v2"
        ]
      },
      "get": {
        "operationId": "app_src_api_routes_external_v2_sessions_views_read_session",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Session Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Read Session",
        "tags": [
          "external",
          "external-v2"
        ]
      },
      "patch": {
        "operationId": "app_src_api_routes_external_v2_sessions_views_update_session",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Session Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSessionRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Update Session",
        "tags": [
          "external",
          "external-v2"
        ]
      },
      "put": {
        "operationId": "app_src_api_routes_external_v2_sessions_views_upsert_session",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Session Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertSessionRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Upsert Session",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/tasks": {
      "get": {
        "description": "List tasks for the authenticated caller's assistant with cursor pagination.\nResults are ordered by `order_by` and return `next_page` when additional rows are available.\nUse the optional `status` and `project_id` filters to narrow the result set.",
        "operationId": "app_src_api_routes_external_v2_tasks_views_list_tasks",
        "parameters": [
          {
            "description": "Maximum number of tasks in this page.\nDefault is 50; valid range is 1 to 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maximum": 100,
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": 50,
              "description": "Maximum number of tasks in this page.\nDefault is 50; valid range is 1 to 100.",
              "title": "Limit"
            }
          },
          {
            "description": "Opaque cursor from a previous list response.\nOmit for the first page.\nIMPORTANT: Reuse with the same `order_by`, `status`, and `project_id` values.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Opaque cursor from a previous list response.\nOmit for the first page.\nIMPORTANT: Reuse with the same `order_by`, `status`, and `project_id` values.",
              "title": "Page"
            }
          },
          {
            "description": "Sort key for pagination boundaries.\nUse `updated_at` (default) for recency feeds.\nUse `created_at` for creation-order views.",
            "in": "query",
            "name": "order_by",
            "required": false,
            "schema": {
              "allOf": [
                {
                  "enum": [
                    "created_at",
                    "updated_at"
                  ],
                  "title": "AssistantTaskOrderBy",
                  "type": "string"
                }
              ],
              "default": "updated_at",
              "description": "Sort key for pagination boundaries.\nUse `updated_at` (default) for recency feeds.\nUse `created_at` for creation-order views."
            }
          },
          {
            "description": "Optional filter by task status.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/TaskStatusInput"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional filter by task status."
            }
          },
          {
            "description": "Optional filter to tasks belonging to a single project.",
            "in": "query",
            "name": "project_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "uuid",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional filter to tasks belonging to a single project.",
              "title": "Project Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskListResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List Tasks",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/tasks?limit=20&status=pending\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\""
          }
        ]
      }
    },
    "/v2/tasks/{task_id}": {
      "get": {
        "description": "Fetch metadata for a single task by ID.",
        "operationId": "app_src_api_routes_external_v2_tasks_views_read_task",
        "parameters": [
          {
            "description": "UUID of the task to read. The caller's assistant must own this task.",
            "in": "path",
            "name": "task_id",
            "required": true,
            "schema": {
              "description": "UUID of the task to read. The caller's assistant must own this task.",
              "format": "uuid",
              "title": "Task Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReadTaskResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Read Task",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://api.mem.ai"
    }
  ]
}
