Get Templates
get_templatesRetrieve all templates from Automation Studio, optionally filtered by type, for text processing, configuration generation, and data parsing in automation workflows.
Instructions
Get all templates from Automation Studio.
Retrieves all templates from the Automation Studio, with optional filtering by template type. Templates are used for text processing, configuration generation, and data parsing within automation workflows.
This function performs paginated requests through the automation studio service to retrieve all available templates, handling large result sets efficiently. Results are transformed into standardized GetTemplatesElement objects for consistent API responses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_type | No | Retrieve only templates of this type |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Response model for template retrieval operations. Root model that wraps a list of GetTemplatesElement objects to provide a standardized response format for template listing operations from the Automation Studio. This model follows the Pydantic RootModel pattern to create a response that serializes directly as a list while maintaining type safety and validation capabilities. Attributes: root (List[GetTemplatesElement]): List of template elements containing template metadata and attributes. |