Preview a dynamic link collection
preview_dynamic_collectionSee what a collection shows before creating or changing it: pass collection_id for an existing collection's links (first 20), or a slug_pattern (e.g. "/areas/*") and/or page_types to see which of the site's pages would match. Changes nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The site, from list_sites | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| page_types | No | Page types to match, e.g. ["locations", "services"] | |
| slug_pattern | No | Page slug pattern; a trailing * matches everything under a path, e.g. "/areas/*" | |
| variation_id | No | variation_id of the design whose pages to use (from list_variations). Omit for the site's chosen design. | |
| collection_id | No | The collection, by collection_id from list_dynamic_collections |