Skip to main content

Comments

Threads

CommentAnnotation


Enum

GhostComment


Placeholder set when an annotation has lost its DOM target (e.g., the element was deleted or viewed on a different device group).

AddCommentAnnotationEvent


AddCommentAnnotationDraftEvent


AddCommentDraftEvent


DeleteCommentAnnotationEvent


CommentBubbleClickedEvent


CommentSavedEvent


VisibilityOptionClickedEvent


CommentSaveTriggeredEvent


CommentContext


Custom context data for comment annotations.

CommentContextProviderResponse


Return type for context provider function. Can return context synchronously or asynchronously.

CommentContextProvider


Function type for providing context based on document and location.

ContextOptions


Options for configuring context matching behavior on comment components.

CommentVisibilityType


Visibility level used by API methods such as updateVisibility() and enablePrivateMode() via CommentVisibilityConfig.
The visibility system uses two separate sets of values: - API methods use CommentVisibilityConfig with CommentVisibilityType values: 'public', 'organizationPrivate', 'restricted' (3 values — 'restricted' covers both self-only and selected-people, distinguished by whether userIds is provided). - UI wireframes use the CommentVisibilityOption enum with 4 values: 'restrictedSelf', 'restrictedSelectedPeople', 'organizationPrivate', 'public'. These are the type prop values on visibility banner dropdown wireframe items.

CommentVisibilityOption


Enum for UI wireframe visibility levels, used as the type prop on visibility banner dropdown content items. These are more granular than the API-level CommentVisibilityType — the API’s single 'restricted' value maps to two UI options ('restrictedSelf' and 'restrictedSelectedPeople').

CommentVisibilityOptionType


String union type derived from CommentVisibilityOption enum values. Used in UI wireframe components.

CommentVisibilityConfig


Configuration object for API methods that update comment visibility. Uses CommentVisibilityType values — not CommentVisibilityOption values.

PrivateModeConfig


Configuration for enabling private mode via API methods. Subset of CommentVisibilityConfig — excludes annotationId. Uses CommentVisibilityType values. As of v5.0.3, PrivateModeConfig also accepts organizationId / organizationIds for multi-org private mode.

OrgContact


A single team / organization entry offered in the comment dialog’s “Selected Teams” visibility picker. Supplied via updateOrgList().

UpdateOrgListConfig


Config passed to updateOrgList() to set the teams shown in the “Selected Teams” visibility picker.

CommentAnnotationVisibilityConfig


Human-readable visibility configuration stored on a comment annotation.

CommentAnnotationSubscribedUsers


CommentAnnotationUnsubscribedUsers


CommentAnnotationAgent


Identity and structured output for an AI agent that authored a comment annotation. Present on CommentAnnotation.agent when the annotation is agent-authored. Drives the Agent Suggestion card header and body.

AgentResult


Structured output produced by an AI agent for a suggestion comment.

AgentData


AI-agent identity and output for an agent-authored Comment (set on Comment.agent when Comment.sourceType is 'agent'). Read-only from the SDK.

CommentAnnotationSuggestion


Suggestion state for a typed-suggestion annotation. Mutated by acceptSuggestion() and rejectSuggestion().

AddCommentAnnotationRequest


DeleteCommentAnnotationRequest


SubmitCommentRequest


ClearComposerRequest


GetComposerDataRequest


PageModeComposerConfig


AssignToConfig


FormatConfig


Configuration for text formatting toolbar options in comment composers.

CommentRequestQuery


GetCommentAnnotationsCountResponse


GetCommentAnnotationsResponse


FetchCommentAnnotationsRequest


FetchCommentAnnotationsResponse


GetCommentResolverRequest


SaveCommentResolverRequest


DeleteCommentResolverRequest


CustomAnnotationDropdownData


CustomAnnotationDropdownItem


GetCommentAnnotationsResponse


CommentAnnotationsCount


GetCommentAnnotationsCountResponse


Slate

AddCommentRequest


RenderCommentsRequest


For the CommentAnnotation model referenced above, see CommentAnnotation.

VeltCommentsElement


Slate element type representing a comment with optional annotation ID.

Tiptap

AddCommentRequest


RenderCommentsRequest


For the CommentAnnotation model referenced above, see CommentAnnotation.

TiptapVeltCommentsOptions


CommentAnnotationContext


Context object for comment annotations. Contains text editor configuration and any additional custom metadata.

ContextOptions


Options that control how annotation context matching behaves.

TextEditorConfig


Nested in CommentAnnotationContext.

Lexical

AddCommentRequest


RenderCommentsRequest


For the CommentAnnotation model referenced above, see CommentAnnotation.

CommentNode


Inline Lexical element representing a comment with optional annotation IDs.

Plate

AddCommentRequest


RenderCommentsRequest


For the CommentAnnotation model referenced above, see CommentAnnotation.

VeltCommentsPluginConfig


VeltCommentsElement


Plate element type representing a comment with optional annotation IDs.

CodeMirror

AddCommentRequest


RenderCommentsRequest


For the CommentAnnotation model referenced above, see CommentAnnotation.

CodemirrorVeltCommentsConfig


Configuration options for the CodemirrorVeltComments() extension.

Ace

AddCommentRequest


RenderCommentsRequest


For the CommentAnnotation model referenced above, see CommentAnnotation.

AceVeltCommentsConfig


Configuration options for the AceVeltComments() function.

Quill

AddCommentRequest


RenderCommentsRequest


For the CommentAnnotation model referenced above, see CommentAnnotation.

QuillVeltCommentsConfig


Configuration options for the QuillVeltComments module.

Apryse

ApryseVeltCommentsConfig


Configuration options for ApryseVeltComments.configure().

AddCommentArgs


Request interface for the addComment() function.

AddCommentResult


Return shape from addComment() when the call succeeds (otherwise null).

RenderCommentsArgs


Request interface for the renderComments() function. For the CommentAnnotation model referenced above, see CommentAnnotation.

AttachedExtension


Handle returned by ApryseVeltComments.configure(...).attach(instance).

TextEditorConfig


Logical anchor stored in annotation.context.textEditorConfig. Designed to survive document edits and mode switches (viewer ↔ docxEditor) — physical positions are re-derived at render time.

DraftJS

DraftJSEditor


Editor wrapper object passed to the DraftJS Velt comment helpers.

DraftJSVeltEditorProps


Props for the DraftJSVeltEditor React wrapper.

AddCommentRequest


RenderCommentsRequest


For the CommentAnnotation model referenced above, see CommentAnnotation.

ProseMirror

AddCommentRequest


RenderCommentsRequest


For the CommentAnnotation model referenced above, see CommentAnnotation.

VeltCommentsPluginConfig


Configuration options for the VeltCommentsPlugin() function.

CommentAnnotationContext


Context object for comment annotations. Contains text editor configuration and any additional custom metadata.

TextEditorConfig


Nested in CommentAnnotationContext.

SelectionContext


Context extracted from the current ProseMirror editor selection.

TinyMCE

AddCommentRequest


Request interface for the TinyMCE addComment() function. The library automatically writes context.textEditorConfig with the selected text, its 1-based occurrence index in the document, and the editor ID when one is provided.

RenderCommentsRequest


Request interface for the TinyMCE renderComments() function. Comments are resolved back to TinyMCE DOM ranges and rendered as view-only overlay elements. For the CommentAnnotation model referenced above, see CommentAnnotation.

TinymceVeltCommentsConfig


Configuration options for the TinyMCE Velt comments plugin. In TinyMCE init options, editorId maps to velt_comments_editor_id and persistVeltMarks maps to velt_comments_persist_marks.

CommentAnnotationContext


Context object for comment annotations. Contains text editor configuration and any additional custom metadata.

TextEditorConfig


Nested in CommentAnnotationContext.

CKEditor

AddCommentRequest


Request interface for the CKEditor addComment() function.

RenderCommentsRequest


Request interface for the CKEditor renderComments() function. For the CommentAnnotation model referenced above, see CommentAnnotation.

VeltCommentsPluginConfig


Configuration options for config.veltComments in the CKEditor editor config.

CommentAnnotationContext


Context object merged into the Velt comment annotation by addComment().

TextEditorConfig


Logical text anchor stored in annotation.context.textEditorConfig.

Monaco

AddCommentRequest


Request interface for the Monaco addComment() function. The library automatically writes context.textEditorConfig with the selected text, its 1-based occurrence index in the document, and the editor ID when one is provided.

RenderCommentsRequest


Request interface for the Monaco renderComments() function. Comments are resolved back to Monaco ranges and rendered as view-only overlay elements. For the CommentAnnotation model referenced above, see CommentAnnotation.

MonacoVeltCommentsConfig


Configuration options for the registerVeltComments() function.

VeltCommentsHandle


Return value from registerVeltComments().

CommentAnnotationContext


Context object for comment annotations. Contains text editor configuration and any additional custom metadata.

TextEditorConfig


Nested in CommentAnnotationContext.

SelectionContext


Context extracted from the current Monaco editor selection.

AnchorEntry


Internal anchor data tracked for Monaco comment rendering.

SyncAnchor


Resolved Monaco anchor data used while synchronizing Velt comment annotations to editor ranges.

SuperDoc

AddCommentArgs


Request interface for the SuperDoc addComment() function.

AddCommentResult


Return shape from SuperDoc addComment() when the call succeeds. The function returns null when no text is selected or Velt is not loaded.

RenderCommentsArgs


Request interface for the SuperDoc renderComments() function. For the CommentAnnotation model referenced above, see CommentAnnotation.

SuperDocVeltCommentsConfig


Configuration options for SuperDocVeltComments.configure().

AttachedExtension


Handle returned by SuperDocVeltComments.configure(...).attach(instance).

TextEditorConfig


Logical anchor stored in annotation.context.textEditorConfig. Physical rectangles are re-derived at render time from the live document, so pixel coordinates and raw editor positions are not persisted.

Nutrient

AddCommentArgs


Request interface for the Nutrient addComment() function.

AddCommentResult


Return shape from Nutrient addComment() when the call succeeds. The function returns null when no text is selected or Velt is not loaded.

RenderCommentsArgs


Request interface for the Nutrient renderComments() function. For the CommentAnnotation model referenced above, see CommentAnnotation.

NutrientVeltCommentsConfig


Configuration options for NutrientVeltComments.configure().

AttachedExtension


Handle returned by NutrientVeltComments.configure(...).attach(instance).

TextEditorConfig


Logical anchor stored in annotation.context.textEditorConfig. Physical rectangles are re-derived at render time from the live PDF text, so pixel coordinates and raw viewer positions are not persisted.

SpreadJS

AddCommentArgs


Request interface for the SpreadJS addComment() function.

AddCommentResult


Return shape from SpreadJS addComment() when the call succeeds. The function returns null when no cell/range is selected or Velt is not loaded.

RenderCommentsArgs


Request interface for the SpreadJS renderComments() function. For the CommentAnnotation model referenced above, see CommentAnnotation.

SpreadJSVeltCommentsConfig


Configuration options for SpreadJSVeltComments.configure().

AttachedExtension


Handle returned by SpreadJSVeltComments.configure(...).attach(instance).

TextEditorConfig


Logical anchor stored in annotation.context.textEditorConfig. Physical rectangles are re-derived at render time with Worksheet.getCellRect, so pixel coordinates are not persisted.

Messages

ENUMs

Comment


AddCommentEvent


UpdateCommentEvent


DeleteCommentEvent


AddCommentRequest


UpdateCommentRequest


DeleteCommentRequest


GetCommentRequest


@Mentions

ENUMs

AssignUserRequest


GetContactListResponse


SubscribeCommentAnnotationRequest


UnsubscribeCommentAnnotationRequest


AutocompleteItem


AutocompleteUserContactReplaceData


AutocompleteReplaceData


AutocompleteItem


AutocompleteData


AutocompleteGroup


AutocompleteChipConfig


Wireframe-template context for the inline mention chip rendered in the composer. Injected as the chip iteration variable inside <velt-autocomplete-chip-wireframe> and its tooltip child tags.

FlattenedItem


A visible-option row produced after grouping and flattening the autocomplete contact list. Used internally by virtual scroll; exposed via componentConfig.flattenedItems.

GroupData


A mention group object used in the autocomplete panel when group mentions are enabled.

SelectorDataListItem


A selectable item in the autocomplete panel — represents a user contact, a group, or a custom autocomplete entry. Exposed as the option iteration variable inside <velt-autocomplete-option-wireframe>.

AutoCompleteScrollConfig


Configuration for virtual scroll behavior in autocomplete dropdown.

AssignUserEvent


SubscribeCommentAnnotationEvent


UnsubscribeCommentAnnotationEvent


AutocompleteSearchEvent


LinkClickedEvent


Custom List

ENUMs

AutocompleteSearchEvent


Attachments

ENUMs

Attachment


FileData


Pending file selection staged in the comment composer before upload.

InvalidFileData


Rejected file selection in the comment composer (failed validation).

AddAttachmentRequest


DeleteAttachmentRequest


GetAttachmentRequest


UploadFileData


Configuration object for programmatically adding file attachments to the comment composer.

AddAttachmentResponse


DeleteAttachmentResolverRequest


SaveAttachmentResolverRequest


AddAttachmentEvent


AddAttachmentResponse


DeleteAttachmentEvent


AttachmentDownloadClickedEvent


Reactions

ENUMs

AddReactionRequest


DeleteReactionRequest


ToggleReactionRequest


ReactionItem


GetReactionResolverRequest


SaveReactionResolverRequest


DeleteReactionResolverRequest


AddReactionEvent


DeleteReactionEvent


ToggleReactionEvent


ReactionPinType


Display location for pinned reactions.
  • 'timeline': Pin reaction to timeline view
  • 'comment': Pin reaction to comment context
  • 'standalone': Display reaction independently

ReactionAnnotation


A reaction annotation represents a placed emoji reaction on a document, comment, or inline element.

Reaction


A single reaction entry within a ReactionAnnotation.

ReactionMetadata


Custom metadata for a reaction annotation. Extends BaseMetadata with an open index signature.

Status & Priority

ENUMs

UpdateStatusRequest


ResolveCommentAnnotationRequest


UpdatePriorityRequest


ApproveCommentAnnotationRequest


AcceptCommentAnnotationRequest


RejectCommentAnnotationRequest


AcceptSuggestionRequest


RejectSuggestionRequest


CustomPriority


CustomStatus


UpdateStatusEvent


ResolveCommentEvent


UpdatePriorityEvent


ApproveCommentAnnotationEvent


AcceptCommentAnnotationEvent


RejectCommentAnnotationEvent


SuggestionAcceptEvent


SuggestionRejectEvent


Comment Dialog Primitives

Types for the 92+ primitive components used to build custom comment dialog interfaces. See Comment Dialog Primitives Overview for usage examples.

CommentDialogCommonProps

Usage Examples →

Base props inherited by all Comment Dialog primitive components.

CommentDialogContextWrapperProps

Usage Examples →

Props for the VeltCommentDialogContextWrapper component.

ThreadCardProps

Usage Examples →

Props for VeltCommentDialogThreadCard with priority-based comment lookup. Inherits all properties from CommentDialogCommonProps.

CommentIndexProps

Usage Examples →

Props for thread card sub-components that require a comment index. Inherits all properties from CommentDialogCommonProps.

ComposerProps

Usage Examples →

Props for VeltCommentDialogComposer with placeholder and edit mode options. Inherits all properties from CommentDialogCommonProps.

ComposerInputProps

Usage Examples →

Props for VeltCommentDialogComposerInput. Inherits all properties from CommentDialogCommonProps.

StatusDropdownItemProps

Usage Examples →

Props for VeltCommentDialogStatusDropdownContentItem with priority-based status lookup. Inherits all properties from CommentDialogCommonProps.

PriorityDropdownItemProps

Usage Examples →

Props for VeltCommentDialogPriorityDropdownContentItem with priority-based priority lookup. Inherits all properties from CommentDialogCommonProps.

OptionsDropdownProps

Usage Examples →

Props for VeltCommentDialogOptionsDropdown with feature enable flags. Inherits all properties from CommentDialogCommonProps.

CustomAnnotationItemProps

Usage Examples →

Props for custom annotation dropdown items. Inherits all properties from CommentDialogCommonProps.

ReplyAvatarsListItemProps

Usage Examples →

Props for VeltCommentDialogReplyAvatarsListItem. Inherits all properties from CommentDialogCommonProps.

CommentDialogAgentSuggestionProps

Usage Examples →

Props for VeltCommentDialogAgentSuggestion and its sub-components. Inherits all properties from CommentDialogCommonProps.

IVeltCommentDialogThreadCardReactionPinProps


Props for VeltCommentDialogThreadCard.ReactionPin to display specific pinned reactions.

IVeltCommentDialogThreadCardReactionsProps


Props for VeltCommentDialogThreadCard.Reactions to filter displayed reactions.

IVeltCommentDialogThreadCardReactionToolProps


Props for VeltCommentDialogThreadCard.ReactionTool to filter reaction picker options.

Recordings

ENUMs

GetRecordingRequest


DeleteRecordingRequest


DeleteRecordingEvent


ENUMs

GetLinkRequest


CopyLinkRequest


CopyLinkEvent


GetLinkResponse


Access

ENUMs

UpdateAccessRequest


UpdateAccessEvent


UserPermissionAccessRole


Type: 'editor' | 'viewer'
  • editor: Write access
  • viewer: Read-only access

UserPermissionAccessRoleResult


Type: 'does_not_exist' | 'permission_denied' | 'something_went_wrong' Error codes returned when permission resolution fails:
  • does_not_exist: The requested resource (organization, folder, or document) does not exist
  • permission_denied: The user does not have permission to access the requested resource
  • something_went_wrong: An unexpected error occurred during permission resolution

GetUserPermissionsRequest


UserPermissionInfo


GetUserPermissionsResponse


Map of user IDs to their resolved permissions across organization, folders, and documents.

UI

AssignToType


UI mode for assignment functionality.
  • 'dropdown': Default assignment menu with team member selection
  • 'checkbox': Quick self-assignment toggle mode

ENUMs

ComposerClickedEvent


ComposerTextChangeEvent


CommentPinClickedEvent


CommentToolClickedEvent


SidebarButtonClickedEvent


Comment Sidebar

CommentCountType


Union type for specifying comment count display mode.
  • 'total': Shows total count of all comments
  • 'unread': Shows count of unread comments only

SidebarFilterCriteria


Filter criteria for minimal filter dropdown in sidebar.
Available filter criteria for sidebar filtering.

SidebarSortingCriteria


Sorting criteria for minimal filter dropdown in sidebar and multi-thread comment dialog.
  • 'date': Sort by date
  • 'unread': Sort by unread status
  • null: No sorting applied

SortBy


The default sort key for the Comment Sidebar V2 (sortBy on VeltCommentsSidebarV2Props). A built-in preset (e.g. 'date', 'unread') or a custom field key / dot-path (e.g. 'comments.createdAt').

SortOrder


The default sort direction for the Comment Sidebar V2 (sortOrder on VeltCommentsSidebarV2Props).

ENUMs

CommentStatus


CommentPriority


CustomFilter


CustomCategory


CommentSidebarDataInitEvent


CommentSidebarDataUpdateEvent


CommentSidebarFilterConfig


FilterTypeConfig


CommentSidebarGroupConfig


FilterField


Declarative definition of a single filterable field in the Comment Sidebar V2 filter dropdown.

SidebarFilterValue


A single selectable option within a FilterField. Carries the option’s id, display label, and optional count/icon used to render and match the option.

SidebarMinimalFilterConfig


Configuration for one dropdown in the Comment Sidebar V2 minimal-filters bar.

SidebarSortConfig


A single sort option in a Comment Sidebar V2 sort dropdown.

SidebarQuickFilterConfig


A single quick filter (predicate) in a Comment Sidebar V2 quick/actions dropdown.

SidebarQuickCondition


A single predicate within a SidebarQuickFilterConfig.

SidebarAnnotationGroup


A resolved group of annotations rendered as a collapsible section in the Comment Sidebar V2 list.

SidebarListRow


A flattened row in the Comment Sidebar V2 list: either a group header or an annotation belonging to a group.

FilterFieldOperator


Boolean operator used to combine filter predicates.

SidebarFilterDropdownType


Kind of dropdown rendered in the Comment Sidebar V2 minimal-filters bar.

BUILT_IN_FILTER_FIELD_IDS


The built-in filterable field ids recognized by the Comment Sidebar V2 filter pipeline.

BuiltInFilterFieldId


Union of the built-in filter field ids. Derived from BUILT_IN_FILTER_FIELD_IDS.

SectionControlChip


A control chip rendered in the Comment Sidebar V2 section header.

SectionAllOption


Configuration for the “All” option in a Comment Sidebar V2 section control.

SidebarSortCriterion


A resolved sort criterion produced from a SidebarSortConfig. Exported as a helper type for the Comment Sidebar V2 sort pipeline.

SidebarQuickPredicate


A resolved quick-filter predicate produced from a SidebarQuickFilterConfig. Exported as a helper type for the Comment Sidebar V2 quick-filter pipeline.

FacetContext


Context passed to a FilterFieldResolver when building options for a custom filterable field.

FilterFieldResolver


Registers a custom filterable field in the Comment Sidebar V2 pipeline by supplying option-building and matching logic.

CommentSidebarFilters


CommentAccessMode


type CommentAccessMode = 'public' | 'private'

CommentSidebarData


Options


CustomFilterOption


CustomFilters


FilterOption


CustomFilter


CustomPriority


CustomStatus


CustomCategory


ConfirmDialogComponentConfig


Passed to componentConfig on the confirm dialog wireframe. Provides context about which delete flow opened the dialog.

Component Props

VeltCommentsProps


Edit placeholder priority order: editCommentPlaceholder / editReplyPlaceholder (selected by comment index) → editPlaceholder → existing placeholder prop → SDK defaults. Props set on the root container propagate to all dialogs automatically.

VeltCommentDialogProps


Props accepted by the VeltCommentDialog component. The React TypeScript interface exposes the full attribute set of the underlying <velt-comment-dialog> HTML element.
Edit placeholder priority order: editCommentPlaceholder / editReplyPlaceholder (selected by comment index) → editPlaceholder → existing placeholder prop → SDK defaults.

VeltCommentToolProps


VeltCommentComposerProps


VeltCommentsSidebarProps


VeltCommentsSidebarV2Props


VeltInlineCommentsSectionProps


Area

AreaAnnotation


AreaProperty


AreaTargetAnnotation


AreaMetadata


Extends BaseMetadata.

Arrows

ArrowAnnotation


AnnotationProperty


Recorder

Recorder Data

RecorderRequestQuery


DeleteRecordingsRequest


GetRecordingDataResponse


DeleteRecordingsResponse


Recorder Configuration

RecorderQualityConstraints


RecorderEncodingOptions


RecordingDoneLocalEvent


RecordingDoneEvent


RecordingDeleteEvent


RecordingEditDoneEvent


RecordingSaveInitiatedEvent


RecordingStartedEvent


RecordingPausedEvent


RecordingResumedEvent


RecordingCancelledEvent


RecordingStoppedEvent


TranscriptionDoneEvent


RecordingErrorEvent


RecorderConfig


RecordedData


RecordedRawData


RecorderInitData


RecorderAnnotation


| Property | Type | Required | Description | | ------------------------ | ------------- | -------- | ------------------------------------------------------------------------------------- | --- | | annotationId | String | Yes | Unique identifier for the recorder annotation, automatically generated. | | from | User | Yes | The user who created the recorder annotation. | | color | String | No | Color used for the annotation. | | lastUpdated | Any | No | Timestamp of the last update, automatically generated. | | | locationId | Number | No | Unique location ID from provided location. | | location | Location | No | Location to identify user on sub document. | | type | String | No | Type of annotation. | | recordingType | String | Yes | Type of recording for the annotation. | | mode | String | Yes | Mode of the recorder annotation, ‘floating’ or ‘thread’. | | approved | Boolean | No | Indicates if the annotation is approved. | | attachment | Attachment | No | Attachment for recorded media. Deprecated. | | attachments | Attachment[] | Yes | List of attachments for the annotation. | | annotationIndex | Number | No | Index of the annotation in a list. | | pageInfo | PageInfo | No | Information about the page where the annotation is made. | | recordedTime | Object | No | Recorded time details. | | transcription | Transcription | No | Transcription of the recorded media. | | isRecorderResolverUsed | boolean | No | True while PII is being fetched from the recorder resolver; use for loading states. | | isUrlAvailable | boolean | No | True once the recording URL is available (not a local blob); use for upload progress. |

RecorderDataTranscriptSegment


RecorderDataTranscription


RecorderDataAsset


RecorderData


MediaPreviewConfig


MediaRecorderOptions


RecorderQualityConstraintsOptions


MediaTrackConstraints


ConstrainDouble


ConstrainULong


ConstrainBoolean


RecorderDevicePermissionOptions


RecorderElement Interface

RecorderElement


Interface representing the Recorder element object that provides methods for controlling recording behavior, Picture-in-Picture mode, and permissions.

Notifications

Notification


NotificationMetadata


SettingsUpdatedEvent


NotificationSettingsConfig


Sets what notifications the user will receive on the provided channel.

NotificationSettingsItemType


Decides what notifications the user will receive on the current channel. Type: 'ALL' | 'MINE' | 'NONE' | string Description:
  • ALL: Subscribes the user to all notifications whether or not the user is involved in the notification on the current document.
  • MINE: Subscribes the user to notifications that are related to the current user on the current document.
  • NONE: Subscribes the user to no notifications on this channel on the current document.

NotificationInitialSettingsConfig


NotificationConfigValue


NotificationTabConfig


GetNotificationsDataQuery


CrossOrganizationConfig


Configuration for cross-organization “For You” notifications. Merges For You notifications from other organizations the user belongs to. Used with enableCrossOrganization().

FirestorePaths


Self-hosting configuration that maps Velt collections to custom Firestore paths. Only the field relevant to cross-organization notifications is shown below; additional path fields exist for other self-hosted collections.

NotificationSettingsLayout


Layout mode for notification settings UI. Type: 'accordion' | 'dropdown' Description:
  • accordion: Settings displayed in expandable accordion (default)
  • dropdown: Settings displayed in dropdown menu

NotificationServiceConfig


Top-level org-scoped config for notification delay and batching. Set in the Velt Console under workspace notification settings.

DelayConfig


Controls the hold period applied to notifications before they are evaluated for batching or delivery.

BatchConfig


Configures batching windows per grouping scope. Each scope is independently configured via BatchWindowConfig.

BatchWindowConfig


Defines the time window and activity cap for a single batching scope.

Notification Primitives

Types for the primitive components used to build custom notification interfaces. See Notifications Primitives for usage examples.

NotificationsPrimitiveCommonProps

Usage Examples →

Base props inherited by all Notification primitive components.

Activity Logs

ActivityFeatureType


Feature area that generated an activity log record.

ActivitySubscribeConfig


Filter config passed to getAllActivities() to scope the activity log feed.

ActivityRecord


Core activity log object returned from the activity log feed. Generic params: TEntity (entity data shape), TTarget (target entity data shape).

ActivityChanges


Map of field names to their before/after change values.

ActivityChange


Before/after values for a single changed field. Generic param T is the field value type.

ActivityMetadata


Extensible metadata attached to an activity log record. Extends BaseMetadata with open index signature for feature-specific fields.

CreateActivityData


Payload for createActivity(). Use featureType: 'custom' and actionType: 'custom' for non-Velt events. Generic params: TEntity (entity data shape), TTarget (target entity data shape).

ActivityDateGroup


A date-bucketed group used by the Activity Log wireframe for display purposes.

ActivityScrollItem


A discriminated union used internally by the Activity Log virtual-scroll list. Each item’s type field determines the wireframe slot it renders into.

ActivityFilterOption


A filter option in the Activity Log dropdown. Not to be confused with the comment sidebar FilterOption.

Activity Log Action Type Constants

Pre-defined actionType string constants for each feature’s activity log records. Import these to build type-safe actionTypes filters in ActivitySubscribeConfig.

CommentActivityActionTypes


Action type constants for Comment feature activity logs. Union type: CommentActivityActionType.

RecorderActivityActionTypes


Action type constants for Recorder feature activity logs. Union type: RecorderActivityActionType.

ReactionActivityActionTypes


Action type constants for Reaction feature activity logs. Union type: ReactionActivityActionType.

CrdtActivityActionTypes


Action type constants for CRDT feature activity logs. Union type: CrdtActivityActionType.

Single Editor Mode

AccessRequestEvent


This event object is related to requests for editor access. It is emitted for accessRequested, accessRequestCanceled, accessAccepted, and accessRejected events.

SEMEvent


This event object is related to editor/viewer assignments and editor status changes. It is emitted for editorAssigned, viewerAssigned, and editorOnDifferentTabDetected events.

SingleEditorLiveStateData


RequestEditorAccess


SingleEditorConfig


UserEditorAccess


EditorAccessTimer


Live State Data

LiveStateData


LiveStateDataMap


LiveStateData


SetLiveStateDataConfig


FetchLiveStateDataRequest


ServerConnectionState


Client

Client Events

InitUpdateEvent


InitUpdateMethodNames: Sub-events (event field values):

PermissionProviderEvent


This event follows the BaseResolverEvent structure (see DataProviderEvent for the base structure).

DataProviderEvent


The dataProvider event emits different resolver event types depending on the data provider being used. All resolver events share a common base structure: BaseResolverEvent Structure:

UserResolverEvent

UserResolverModuleName:

CommentResolverEvent

CommentResolverModuleName:

AttachmentResolverEvent


ReactionResolverEvent

ReactionResolverModuleName:

RecorderResolverEvent

Error Codes

DocumentMetadata


Folders

FetchFoldersRequest


FetchFoldersResponse


Documents

FetchDocumentsRequest


FetchDocumentsResponse


DocumentInitEvent


  • DocumentInitEvent can be of type: boolean | undefined
  • This represents the document initialization status.

ErrorEvent


List of error codes:

SetUserAsEditorResponse


LiveStateSingleEditorExternalUserPresence


UserUpdateEvent


  • UserUpdateEvent will return data of type: User | null
  • If there is no user, it will return null else it will return the user object.

VeltButtonClickEvent


PermissionProviderEvent


RevokeAccessEvent


Config

Features


VeltEventMetadata


VeltButtonContext


VeltButtonSelectionMap


UpdateDocumentsRequest


UpdateDocumentMetadata


| Property | Type | Required | Description | | --------------- | -------- | -------- | ----------------------------------- | ------------------------------------------------------- | | documentId | string | Yes | Unique identifier for the document. | | [key: string] | T | string | No | Additional custom properties for the document metadata. |

Metadata


DocumentMetadata


OrganizationMetadata


PageInfo


Page info attached to newly created data. Set via setPageInfo(); readable via documentMetadata.pageInfo at setDocumentId/setDocuments call time.

IDeviceInfo


Device information captured by the SDK and attached to PageInfo. Populated automatically from the browser environment.

VeltAuthTokenRequest


UserProperties


Permissions


Resource


Each resource represents something the user can access (organization, folder, or document).

BaseMetadata


Document


SetDocumentsRequestOptions


FolderMetadata


CustomCss


Debug Info

VeltDebugInfo


DebugInfoMap


Location

Location

UpdateLocationsRequest


UpdateLocationMetadata


| Property | Type | Required | Description | | --------------- | -------- | -------- | ----------------------------------- | ------------------------------------------------------- | | id | string | Yes | Unique identifier for the location. | | [key: string] | T | string | No | Additional custom properties for the location metadata. |

LocationMetadata


SetLocationsRequestOptions


Self Hosting

PartialUser


PartialReactionAnnotation


ResolverActions


An enum that defines the different types of actions that can trigger resolver events.

CommentResolverSaveEvent


Non-core, annotation-level comment save events that customers can opt into receiving via ResolverConfig.additionalSaveEvents, beyond the 4 core PII events. May appear as the event value on SaveCommentResolverRequest.
CommentResolverSaveEvent.REACTION_ADD ('comment.reaction_add') and CommentResolverSaveEvent.REACTION_DELETE ('comment.reaction_delete') are comment-level reaction events and are distinct from ResolverActions.REACTION_ADD ('reaction.add') and ResolverActions.REACTION_DELETE ('reaction.delete'), which belong to the reaction resolver — same member names, different values.

AdditionalSaveEventConfig


Element type of ResolverConfig.additionalSaveEvents.

UserResolverModuleName


Enum defining module names for user-related resolver operations. Used in data provider events to identify which module triggered the resolver call. Self-Host User Data →

CommentResolverModuleName


Enum defining module names for comment-related resolver operations. Used in data provider events to identify which module triggered the resolver call. Self-Host Comment Data →

ReactionResolverModuleName


Enum defining module names for reaction-related resolver operations. Used in data provider events to identify which module triggered the resolver call. Self-Host Reaction Data →

RecorderResolverModuleName


Enum defining module names for recorder-related resolver operations. Used in data provider events to identify which module triggered the resolver call. Self-Host Recording Data →

RecorderResolverSource


Enum defining the source of a recorder resolver lifecycle event.

RecorderResolverEventType


Union type for all recorder resolver lifecycle event type strings.

PartialComment


@veltdev/node v1.0.2 exposes partialCommentFromDict and partialCommentToDict round-trip helpers that preserve unknown keys for forward compatibility.

PartialTaggedUserContacts


PartialCommentAnnotation


@veltdev/node v1.0.2 exposes partialCommentAnnotationFromDict and partialCommentAnnotationToDict round-trip helpers.

PartialTargetTextRange


Introduced in @veltdev/node v1.0.2. The SDK exposes partialTargetTextRangeFromDict and partialTargetTextRangeToDict serializers.

PartialAttachment


ResolverAttachment


AttachmentResolverMetadata


As of v5.0.2-beta.11, the metadata object passed to AttachmentDataProvider.delete() contains only apiKey, documentId, organizationId, and folderId. The attachmentId and commentAnnotationId fields are no longer forwarded to the delete callback. They remain available in the save() callback metadata.

VeltDataProvider


ResolverEndpointConfig


Config-based resolver endpoint configuration. SDK handles HTTP requests, headers, and response formatting automatically.

ResolverConfig


ResolverResponse


Generic response format for backend endpoints and data providers.
Permission Provider Update (v4.5.8-beta.2): For Permission Provider backend endpoints, the signature field is no longer required. The SDK now handles validation internally.

RetryConfig


ResolveUsersConfig


CommentAnnotationDataProvider


PartialCommentAnnotationResult


Resolver result payload for comment annotation data after PII stripping.

ReactionAnnotationDataProvider


UserDataProvider


GetUserResolverRequest


Request format used by config-based user resolver endpoints.

AttachmentDataProvider


SaveAttachmentResolverData


UploadFileOptions


RecorderAnnotationDataProvider


NotificationDataProvider


Provider for custom notification PII data. Only notificationSource === 'custom' notifications are routed through this resolver.

NotificationResolverConfig


GetNotificationResolverRequest


DeleteNotificationResolverRequest


PartialNotification


Partial notification data returned by the notification resolver. All fields are optional except notificationId.

GetRecorderResolverRequest


SaveRecorderResolverRequest


SaveRecorderResolverData


DeleteRecorderResolverRequest


PartialRecorderAnnotation


PartialRecorderAnnotationEditVersion


PartialRecorderAnnotationResult


ActivityAnnotationDataProvider


GetActivityResolverRequest


SaveActivityResolverRequest


PartialActivityRecord


Stripped activity record containing only PII fields routed to your data provider.

AnonymousUserDataProvider


AnonymousUserDataProviderConfig


ResolveUserIdsByEmailRequest


Presence

PresenceUser


PresenceUserStateChangeEvent


This event object is emitted when a user’s online status changes to online.

ENUMs

PresenceRequestQuery


GetPresenceDataResponse


HeartbeatConfig


GetHeartbeatResponse


Webhooks

WebhookV2Payload


WebhookV2PayloadEncoded


WebhookV2PayloadEncrypted


CommentPayload


HuddlePayload


CRDTPayload


RecorderPayload


Payload delivered with recorder.done webhook events.

RecorderDataAsset


RecorderDataTranscription


RecorderDataTranscriptSegment


RecorderTrigger


Controls which Recorder webhook events fire for a workspace. Set via triggers.recorder in your workspace configuration.

TriggersConfig


Controls which webhook events fire for a workspace. Each property maps to a feature-specific trigger configuration.

CommentTrigger


Controls which Comment webhook events fire for a workspace.

HuddleTrigger


Controls which Huddle webhook events fire for a workspace.

Attendee


Extends User with huddle-specific state. Used in cursor and huddle wireframe configs (e.g. componentConfig.attendeesByUserId, componentConfig.huddleAttendees).
Attendee inherits all properties from User (e.g. userId, name, photoUrl, email, color).

WebhookV1Payload


All basic webhook payloads share these common fields:

WebhookV1PayloadEncoded


WebhookV1PayloadEncrypted


Comment Basic Webhook Payload Additional fields present when notificationSource is comment: Huddle Basic Webhook Payload No additional fields beyond the common fields when notificationSource is huddle. CRDT Basic Webhook Payload Additional fields present when notificationSource is crdt:

UserNotificationsConfig


Per-user notification preferences included in webhook payloads when a notification config scope is active. Exactly one of the two fields is present per payload depending on whether org-level or document-level config is in use.

NotificationChannelConfig


Per-channel notification preference map for a single user. Keys are channel identifiers; values are the preference level for that channel.

Misc

RequestOptions


SelectedAnnotationsMap


Map of currently selected annotations, keyed by annotationId. Used across multiple features (comments, arrows, recorders, tags, rewriters).

CommentSelectionChangeData


ContactListScopeForOrganizationUsers Enum


CursorUser


CursorPosition


Selection


UserIndicatorPosition Enum


UserIndicatorType Enum


FlockOptions


Version


displayHeadlineMessageTemplateData


PageInfo


getThumbnailTag Method

The getThumbnailTag method takes an optional url parameter and returns an HTML string. It creates an anchor tag linking to the videoPlayerUrl and embeds an image tag using either the provided url, thumbnailWithPlayIconUrl, or thumbnailUrl (in that order of preference).

RewriterAnnotation


TextSelectedEvent


Emitted by rewriterElement.on('textSelected') when the user selects text in a Rewriter-enabled region.

RewriterAskAiRequest


Request object for rewriterElement.askAi(). Proxies a text-generation call through Velt’s backend.

RewriterAskAiResponse


Response from rewriterElement.askAi().

AiModel


Open union type for AI model identifiers. Accepts any OpenAiModel, AnthropicModel, or GeminiModel string literal, or any arbitrary string for unlisted models.

OpenAiModel


Known OpenAI model identifiers accepted by RewriterAskAiRequest.

AnthropicModel


Known Anthropic model identifiers accepted by RewriterAskAiRequest.

GeminiModel


Known Google Gemini model identifiers accepted by RewriterAskAiRequest.

RewriterReplaceTextRequest


Request object for rewriterElement.replaceText().

RewriterReplaceTextResponse


Response from rewriterElement.replaceText().

RewriterAddCommentRequest


Request object for rewriterElement.addComment().

RewriterAddCommentResponse


Response from rewriterElement.addComment().

RewriterEventTypesMap


Maps Rewriter event action names to their corresponding event payload types. Used internally by the on() method to provide typed event subscriptions.

SyncVideoPlayer


SyncVideoPlayerState


Toast


Transcription


User


Access Control - Set accessRole to viewer (read-only) or editor (read/write) on each resource to define the user’s capabilities for that resource. - accessRole can only be set via the v2 Users and Auth Permissions REST APIs. Frontend SDK methods do not accept or change accessRole. - Relevant endpoints: /v2/users/add, /v2/users/update, /v2/auth/permissions/add, /v2/auth/generate_token. - See the Access Control overview for concepts and detailed guidance.

Attendee


Extends User with huddle-specific state. Used by componentConfig.huddleAttendees, componentConfig.attendee (per-tile), and componentConfig.screenSharing.attendee.

HuddleMessage


A text message sent within a huddle’s in-call chat panel (<velt-huddle-messages-panel>).

UserOptions


UserContact


A user object in a contact-selection context, such as autocomplete panels and assignment pickers. Shares the same shape as User.

UserContactSelectedPayload


UserContactUs


UserFeedback


UnreadCommentsCount


UserGroup


VeltResetButtonStateConfig


VeltAuthProvider


AuthRetryConfig


RevokeAccessOn


Configuration for automatic access revocation triggers.

RevokeAccessOnType


Enum specifying when to automatically revoke permissions.

PermissionSource


Enum identifying which SDK method triggered the permission check. This helps debug and trace permission request origins.

PermissionResourceType


Enum defining the types of resources that can be validated through Permission Provider. Used in permission queries to identify the resource type being accessed.

VeltPermissionProvider


Configuration interface for Permission Provider. Velt validates access requests in real-time by querying your backend endpoint configured in the Velt Console. The SDK automatically handles permission caching, validation, and synchronization.
The dev resolver fails closed: resolver errors, timeouts, and malformed payloads all deny access. When both are set, endpointConfig.url takes precedence over resolvePermissions. A one-shot console.warn fires when the dev resolver is active or when dev: true is set without a usable resolver.

PermissionQuery


Request structure for permission queries sent to the Permission Provider.

PermissionResolverRequest


Request envelope passed to dev permission resolvers (resolvePermissions). Byte-identical to the server-side Real-Time Permission Provider contract, so an existing /api/check-permissions handler works unchanged from either caller.

PermissionResult


Individual permission decision for a user’s access to a specific resource.

SignatureResult


Response structure returned from the Generate Signature API. Example:

PermissionData


Individual permission decision for a user-resource pair.

Context


The Context interface is used in Permission Provider backend requests for context-based permission validation. Each context value is sent as an individual permission request. Usage: The Context interface is used in:
  • Backend Permission Provider requests when isContextEnabled: true
  • Each context value from frontend methods triggers a separate permission request with this format
Integration with Permission Provider: When you enable context-based permissions (isContextEnabled: true), Velt automatically converts array values from SetDocumentsContext into individual permission requests using the Context interface format.

SetDocumentsContext


The SetDocumentsContext interface is used for filtering comments and notifications based on custom context fields when calling frontend SDK methods. This enables precise filtering based on your application’s data model. Usage: The SetDocumentsContext interface is used in:
  • setDocuments() method to fetch comments filtered by context
  • identify() method to filter notifications by context
  • Frontend SDK methods that require context filtering
Filtering Logic:
  • Within a field (OR logic): When multiple values are provided for a single field, comments/notifications matching any value are returned
  • Across fields (AND logic): When multiple fields are provided, comments/notifications must match all field values
Permission Provider Integration: When Permission Provider is enabled with isContextEnabled: true, each value in the arrays is sent as a separate permission request to your backend using the Context interface format. This allows granular access control at the context value level.

Options


React Flow Collaboration

VeltReactFlowCrdtExtensionConfig


Configuration for the useVeltReactFlowCrdtExtension React hook.

VeltReactFlowCrdtExtensionResponse


Interface extending VeltReactFlowAppState.

VeltReactFlowStoreConfig


AppState


Node (React Flow)


Edge (React Flow)


NodeChange


EdgeChange


Connection


ConnectionState (used in onConnectEnd)


CodeMirror Collaboration

v2 API

UseCollaborationConfig (CodeMirror)


Configuration for the useCollaboration React hook for CodeMirror collaborative editing.

UseCollaborationReturn (CodeMirror)


Return value of the useCollaboration hook for CodeMirror.

CollaborationPrimitives


Yjs primitives returned by useCollaboration for CodeMirror integration. Pass these to yCollab() from y-codemirror.next.

CollaborationConfig (CodeMirror)


Configuration for the non-React createCollaboration() factory function for CodeMirror.

CollaborationManager (CodeMirror)


Manages the CRDT lifecycle for collaborative CodeMirror editing. Returned by useCollaboration (React) via manager, or by createCollaboration (non-React).

SyncStatus (CodeMirror)


Connection status for a collaborative CodeMirror session.

Version (CodeMirror)


A saved snapshot of the collaborative document state (from @veltdev/crdt).

Unsubscribe (CodeMirror)


Callback returned by manager.onStatusChange() and manager.onSynced(). Call it to stop listening.

v1 API (deprecated)

The v1 CodeMirror API is deprecated. Use the v2 useCollaboration hook (React) or createCollaboration (non-React) for all new integrations.

VeltCodeMirrorCrdtExtensionConfig (deprecated)


Configuration for the legacy useVeltCodeMirrorCrdtExtension React hook.

VeltCodeMirrorCrdtExtensionResponse (deprecated)


Response returned by the legacy useVeltCodeMirrorCrdtExtension.

VeltCodeMirrorStoreConfig (deprecated)


BlockNote Collaboration

v2 API

UseCollaborationConfig (BlockNote)


Configuration for the useCollaboration React hook for BlockNote collaborative editing.

UseCollaborationReturn (BlockNote)


Return value of the useCollaboration hook for BlockNote.

BlockNoteCollaborationConfig


Configuration object passed to useCreateBlockNote({ collaboration: ... }).

CollaborationConfig (BlockNote)


Configuration for the non-React createCollaboration() factory function for BlockNote.

CollaborationManager (BlockNote)


Manages the CRDT lifecycle for collaborative BlockNote editing. Returned by useCollaboration (React) via manager, or by createCollaboration (non-React).

SyncStatus (BlockNote)


Connection status of the CRDT sync provider.

Unsubscribe (BlockNote)


Callback returned by onStatusChange() and onSynced(). Call it to stop listening.

Version (BlockNote)


A saved snapshot of the document state (from @veltdev/crdt).

v1 API (deprecated)

The v1 BlockNote API is deprecated. Use the v2 useCollaboration hook (React) or createCollaboration (non-React) for all new integrations.

VeltBlockNoteCrdtExtensionConfig (deprecated)


Configuration for the legacy useVeltBlockNoteCrdtExtension React hook.

VeltBlockNoteCrdtExtensionResponse (deprecated)


Response returned by the legacy useVeltBlockNoteCrdtExtension.

VeltBlockNoteStoreConfig (deprecated)


Configuration for creating a legacy BlockNote collaboration store.

Tiptap Collaboration

v2 API

UseCollaborationConfig


Configuration for the useCollaboration React hook that enables real-time collaborative editing on TipTap.

UseCollaborationReturn


Return value of the useCollaboration hook.

SyncStatus


Connection status type for the collaborative session.

Version


Represents a named snapshot of the document state.

CollaborationConfig


Configuration for the non-React createCollaboration() factory function.

CollaborationManager


Manages the CRDT lifecycle for collaborative TipTap editing. Returned by useCollaboration (React) via manager, or by createCollaboration (non-React).

Unsubscribe


Cleanup function returned by subscription methods.

v1 API (deprecated)

The v1 Tiptap API is deprecated. Use the v2 useCollaboration hook (React) or createCollaboration (non-React) for all new integrations.

VeltTiptapCrdtExtensionConfig (deprecated)


Configuration for the legacy Tiptap CRDT extension.

VeltTiptapCrdtExtensionResponse (React, deprecated)


Response from the React useVeltTiptapCrdtExtension() hook.

VeltTiptapCrdtExtensionResponse (non-React, deprecated)


Response from the non-React createVeltTiptapCrdtExtension() callback.

VeltTipTapStoreConfig (deprecated)


Configuration for creating a legacy Tiptap collaboration store (used by non-React createVeltTipTapStore).

VeltTipTapStore (deprecated)


Represents the legacy Tiptap collaboration store instance. Public API surface only; all other fields are private.

createVeltTipTapStore (deprecated)


Legacy factory method that constructs a VeltTipTapStore, calls initialize(), and returns it. Use createCollaboration() for new non-React integrations.

Core Collaboration

v2 API

UseStoreConfig<T>


Configuration for the useStore React hook.

UseStoreReturn<T>


Return value of useStore().

StoreConfig<T>


Configuration for createVeltStore() (non-React).

FieldKind


AwarenessState


Base shape of the local awareness state.

UseAwarenessReturn<T>


Return value of useAwareness().

SyncStatus


RemoteAwarenessState<T>


A remote client’s awareness state, tagged with their Yjs client ID.

Version (CRDT)


A saved snapshot of the store state.

LogLevel


v1 API (deprecated)

The v1 useVeltCrdtStore hook is deprecated. Use the v2 useStore hook for all new React integrations. The non-React createVeltStore API remains unchanged.

useVeltCrdtStore (deprecated)


Encryption

EncryptConfig


DecryptConfig


VeltEncryptionProvider


CrdtUpdateDataEvent


Event emitted when CRDT data changes occur, triggered by webhook notifications.

CrdtUpdateDataPayload


Payload containing details of the CRDT data update.

CrdtPushMessageQuery


Query to push a raw Yjs message into the unified message stream for a given document.

CrdtOnMessageQuery


Query to subscribe to incoming messages on the unified message stream.

CrdtMessageData


Data object representing a single message received from the unified message stream.

CrdtGetMessagesQuery


Query to retrieve historical messages from the unified message stream.

CrdtGetSnapshotQuery


Query to retrieve the latest CRDT state snapshot for a document.

CrdtSnapshotData


Snapshot of the CRDT document state at a point in time.

CrdtSaveSnapshotQuery


Query to persist a CRDT state snapshot for a document.

CrdtPruneMessagesQuery


Query to delete historical messages older than a given timestamp from the message stream.

Provider Configuration

VeltProviderConfig


Configuration object passed to VeltProvider (React) or initVelt() (other frameworks) to customize SDK behavior, proxy routing, and security.

ProxyConfig


Fine-grained proxy routing configuration for individual Velt service hosts. Introduced in v5.0.2-beta.11. Replaces the single apiProxyDomain field.
apiProxyDomain is deprecated as of v5.0.2-beta.11. Migrate to proxyConfig.apiHost for equivalent behavior. All other host overrides require the new proxyConfig fields.

Suggestions

Core Types

SuggestionStatus


Lifecycle states for a suggestion. Transitions are forward-only.

SuggestionMode


v1 exports this type for forward compatibility. It is not currently consumed by any public method parameter or return type.

SuggestionTargetType


v1 always resolves to 'custom'.

SuggestionData


Stored on CommentAnnotation.suggestion when annotation.type === 'suggestion'. SDK-managed; read via SuggestionElement API.

Suggestion<T>


Discriminated union resolved by status. Use SuggestionStatus to narrow to a variant.

Variant Types

PendingSuggestion<T>


Narrowed Suggestion<T> when status === 'pending'.

ApprovedSuggestion<T>


Narrowed Suggestion<T> when status === 'accepted' (also covers 'apply_failed'). Adds resolvedBy and resolvedAt.

RejectedSuggestion<T>


Narrowed Suggestion<T> when status === 'rejected'. Adds resolvedBy, resolvedAt, and rejectReason.

StaleSuggestion<T>


Narrowed Suggestion<T> when status === 'stale'. A reviewer clicks Accept, but the target DOM node cannot be resolved at approve time, so the SDK routes the outcome to stale instead of approved. This variant does not carry resolvedBy or resolvedAt because the final state is determined by the SDK, not by the reviewer’s intent.

Config Types

RegisterTargetConfig<T>


Passed to registerTarget() to associate a getter with a target ID.

EnableSuggestionModeConfig


Optional config passed to enableSuggestionMode().

CommitSuggestionConfig<T>


Passed to commitSuggestion().

Handler Types

TargetGetter<T>


Synchronous function that returns the current value of a registered target.

TargetEditDetails<T>


Passed to TargetEditStartHandler and TargetEditCommitHandler.

TargetEditStartResult


Return value from TargetEditStartHandler. Currently informational; reserved for future overrides.

TargetEditCommitResult


Optional return from TargetEditCommitHandler to override summary or metadata on commit.

TargetEditStartHandler<T>


TargetEditCommitHandler<T>


TargetEditCommitBuilder


Pre-bound function attached to TargetEditCommitEvent payloads to programmatically finalize the suggestion.

Filter Type

SuggestionGetSuggestionsFilter


Optional filter passed to getSuggestions() and getSuggestions$().

Element

SuggestionElement


Singleton object returned by client.getSuggestionElement(). Provides all Suggestions API methods. See API Methods for the full method list.

Event Payload Types

SuggestionCreatedEvent


SuggestionApprovedEvent


SuggestionRejectedEvent


SuggestionStaleEvent


TargetEditStartEvent


TargetEditCommitEvent


Maps and Constants

SuggestionEventTypesMap


Maps event type string keys to their payload types.

SuggestionEventTypes


Constant object enumerating all valid event type strings.

SuggestionEventType


String union of all valid event type keys.

Utility

Unsubscribe


A function that removes a subscription when called. Exported for convenience and forward compatibility.
In v1, registerTarget() returns void — remove a registration with unregisterTarget(). on() returns an Observable; unsubscribe via its subscription.

Python SDK Types

Request and response types used by the Velt Python SDK. Field details below mirror the dataclass definitions in velt-py.

VeltApiResponse

Standard envelope for all sdk.api.* REST methods. Success and error are mutually exclusive.

VeltSelfHostingResponse

Standard envelope for all sdk.selfHosting.* methods.

AddActivitiesRequest

Request payload for sdk.api.activities.addActivities.

AddCommentAnnotationsRequest

Request payload for sdk.api.commentAnnotations.addCommentAnnotations.

AddCommentsRequest

Request payload for sdk.api.commentAnnotations.addComments.

AddCrdtDataRequest

Request payload for sdk.api.crdt.addCrdtData.

AddDocumentsRequest

Request payload for sdk.api.documents.addDocuments.

AddDomainsRequest

Request payload for sdk.api.workspace.addDomains.

AddFolderRequest

Request payload for sdk.api.folders.addFolder.

AddNotificationsRequest

Request payload for sdk.api.notifications.addNotifications.

AddOrganizationsRequest

Request payload for sdk.api.organizations.addOrganizations.

AddPermissionsRequest

Request payload for sdk.api.accessControl.addPermissions.

AddPresenceRequest

Request payload for sdk.api.presence.addPresence.

AddUserGroupsRequest

Request payload for sdk.api.userGroups.addUserGroups.

AddUsersRequest

Request payload for sdk.api.users.addUsers.

AddUsersToGroupRequest

Request payload for sdk.api.userGroups.addUsersToGroup.

AskAiRequest

Request payload for sdk.api.rewriter.askAi.

AskAiResponse

Response payload for sdk.api.rewriter.askAi.

BroadcastEventRequest

Request payload for sdk.api.livestate.broadcastEvent.

CreateApiKeyRequest

Request payload for sdk.api.workspace.createApiKey.

CreateWorkspaceRequest

Request payload for sdk.api.workspace.createWorkspace.

DeleteActivitiesRequest

Request payload for sdk.api.activities.deleteActivities. At least one of documentId, targetEntityId, or activityIds must be provided.

DeleteAllUserDataRequest

Request payload for sdk.api.gdpr.deleteAllUserData.

DeleteAttachmentResolverRequest

Request payload for sdk.selfHosting.attachments.deleteAttachment.

DeleteCommentAnnotationsRequest

Request payload for sdk.api.commentAnnotations.deleteCommentAnnotations.

DeleteCommentResolverRequest

Request payload for sdk.selfHosting.comments.deleteComment.

DeleteCommentsRequest

Request payload for sdk.api.commentAnnotations.deleteComments.

DeleteDocumentsRequest

Request payload for sdk.api.documents.deleteDocuments.

DeleteDomainsRequest

Request payload for sdk.api.workspace.deleteDomains.

DeleteFolderRequest

Request payload for sdk.api.folders.deleteFolder.

DeleteNotificationsRequest

Request payload for sdk.api.notifications.deleteNotifications.

DeleteOrganizationsRequest

Request payload for sdk.api.organizations.deleteOrganizations.

DeletePresenceRequest

Request payload for sdk.api.presence.deletePresence.

DeleteReactionResolverRequest

Request payload for sdk.selfHosting.reactions.deleteReaction.

DeleteUsersFromGroupRequest

Request payload for sdk.api.userGroups.deleteUsersFromGroup.

DeleteUsersRequest

Request payload for sdk.api.users.deleteUsers.

GenerateSignatureRequest

Request payload for sdk.api.accessControl.generateSignature.

GenerateSignatureResponse

Response payload for sdk.api.accessControl.generateSignature.

GenerateTokenRequest

Request payload for sdk.api.accessControl.generateToken.

GenerateTokenResponse

Response payload for sdk.api.accessControl.generateToken.

GetActivitiesRequest

Request payload for sdk.api.activities.getActivities.

GetActivitiesResponse

Response payload for sdk.api.activities.getActivities.

GetAllUserDataRequest

Request payload for sdk.api.gdpr.getAllUserData.

GetAllUserDataResponse

Response payload for sdk.api.gdpr.getAllUserData.

GetApiKeyMetadataRequest

Request payload for sdk.api.workspace.getApiKeyMetadata.

GetApiKeysRequest

Request payload for sdk.api.workspace.getApiKeys.

GetApiKeysResponse

Response payload for sdk.api.workspace.getApiKeys.

GetApiKeyMetadataResponse

Response payload for sdk.api.workspace.getApiKeyMetadata.

GetAuthTokensRequest

Request payload for sdk.api.workspace.getAuthTokens.

GetAuthTokensResponse

Response payload for sdk.api.workspace.getAuthTokens.

GetCommentAnnotationsCountRequest

Request payload for sdk.api.commentAnnotations.getCommentAnnotationsCount.

GetCommentAnnotationsCountResponse

Response payload for sdk.api.commentAnnotations.getCommentAnnotationsCount.

GetCommentAnnotationsRequest

Request payload for sdk.api.commentAnnotations.getCommentAnnotations.

GetCommentAnnotationsResponse

Response payload for sdk.api.commentAnnotations.getCommentAnnotations. Includes annotation metadata, page info, full author user objects, subscribed users, embedded comments (with attachments and reaction annotations), and status. With groupByDocumentId, data is a dict keyed by document ID instead of a list.

GetCommentResolverRequest

Request payload for sdk.selfHosting.comments.getComments.

GetCommentsRequest

Request payload for sdk.api.commentAnnotations.getComments.

GetCommentsResponse

Response payload for sdk.api.commentAnnotations.getComments. Returns the same comment shape embedded in GetCommentAnnotationsResponse (text, html, attachments, reactions, author).

GetCrdtDataRequest

Request payload for sdk.api.crdt.getCrdtData.

GetCrdtDataResponse

Response payload for sdk.api.crdt.getCrdtData.

GetDeleteUserDataStatusRequest

Request payload for sdk.api.gdpr.getDeleteUserDataStatus.

GetDeleteUserDataStatusResponse

Response payload for sdk.api.gdpr.getDeleteUserDataStatus.

GetDocumentsRequest

Request payload for sdk.api.documents.getDocuments.

GetDocumentsResponse

Response payload for sdk.api.documents.getDocuments.

GetDomainsRequest

Request payload for sdk.api.workspace.getDomains.

GetDomainsResponse

Response payload for sdk.api.workspace.getDomains.

GetEmailConfigRequest

Request payload for sdk.api.workspace.getEmailConfig.

GetEmailConfigResponse

Response payload for sdk.api.workspace.getEmailConfig.

GetEmailStatusRequest

Request payload for sdk.api.workspace.getEmailStatus.

GetEmailStatusResponse

Response payload for sdk.api.workspace.getEmailStatus. Message reflects verification state.

GetFoldersRequest

Request payload for sdk.api.folders.getFolders.

GetFoldersResponse

Response payload for sdk.api.folders.getFolders. Top-level folders include nested subFolders arrays when applicable.

GetNotificationConfigRequest

Request payload for sdk.api.notifications.getNotificationConfig.

GetNotificationConfigResponse

Response payload for sdk.api.notifications.getNotificationConfig.

GetNotificationsRequest

Request payload for sdk.api.notifications.getNotifications.

GetNotificationsResponse

Response payload for sdk.api.notifications.getNotifications.

GetOrganizationsRequest

Request payload for sdk.api.organizations.getOrganizations.

GetOrganizationsResponse

Response payload for sdk.api.organizations.getOrganizations.

GetPermissionsRequest

Request payload for sdk.api.accessControl.getPermissions.

GetPermissionsResponse

Response payload for sdk.api.accessControl.getPermissions. Keyed by userId. When using Access Context, includes context.accessFields listing the context values the user has access to.

GetReactionResolverRequest

Request payload for sdk.selfHosting.reactions.getReactions.

GetRecordingsRequest

Request payload for sdk.api.recordings.getRecordings.

GetRecordingsResponse

Response payload for sdk.api.recordings.getRecordings.

GetUserResolverRequest

Request payload for sdk.selfHosting.users.getUsers.

GetUsersRequest

Request payload for sdk.api.users.getUsers.

GetUsersResponse

Response payload for sdk.api.users.getUsers. With groupByDocumentId, data is a dict keyed by document ID instead of a list.

GetWebhookConfigRequest

Request payload for sdk.api.workspace.getWebhookConfig.

GetWebhookConfigResponse

Response payload for sdk.api.workspace.getWebhookConfig.

GetWorkspaceRequest

Request payload for sdk.api.workspace.getWorkspace.

GetWorkspaceResponse

Response payload for sdk.api.workspace.getWorkspace.

MigrateDocumentsRequest

Request payload for sdk.api.documents.migrateDocuments.

MigrateDocumentsResponse

Response payload for sdk.api.documents.migrateDocuments. Returns a migrationId to poll via migrateDocumentsStatus.

MigrateDocumentsStatusRequest

Request payload for sdk.api.documents.migrateDocumentsStatus.

MigrateDocumentsStatusResponse

Response payload for sdk.api.documents.migrateDocumentsStatus.

MoveDocumentsRequest

Request payload for sdk.api.documents.moveDocuments.

RemovePermissionsRequest

Request payload for sdk.api.accessControl.removePermissions.

ResetAuthTokenRequest

Request payload for sdk.api.workspace.resetAuthToken.

SaveAttachmentResolverRequest

Request payload for sdk.selfHosting.attachments.saveAttachment.

SaveCommentResolverRequest

Request payload for sdk.selfHosting.comments.saveComments.

SaveReactionResolverRequest

Request payload for sdk.selfHosting.reactions.saveReactions.

SendLoginLinkRequest

Request payload for sdk.api.workspace.sendLoginLink.

SetNotificationConfigRequest

Request payload for sdk.api.notifications.setNotificationConfig.

UpdateActivitiesRequest

Request payload for sdk.api.activities.updateActivities.

UpdateApiKeyRequest

Request payload for sdk.api.workspace.updateApiKey.

UpdateCommentAnnotationsRequest

Request payload for sdk.api.commentAnnotations.updateCommentAnnotations.

UpdateCommentsRequest

Request payload for sdk.api.commentAnnotations.updateComments.

UpdateCrdtDataRequest

Request payload for sdk.api.crdt.updateCrdtData.

UpdateDocumentAccessRequest

Request payload for sdk.api.documents.updateDocumentAccess.

UpdateDocumentDisableStateRequest

Request payload for sdk.api.documents.updateDocumentDisableState.

UpdateDocumentsRequest

Request payload for sdk.api.documents.updateDocuments.

UpdateEmailConfigRequest

Request payload for sdk.api.workspace.updateEmailConfig.

UpdateFolderAccessRequest

Request payload for sdk.api.folders.updateFolderAccess.

UpdateFolderRequest

Request payload for sdk.api.folders.updateFolder.

UpdateNotificationsRequest

Request payload for sdk.api.notifications.updateNotifications.

UpdateOrganizationDisableStateRequest

Request payload for sdk.api.organizations.updateOrganizationDisableState.

UpdateOrganizationsRequest

Request payload for sdk.api.organizations.updateOrganizations.

UpdatePresenceRequest

Request payload for sdk.api.presence.updatePresence.

UpdateUsersRequest

Request payload for sdk.api.users.updateUsers.

UpdateWebhookConfigRequest

Request payload for sdk.api.workspace.updateWebhookConfig.

Node SDK Types

Request and response types used by the Velt Node SDK. Field shapes mirror the TypeScript interfaces published in @veltdev/node. Types whose name ends in (SH) belong to the sdk.selfHosting.* namespace; all others belong to sdk.api.*.

VeltApiResponse (Node)

Standard envelope for all sdk.api.* REST methods. Success and error are mutually exclusive.

VeltSelfHostingResponse (Node)

Standard envelope for all sdk.selfHosting.* methods.

AddActivitiesRequest (Node)

Request payload for sdk.api.activities.addActivities.

AddCommentAnnotationsRequest (Node)

Request payload for sdk.api.commentAnnotations.addCommentAnnotations.

AddCommentsRequest (Node)

Request payload for sdk.api.commentAnnotations.addComments.

AddCrdtDataRequest (Node)

Request payload for sdk.api.crdt.addCrdtData.

AddDocumentsRequest (Node)

Request payload for sdk.api.documents.addDocuments.

AddDomainsRequest (Node)

Request payload for sdk.api.workspace.addDomains.

AddFolderRequest (Node)

Request payload for sdk.api.folders.addFolder.

AddNotificationsRequest (Node)

Request payload for sdk.api.notifications.addNotifications.

AddOrganizationsRequest (Node)

Request payload for sdk.api.organizations.addOrganizations.

AddPermissionsRequest (Node)

Request payload for sdk.api.accessControl.addPermissions.

AddPresenceRequest (Node)

Request payload for sdk.api.presence.addPresence.

AddUserGroupsRequest (Node)

Request payload for sdk.api.userGroups.addUserGroups.

AddUsersRequest (Node)

Request payload for sdk.api.users.addUsers.

AddUsersToGroupRequest (Node)

Request payload for sdk.api.userGroups.addUsersToGroup.

AskAiRequest (Node)

Request payload for sdk.api.rewriter.askAi.

AskAiResponse (Node)

Response shape for sdk.api.rewriter.askAi.

BroadcastEventRequest (Node)

Request payload for sdk.api.livestate.broadcastEvent.

CreateApiKeyRequest (Node)

Request payload for sdk.api.workspace.createApiKey.

CreateWorkspaceRequest (Node)

Request payload for sdk.api.workspace.createWorkspace.

DeleteActivitiesRequest (Node)

Request payload for sdk.api.activities.deleteActivities.

DeleteAllUserDataRequest (Node)

Request payload for sdk.api.gdpr.deleteAllUserData.

DeleteAttachmentRequest SH (Node)

Request payload for sdk.selfHosting.getAttachments().deleteAttachment.

DeleteCommentAnnotationsRequest (Node)

Request payload for sdk.api.commentAnnotations.deleteCommentAnnotations.

DeleteCommentRequest SH (Node)

Request payload for sdk.selfHosting.getComments().deleteComment.

DeleteCommentsRequest (Node)

Request payload for sdk.api.commentAnnotations.deleteComments.

DeleteDocumentsRequest (Node)

Request payload for sdk.api.documents.deleteDocuments.

DeleteDomainsRequest (Node)

Request payload for sdk.api.workspace.deleteDomains.

DeleteFolderRequest (Node)

Request payload for sdk.api.folders.deleteFolder.

DeleteNotificationRequest SH (Node)

Request payload for sdk.selfHosting.getNotifications().deleteNotification.

DeleteNotificationsRequest (Node)

Request payload for sdk.api.notifications.deleteNotifications.

DeleteOrganizationsRequest (Node)

Request payload for sdk.api.organizations.deleteOrganizations.

DeletePresenceRequest (Node)

Request payload for sdk.api.presence.deletePresence.

DeleteReactionRequest SH (Node)

Request payload for sdk.selfHosting.getReactions().deleteReaction.

DeleteRecorderAnnotationRequest SH (Node)

Request payload for sdk.selfHosting.getRecorder().deleteRecorderAnnotation.

DeleteUsersFromGroupRequest (Node)

Request payload for sdk.api.userGroups.deleteUsersFromGroup.

DeleteUsersRequest (Node)

Request payload for sdk.api.users.deleteUsers.

GenerateSignatureRequest (Node)

Request payload for sdk.api.accessControl.generateSignature.

GenerateSignatureResponse (Node)

Response shape for sdk.api.accessControl.generateSignature.

GenerateTokenRequest (Node)

Request payload for sdk.api.accessControl.generateToken.

GenerateTokenResponse (Node)

Response shape for sdk.api.accessControl.generateToken.

GetActivitiesRequest (Node)

Request payload for sdk.api.activities.getActivities.

GetActivitiesResponse (Node)

Response shape for sdk.api.activities.getActivities.

GetActivitiesSelfHostingRequest SH (Node)

Request payload for sdk.selfHosting.getActivities().getActivities.

GetAllUserDataRequest (Node)

Request payload for sdk.api.gdpr.getAllUserData.

GetAllUserDataResponse (Node)

Response shape for sdk.api.gdpr.getAllUserData.

GetApiKeyMetadataResponse (Node)

Response shape for sdk.api.workspace.getApiKeyMetadata.

GetApiKeysRequest (Node)

Request payload for sdk.api.workspace.getApiKeys.

GetApiKeysResponse (Node)

Response shape for sdk.api.workspace.getApiKeys.

GetAuthTokensRequest (Node)

Request payload for sdk.api.workspace.getAuthTokens.

GetAuthTokensResponse (Node)

Response shape for sdk.api.workspace.getAuthTokens.

GetCommentAnnotationsCountRequest (Node)

Request payload for sdk.api.commentAnnotations.getCommentAnnotationsCount.

GetCommentAnnotationsCountResponse (Node)

Response shape for sdk.api.commentAnnotations.getCommentAnnotationsCount.

GetCommentAnnotationsRequest (Node)

Request payload for sdk.api.commentAnnotations.getCommentAnnotations.

GetCommentAnnotationsResponse (Node)

Response shape for sdk.api.commentAnnotations.getCommentAnnotations.

GetCommentsRequest (Node)

Request payload for sdk.api.commentAnnotations.getComments.

GetCommentsRequest SH (Node)

Request payload for sdk.selfHosting.getComments().getComments.

GetCommentsResponse (Node)

Response shape for sdk.api.commentAnnotations.getComments.

GetCrdtDataRequest (Node)

Request payload for sdk.api.crdt.getCrdtData.

GetCrdtDataResponse (Node)

Response shape for sdk.api.crdt.getCrdtData.

GetDeleteUserDataStatusRequest (Node)

Request payload for sdk.api.gdpr.getDeleteUserDataStatus.

GetDeleteUserDataStatusResponse (Node)

Response shape for sdk.api.gdpr.getDeleteUserDataStatus.

GetDocumentsRequest (Node)

Request payload for sdk.api.documents.getDocuments.

GetDocumentsResponse (Node)

Response shape for sdk.api.documents.getDocuments.

GetDomainsResponse (Node)

Response shape for sdk.api.workspace.getDomains.

GetEmailConfigResponse (Node)

Response shape for sdk.api.workspace.getEmailConfig.

GetEmailStatusRequest (Node)

Request payload for sdk.api.workspace.getEmailStatus.

GetEmailStatusResponse (Node)

Response shape for sdk.api.workspace.getEmailStatus.

GetFoldersRequest (Node)

Request payload for sdk.api.folders.getFolders.

GetFoldersResponse (Node)

Response shape for sdk.api.folders.getFolders.

GetNotificationConfigRequest (Node)

Request payload for sdk.api.notifications.getNotificationConfig.

GetNotificationConfigResponse (Node)

Response shape for sdk.api.notifications.getNotificationConfig.

GetNotificationsRequest (Node)

Request payload for sdk.api.notifications.getNotifications.

GetNotificationsResponse (Node)

Response shape for sdk.api.notifications.getNotifications.

GetNotificationsSelfHostingRequest SH (Node)

Request payload for sdk.selfHosting.getNotifications().getNotifications.

GetOrganizationsRequest (Node)

Request payload for sdk.api.organizations.getOrganizations.

GetOrganizationsResponse (Node)

Response shape for sdk.api.organizations.getOrganizations.

GetPermissionsRequest (Node)

Request payload for sdk.api.accessControl.getPermissions.

GetPermissionsResponse (Node)

Response shape for sdk.api.accessControl.getPermissions.

GetReactionsRequest SH (Node)

Request payload for sdk.selfHosting.getReactions().getReactions.

GetRecorderAnnotationsRequest SH (Node)

Request payload for sdk.selfHosting.getRecorder().getRecorderAnnotations.

GetRecordingsRequest (Node)

Request payload for sdk.api.recordings.getRecordings.

GetRecordingsResponse (Node)

Response shape for sdk.api.recordings.getRecordings.

GetUsersRequest (Node)

Request payload for sdk.api.users.getUsers.

GetUsersResponse (Node)

Response shape for sdk.api.users.getUsers.

GetUsersSelfHostingRequest SH (Node)

Request payload for sdk.selfHosting.getUsers().getUsers.

GetWebhookConfigResponse (Node)

Response shape for sdk.api.workspace.getWebhookConfig.

GetWorkspaceResponse (Node)

Response shape for sdk.api.workspace.getWorkspace.

MigrateDocumentsRequest (Node)

Request payload for sdk.api.documents.migrateDocuments.

MigrateDocumentsResponse (Node)

Response shape for sdk.api.documents.migrateDocuments.

MigrateDocumentsStatusRequest (Node)

Request payload for sdk.api.documents.migrateDocumentsStatus.

MigrateDocumentsStatusResponse (Node)

Response shape for sdk.api.documents.migrateDocumentsStatus.

MoveDocumentsRequest (Node)

Request payload for sdk.api.documents.moveDocuments.

RemovePermissionsRequest (Node)

Request payload for sdk.api.accessControl.removePermissions.

ResetAuthTokenRequest (Node)

Request payload for sdk.api.workspace.resetAuthToken.

ResolverAuthConfig (Node)

The resolverAuth option on VeltConfig, configuring sdk.selfHosting.verifyToken. See verifyToken.

ResolverAuthErrorCode (Node)

A union of the 9 machine-readable failure codes returned on VerifyTokenResult.errorCode. The same values are exported as the readonly string[] const RESOLVER_AUTH_ERROR_CODES.

ResolverAuthJwtConfig (Node)

Built-in JWT/JWKS verification config — the jwt field on ResolverAuthConfig.

ResolverAuthVerifyCallback (Node)

Custom verification callback — the verify field on ResolverAuthConfig. Return an object to populate claims, a truthy non-object value to accept with claims undefined, or a falsy value to fail closed.
Returning falsy (or throwing) fails closed with errorCode VERIFICATION_FAILED.

SaveActivitiesRequest SH (Node)

Request payload for sdk.selfHosting.getActivities().saveActivities.

SaveAttachmentRequest SH (Node)

Request payload for sdk.selfHosting.getAttachments().saveAttachment.

SaveCommentsRequest SH (Node)

Request payload for sdk.selfHosting.getComments().saveComments.

SaveNotificationsRequest SH (Node)

Request payload for sdk.selfHosting.getNotifications().saveNotifications.

SaveReactionsRequest SH (Node)

Request payload for sdk.selfHosting.getReactions().saveReactions.

SaveRecorderAnnotationRequest SH (Node)

Request payload for sdk.selfHosting.getRecorder().saveRecorderAnnotation.

SendLoginLinkRequest (Node)

Request payload for sdk.api.workspace.sendLoginLink.

SetNotificationConfigRequest (Node)

Request payload for sdk.api.notifications.setNotificationConfig.

UpdateActivitiesRequest (Node)

Request payload for sdk.api.activities.updateActivities.

UpdateApiKeyRequest (Node)

Request payload for sdk.api.workspace.updateApiKey.

UpdateCommentAnnotationsRequest (Node)

Request payload for sdk.api.commentAnnotations.updateCommentAnnotations.

UpdateCommentsRequest (Node)

Request payload for sdk.api.commentAnnotations.updateComments.

UpdateCrdtDataRequest (Node)

Request payload for sdk.api.crdt.updateCrdtData.

UpdateDocumentAccessRequest (Node)

Request payload for sdk.api.documents.updateDocumentAccess.

UpdateDocumentDisableStateRequest (Node)

Request payload for sdk.api.documents.updateDocumentDisableState.

UpdateDocumentsRequest (Node)

Request payload for sdk.api.documents.updateDocuments.

UpdateEmailConfigRequest (Node)

Request payload for sdk.api.workspace.updateEmailConfig.

UpdateFolderAccessRequest (Node)

Request payload for sdk.api.folders.updateFolderAccess.

UpdateFolderRequest (Node)

Request payload for sdk.api.folders.updateFolder.

UpdateNotificationsRequest (Node)

Request payload for sdk.api.notifications.updateNotifications.

UpdateOrganizationDisableStateRequest (Node)

Request payload for sdk.api.organizations.updateOrganizationDisableState.

UpdateOrganizationsRequest (Node)

Request payload for sdk.api.organizations.updateOrganizations.

UpdatePresenceRequest (Node)

Request payload for sdk.api.presence.updatePresence.

UpdateUsersRequest (Node)

Request payload for sdk.api.users.updateUsers.

UpdateWebhookConfigRequest (Node)

Request payload for sdk.api.workspace.updateWebhookConfig.

VeltConfig (Node)

Configuration passed to VeltSDK.initialize.

VerifyTokenResult (Node)

Result returned by sdk.selfHosting.verifyToken. See verifyToken.

CreateAgentRequest (Node)

Request payload for sdk.api.agents.createAgent. Accepts additional passthrough fields.

UpdateAgentRequest (Node)

Request payload for sdk.api.agents.updateAgent.

UpdateAgentVersionRequest (Node)

Request payload for sdk.api.agents.updateAgentVersion. Accepts additional passthrough fields.

DeleteAgentRequest (Node)

Request payload for sdk.api.agents.deleteAgent.

GetAgentRequest (Node)

Request payload for sdk.api.agents.getAgent.

ListAgentVersionsRequest (Node)

Request payload for sdk.api.agents.listAgentVersions.

RestoreAgentVersionRequest (Node)

Request payload for sdk.api.agents.restoreAgentVersion.

GetAgentAnalyticsRequest (Node)

Request payload for sdk.api.agents.getAgentAnalytics.

RunAgentExecutionRequest (Node)

Request payload for sdk.api.agents.runExecution. Accepts additional passthrough fields.

GetAgentExecutionRequest (Node)

Request payload for sdk.api.agents.getExecution.

ListAgentExecutionsRequest (Node)

Request payload for sdk.api.agents.listExecutions. Server accepts exactly {agentId}, {organizationId, documentId}, or {agentId, organizationId, documentId}.

CountAgentExecutionsRequest (Node)

Request payload for sdk.api.agents.countExecutions.

PromptEnhancerRequest (Node)

Request payload for sdk.api.agents.enhancePrompt.

PromptValidatorRequest (Node)

Request payload for sdk.api.agents.validatePrompt.

PromptRefinerRequest (Node)

Request payload for sdk.api.agents.refinePrompt.

ResolveConfigRequest (Node)

Request payload for sdk.api.agents.resolveConfig.

ParseAgentsRequest (Node)

Request payload for sdk.api.agents.parseAgents.

CreateAgentGroupRequest (Node)

Request payload for sdk.api.agents.createAgentGroup.

GetAgentGroupRequest (Node)

Request payload for sdk.api.agents.getAgentGroup.

ListAgentGroupsRequest (Node)

Request payload for sdk.api.agents.listAgentGroups. No parameters. Pass an empty object {}.

UpdateAgentGroupRequest (Node)

Request payload for sdk.api.agents.updateAgentGroup. At least one of name/description is required.

DeleteAgentGroupRequest (Node)

Request payload for sdk.api.agents.deleteAgentGroup.

AddAgentsToGroupRequest (Node)

Request payload for sdk.api.agents.addAgentsToGroup.

RemoveAgentsFromGroupRequest (Node)

Request payload for sdk.api.agents.removeAgentsFromGroup.

MemorySearchRequest (Node)

Request payload for sdk.api.memory.search.

MemoryQueryJudgmentsRequest (Node)

Request payload for sdk.api.memory.queryJudgments.

MemorySuggestRequest (Node)

Request payload for sdk.api.memory.suggest.

MemoryAskRequest (Node)

Request payload for sdk.api.memory.ask.

MemoryGetReviewerProfileRequest (Node)

Request payload for sdk.api.memory.getReviewerProfile. Falls back to the caller’s uid when omitted.

MemoryGetPatternsRequest (Node)

Request payload for sdk.api.memory.getPatterns. No parameters. Pass an empty object {}.

MemoryGetStatsRequest (Node)

Request payload for sdk.api.memory.getStats. No parameters. Pass an empty object {}.

MemoryIngestKnowledgeRequest (Node)

Request payload for sdk.api.memory.ingestKnowledge. Union of MemoryIngestInlineRequest and MemoryIngestFileRefRequest.

MemoryKnowledgeUploadUrlRequest (Node)

Request payload for sdk.api.memory.getKnowledgeUploadUrl.

MemoryIngestStatusRequest (Node)

Request payload for sdk.api.memory.getIngestStatus.

MemoryUpdateKnowledgeRequest (Node)

Request payload for sdk.api.memory.updateKnowledge.

MemoryDeleteKnowledgeRequest (Node)

Request payload for sdk.api.memory.deleteKnowledge.

MemoryKnowledgeSearchRequest (Node)

Request payload for sdk.api.memory.searchKnowledge.

MemoryListKnowledgeSourcesRequest (Node)

Request payload for sdk.api.memory.listKnowledgeSources. No parameters. Pass an empty object {}.

MemoryDownloadCanonicalMdRequest (Node)

Request payload for sdk.api.memory.downloadCanonicalMd.

MemoryListExtractedRulesRequest (Node)

Request payload for sdk.api.memory.listExtractedRules.

MemoryListAlertsRequest (Node)

Request payload for sdk.api.memory.listAlerts. No parameters. Pass an empty object {}.

MemoryDismissAlertRequest (Node)

Request payload for sdk.api.memory.dismissAlert.

MemoryMarkAlertActionedRequest (Node)

Request payload for sdk.api.memory.markAlertActioned.

MemoryUpdateAlertConfigRequest (Node)

Request payload for sdk.api.memory.updateAlertConfig.

MemoryGetAlertConfigRequest (Node)

Request payload for sdk.api.memory.getAlertConfig. No parameters. Pass an empty object {}.

MemoryTriggerConsolidationRequest (Node)

Request payload for sdk.api.memory.triggerConsolidation.

MemorySeedActiveApiKeysRequest (Node)

Request payload for sdk.api.memory.seedActiveApiKeys. No parameters. Pass an empty object {}.

MemoryBackfillJudgmentsRequest (Node)

Request payload for sdk.api.memory.backfillJudgments.

ApprovalCreateDefinitionRequest (Node)

Request payload for sdk.api.approval.createDefinition.

ApprovalUpdateDefinitionRequest (Node)

Request payload for sdk.api.approval.updateDefinition. Extends ApprovalCreateDefinitionRequest: all fields of ApprovalCreateDefinitionRequest, plus:

ApprovalDeleteDefinitionRequest (Node)

Request payload for sdk.api.approval.deleteDefinition.

ApprovalGetDefinitionRequest (Node)

Request payload for sdk.api.approval.getDefinition.

ApprovalListDefinitionsRequest (Node)

Request payload for sdk.api.approval.listDefinitions.

ApprovalDispatchExecutionRequest (Node)

Request payload for sdk.api.approval.dispatchExecution.

ApprovalCancelExecutionRequest (Node)

Request payload for sdk.api.approval.cancelExecution.

ApprovalGetExecutionRequest (Node)

Request payload for sdk.api.approval.getExecution.

ApprovalGetExecutionEventsRequest (Node)

Request payload for sdk.api.approval.getExecutionEvents.

ApprovalListExecutionsRequest (Node)

Request payload for sdk.api.approval.listExecutions.

ApprovalCancelStepRequest (Node)

Request payload for sdk.api.approval.cancelStep.

ApprovalResolveStepRequest (Node)

Request payload for sdk.api.approval.resolveStep.

ApprovalRecordAgentResolutionRequest (Node)

Request payload for sdk.api.approval.recordAgentResolution.

ApprovalRecordReviewerDecisionRequest (Node)

Request payload for sdk.api.approval.recordReviewerDecision.

DeleteCrdtDataRequest (Node)

Request payload for sdk.api.crdt.deleteCrdtData.

GetDocumentsCountRequest (Node)

Request payload for sdk.api.documents.getDocumentsCount.

GetUsersCountRequest (Node)

Request payload for sdk.api.users.getUsersCount.

GetDocUsersRequest (Node)

Request payload for sdk.api.users.getDocUsers.

AddUserInviteRequest (Node)

Request payload for sdk.api.users.addUserInvite.

RespondToUserInviteRequest (Node)

Request payload for sdk.api.users.respondToUserInvite.

GetUserInvitesRequest (Node)

Request payload for sdk.api.users.getUserInvites.

GetUserInvitationsRequest (Node)

Request payload for sdk.api.users.getUserInvitations.

GetInvitedPendingUsersCountRequest (Node)

Request payload for sdk.api.users.getInvitedPendingUsersCount.

GetRequestedDomainsRequest (Node)

Request payload for sdk.api.workspace.getRequestedDomains. No parameters. Pass an empty object {}.

AcceptRejectAdditionalUrlRequest (Node)

Request payload for sdk.api.workspace.acceptRejectAdditionalUrlRequest.

CreateDomainRequest (Node)

Request payload for sdk.api.workspace.createDomainRequest.

CopyApiKeyRequest (Node)

Request payload for sdk.api.workspace.copyApiKey.

UpdateApiKeyConfigRequest (Node)

Request payload for sdk.api.workspace.updateApiKeyConfig. Strict; at least one field required.

GetWorkspaceNotificationConfigRequest (Node)

Request payload for sdk.api.workspace.getNotificationConfig. No parameters. Pass an empty object {}.

UpdateWorkspaceNotificationConfigRequest (Node)

Request payload for sdk.api.workspace.updateNotificationConfig. At least one field required.

GetPermissionProviderConfigRequest (Node)

Request payload for sdk.api.workspace.getPermissionProviderConfig. No parameters. Pass an empty object {}.

UpdatePermissionProviderConfigRequest (Node)

Request payload for sdk.api.workspace.updatePermissionProviderConfig.

GetActivityConfigRequest (Node)

Request payload for sdk.api.workspace.getActivityConfig. No parameters. Pass an empty object {}.

UpdateActivityConfigRequest (Node)

Request payload for sdk.api.workspace.updateActivityConfig.

EnsureWorkspaceAuthTokenRequest (Node)

Request payload for sdk.api.workspace.ensureWorkspaceAuthToken. No parameters. Pass an empty object {}.

GetAdvancedWebhookConfigRequest (Node)

Request payload for sdk.api.workspace.getAdvancedWebhookConfig. No parameters. Pass an empty object {}.

UpdateAdvancedWebhookConfigRequest (Node)

Request payload for sdk.api.workspace.updateAdvancedWebhookConfig. At least one field required.

GetAdvancedWebhookEndpointsRequest (Node)

Request payload for sdk.api.workspace.getAdvancedWebhookEndpoints.

CreateAdvancedWebhookEndpointRequest (Node)

Request payload for sdk.api.workspace.createAdvancedWebhookEndpoint.

UpdateAdvancedWebhookEndpointRequest (Node)

Request payload for sdk.api.workspace.updateAdvancedWebhookEndpoint. At least one mutable field required.

DeleteAdvancedWebhookEndpointRequest (Node)

Request payload for sdk.api.workspace.deleteAdvancedWebhookEndpoint.

GetAdvancedWebhookEndpointSecretRequest (Node)

Request payload for sdk.api.workspace.getAdvancedWebhookEndpointSecret.

InvitedByUser (Node)

Identifies the user who issued an invite. Used by AddUserInviteRequest.

AiModelApiKey (Node)

AI model provider key. Used by UpdateApiKeyConfigRequest; encrypted server-side.

CommentNotificationTriggers (Node)

Comment notification triggers. Used by NotificationServiceConfig and ActivityServiceConfig.

HuddleNotificationTriggers (Node)

Huddle notification triggers. Used by NotificationServiceConfig.

NotificationDelayConfig (Node)

Notification delay settings. Used by NotificationServiceConfig.

NotificationBatchLevelConfig (Node)

Per-level notification batching settings. Used by NotificationServiceConfig.

NotificationServiceConfig (Node)

Notification service configuration. Used by UpdateWorkspaceNotificationConfigRequest.

PermissionProviderConfig (Node)

Permission provider configuration. Used by UpdatePermissionProviderConfigRequest.

ActivityServiceConfig (Node)

Activity service configuration. Used by UpdateActivityConfigRequest.