List templates
list_templatesList workspace templates, most recently changed first, to find the slug needed for schema validation and rendering. Returns id, slug, name, kind, engine, tags, and published version.
Instructions
Lists the templates of the workspace the API key belongs to, most recently changed first: id, slug, name, kind (pdf, image, docx for Word, pptx for PowerPoint), engine, tags and published_version. Call it first to find the slug that get_template_schema, validate_template and render take; skip it when the user already named the template. Returns every match in one answer, without archived templates, and an empty list when nothing matches. A template whose published_version is null has never been published, so render cannot use it yet. Read-only and free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Text to find in the name or slug, case-insensitive (e.g. invoice) | |
| tag | No | Only templates with this tag; exact match, tags are lowercase with dashes (e.g. billing) | |
| kind | No | Only templates that produce this kind of document | |
| engine | No | Only templates written in this template language |