Prompt Blocks
Create Prompt Block
Create a DB-backed static prompt block
POST
Create Prompt Block
Create 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.
Create a DB-backed static prompt block
curl --request POST \
--url https://api.example.com/api/v1/prompt-blocks@prompt_block.
{
"name": "account_guidance",
"description": "Guidance for account analysis.",
"message": "system",
"type": "static",
"mode": "cached",
"scope": "conversation",
"tags": ["crm", "guidance"],
"order": 45,
"ttl": 1800,
"agents": ["MainAgent"],
"body": "When analyzing accounts, prioritize renewal risk and expansion signals.",
"enabled": true
}
body.Was this page helpful?
curl --request POST \
--url https://api.example.com/api/v1/prompt-blocks