Method
Parameters
Identifier for the data source to list templates from.
Pagination cursor for retrieving the next page of results. If not provided, returns the first page.
The number of items to return per page. Maximum is 100. Default is 100.
Response
Returns a paginated list of data source template objects.Always
"list"Array of data source template objects.
Whether there are more templates to retrieve.
Cursor for the next page of results.
null if there are no more results.Examples
List all templates
Manual pagination
Using the helper function
For a more convenient way to iterate through all templates, use theiterateDataSourceTemplates helper:
Find a specific template
Notes
Templates are specific to each data source and define the default structure for new pages created within that data source.
Use the collectDataSourceTemplates and iterateDataSourceTemplates helper functions for easier pagination handling.