MCPcopy Create free account

hub / github.com/algolia/algoliasearch-client-javascript / functions

Functions918 in github.com/algolia/algoliasearch-client-javascript

↓ 1 callersFunctiongetDefaultHosts
(region: Region)
packages/advanced-personalization/src/advancedPersonalizationClient.ts:41
↓ 1 callersFunctiongetDefaultHosts
(region: Region)
packages/client-query-suggestions/src/querySuggestionsClient.ts:38
↓ 1 callersFunctiongetDefaultHosts
(region?: Region | undefined)
packages/client-analytics/src/analyticsClient.ts:75
↓ 1 callersFunctiongetDefaultHosts
(appId: string)
packages/agent-studio/src/agentStudioClient.ts:74
↓ 1 callersFunctiongetDefaultHosts
(appId: string)
packages/recommend/src/recommendClient.ts:37
↓ 1 callersFunctiongetDefaultHosts
(region?: Region | undefined)
packages/client-insights/src/insightsClient.ts:31
↓ 1 callersFunctiongetDefaultHosts
()
packages/monitoring/src/monitoringClient.ts:36
↓ 1 callersFunctiongetDefaultHosts
(appId: string)
packages/algoliasearch/lite/src/liteClient.ts:30
↓ 1 callersFunctiongetErrorMessage
(error: unknown, abortContent: string)
packages/requester-fetch/src/createFetchRequester.ts:7
↓ 1 callersFunctiongetFilteredNamespace
()
packages/client-common/src/cache/createBrowserLocalStorageCache.ts:28
↓ 1 callersFunctiongetLastCorrelationId
(stackTrace: StackFrame[])
packages/client-common/src/transporter/helpers.ts:122
↓ 1 callersFunctiongetTimeout
(timeoutsCount: number, baseTimeout: number)
packages/client-common/src/transporter/createTransporter.ts:85
↓ 1 callersFunctionhasRequestId
(headers: Headers | undefined, queryParameters: QueryParameters | undefined)
packages/client-common/src/transporter/requestId.ts:26
↓ 1 callersFunctionisNetworkError
({ isTimedOut, status }: Omit<Response, 'content'>)
packages/client-common/src/transporter/responses.ts:3
↓ 1 callersFunctionisRetryable
({ isTimedOut, status }: Omit<Response, 'content'>)
packages/client-common/src/transporter/responses.ts:7
↓ 1 callersFunctionisSuccess
({ status }: Pick<Response, 'status'>)
packages/client-common/src/transporter/responses.ts:11
↓ 1 callersFunctioniterLines
* Yields individual lines from a byte stream. * * Handles \r, \n, and \r\n line endings, including \r\n split across chunks. * Uses offset tracking
packages/client-common/src/sse.ts:83
↓ 1 callersFunctionmakeTransporter
(opts: { compress?: (data: string) => Promise<Uint8Array>; compression?: 'gzip'; logger?: Logger; onRe
packages/client-common/src/__tests__/transporter/compression.test.ts:20
↓ 1 callersFunctionparseResponseHeaders
(rawHeaders: string)
packages/requester-browser-xhr/src/createXhrRequester.ts:5
↓ 1 callersFunctionpublish
()
scripts/publish.ts:3
↓ 1 callersFunctionpushToStackTrace
(response: Response)
packages/client-common/src/transporter/createTransporter.ts:201
↓ 1 callersFunctionreadableStreamToAsyncIterable
* Converts a ReadableStream into an AsyncIterable via getReader(). * Fallback for environments where ReadableStream lacks Symbol.asyncIterator.
packages/client-common/src/sse.ts:49
↓ 1 callersFunctionretry
(previousResponse?: TResponse | undefined)
packages/client-common/src/createIterablePromise.ts:20
↓ 1 callersFunctionretry
( retryableHosts: Host[], getTimeout: (timeoutsCount: number, timeout: number) => number, )
packages/client-common/src/transporter/createTransporter.ts:173
↓ 1 callersFunctionsentQueryParameterId
(endRequest: EndRequest)
packages/client-common/src/__tests__/transporter/requestIdChannel.test.ts:52
↓ 1 callersFunctionsetNamespace
(namespace: Record<string, any>)
packages/client-common/src/cache/createBrowserLocalStorageCache.ts:20
↓ 1 callersFunctionstackTraceWithoutCredentials
(stackTrace: StackFrame[])
packages/client-common/src/transporter/stackTrace.ts:3
↓ 1 callersFunctiontoAsyncIterable
* Normalizes the input to an AsyncIterable<Uint8Array>. * Prefers Symbol.asyncIterator if available; falls back to getReader().
packages/client-common/src/sse.ts:66
↓ 1 callersFunctiontoResponseHeaders
(incomingHeaders: http.IncomingHttpHeaders)
packages/requester-node-http/src/createHttpRequester.ts:24
↓ 1 callersFunctiontoStream
Encode each string argument as a separate Uint8Array chunk in an AsyncIterable.
packages/client-common/src/__tests__/sse.test.ts:8
↓ 1 callersFunctiontransporter
(requestIdChannel?: 'headers' | 'queryParameters')
packages/client-common/src/__tests__/transporter/requestId.test.ts:47
↓ 1 callersFunctionwaitForBatch
(start: number, end: number)
packages/ingestion/src/ingestionClient.ts:278
Function[Symbol.asyncIterator]
()
packages/client-common/src/__tests__/sse.test.ts:11
Function_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/client-personalization/src/personalizationClient.ts:91
Function_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/abtesting/src/abtestingV3Client.ts:97
Function_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/client-search/src/searchClient.ts:224
Function_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/composition/src/compositionClient.ts:142
Function_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/client-abtesting/src/abtestingClient.ts:95
Function_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/ingestion/src/ingestionClient.ts:214
Function_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/advanced-personalization/src/advancedPersonalizationClient.ts:98
Function_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/client-query-suggestions/src/querySuggestionsClient.ts:95
Function_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/client-analytics/src/analyticsClient.ts:132
Function_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/agent-studio/src/agentStudioClient.ts:159
Function_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/recommend/src/recommendClient.ts:122
Function_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/client-insights/src/insightsClient.ts:88
Function_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/monitoring/src/monitoringClient.ts:90
Function_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/algoliasearch/lite/src/liteClient.ts:115
Function_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/algoliasearch/builds/browser.ts:322
Function_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/algoliasearch/builds/node.ts:322
Function_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/algoliasearch/builds/worker.ts:322
Function_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/algoliasearch/builds/fetch.ts:322
FunctionabtestingClient
( appId: string, apiKey: string, region?: Region | undefined, options?: ClientOptions | undefined, )
packages/client-abtesting/builds/browser.ts:24
FunctionabtestingClient
( appId: string, apiKey: string, region?: Region | undefined, options?: ClientOptions | undefined, )
packages/client-abtesting/builds/worker.ts:21
FunctionabtestingClient
( appId: string, apiKey: string, region?: Region | undefined, options?: ClientOptions | undefined, )
packages/client-abtesting/builds/fetch.ts:23
FunctionabtestingV3Client
( appId: string, apiKey: string, region?: Region | undefined, options?: ClientOptions | undefined, )
packages/abtesting/builds/browser.ts:24
FunctionabtestingV3Client
( appId: string, apiKey: string, region?: Region | undefined, options?: ClientOptions | undefined, )
packages/abtesting/builds/worker.ts:21
FunctionabtestingV3Client
( appId: string, apiKey: string, region?: Region | undefined, options?: ClientOptions | undefined, )
packages/abtesting/builds/fetch.ts:23
FunctionaccountCopyIndex
* Helper: Copies the given `sourceIndexName` records, rules and synonyms to an other Algolia application for the given `destinationIndexName`. *
packages/client-search/builds/node.ts:118
FunctionaccountCopyIndex
* Helper: Copies the given `sourceIndexName` records, rules and synonyms to an other Algolia application for the given `destinationIndexName`. *
packages/client-search/builds/fetch.ts:119
Functionadd
(options: AlgoliaAgentOptions)
packages/client-common/src/createAlgoliaAgent.ts:6
FunctionaddABTests
* Creates a new A/B test. * * Required API Key ACLs: * - editSettings * @param addABTestsRequest - The addABTestsRequest object.
packages/abtesting/src/abtestingV3Client.ts:133
FunctionaddABTests
* Creates a new A/B test. * * Required API Key ACLs: * - editSettings * @param addABTestsRequest - The addABTestsRequest object.
packages/client-abtesting/src/abtestingClient.ts:131
FunctionaddABTestsWithHTTPInfo
* Creates a new A/B test. * * Resolves with the full HTTP response information: status code, headers (when the requester captures them), raw
packages/abtesting/src/abtestingV3Client.ts:166
FunctionaddABTestsWithHTTPInfo
* Creates a new A/B test. * * Resolves with the full HTTP response information: status code, headers (when the requester captures them), raw
packages/client-abtesting/src/abtestingClient.ts:163
FunctionaddAlgoliaAgent
* Adds a `segment` to the `x-algolia-agent` sent with every requests. * * @param segment - The algolia agent (user-agent) segment to add.
packages/client-personalization/src/personalizationClient.ts:101
FunctionaddAlgoliaAgent
* Adds a `segment` to the `x-algolia-agent` sent with every requests. * * @param segment - The algolia agent (user-agent) segment to add.
packages/abtesting/src/abtestingV3Client.ts:107
FunctionaddAlgoliaAgent
* Adds a `segment` to the `x-algolia-agent` sent with every requests. * * @param segment - The algolia agent (user-agent) segment to add.
packages/client-search/src/searchClient.ts:234
FunctionaddAlgoliaAgent
* Adds a `segment` to the `x-algolia-agent` sent with every requests. * * @param segment - The algolia agent (user-agent) segment to add.
packages/composition/src/compositionClient.ts:152
FunctionaddAlgoliaAgent
* Adds a `segment` to the `x-algolia-agent` sent with every requests. * * @param segment - The algolia agent (user-agent) segment to add.
packages/client-abtesting/src/abtestingClient.ts:105
FunctionaddAlgoliaAgent
* Adds a `segment` to the `x-algolia-agent` sent with every requests. * * @param segment - The algolia agent (user-agent) segment to add.
packages/ingestion/src/ingestionClient.ts:224
FunctionaddAlgoliaAgent
* Adds a `segment` to the `x-algolia-agent` sent with every requests. * * @param segment - The algolia agent (user-agent) segment to add.
packages/advanced-personalization/src/advancedPersonalizationClient.ts:108
FunctionaddAlgoliaAgent
* Adds a `segment` to the `x-algolia-agent` sent with every requests. * * @param segment - The algolia agent (user-agent) segment to add.
packages/client-query-suggestions/src/querySuggestionsClient.ts:105
FunctionaddAlgoliaAgent
* Adds a `segment` to the `x-algolia-agent` sent with every requests. * * @param segment - The algolia agent (user-agent) segment to add.
packages/client-analytics/src/analyticsClient.ts:142
FunctionaddAlgoliaAgent
* Adds a `segment` to the `x-algolia-agent` sent with every requests. * * @param segment - The algolia agent (user-agent) segment to add.
packages/agent-studio/src/agentStudioClient.ts:169
FunctionaddAlgoliaAgent
* Adds a `segment` to the `x-algolia-agent` sent with every requests. * * @param segment - The algolia agent (user-agent) segment to add.
packages/recommend/src/recommendClient.ts:132
FunctionaddAlgoliaAgent
* Adds a `segment` to the `x-algolia-agent` sent with every requests. * * @param segment - The algolia agent (user-agent) segment to add.
packages/client-insights/src/insightsClient.ts:98
FunctionaddAlgoliaAgent
* Adds a `segment` to the `x-algolia-agent` sent with every requests. * * @param segment - The algolia agent (user-agent) segment to add.
packages/monitoring/src/monitoringClient.ts:100
FunctionaddAlgoliaAgent
* Adds a `segment` to the `x-algolia-agent` sent with every requests. * * @param segment - The algolia agent (user-agent) segment to add.
packages/algoliasearch/lite/src/liteClient.ts:125
FunctionaddApiKey
* Creates a new API key with specific permissions and restrictions. * * Required API Key ACLs: * - admin * @param apiKey - The ap
packages/client-search/src/searchClient.ts:807
FunctionaddApiKeyWithHTTPInfo
* Creates a new API key with specific permissions and restrictions. * * Resolves with the full HTTP response information: status code, heade
packages/client-search/src/searchClient.ts:837
FunctionaddOrUpdateObject
* If a record with the specified object ID exists, the existing record is replaced. Otherwise, a new record is added to the index. If you want to use
packages/client-search/src/searchClient.ts:871
FunctionaddOrUpdateObjectWithHTTPInfo
* If a record with the specified object ID exists, the existing record is replaced. Otherwise, a new record is added to the index. If you want to use
packages/client-search/src/searchClient.ts:911
FunctionadvancedPersonalizationClient
( appId: string, apiKey: string, region: Region, options?: ClientOptions | undefined, )
packages/advanced-personalization/builds/browser.ts:24
FunctionadvancedPersonalizationClient
( appId: string, apiKey: string, region: Region, options?: ClientOptions | undefined, )
packages/advanced-personalization/builds/node.ts:23
FunctionadvancedPersonalizationClient
( appId: string, apiKey: string, region: Region, options?: ClientOptions | undefined, )
packages/advanced-personalization/builds/worker.ts:21
FunctionadvancedPersonalizationClient
( appId: string, apiKey: string, region: Region, options?: ClientOptions | undefined, )
packages/advanced-personalization/builds/fetch.ts:23
FunctionagentStudioClient
( appId: string, apiKey: string, options?: ClientOptions | undefined, )
packages/agent-studio/builds/browser.ts:19
FunctionagentStudioClient
( appId: string, apiKey: string, options?: ClientOptions | undefined, )
packages/agent-studio/builds/worker.ts:16
FunctionagentStudioClient
( appId: string, apiKey: string, options?: ClientOptions | undefined, )
packages/agent-studio/builds/fetch.ts:22
Functionaggregator
(response: SearchRulesResponse)
packages/client-search/builds/fetch.ts:175
FunctionanalyticsClient
( appId: string, apiKey: string, region?: Region | undefined, options?: ClientOptions | undefined, )
packages/client-analytics/builds/browser.ts:24
FunctionanalyticsClient
( appId: string, apiKey: string, region?: Region | undefined, options?: ClientOptions | undefined, )
packages/client-analytics/builds/worker.ts:21
FunctionanalyticsClient
( appId: string, apiKey: string, region?: Region | undefined, options?: ClientOptions | undefined, )
packages/client-analytics/builds/fetch.ts:23
FunctionappendSource
* Adds a source to the list of allowed sources. * * Required API Key ACLs: * - admin * @param source - Source to add. * @par
packages/client-search/src/searchClient.ts:946
FunctionappendSourceWithHTTPInfo
* Adds a source to the list of allowed sources. * * Resolves with the full HTTP response information: status code, headers (when the request
packages/client-search/src/searchClient.ts:976
FunctionassignUserId
* Assigns or moves a user ID to a cluster. The time it takes to move a user is proportional to the amount of data linked to the user ID. *
packages/client-search/src/searchClient.ts:1011
FunctionassignUserIdWithHTTPInfo
* Assigns or moves a user ID to a cluster. The time it takes to move a user is proportional to the amount of data linked to the user ID. *
packages/client-search/src/searchClient.ts:1054
Functionbatch
* Adds, updates, or deletes records in one index with a single API request. Batching index updates reduces latency and increases data integrity. - A
packages/client-search/src/searchClient.ts:1093
FunctionbatchAssignUserIds
* Assigns multiple user IDs to a cluster. **You can\'t move users with this operation**. * * Required API Key ACLs: * - admin *
packages/client-search/src/searchClient.ts:1164
FunctionbatchAssignUserIdsWithHTTPInfo
* Assigns multiple user IDs to a cluster. **You can\'t move users with this operation**. * * Resolves with the full HTTP response informati
packages/client-search/src/searchClient.ts:1208
← previousnext →101–200 of 918, ranked by callers