Get prompt templates
get_prompt_templatesHow a site's tracked prompts are grouped into templates and variants: use it to compare results by country, language, persona, funnel stage or product. Returns site and templates: each template's id and text, and its variants with queryId (the tracked prompt that variant is; match it to queryId in get_citations, get_evidence or get_citation_history to split results by variant), label ('default' for the base wording), country, language, persona, funnel and product (null when that dimension is not set). Every tracked prompt, with or without a template, is in list_prompts; questions not tracked yet are get_opportunities. When the feature is not enabled on this deployment, templates is empty and note says so.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | No | Optional on a connected app: the site chosen with select_site is used. If given, it must be that site. With an API key it is required: a site id from list_sites. |