# AI Search now in our SDK!

**URL:** <https://community.dotcms.com/t/ai-search-now-in-our-sdk/274>\
**Category:** Announcements\
**Tags:** ai, developer, headless, new-feature\
**Created:** [March 5, 2026, 10:18pm UTC](https://community.dotcms.com/t/ai-search-now-in-our-sdk/274 "2026-03-05T22:18:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarcBoutillette](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.dotcms.com/marcboutillette/32/16_2.png) [@MarcBoutillette](https://community.dotcms.com/u/MarcBoutillette)\
**Post date:** [March 5, 2026, 10:18pm UTC](https://community.dotcms.com/t/ai-search-now-in-our-sdk/274/1 "2026-03-05T22:18:34Z")

</div>

Until now, adding AI-powered search to a headless dotCMS application meant working directly with the dotAI REST endpoints — handling authentication, constructing request payloads, and parsing responses by hand. It worked, but it required meaningful setup time on every project. We heard that feedback, and with the latest release of `@dotcms/client` (v1.3.0), we’ve made it significantly easier.

The new `client.ai.search()` method gives developers a clean, typed interface to dotAI’s semantic search — no manual REST work required. Pass a natural language query and your index name, and you get back ranked, contextually relevant content results. It supports configurable similarity thresholds, multiple distance functions, content type filtering, and full TypeScript type safety. For React projects, working examples in our Next.js starter show both full-text search and related content patterns you can adapt immediately. It’s available now at no additional charge for all Evergreen headless customers with dotAI enabled.

Learn more in the documentation:

- [How to Use AI-Powered Search](https://dev.dotcms.com/docs/sdk-client-library#how-to-use-ai-powered-search)
- [v1.3.0 Changelog: AI Search API](https://dev.dotcms.com/docs/sdk-client-library#-added---ai-search-api-experimental)

---

<div class="post-metadata">

**Author:** ![MarcBoutillette](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.dotcms.com/marcboutillette/32/16_2.png) [@MarcBoutillette](https://community.dotcms.com/u/MarcBoutillette)\
**Post date:** [March 5, 2026, 10:19pm UTC](https://community.dotcms.com/t/ai-search-now-in-our-sdk/274/2 "2026-03-05T22:19:27Z")

</div>

Let us know if you try it out for your headless app!
