Versions in this module Expand all Collapse all v0 v0.0.2 Apr 2, 2026 Changes in this version + const MetadataStatusCompleted + const MetadataStatusFailed + const MetadataStatusPending + const MetadataStatusPendingReview + const MetadataStatusProcessing + const MetadataStatusSkipped + const NotificationTypeError + const NotificationTypeInfo + const NotificationTypeSuccess + const NotificationTypeWarning + const ResourceSourceBox + const ResourceSourceDropbox + const ResourceSourceGitHub + const ResourceSourceGmailActions + const ResourceSourceGoogleCalendar + const ResourceSourceGoogleDrive + const ResourceSourceGoogleMail + const ResourceSourceMicrosoftTeams + const ResourceSourceNotion + const ResourceSourceReddit + const ResourceSourceSlack + const ResourceSourceTrace + const ResourceSourceVault + const ResourceSourceWebCrawler + func Bool(b bool) param.Opt[bool] + func BoolPtr(v bool) *bool + func DefaultClientOptions() []option.RequestOption + func File(rdr io.Reader, filename string, contentType string) file + func Float(f float64) param.Opt[float64] + func FloatPtr(v float64) *float64 + func Int(i int64) param.Opt[int64] + func IntPtr(v int64) *int64 + func Opt[T comparable](v T) param.Opt[T] + func Ptr[T any](v T) *T + func String(s string) param.Opt[string] + func StringPtr(v string) *string + func Time(t time.Time) param.Opt[time.Time] + func TimePtr(v time.Time) *time.Time + type ActionAddReactionParams struct + Channel string + Connection param.Opt[string] + Name string + Provider ActionAddReactionParamsProvider + Timestamp string + func (r *ActionAddReactionParams) UnmarshalJSON(data []byte) error + func (r ActionAddReactionParams) MarshalJSON() (data []byte, err error) + type ActionAddReactionParamsProvider string + const ActionAddReactionParamsProviderBox + const ActionAddReactionParamsProviderDropbox + const ActionAddReactionParamsProviderGitHub + const ActionAddReactionParamsProviderGmailActions + const ActionAddReactionParamsProviderGoogleCalendar + const ActionAddReactionParamsProviderGoogleDrive + const ActionAddReactionParamsProviderGoogleMail + const ActionAddReactionParamsProviderMicrosoftTeams + const ActionAddReactionParamsProviderNotion + const ActionAddReactionParamsProviderReddit + const ActionAddReactionParamsProviderSlack + const ActionAddReactionParamsProviderTrace + const ActionAddReactionParamsProviderVault + const ActionAddReactionParamsProviderWebCrawler + type ActionAddReactionResponse struct + Error string + JSON struct{ ... } + ProviderResponse map[string]any + Success bool + func (r *ActionAddReactionResponse) UnmarshalJSON(data []byte) error + func (r ActionAddReactionResponse) RawJSON() string + type ActionSendMessageParams struct + Channel param.Opt[string] + Connection param.Opt[string] + Parent param.Opt[string] + Provider ActionSendMessageParamsProvider + Text string + func (r *ActionSendMessageParams) UnmarshalJSON(data []byte) error + func (r ActionSendMessageParams) MarshalJSON() (data []byte, err error) + type ActionSendMessageParamsProvider string + const ActionSendMessageParamsProviderBox + const ActionSendMessageParamsProviderDropbox + const ActionSendMessageParamsProviderGitHub + const ActionSendMessageParamsProviderGmailActions + const ActionSendMessageParamsProviderGoogleCalendar + const ActionSendMessageParamsProviderGoogleDrive + const ActionSendMessageParamsProviderGoogleMail + const ActionSendMessageParamsProviderMicrosoftTeams + const ActionSendMessageParamsProviderNotion + const ActionSendMessageParamsProviderReddit + const ActionSendMessageParamsProviderSlack + const ActionSendMessageParamsProviderTrace + const ActionSendMessageParamsProviderVault + const ActionSendMessageParamsProviderWebCrawler + type ActionSendMessageResponse struct + Error string + JSON struct{ ... } + ProviderResponse map[string]any + Success bool + func (r *ActionSendMessageResponse) UnmarshalJSON(data []byte) error + func (r ActionSendMessageResponse) RawJSON() string + type ActionService struct + func NewActionService(opts ...option.RequestOption) (r ActionService) + func (r *ActionService) AddReaction(ctx context.Context, body ActionAddReactionParams, ...) (res *ActionAddReactionResponse, err error) + func (r *ActionService) SendMessage(ctx context.Context, body ActionSendMessageParams, ...) (res *ActionSendMessageResponse, err error) + type AuthDeleteUserResponse struct + JSON struct{ ... } + Message string + Success bool + func (r *AuthDeleteUserResponse) UnmarshalJSON(data []byte) error + func (r AuthDeleteUserResponse) RawJSON() string + type AuthMeResponse struct + App AuthMeResponseApp + AvailableIntegrations []string + ID string + InstalledIntegrations []string + JSON struct{ ... } + TokenExpiration time.Time + func (r *AuthMeResponse) UnmarshalJSON(data []byte) error + func (r AuthMeResponse) RawJSON() string + type AuthMeResponseApp struct + ID string + IconURL string + JSON struct{ ... } + Name string + RedirectURL string + func (r *AuthMeResponseApp) UnmarshalJSON(data []byte) error + func (r AuthMeResponseApp) RawJSON() string + type AuthService struct + func NewAuthService(opts ...option.RequestOption) (r AuthService) + func (r *AuthService) DeleteUser(ctx context.Context, opts ...option.RequestOption) (res *AuthDeleteUserResponse, err error) + func (r *AuthService) Me(ctx context.Context, opts ...option.RequestOption) (res *AuthMeResponse, err error) + func (r *AuthService) UserToken(ctx context.Context, body AuthUserTokenParams, opts ...option.RequestOption) (res *Token, err error) + type AuthUserTokenParams struct + ExpiresIn param.Opt[string] + Origin param.Opt[string] + UserID string + func (r *AuthUserTokenParams) UnmarshalJSON(data []byte) error + func (r AuthUserTokenParams) MarshalJSON() (data []byte, err error) + type Calendar struct + Items []CalendarItem + JSON struct{ ... } + func (r *Calendar) UnmarshalJSON(data []byte) error + func (r Calendar) RawJSON() string + type CalendarItem struct + ID string + JSON struct{ ... } + Name string + Primary bool + Timezone string + func (r *CalendarItem) UnmarshalJSON(data []byte) error + func (r CalendarItem) RawJSON() string + type Client struct + Actions ActionService + Auth AuthService + Connections ConnectionService + Evaluate EvaluateService + Folders FolderService + Integrations IntegrationService + Memories MemoryService + Sessions SessionService + Vaults VaultService + func NewClient(opts ...option.RequestOption) (r Client) + func (r *Client) Delete(ctx context.Context, path string, params any, res any, ...) error + func (r *Client) Execute(ctx context.Context, method string, path string, params any, res any, ...) error + func (r *Client) Get(ctx context.Context, path string, params any, res any, ...) error + func (r *Client) Patch(ctx context.Context, path string, params any, res any, ...) error + func (r *Client) Post(ctx context.Context, path string, params any, res any, ...) error + func (r *Client) Put(ctx context.Context, path string, params any, res any, ...) error + type ConnectionListResponse struct + Connections []ConnectionListResponseConnection + JSON struct{ ... } + func (r *ConnectionListResponse) UnmarshalJSON(data []byte) error + func (r ConnectionListResponse) RawJSON() string + type ConnectionListResponseConnection struct + ID string + IntegrationID string + JSON struct{ ... } + Label string + Provider string + func (r *ConnectionListResponseConnection) UnmarshalJSON(data []byte) error + func (r ConnectionListResponseConnection) RawJSON() string + type ConnectionRevokeResponse struct + JSON struct{ ... } + Message string + Success bool + func (r *ConnectionRevokeResponse) UnmarshalJSON(data []byte) error + func (r ConnectionRevokeResponse) RawJSON() string + type ConnectionService struct + func NewConnectionService(opts ...option.RequestOption) (r ConnectionService) + func (r *ConnectionService) List(ctx context.Context, opts ...option.RequestOption) (res *ConnectionListResponse, err error) + func (r *ConnectionService) Revoke(ctx context.Context, connectionID string, opts ...option.RequestOption) (res *ConnectionRevokeResponse, err error) + type Error = apierror.Error + type EvaluateScoreHighlightParams struct + Comment param.Opt[string] + Score param.Opt[float64] + func (r *EvaluateScoreHighlightParams) UnmarshalJSON(data []byte) error + func (r EvaluateScoreHighlightParams) MarshalJSON() (data []byte, err error) + type EvaluateScoreHighlightResponse struct + JSON struct{ ... } + Message string + Success bool + func (r *EvaluateScoreHighlightResponse) UnmarshalJSON(data []byte) error + func (r EvaluateScoreHighlightResponse) RawJSON() string + type EvaluateScoreQueryParams struct + Score param.Opt[float64] + func (r *EvaluateScoreQueryParams) UnmarshalJSON(data []byte) error + func (r EvaluateScoreQueryParams) MarshalJSON() (data []byte, err error) + type EvaluateScoreQueryResponse struct + JSON struct{ ... } + Message string + Success bool + func (r *EvaluateScoreQueryResponse) UnmarshalJSON(data []byte) error + func (r EvaluateScoreQueryResponse) RawJSON() string + type EvaluateService struct + func NewEvaluateService(opts ...option.RequestOption) (r EvaluateService) + func (r *EvaluateService) GetQuery(ctx context.Context, queryID string, opts ...option.RequestOption) (res *shared.QueryResult, err error) + func (r *EvaluateService) ScoreHighlight(ctx context.Context, highlightID string, body EvaluateScoreHighlightParams, ...) (res *EvaluateScoreHighlightResponse, err error) + func (r *EvaluateService) ScoreQuery(ctx context.Context, queryID string, body EvaluateScoreQueryParams, ...) (res *EvaluateScoreQueryResponse, err error) + type FolderDeletePolicyParams struct + ConnectionID string + type FolderDeletePolicyResponse struct + JSON struct{ ... } + Success bool + func (r *FolderDeletePolicyResponse) UnmarshalJSON(data []byte) error + func (r FolderDeletePolicyResponse) RawJSON() string + type FolderListParams struct + ParentID param.Opt[string] + func (r FolderListParams) URLQuery() (v url.Values, err error) + type FolderListPoliciesResponse struct + JSON struct{ ... } + Policies []FolderListPoliciesResponsePolicy + func (r *FolderListPoliciesResponse) UnmarshalJSON(data []byte) error + func (r FolderListPoliciesResponse) RawJSON() string + type FolderListPoliciesResponsePolicy struct + ConnectionID string + FolderName string + FolderPath string + ID string + JSON struct{ ... } + ParentFolderID string + ProviderFolderID string + SyncMode string + func (r *FolderListPoliciesResponsePolicy) UnmarshalJSON(data []byte) error + func (r FolderListPoliciesResponsePolicy) RawJSON() string + type FolderListResponse struct + Folders []FolderListResponseFolder + JSON struct{ ... } + func (r *FolderListResponse) UnmarshalJSON(data []byte) error + func (r FolderListResponse) RawJSON() string + type FolderListResponseFolder struct + HasChildren bool + JSON struct{ ... } + Name string + ParentFolderID string + Policy FolderListResponseFolderPolicy + ProviderFolderID string + func (r *FolderListResponseFolder) UnmarshalJSON(data []byte) error + func (r FolderListResponseFolder) RawJSON() string + type FolderListResponseFolderPolicy struct + ID string + JSON struct{ ... } + SyncMode string + func (r *FolderListResponseFolderPolicy) UnmarshalJSON(data []byte) error + func (r FolderListResponseFolderPolicy) RawJSON() string + type FolderService struct + func NewFolderService(opts ...option.RequestOption) (r FolderService) + func (r *FolderService) DeletePolicy(ctx context.Context, policyID string, body FolderDeletePolicyParams, ...) (res *FolderDeletePolicyResponse, err error) + func (r *FolderService) List(ctx context.Context, connectionID string, query FolderListParams, ...) (res *FolderListResponse, err error) + func (r *FolderService) ListPolicies(ctx context.Context, connectionID string, opts ...option.RequestOption) (res *FolderListPoliciesResponse, err error) + func (r *FolderService) SetPolicies(ctx context.Context, connectionID string, body FolderSetPoliciesParams, ...) (res *FolderSetPoliciesResponse, err error) + type FolderSetPoliciesParams struct + FolderName param.Opt[string] + FolderPath param.Opt[string] + ParentFolderID param.Opt[string] + ProviderFolderID string + SyncMode FolderSetPoliciesParamsSyncMode + func (r *FolderSetPoliciesParams) UnmarshalJSON(data []byte) error + func (r FolderSetPoliciesParams) MarshalJSON() (data []byte, err error) + type FolderSetPoliciesParamsSyncMode string + const FolderSetPoliciesParamsSyncModeManual + const FolderSetPoliciesParamsSyncModeSkip + const FolderSetPoliciesParamsSyncModeSync + type FolderSetPoliciesResponse struct + ConnectionID string + FolderName string + FolderPath string + ID string + JSON struct{ ... } + ParentFolderID string + ProviderFolderID string + SyncMode FolderSetPoliciesResponseSyncMode + func (r *FolderSetPoliciesResponse) UnmarshalJSON(data []byte) error + func (r FolderSetPoliciesResponse) RawJSON() string + type FolderSetPoliciesResponseSyncMode string + const FolderSetPoliciesResponseSyncModeManual + const FolderSetPoliciesResponseSyncModeSkip + const FolderSetPoliciesResponseSyncModeSync + type IntegrationConnectParams struct + RedirectURL param.Opt[string] + func (r IntegrationConnectParams) URLQuery() (v url.Values, err error) + type IntegrationConnectResponse struct + ExpiresAt time.Time + JSON struct{ ... } + URL string + func (r *IntegrationConnectResponse) UnmarshalJSON(data []byte) error + func (r IntegrationConnectResponse) RawJSON() string + type IntegrationGoogleCalendarService struct + func NewIntegrationGoogleCalendarService(opts ...option.RequestOption) (r IntegrationGoogleCalendarService) + func (r *IntegrationGoogleCalendarService) List(ctx context.Context, opts ...option.RequestOption) (res *Calendar, err error) + type IntegrationListResponse struct + Integrations []IntegrationListResponseIntegration + JSON struct{ ... } + func (r *IntegrationListResponse) UnmarshalJSON(data []byte) error + func (r IntegrationListResponse) RawJSON() string + type IntegrationListResponseIntegration struct + ActionsOnly bool + AllowMultipleConnections bool + AuthProvider string + ID string + Icon string + JSON struct{ ... } + Name string + Provider string + func (r *IntegrationListResponseIntegration) UnmarshalJSON(data []byte) error + func (r IntegrationListResponseIntegration) RawJSON() string + type IntegrationService struct + GoogleCalendar IntegrationGoogleCalendarService + Slack IntegrationSlackService + WebCrawler IntegrationWebCrawlerService + func NewIntegrationService(opts ...option.RequestOption) (r IntegrationService) + func (r *IntegrationService) Connect(ctx context.Context, integrationID string, query IntegrationConnectParams, ...) (res *IntegrationConnectResponse, err error) + func (r *IntegrationService) List(ctx context.Context, opts ...option.RequestOption) (res *IntegrationListResponse, err error) + type IntegrationSlackListParams struct + Channels []string + ExcludeArchived param.Opt[bool] + IncludeDms param.Opt[bool] + IncludeGroupDms param.Opt[bool] + IncludePrivate param.Opt[bool] + func (r IntegrationSlackListParams) URLQuery() (v url.Values, err error) + type IntegrationSlackListResponse = any + type IntegrationSlackService struct + func NewIntegrationSlackService(opts ...option.RequestOption) (r IntegrationSlackService) + func (r *IntegrationSlackService) List(ctx context.Context, query IntegrationSlackListParams, ...) (res *IntegrationSlackListResponse, err error) + type IntegrationWebCrawlerIndexParams struct + Limit param.Opt[int64] + MaxDepth param.Opt[int64] + URL string + func (r IntegrationWebCrawlerIndexParams) URLQuery() (v url.Values, err error) + type IntegrationWebCrawlerIndexResponse struct + JSON struct{ ... } + ResourceID string + Source IntegrationWebCrawlerIndexResponseSource + Status IntegrationWebCrawlerIndexResponseStatus + func (r *IntegrationWebCrawlerIndexResponse) UnmarshalJSON(data []byte) error + func (r IntegrationWebCrawlerIndexResponse) RawJSON() string + type IntegrationWebCrawlerIndexResponseSource string + const IntegrationWebCrawlerIndexResponseSourceBox + const IntegrationWebCrawlerIndexResponseSourceDropbox + const IntegrationWebCrawlerIndexResponseSourceGitHub + const IntegrationWebCrawlerIndexResponseSourceGmailActions + const IntegrationWebCrawlerIndexResponseSourceGoogleCalendar + const IntegrationWebCrawlerIndexResponseSourceGoogleDrive + const IntegrationWebCrawlerIndexResponseSourceGoogleMail + const IntegrationWebCrawlerIndexResponseSourceMicrosoftTeams + const IntegrationWebCrawlerIndexResponseSourceNotion + const IntegrationWebCrawlerIndexResponseSourceReddit + const IntegrationWebCrawlerIndexResponseSourceSlack + const IntegrationWebCrawlerIndexResponseSourceTrace + const IntegrationWebCrawlerIndexResponseSourceVault + const IntegrationWebCrawlerIndexResponseSourceWebCrawler + type IntegrationWebCrawlerIndexResponseStatus string + const IntegrationWebCrawlerIndexResponseStatusCompleted + const IntegrationWebCrawlerIndexResponseStatusFailed + const IntegrationWebCrawlerIndexResponseStatusPending + const IntegrationWebCrawlerIndexResponseStatusPendingReview + const IntegrationWebCrawlerIndexResponseStatusProcessing + const IntegrationWebCrawlerIndexResponseStatusSkipped + type IntegrationWebCrawlerService struct + func NewIntegrationWebCrawlerService(opts ...option.RequestOption) (r IntegrationWebCrawlerService) + func (r *IntegrationWebCrawlerService) Index(ctx context.Context, query IntegrationWebCrawlerIndexParams, ...) (res *IntegrationWebCrawlerIndexResponse, err error) + type Memory struct + Data []any + ExtraFields map[string]any + JSON struct{ ... } + Memories []string + Metadata shared.Metadata + ResourceID string + Source MemorySource + Title string + Type string + func (r *Memory) UnmarshalJSON(data []byte) error + func (r Memory) RawJSON() string + type MemoryAddBulkParams struct + Items []MemoryAddBulkParamsItem + func (r *MemoryAddBulkParams) UnmarshalJSON(data []byte) error + func (r MemoryAddBulkParams) MarshalJSON() (data []byte, err error) + type MemoryAddBulkParamsItem struct + Collection param.Opt[string] + Date param.Opt[time.Time] + Metadata map[string]MemoryAddBulkParamsItemMetadataUnion + ResourceID param.Opt[string] + Text string + Title param.Opt[string] + func (r *MemoryAddBulkParamsItem) UnmarshalJSON(data []byte) error + func (r MemoryAddBulkParamsItem) MarshalJSON() (data []byte, err error) + type MemoryAddBulkParamsItemMetadataUnion struct + OfBool param.Opt[bool] + OfFloat param.Opt[float64] + OfString param.Opt[string] + func (u *MemoryAddBulkParamsItemMetadataUnion) UnmarshalJSON(data []byte) error + func (u MemoryAddBulkParamsItemMetadataUnion) MarshalJSON() ([]byte, error) + type MemoryAddBulkResponse struct + Count int64 + Items []MemoryStatus + JSON struct{ ... } + Success bool + func (r *MemoryAddBulkResponse) UnmarshalJSON(data []byte) error + func (r MemoryAddBulkResponse) RawJSON() string + type MemoryAddParams struct + Collection param.Opt[string] + Date param.Opt[time.Time] + Metadata map[string]MemoryAddParamsMetadataUnion + ResourceID param.Opt[string] + Text string + Title param.Opt[string] + func (r *MemoryAddParams) UnmarshalJSON(data []byte) error + func (r MemoryAddParams) MarshalJSON() (data []byte, err error) + type MemoryAddParamsMetadataUnion struct + OfBool param.Opt[bool] + OfFloat param.Opt[float64] + OfString param.Opt[string] + func (u *MemoryAddParamsMetadataUnion) UnmarshalJSON(data []byte) error + func (u MemoryAddParamsMetadataUnion) MarshalJSON() ([]byte, error) + type MemoryDeleteParams struct + Source MemoryDeleteParamsSource + type MemoryDeleteParamsSource string + const MemoryDeleteParamsSourceBox + const MemoryDeleteParamsSourceDropbox + const MemoryDeleteParamsSourceGitHub + const MemoryDeleteParamsSourceGmailActions + const MemoryDeleteParamsSourceGoogleCalendar + const MemoryDeleteParamsSourceGoogleDrive + const MemoryDeleteParamsSourceGoogleMail + const MemoryDeleteParamsSourceMicrosoftTeams + const MemoryDeleteParamsSourceNotion + const MemoryDeleteParamsSourceReddit + const MemoryDeleteParamsSourceSlack + const MemoryDeleteParamsSourceTrace + const MemoryDeleteParamsSourceVault + const MemoryDeleteParamsSourceWebCrawler + type MemoryDeleteResponse struct + ChunksDeleted int64 + JSON struct{ ... } + Message string + ResourceID string + Source MemoryDeleteResponseSource + Success bool + func (r *MemoryDeleteResponse) UnmarshalJSON(data []byte) error + func (r MemoryDeleteResponse) RawJSON() string + type MemoryDeleteResponseSource string + const MemoryDeleteResponseSourceBox + const MemoryDeleteResponseSourceDropbox + const MemoryDeleteResponseSourceGitHub + const MemoryDeleteResponseSourceGmailActions + const MemoryDeleteResponseSourceGoogleCalendar + const MemoryDeleteResponseSourceGoogleDrive + const MemoryDeleteResponseSourceGoogleMail + const MemoryDeleteResponseSourceMicrosoftTeams + const MemoryDeleteResponseSourceNotion + const MemoryDeleteResponseSourceReddit + const MemoryDeleteResponseSourceSlack + const MemoryDeleteResponseSourceTrace + const MemoryDeleteResponseSourceVault + const MemoryDeleteResponseSourceWebCrawler + type MemoryGetParams struct + Source MemoryGetParamsSource + type MemoryGetParamsSource string + const MemoryGetParamsSourceBox + const MemoryGetParamsSourceDropbox + const MemoryGetParamsSourceGitHub + const MemoryGetParamsSourceGmailActions + const MemoryGetParamsSourceGoogleCalendar + const MemoryGetParamsSourceGoogleDrive + const MemoryGetParamsSourceGoogleMail + const MemoryGetParamsSourceMicrosoftTeams + const MemoryGetParamsSourceNotion + const MemoryGetParamsSourceReddit + const MemoryGetParamsSourceSlack + const MemoryGetParamsSourceTrace + const MemoryGetParamsSourceVault + const MemoryGetParamsSourceWebCrawler + type MemoryListParams struct + Collection param.Opt[string] + Cursor param.Opt[string] + Filter param.Opt[string] + Size param.Opt[int64] + Source MemoryListParamsSource + Status MemoryListParamsStatus + func (r MemoryListParams) URLQuery() (v url.Values, err error) + type MemoryListParamsSource string + const MemoryListParamsSourceBox + const MemoryListParamsSourceDropbox + const MemoryListParamsSourceGitHub + const MemoryListParamsSourceGmailActions + const MemoryListParamsSourceGoogleCalendar + const MemoryListParamsSourceGoogleDrive + const MemoryListParamsSourceGoogleMail + const MemoryListParamsSourceMicrosoftTeams + const MemoryListParamsSourceNotion + const MemoryListParamsSourceReddit + const MemoryListParamsSourceSlack + const MemoryListParamsSourceTrace + const MemoryListParamsSourceVault + const MemoryListParamsSourceWebCrawler + type MemoryListParamsStatus string + const MemoryListParamsStatusCompleted + const MemoryListParamsStatusFailed + const MemoryListParamsStatusPending + const MemoryListParamsStatusPendingReview + const MemoryListParamsStatusProcessing + const MemoryListParamsStatusSkipped + type MemorySearchParams struct + Answer param.Opt[bool] + Effort param.Opt[int64] + MaxResults param.Opt[int64] + Options MemorySearchParamsOptions + Query string + Sources []string + func (r *MemorySearchParams) UnmarshalJSON(data []byte) error + func (r MemorySearchParams) MarshalJSON() (data []byte, err error) + type MemorySearchParamsOptions struct + After param.Opt[time.Time] + AnswerModel string + Before param.Opt[time.Time] + Box MemorySearchParamsOptionsBox + Filter map[string]any + GoogleCalendar MemorySearchParamsOptionsGoogleCalendar + GoogleDrive MemorySearchParamsOptionsGoogleDrive + GoogleMail MemorySearchParamsOptionsGoogleMail + MaxResults param.Opt[int64] + MemoryTypes []string + Notion MemorySearchParamsOptionsNotion + Reddit MemorySearchParamsOptionsReddit + ResourceIDs []string + Slack MemorySearchParamsOptionsSlack + Vault MemorySearchParamsOptionsVault + WebCrawler MemorySearchParamsOptionsWebCrawler + func (r *MemorySearchParamsOptions) UnmarshalJSON(data []byte) error + func (r MemorySearchParamsOptions) MarshalJSON() (data []byte, err error) + type MemorySearchParamsOptionsBox struct + Weight param.Opt[float64] + func (r *MemorySearchParamsOptionsBox) UnmarshalJSON(data []byte) error + func (r MemorySearchParamsOptionsBox) MarshalJSON() (data []byte, err error) + type MemorySearchParamsOptionsGoogleCalendar struct + CalendarID param.Opt[string] + Weight param.Opt[float64] + func (r *MemorySearchParamsOptionsGoogleCalendar) UnmarshalJSON(data []byte) error + func (r MemorySearchParamsOptionsGoogleCalendar) MarshalJSON() (data []byte, err error) + type MemorySearchParamsOptionsGoogleDrive struct + Weight param.Opt[float64] + func (r *MemorySearchParamsOptionsGoogleDrive) UnmarshalJSON(data []byte) error + func (r MemorySearchParamsOptionsGoogleDrive) MarshalJSON() (data []byte, err error) + type MemorySearchParamsOptionsGoogleMail struct + LabelIDs []string + Weight param.Opt[float64] + func (r *MemorySearchParamsOptionsGoogleMail) UnmarshalJSON(data []byte) error + func (r MemorySearchParamsOptionsGoogleMail) MarshalJSON() (data []byte, err error) + type MemorySearchParamsOptionsNotion struct + NotionPageIDs []string + Weight param.Opt[float64] + func (r *MemorySearchParamsOptionsNotion) UnmarshalJSON(data []byte) error + func (r MemorySearchParamsOptionsNotion) MarshalJSON() (data []byte, err error) + type MemorySearchParamsOptionsReddit struct + Period string + Sort string + Subreddit param.Opt[string] + Weight param.Opt[float64] + func (r *MemorySearchParamsOptionsReddit) UnmarshalJSON(data []byte) error + func (r MemorySearchParamsOptionsReddit) MarshalJSON() (data []byte, err error) + type MemorySearchParamsOptionsSlack struct + Channels []string + ExcludeArchived param.Opt[bool] + IncludeDms param.Opt[bool] + IncludeGroupDms param.Opt[bool] + IncludePrivate param.Opt[bool] + Weight param.Opt[float64] + func (r *MemorySearchParamsOptionsSlack) UnmarshalJSON(data []byte) error + func (r MemorySearchParamsOptionsSlack) MarshalJSON() (data []byte, err error) + type MemorySearchParamsOptionsVault struct + Weight param.Opt[float64] + func (r *MemorySearchParamsOptionsVault) UnmarshalJSON(data []byte) error + func (r MemorySearchParamsOptionsVault) MarshalJSON() (data []byte, err error) + type MemorySearchParamsOptionsWebCrawler struct + MaxDepth param.Opt[int64] + URL param.Opt[string] + Weight param.Opt[float64] + func (r *MemorySearchParamsOptionsWebCrawler) UnmarshalJSON(data []byte) error + func (r MemorySearchParamsOptionsWebCrawler) MarshalJSON() (data []byte, err error) + type MemoryService struct + func NewMemoryService(opts ...option.RequestOption) (r MemoryService) + func (r *MemoryService) Add(ctx context.Context, body MemoryAddParams, opts ...option.RequestOption) (res *MemoryStatus, err error) + func (r *MemoryService) AddBulk(ctx context.Context, body MemoryAddBulkParams, opts ...option.RequestOption) (res *MemoryAddBulkResponse, err error) + func (r *MemoryService) Delete(ctx context.Context, resourceID string, body MemoryDeleteParams, ...) (res *MemoryDeleteResponse, err error) + func (r *MemoryService) Get(ctx context.Context, resourceID string, query MemoryGetParams, ...) (res *Memory, err error) + func (r *MemoryService) List(ctx context.Context, query MemoryListParams, opts ...option.RequestOption) (res *pagination.CursorPage[shared.Resource], err error) + func (r *MemoryService) ListAutoPaging(ctx context.Context, query MemoryListParams, opts ...option.RequestOption) *pagination.CursorPageAutoPager[shared.Resource] + func (r *MemoryService) Search(ctx context.Context, body MemorySearchParams, opts ...option.RequestOption) (res *shared.QueryResult, err error) + func (r *MemoryService) Status(ctx context.Context, opts ...option.RequestOption) (res *MemoryStatusResponse, err error) + func (r *MemoryService) Update(ctx context.Context, resourceID string, params MemoryUpdateParams, ...) (res *MemoryStatus, err error) + func (r *MemoryService) Upload(ctx context.Context, body MemoryUploadParams, opts ...option.RequestOption) (res *MemoryStatus, err error) + type MemorySource string + const MemorySourceBox + const MemorySourceDropbox + const MemorySourceGitHub + const MemorySourceGmailActions + const MemorySourceGoogleCalendar + const MemorySourceGoogleDrive + const MemorySourceGoogleMail + const MemorySourceMicrosoftTeams + const MemorySourceNotion + const MemorySourceReddit + const MemorySourceSlack + const MemorySourceTrace + const MemorySourceVault + const MemorySourceWebCrawler + type MemoryStatus struct + JSON struct{ ... } + ResourceID string + Source MemoryStatusSource + Status MemoryStatusStatus + func (r *MemoryStatus) UnmarshalJSON(data []byte) error + func (r MemoryStatus) RawJSON() string + type MemoryStatusResponse struct + JSON struct{ ... } + Providers map[string]map[string]int64 + Total map[string]int64 + func (r *MemoryStatusResponse) UnmarshalJSON(data []byte) error + func (r MemoryStatusResponse) RawJSON() string + type MemoryStatusSource string + const MemoryStatusSourceBox + const MemoryStatusSourceDropbox + const MemoryStatusSourceGitHub + const MemoryStatusSourceGmailActions + const MemoryStatusSourceGoogleCalendar + const MemoryStatusSourceGoogleDrive + const MemoryStatusSourceGoogleMail + const MemoryStatusSourceMicrosoftTeams + const MemoryStatusSourceNotion + const MemoryStatusSourceReddit + const MemoryStatusSourceSlack + const MemoryStatusSourceTrace + const MemoryStatusSourceVault + const MemoryStatusSourceWebCrawler + type MemoryStatusStatus string + const MemoryStatusStatusCompleted + const MemoryStatusStatusFailed + const MemoryStatusStatusPending + const MemoryStatusStatusPendingReview + const MemoryStatusStatusProcessing + const MemoryStatusStatusSkipped + type MemoryUpdateParams struct + Collection any + Metadata map[string]MemoryUpdateParamsMetadataUnion + Source MemoryUpdateParamsSource + Text any + Title any + func (r *MemoryUpdateParams) UnmarshalJSON(data []byte) error + func (r MemoryUpdateParams) MarshalJSON() (data []byte, err error) + type MemoryUpdateParamsMetadataUnion struct + OfBool param.Opt[bool] + OfFloat param.Opt[float64] + OfString param.Opt[string] + func (u *MemoryUpdateParamsMetadataUnion) UnmarshalJSON(data []byte) error + func (u MemoryUpdateParamsMetadataUnion) MarshalJSON() ([]byte, error) + type MemoryUpdateParamsSource string + const MemoryUpdateParamsSourceBox + const MemoryUpdateParamsSourceDropbox + const MemoryUpdateParamsSourceGitHub + const MemoryUpdateParamsSourceGmailActions + const MemoryUpdateParamsSourceGoogleCalendar + const MemoryUpdateParamsSourceGoogleDrive + const MemoryUpdateParamsSourceGoogleMail + const MemoryUpdateParamsSourceMicrosoftTeams + const MemoryUpdateParamsSourceNotion + const MemoryUpdateParamsSourceReddit + const MemoryUpdateParamsSourceSlack + const MemoryUpdateParamsSourceTrace + const MemoryUpdateParamsSourceVault + const MemoryUpdateParamsSourceWebCrawler + type MemoryUploadParams struct + Collection param.Opt[string] + File io.Reader + Metadata param.Opt[string] + func (r MemoryUploadParams) MarshalMultipart() (data []byte, contentType string, err error) + type Metadata = shared.Metadata + type MetadataStatus = shared.MetadataStatus + type Notification = shared.Notification + type NotificationType = shared.NotificationType + type QueryResult = shared.QueryResult + type Resource = shared.Resource + type ResourceSource = shared.ResourceSource + type SessionAddParams struct + Date param.Opt[time.Time] + Extract []string + Format SessionAddParamsFormat + History string + Metadata map[string]SessionAddParamsMetadataUnion + SessionID param.Opt[string] + Title param.Opt[string] + func (r *SessionAddParams) UnmarshalJSON(data []byte) error + func (r SessionAddParams) MarshalJSON() (data []byte, err error) + type SessionAddParamsFormat string + const SessionAddParamsFormatHyperdoc + const SessionAddParamsFormatOpenclaw + const SessionAddParamsFormatVercel + type SessionAddParamsMetadataUnion struct + OfBool param.Opt[bool] + OfFloat param.Opt[float64] + OfString param.Opt[string] + func (u *SessionAddParamsMetadataUnion) UnmarshalJSON(data []byte) error + func (u SessionAddParamsMetadataUnion) MarshalJSON() ([]byte, error) + type SessionService struct + func NewSessionService(opts ...option.RequestOption) (r SessionService) + func (r *SessionService) Add(ctx context.Context, body SessionAddParams, opts ...option.RequestOption) (res *MemoryStatus, err error) + type Token struct + ExpiresAt time.Time + JSON struct{ ... } + Token string + func (r *Token) UnmarshalJSON(data []byte) error + func (r Token) RawJSON() string + type VaultListParams struct + Cursor param.Opt[string] + Size param.Opt[int64] + func (r VaultListParams) URLQuery() (v url.Values, err error) + type VaultListResponse struct + Collection string + DocumentCount int64 + JSON struct{ ... } + func (r *VaultListResponse) UnmarshalJSON(data []byte) error + func (r VaultListResponse) RawJSON() string + type VaultService struct + func NewVaultService(opts ...option.RequestOption) (r VaultService) + func (r *VaultService) List(ctx context.Context, query VaultListParams, opts ...option.RequestOption) (res *pagination.CursorPage[VaultListResponse], err error) + func (r *VaultService) ListAutoPaging(ctx context.Context, query VaultListParams, opts ...option.RequestOption) *pagination.CursorPageAutoPager[VaultListResponse]