Preview agent prompt
Resolves the agent’s prompt blocks and renders them with the supplied variables, returning the final prompt plus a per-block breakdown: whether each block was included (and why not), what it rendered to, and which of its {{variables}} had no value. version selects which instructions to render — “draft” (default), a published version number, or a version id. Unresolvable block references are an error here (422) rather than being skipped, so you see problems before publishing. Variables rejected by the size/type limits come back in droppedVariables.
Authorizations
Organization API key, generated in studio.sidenet.ai. Backend only — never in a browser.
Path Parameters
"6f1c0f4e-2b7a-4a51-9a2f-0c9d1b3e5a10"
Body
Response
The rendered prompt, and what each block contributed
The final system prompt: every included block rendered and joined. This is the ORG's authored prompt only — the platform blocks (tool guidance, approvals) are appended at build time and are not shown here.
False when the instructions are plain text with no block references.
One entry per block, in order, included or not.
Variables you sent that were rejected by the size/type limits, so they took no part in the render.