Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algolia/algoliasearch-client-javascript
/ functions
Functions
918 in github.com/algolia/algoliasearch-client-javascript
⨍
Functions
918
◇
Types & classes
20
↓ 1 callers
Function
getDefaultHosts
(region: Region)
packages/advanced-personalization/src/advancedPersonalizationClient.ts:41
↓ 1 callers
Function
getDefaultHosts
(region: Region)
packages/client-query-suggestions/src/querySuggestionsClient.ts:38
↓ 1 callers
Function
getDefaultHosts
(region?: Region | undefined)
packages/client-analytics/src/analyticsClient.ts:75
↓ 1 callers
Function
getDefaultHosts
(appId: string)
packages/agent-studio/src/agentStudioClient.ts:74
↓ 1 callers
Function
getDefaultHosts
(appId: string)
packages/recommend/src/recommendClient.ts:37
↓ 1 callers
Function
getDefaultHosts
(region?: Region | undefined)
packages/client-insights/src/insightsClient.ts:31
↓ 1 callers
Function
getDefaultHosts
()
packages/monitoring/src/monitoringClient.ts:36
↓ 1 callers
Function
getDefaultHosts
(appId: string)
packages/algoliasearch/lite/src/liteClient.ts:30
↓ 1 callers
Function
getErrorMessage
(error: unknown, abortContent: string)
packages/requester-fetch/src/createFetchRequester.ts:7
↓ 1 callers
Function
getFilteredNamespace
()
packages/client-common/src/cache/createBrowserLocalStorageCache.ts:28
↓ 1 callers
Function
getLastCorrelationId
(stackTrace: StackFrame[])
packages/client-common/src/transporter/helpers.ts:122
↓ 1 callers
Function
getTimeout
(timeoutsCount: number, baseTimeout: number)
packages/client-common/src/transporter/createTransporter.ts:85
↓ 1 callers
Function
hasRequestId
(headers: Headers | undefined, queryParameters: QueryParameters | undefined)
packages/client-common/src/transporter/requestId.ts:26
↓ 1 callers
Function
isNetworkError
({ isTimedOut, status }: Omit<Response, 'content'>)
packages/client-common/src/transporter/responses.ts:3
↓ 1 callers
Function
isRetryable
({ isTimedOut, status }: Omit<Response, 'content'>)
packages/client-common/src/transporter/responses.ts:7
↓ 1 callers
Function
isSuccess
({ status }: Pick<Response, 'status'>)
packages/client-common/src/transporter/responses.ts:11
↓ 1 callers
Function
iterLines
* 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 callers
Function
makeTransporter
(opts: { compress?: (data: string) => Promise<Uint8Array>; compression?: 'gzip'; logger?: Logger; onRe
packages/client-common/src/__tests__/transporter/compression.test.ts:20
↓ 1 callers
Function
parseResponseHeaders
(rawHeaders: string)
packages/requester-browser-xhr/src/createXhrRequester.ts:5
↓ 1 callers
Function
publish
()
scripts/publish.ts:3
↓ 1 callers
Function
pushToStackTrace
(response: Response)
packages/client-common/src/transporter/createTransporter.ts:201
↓ 1 callers
Function
readableStreamToAsyncIterable
* Converts a ReadableStream into an AsyncIterable via getReader(). * Fallback for environments where ReadableStream lacks Symbol.asyncIterator.
packages/client-common/src/sse.ts:49
↓ 1 callers
Function
retry
(previousResponse?: TResponse | undefined)
packages/client-common/src/createIterablePromise.ts:20
↓ 1 callers
Function
retry
( retryableHosts: Host[], getTimeout: (timeoutsCount: number, timeout: number) => number, )
packages/client-common/src/transporter/createTransporter.ts:173
↓ 1 callers
Function
sentQueryParameterId
(endRequest: EndRequest)
packages/client-common/src/__tests__/transporter/requestIdChannel.test.ts:52
↓ 1 callers
Function
setNamespace
(namespace: Record<string, any>)
packages/client-common/src/cache/createBrowserLocalStorageCache.ts:20
↓ 1 callers
Function
stackTraceWithoutCredentials
(stackTrace: StackFrame[])
packages/client-common/src/transporter/stackTrace.ts:3
↓ 1 callers
Function
toAsyncIterable
* Normalizes the input to an AsyncIterable<Uint8Array>. * Prefers Symbol.asyncIterator if available; falls back to getReader().
packages/client-common/src/sse.ts:66
↓ 1 callers
Function
toResponseHeaders
(incomingHeaders: http.IncomingHttpHeaders)
packages/requester-node-http/src/createHttpRequester.ts:24
↓ 1 callers
Function
toStream
Encode each string argument as a separate Uint8Array chunk in an AsyncIterable.
packages/client-common/src/__tests__/sse.test.ts:8
↓ 1 callers
Function
transporter
(requestIdChannel?: 'headers' | 'queryParameters')
packages/client-common/src/__tests__/transporter/requestId.test.ts:47
↓ 1 callers
Function
waitForBatch
(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
Function
abtestingClient
( appId: string, apiKey: string, region?: Region | undefined, options?: ClientOptions | undefined, )
packages/client-abtesting/builds/browser.ts:24
Function
abtestingClient
( appId: string, apiKey: string, region?: Region | undefined, options?: ClientOptions | undefined, )
packages/client-abtesting/builds/worker.ts:21
Function
abtestingClient
( appId: string, apiKey: string, region?: Region | undefined, options?: ClientOptions | undefined, )
packages/client-abtesting/builds/fetch.ts:23
Function
abtestingV3Client
( appId: string, apiKey: string, region?: Region | undefined, options?: ClientOptions | undefined, )
packages/abtesting/builds/browser.ts:24
Function
abtestingV3Client
( appId: string, apiKey: string, region?: Region | undefined, options?: ClientOptions | undefined, )
packages/abtesting/builds/worker.ts:21
Function
abtestingV3Client
( appId: string, apiKey: string, region?: Region | undefined, options?: ClientOptions | undefined, )
packages/abtesting/builds/fetch.ts:23
Function
accountCopyIndex
* 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
Function
accountCopyIndex
* 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
Function
add
(options: AlgoliaAgentOptions)
packages/client-common/src/createAlgoliaAgent.ts:6
Function
addABTests
* Creates a new A/B test. * * Required API Key ACLs: * - editSettings * @param addABTestsRequest - The addABTestsRequest object.
packages/abtesting/src/abtestingV3Client.ts:133
Function
addABTests
* Creates a new A/B test. * * Required API Key ACLs: * - editSettings * @param addABTestsRequest - The addABTestsRequest object.
packages/client-abtesting/src/abtestingClient.ts:131
Function
addABTestsWithHTTPInfo
* 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
Function
addABTestsWithHTTPInfo
* 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
Function
addAlgoliaAgent
* 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
Function
addAlgoliaAgent
* 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
Function
addAlgoliaAgent
* 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
Function
addAlgoliaAgent
* 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
Function
addAlgoliaAgent
* 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
Function
addAlgoliaAgent
* 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
Function
addAlgoliaAgent
* 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
Function
addAlgoliaAgent
* 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
Function
addAlgoliaAgent
* 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
Function
addAlgoliaAgent
* 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
Function
addAlgoliaAgent
* 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
Function
addAlgoliaAgent
* 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
Function
addAlgoliaAgent
* 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
Function
addAlgoliaAgent
* 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
Function
addApiKey
* 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
Function
addApiKeyWithHTTPInfo
* 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
Function
addOrUpdateObject
* 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
Function
addOrUpdateObjectWithHTTPInfo
* 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
Function
advancedPersonalizationClient
( appId: string, apiKey: string, region: Region, options?: ClientOptions | undefined, )
packages/advanced-personalization/builds/browser.ts:24
Function
advancedPersonalizationClient
( appId: string, apiKey: string, region: Region, options?: ClientOptions | undefined, )
packages/advanced-personalization/builds/node.ts:23
Function
advancedPersonalizationClient
( appId: string, apiKey: string, region: Region, options?: ClientOptions | undefined, )
packages/advanced-personalization/builds/worker.ts:21
Function
advancedPersonalizationClient
( appId: string, apiKey: string, region: Region, options?: ClientOptions | undefined, )
packages/advanced-personalization/builds/fetch.ts:23
Function
agentStudioClient
( appId: string, apiKey: string, options?: ClientOptions | undefined, )
packages/agent-studio/builds/browser.ts:19
Function
agentStudioClient
( appId: string, apiKey: string, options?: ClientOptions | undefined, )
packages/agent-studio/builds/worker.ts:16
Function
agentStudioClient
( appId: string, apiKey: string, options?: ClientOptions | undefined, )
packages/agent-studio/builds/fetch.ts:22
Function
aggregator
(response: SearchRulesResponse)
packages/client-search/builds/fetch.ts:175
Function
analyticsClient
( appId: string, apiKey: string, region?: Region | undefined, options?: ClientOptions | undefined, )
packages/client-analytics/builds/browser.ts:24
Function
analyticsClient
( appId: string, apiKey: string, region?: Region | undefined, options?: ClientOptions | undefined, )
packages/client-analytics/builds/worker.ts:21
Function
analyticsClient
( appId: string, apiKey: string, region?: Region | undefined, options?: ClientOptions | undefined, )
packages/client-analytics/builds/fetch.ts:23
Function
appendSource
* 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
Function
appendSourceWithHTTPInfo
* 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
Function
assignUserId
* 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
Function
assignUserIdWithHTTPInfo
* 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
Function
batch
* 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
Function
batchAssignUserIds
* 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
Function
batchAssignUserIdsWithHTTPInfo
* 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
← previous
next →
101–200 of 918, ranked by callers