---
title: "This endpoint provides a paginated list of AITemplates"
method: GET
path: "/ai-templates"
tags: ["Data Model"]
---

# This endpoint provides a paginated list of AITemplates

`GET /ai-templates`

Retrieves the collection of aiTemplates resources.

## Query parameters

- `page` integer
- `limit` integer
- `pagination` boolean
- `code` string
- `code[]` string[]
- `type` string
- `type[]` string[]
- `order[code]` 'asc' | 'desc'

## Response `200`

aiTemplates collection

- AiTemplatesAITemplateOutputAiTemplateOutput[]
  - `code` string
  - `type` string
  - `name` object
  - `prompt` object
  - `id` string — This is the unique identifier of the resource

---

[API](https://skmtc.net/quable/apis/quable-pim-api-documentation-v5.md) · [All operations](https://skmtc.net/quable/apis/quable-pim-api-documentation-v5/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quable/quable-pim-api-documentation-v5/versions/1641096abb34/schema)
