Prompt Blocks
Preview Prompt Block
Render one prompt block and return wrapped model-visible output
POST
Preview Prompt Block
Preview Prompt Block
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
AgentFlow is built by ES Consulting — production AI systems, delivered.
Render one prompt block and return wrapped model-visible output
curl --request POST \
--url https://api.example.com/api/v1/prompt-blocks/{name}/preview| Parameter | Type | Description |
|---|---|---|
name | string | Prompt block name |
{
"agent_name": "MainAgent",
"body": "Temporary preview body."
}
body is optional and applies to static block preview only.
{
"name": "account_guidance",
"status": "ok",
"body": "Temporary preview body.",
"wrapped": "<account_guidance>\nTemporary preview body.\n</account_guidance>"
}
Was this page helpful?
curl --request POST \
--url https://api.example.com/api/v1/prompt-blocks/{name}/preview