---
title: "Search the template library with AI"
method: POST
path: "/templates/search/semantic"
tags: ["template"]
---

# Search the template library with AI

`POST /templates/search/semantic`

## Request

- Base URL: `https://localhost:4410/api/v1`
- URL: `https://localhost:4410/api/v1/templates/search/semantic`
- Auth: HTTP bearer

Template search that also matches words with the same meaning, which the workspace's own language model lists from the query's words; the results stay search results, ordered by matching words, with no confidence and no best match. Off unless an owner turned on searching templates with AI.

## Request body

- object
  - `query` string, required

## Response `200`

The result.

- object
  - `results` object[], required
    - `key` string, required
    - `title` string, required
    - `matched` string[], required
    - `synonyms` string[], required
    - `notes` object[], required
      - `note` string, required
      - `matched` string[], required
  - `also` string[], required
  - `model` string, nullable, required

## Other responses

- `default`: An RFC 9457 problem.

---

[API](https://skmtc.dev/binderwork/apis/binderwork-api.md) · [All operations](https://skmtc.dev/binderwork/apis/binderwork-api/llms.txt) · [OpenAPI document](https://skmtc.dev/binderwork/apis/binderwork-api/revisions/f8fab0ebee53?raw)
