---
name: webiny-api-opensearch-catalog
context: webiny-api
description: >
  api/opensearch — 4 abstractions.
---

# api/opensearch

## How to Use

1. Find the abstraction you need below
2. You MUST read the source file to get the exact interface and types!
3. Import: `import { Name } from "<importPath>";`
4. See `webiny-use-case-pattern` or `webiny-event-handler-pattern` skills for implementation patterns

## Abstractions

---
**Name:** `createOpenSearchClient`
**Import:** `import { createOpenSearchClient } from "webiny/api/opensearch"`
**Source:** `@webiny/api-opensearch/client.ts`

---
**Name:** `OpenSearchClient`
**Import:** `import { OpenSearchClient } from "webiny/api/opensearch"`
**Source:** `@webiny/api-opensearch/features/OpenSearchClient/abstraction.ts`

---
**Name:** `OpenSearchClientFactory`
**Import:** `import { OpenSearchClientFactory } from "webiny/api/opensearch"`
**Source:** `@webiny/api-opensearch/features/OpenSearchClientFactory/abstraction.ts`

---
**Name:** `OpenSearchContext`
**Import:** `import { OpenSearchContext } from "webiny/api/opensearch"`
**Source:** `@webiny/api-opensearch/features/OpenSearchContext/abstraction.ts`

---
