Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.93 KB

File metadata and controls

36 lines (27 loc) · 1.93 KB

ListTemplatesRequest

Request model for listing templates. Provides the same filtering, sorting, and search capabilities as other list operations (list collections, list buckets, etc.).

Properties

Name Type Description Notes
filters Dict[str, object] Filters to apply when listing templates. Format: {"AND": [{"field": "field_name", "operator": "eq", "value": "value"}]} [optional]
sort Dict[str, str] Sort options for the results. Format: {'field': 'name', 'direction': 'asc'} [optional]
search str Search term for wildcard search across template_id, name, description, and tags [optional]
scope TemplateScope Filter by scope (system, organization, or user) [optional]
category str Filter by category [optional]
is_active bool Show only active templates [optional] [default to True]
tags List[str] Filter by tags (templates must have ALL specified tags) [optional]

Example

from mixpeek.models.list_templates_request import ListTemplatesRequest

# TODO update the JSON string below
json = "{}"
# create an instance of ListTemplatesRequest from a JSON string
list_templates_request_instance = ListTemplatesRequest.from_json(json)
# print the JSON string representation of the object
print(ListTemplatesRequest.to_json())

# convert the object into a dict
list_templates_request_dict = list_templates_request_instance.to_dict()
# create an instance of ListTemplatesRequest from a dict
list_templates_request_from_dict = ListTemplatesRequest.from_dict(list_templates_request_dict)

[Back to Model list] [Back to API list] [Back to README]