---
title: "Search modified templates"
method: GET
path: "/templates/search"
tags: ["Templates"]
---

# Search modified templates

`GET /templates/search`

## Request

- Base URL: `https://api.mitti.com`
- URL: `https://api.mitti.com/templates/search`
- Auth: HTTP bearer

## Query parameters

- `limit` integer
- `field` string[]
- `order` 'asc' | 'desc'
- `modified_after` string, date-time
- `modified_before` string, date-time
- `archived` 'false' | 'true' | 'both'
- `owner` 'all' | 'me' | 'other'

## Response `200`

A successful response.

- S12ThepubV1SearchTemplatesResponse: Result returned from `SearchTemplates`
  - `count` integer: The number of results returned.
  - `total` integer: The total number of results available.
  - `templates` S12ThepubV1SearchTemplatesResponseSearchTemplatesTemplate[]: The results returned.
    - `template_id` string: The ID of the template.
    - `name` string: The name of the template.
    - `modified_at` string, date-time: The date and time the template was last modified.
    - `created_at` string, date-time: The date and time the template was created.

## Other responses

- `default`: An unexpected error response.

---

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