DocMiral icon

DocMiral

Interact with the DocMiral document generation platform

Template → List

AI-generated

Summary

List templates from DocMiral's public library or your own library, optionally filtering by category and controlling pagination.

Inputs

  • Limit — Specify the maximum number of templates to return, minimum 1. Defaults to 50.
  • Offset — Set the starting index offset for listing templates. Defaults to 0.
  • Category ID — Filter the list of templates by a specific category ID.
  • Library — Choose to list templates from the 'Public Library' or only from 'My Library' (your own templates). Defaults to 'Public Library'.

Output shape

a list of template objects

Returns an array of template JSON objects matching the specified filters and pagination parameters. The returned list may be limited by the 'Limit' and 'Offset' inputs. If there are no templates matching the filters, returns an empty array.

Examples

Example 1: List up to 10 templates from the public library in a specific category

Set 'Limit' to 10, 'Offset' to 0, select 'Public Library' for 'Library', and provide a valid 'Category ID'.

Example 2: List first 50 of your own templates without category filtering

Set 'Library' to 'My Library' and leave 'Category ID' empty. 'Limit' defaults to 50.

Links

Discussion