Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algolia/algoliasearch-client-javascript
/ functions
Functions
600 in github.com/algolia/algoliasearch-client-javascript
⨍
Functions
600
◇
Types & classes
20
↓ 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
publish
()
scripts/publish.ts:3
↓ 1 callers
Function
pushToStackTrace
(response: Response)
packages/client-common/src/transporter/createTransporter.ts:171
↓ 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:143
↓ 1 callers
Function
retryableRequest
( request: Request, requestOptions: RequestOptions, isRead: boolean, )
packages/client-common/src/transporter/createTransporter.ts:77
↓ 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
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
waitForBatch
(start: number, end: number)
packages/ingestion/src/ingestionClient.ts:277
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:90
Function
_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/abtesting/src/abtestingV3Client.ts:96
Function
_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/client-search/src/searchClient.ts:221
Function
_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/composition/src/compositionClient.ts:140
Function
_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/client-abtesting/src/abtestingClient.ts:94
Function
_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/ingestion/src/ingestionClient.ts:213
Function
_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/advanced-personalization/src/advancedPersonalizationClient.ts:97
Function
_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/client-query-suggestions/src/querySuggestionsClient.ts:94
Function
_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/client-analytics/src/analyticsClient.ts:124
Function
_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/agent-studio/src/agentStudioClient.ts:158
Function
_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/recommend/src/recommendClient.ts:121
Function
_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/client-insights/src/insightsClient.ts:87
Function
_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/monitoring/src/monitoringClient.ts:89
Function
_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/algoliasearch/lite/src/liteClient.ts:114
Function
_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/algoliasearch/builds/browser.ts:302
Function
_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/algoliasearch/builds/node.ts:302
Function
_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/algoliasearch/builds/worker.ts:302
Function
_ua
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
packages/algoliasearch/builds/fetch.ts:302
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:116
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:117
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:132
Function
addABTests
* Creates a new A/B test. * * Required API Key ACLs: * - editSettings * @param addABTestsRequest - The addABTestsRequest object.
packages/client-abtesting/src/abtestingClient.ts:130
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: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/abtesting/src/abtestingV3Client.ts:106
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:231
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:150
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:104
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:223
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: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-query-suggestions/src/querySuggestionsClient.ts:104
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:134
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:168
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:131
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:97
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:99
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:124
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:776
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:807
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:171
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:842
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:874
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:913
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:947
Function
batchDictionaryEntries
* Adds or deletes multiple entries from your plurals, segmentation, or stop word dictionaries. * * Required API Key ACLs: * - editSett
packages/client-search/src/searchClient.ts:987
Function
batchRecommendRules
* Create or update a batch of Recommend Rules Each Recommend Rule is created or updated, depending on whether a Recommend Rule with the same `objectI
packages/recommend/src/recommendClient.ts:160
Function
browse
* Retrieves records from an index, up to 1,000 per request. Searching returns _hits_ (records augmented with highlighting and ranking details). Brows
packages/client-search/src/searchClient.ts:1029
Function
browseObjects
* Helper: Iterate on the `browse` method of the client to allow aggregating objects of an index. * * @summary Helper method that iterates on
packages/client-search/src/searchClient.ts:400
Function
browseRules
* Helper: Iterate on the `searchRules` method of the client to allow aggregating rules of an index. * * @summary Helper method that iterates
packages/client-search/src/searchClient.ts:434
Function
browseSynonyms
* Helper: Iterate on the `searchSynonyms` method of the client to allow aggregating rules of an index. * * @summary Helper method that itera
packages/client-search/src/searchClient.ts:472
Function
bulkCreateAllowedDomains
* Add multiple allowed domain patterns. Duplicates are skipped. * * Required API Key ACLs: * - editSettings * @param bulkCreateAl
packages/agent-studio/src/agentStudioClient.ts:196
Function
bulkDeleteAllowedDomains
* Delete allowed domains by id list. * * Required API Key ACLs: * - editSettings * @param bulkDeleteAllowedDomains - The bulkDele
packages/agent-studio/src/agentStudioClient.ts:234
Function
chunkedBatch
* Helper: Chunks the given `objects` list in subset of 1000 elements max in order to make it fit in `batch` requests. * * @summary Helper: C
packages/client-search/src/searchClient.ts:519
Function
chunkedPush
* Helper: Chunks the given `objects` list in subset of 1000 elements max in order to make it fit in `push` requests by leveraging the Transformation p
packages/ingestion/src/ingestionClient.ts:255
Function
clear
()
packages/client-common/src/cache/createBrowserLocalStorageCache.ts:109
Function
clear
()
packages/client-common/src/cache/createNullCache.ts:25
Function
clear
()
packages/client-common/src/cache/createMemoryCache.ts:37
Function
clear
()
packages/client-common/src/cache/createFallbackableCache.ts:37
Function
clearCache
* Clears the cache of the transporter for the `requestsCache` and `responsesCache` properties.
packages/client-personalization/src/personalizationClient.ts:83
Function
clearCache
* Clears the cache of the transporter for the `requestsCache` and `responsesCache` properties.
packages/abtesting/src/abtestingV3Client.ts:89
Function
clearCache
* Clears the cache of the transporter for the `requestsCache` and `responsesCache` properties.
packages/client-search/src/searchClient.ts:214
Function
clearCache
* Clears the cache of the transporter for the `requestsCache` and `responsesCache` properties.
packages/composition/src/compositionClient.ts:133
Function
clearCache
* Clears the cache of the transporter for the `requestsCache` and `responsesCache` properties.
packages/client-abtesting/src/abtestingClient.ts:87
Function
clearCache
* Clears the cache of the transporter for the `requestsCache` and `responsesCache` properties.
packages/ingestion/src/ingestionClient.ts:206
Function
clearCache
* Clears the cache of the transporter for the `requestsCache` and `responsesCache` properties.
packages/advanced-personalization/src/advancedPersonalizationClient.ts:90
Function
clearCache
* Clears the cache of the transporter for the `requestsCache` and `responsesCache` properties.
packages/client-query-suggestions/src/querySuggestionsClient.ts:87
Function
clearCache
* Clears the cache of the transporter for the `requestsCache` and `responsesCache` properties.
packages/client-analytics/src/analyticsClient.ts:117
Function
clearCache
* Clears the cache of the transporter for the `requestsCache` and `responsesCache` properties.
packages/agent-studio/src/agentStudioClient.ts:151
← previous
next →
101–200 of 600, ranked by callers