> ## Documentation Index
> Fetch the complete documentation index at: https://docs.telepatia.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Listar Smart Templates

> Copia en Cursor/Claude/Copilot para generar una integración GET /v1/medical-record-configurations.

Pega este prompt en tu asistente de programación con IA. Ya incluye el contrato, la autenticación y el envoltorio de errores, para que el código generado coincida con la API de producción.

<CodeGroup>
  ```text Prompt theme={null}
  Estás integrando la API pública de Telepatia Synapse.

  Endpoint: GET /v1/medical-record-configurations
  Base URL: https://scribe-api.telepatia.ai
  Auth: Authorization: Bearer ${SYNAPSE_API_KEY}

  Solicitud:
  - page [query]: integer (opcional, min=1) — Page number (1-based).
  - limit [query]: integer (opcional, min=1, max=50) — Number of items per page.
  - status [query]: string (opcional, enum: deleted, all) — Filter for the templates list view: `deleted` (only soft-deleted templates) or
  `all` (non-deleted and deleted). Omit for the default non-deleted view.
  - workflow [query]: string (opcional, enum: defaultOutpatient, inpatient, emergencyRoom, reportDictation, historySummary) — Product discriminator for a template. Absent means an ordinary Scribe template.

  `defaultOutpatient`, `inpatient`, and `emergencyRoom` also denote a Scribe
  template; each names the clinical care setting the template is written for.
  `reportDictation` and `historySummary` denote a non-Scribe product.

  Éxito 200:
  - items: array<MrcSummary>
  - total: integer
  - page: integer
  - limit: integer
  - totalPages: integer

  Errores (envoltorio: { error: { type, code, message, param? } }):
  - 400: parameter_missing, parameter_invalid, account_invalid
  - 401: authentication_required
  - 428: cdss_review_required
  - 503: service_unavailable

  Genera código en el lenguaje del archivo actual que:
  1. Lea SYNAPSE_API_KEY desde el entorno (no lo escribas de forma fija).
  2. Llame al endpoint con solicitud y respuesta tipadas.
  3. Asigne el envoltorio de errores a excepciones tipadas por código de estado.
  4. Agregue una prueba de flujo exitoso usando el token Bearer.
  ```

  ```bash curl theme={null}
  curl -X GET https://scribe-api.telepatia.ai/v1/medical-record-configurations \
    -H "Authorization: Bearer $SYNAPSE_API_KEY"
  ```
</CodeGroup>
