List JsonFabrica templates
jsonfabrica_list_templatesList and filter available JSON templates by name, tags, or status to find the right template for your data generation needs.
Instructions
Calls GET /v1/templates. Returns a page of templates matching optional name/tags/status filters ({ items, nextCursor }). Use this to discover or search templates when you don't already know the templateId; if you already have the id, call jsonfabrica_get_template directly instead — it is cheaper and returns the full record. This is read-only and has no side effects. Pass status: "archived" to see templates previously removed with jsonfabrica_delete_template, since the default active filter excludes them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Filters to templates whose `name` contains this text — a case-insensitive substring match, not an exact match. Optional; omit to match templates of any name. | |
| tags | No | Comma-separated list of tags, e.g. "orders,email". AND-match: a template must contain every listed tag to be included (not "any of"). Optional; omit to ignore tags entirely. | |
| limit | No | Maximum number of templates to return in this page. Optional; defaults to 20 when omitted. Values <= 0 or > 100 are not clamped — the request is rejected with a 400 validation error. | |
| cursor | No | Opaque pagination cursor taken verbatim from a previous response's `nextCursor`. Optional; omit to fetch the first page. | |
| status | No | `active` returns only non-deleted templates, `archived` returns only soft-deleted ones. Optional; defaults to `active` when omitted (archived templates are excluded unless requested). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Page of matching templates. | |
| nextCursor | No | Pass to `cursor` on the next call to fetch the following page; absent on the last page. |