---
title: "Search Templates Route"
method: POST
path: "/templates/search"
---

# Search Templates Route

`POST /templates/search`

## Request

- Base URL: `https://api.goodeye.dev/v1`
- URL: `https://api.goodeye.dev/v1/templates/search`
- Auth: none declared

Search the public template catalog by natural-language query.

## Request body

- SearchTemplatesInput: Natural-language search request over public or owned templates.
  - `query` string, required: Natural-language description of the template you are looking for.
  - `filter` 'mine' | 'all': Which templates to search: 'mine' for ones you published, or 'all' for the public catalog.
  - `limit` integer: Maximum number of ranked results to return (1 to 10).

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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