templateId to reuse the same composition on subsequent calls. The aggregate is retained for 30 days only (see Auto-generated template aggregates — 30-day retention); convert it into a permanent project-owned template if you want long-lived reuse.
Behavior notes
sectionRefsis order-significant — sections appear in the rendered document in declaration order.- Each
sectionRefresolves to the section’s published version unless you pinsectionVersionId. overrideson asectionReffollow the same partial/wholesale rules as Path 2.
When to use this path
Related
Guided Synthesis overview
Shared concepts: input context, response shape, errors, 30-day retention.
Create a Template
When you’re ready to promote a recurring assembly into a stable, versioned template.