Templates
Manage reusable prompt templates for standardised AI interactions.
List prompt templates
Returns all saved prompt templates for the tenant. Templates encapsulate reusable prompt structures with variable placeholders and are referenced by template_id when executing copilot queries.
Create prompt template
Creates a new reusable prompt template with a body that may contain named variable placeholders using {{variable_name}} syntax. Templates can be scoped by category and referenced in copilot queries for consistency.
Update prompt template
Updates the body, category, active status, or variables of an existing prompt template. Use to refine prompts based on quality evaluation results.
Delete prompt template
Permanently removes a prompt template. Queries that referenced this template will no longer resolve it — ensure no active automation or integration depends on the template before deleting.