---
docId: doc_1261482c017c4e039836734dfcb50c80
title: List agent templates
description: Returns the published agent templates, with what each one does and the pending items it leaves when installed.
api:
  group: agentes/plantillas
  auth: bearer
  operations:
    - operationId: listAgentTemplates
      method: GET
      path: /v1/agent-templates
      postmanName: List agent templates
---

<script>
  import { Ways } from '$lib/components';
</script>

# List agent templates

Choose a template based on what it does and the channels and tools it uses. Use its `slug` to [install it](/api-reference/agent-templates/install). The catalog also shows the items you will need to complete; its text is in Spanish.

## Example

<Ways tabs="api,sdk">
<Ways.Way name="api">

```bash
curl https://api.platic.ai/v1/agent-templates \
  -H "Authorization: Bearer $PLATIC_API_KEY"
```

</Ways.Way>
<Ways.Way name="sdk">

```ts
await platic.agentTemplates.list();
```

</Ways.Way>
</Ways>

## Response

`200 OK`. All the templates, without pagination.

```json
{
  "status": "success",
  "message": "1 agent template",
  "data": [
    {
      "slug": "vendedor-de-tienda",
      "version": 3,
      "name": "Vendedor de la tienda",
      "summary": "Atiende y vende por WhatsApp con tu catálogo.",
      "description": "Responde dudas de productos y precios, toma pedidos y pasa a tu equipo lo que no puede resolver.",
      "category": "sales",
      "does": ["Responde dudas de productos y precios", "Toma pedidos", "Recuerda a cada cliente"],
      "team": "Ventas",
      "knowledge": "Tu catálogo, tus precios y tu horario",
      "channels": [
        { "id": "whatsapp", "name": "WhatsApp", "logoUrl": "https://app.platica.mx/images/agent-templates/channels/whatsapp.svg" }
      ],
      "tools": [
        { "id": "shopify", "name": "Shopify", "logoUrl": "https://app.platica.mx/images/agent-templates/tools/shopify.png" }
      ],
      "features": [
        { "id": "memory", "name": "Memoria" },
        { "id": "followUp", "name": "Seguimiento" }
      ],
      "imageUrl": "https://app.platica.mx/images/templates/Agent.png",
      "slots": [
        { "id": "negocio", "kind": "variable", "label": "Datos del negocio", "required": true },
        { "id": "tool-shopify", "kind": "tool", "label": "Shopify", "required": false },
        { "id": "canal", "kind": "channel", "label": "Canal", "required": true },
        { "id": "conocimiento", "kind": "knowledge", "label": "Catálogo", "required": false }
      ]
    }
  ],
  "nextStep": "Install one with POST /v1/agent-templates/{slug}/install: it creates a new agent as a draft, with a list of pending items to finish it."
}
```

## Response fields

| Field | Description |
|-------|-------------|
| `slug` | The template's stable id: the one [Install a template](/api-reference/agent-templates/install) takes |
| `version` | The published version. Installing always takes the latest |
| `name`, `summary`, `description` | Name, a line about what it does and the full description |
| `category` | `support`, `sales`, `marketing`, `operations` or `internal` |
| `does` | What the agent does, one thing per item |
| `team`, `knowledge` | Who it is for and what it needs to know |
| `channels` | The channels it is made for: `id`, `name` and `logoUrl` |
| `tools` | The tools it uses, an MCP server or a Platica app: `id`, `name` and `logoUrl` |
| `features` | What the template leaves turned on in the agent, such as memory or follow-up |
| `imageUrl` | Initial agent photo |
| `slots` | Setup items for the installed agent: `id`, `kind`, `label` and `required`. See [the pending items](/api-reference/agent-templates#the-pending-items) |
| `nextStep` | What comes next, in English |

## Notes

- From an AI agent, the tool is [`list_agent_templates`](/mcp/tools#agents).
- A credential that covers several workspaces adds `?workspace=<id>` ([responses](/api-reference/responses)).
