PromptCreate
A prompt is a versioned LLM instruction belonging to an agent. Each prompt has a type (chatbot "prompt", classification, document, ping, calendar, state, outreach, stage_triggered, redirect, clarification, custom_follow_up) and one active version.
The initial prompt text (becomes the first version's content).
Human-readable prompt name.
ID of the product (workspace) that owns this record. Most endpoints scope access by product.
ID of the agent (a configured AI assistant / bot persona) this record belongs to.
author object
Who authored the prompt.
- string
- null
The prompt's purpose/type (see PromptType).
Possible values: [prompt, classification, document, ping, calendar, state, outreach, stage_triggered, redirect, clarification, human_clarification_follow_up, custom_follow_up, formatting, qualification, disqualification, escalation]
version_description object
Optional description for the created version.
- string
- null
document_type object
For prompts of type "document", which document type they apply to.
- string
- null
Language of the prompt.
Possible values: [ru, en, pt, es]
ruWhich conversation modality the prompt serves — text (default, chat channels) or voice (voice-call runtime).
Possible values: [text, voice]
textskip_instructions object
For ping/reminder/stage-triggered prompts, natural-language instructions describing when to skip sending.
- string
- null
{
"text": "string",
"name": "string",
"product_id": 0,
"agent_id": 0,
"author": "string",
"type": "prompt",
"version_description": "string",
"document_type": "string",
"lang": "ru",
"modality": "text",
"skip_instructions": "string"
}