generation block inline. Sections and the wrapping template are created as auto-generated resources and immediately published — and like all auto-generated aggregates, are retained for 30 days only (see Auto-generated template aggregates — 30-day retention).
Mapping response output back to your inline sections
Your request supplies an ordered list of inline sections with no IDs of your own. The response assigns each a server-generated UUID and returns asections array that preserves your request order. Use it to correlate rendered output back to your inline definitions.
Each sections entry carries:
sectionId— the UUID to use as the key intostringDocumentandstructuredDocument.heading— the resolved section title (after any overrides), ready to render.
Response (excerpt)
sections entry corresponds to your first inline section, the second to your second, and so on. Iterate sections in order, use sectionId to look up the rendered text in stringDocument / structuredDocument, and use heading as the display title.
When to use this path
Related
Guided Synthesis overview
Shared concepts: input context, response shape, errors, 30-day retention.
Section Schemas
Schema patterns for the
outputSchema shapes you’ll define inline.