FullPrompt
prompt objectrequired
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.
Unique numeric identifier of the record.
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.
Creation time (UTC, ISO 8601).
Last modification time (UTC, ISO 8601).
author objectrequired
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]
document_type objectrequired
For prompts of type "document", which document type they apply to.
- string
- null
enabled_version_id objectrequired
ID of the prompt version currently in use.
- integer
- null
skip_instructions objectrequired
For ping/reminder/stage-triggered prompts, natural-language instructions describing when to skip sending.
- string
- null
Language of the prompt.
Possible values: [ru, en, pt, es]
Which conversation modality the prompt serves — text (default, chat channels) or voice (voice-call runtime).
Possible values: [text, voice]
version objectrequired
A single saved version of a prompt.
Unique numeric identifier of the record.
ID of the prompt this version belongs to.
Monotonic version number within the prompt.
The prompt text for this version.
description objectrequired
Optional change description for this version.
- string
- null
author objectrequired
Who authored this version.
- string
- null
Creation time (UTC, ISO 8601).
{
"prompt": {
"id": 0,
"name": "string",
"product_id": 0,
"agent_id": 0,
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"author": "string",
"type": "prompt",
"document_type": "string",
"enabled_version_id": 0,
"skip_instructions": "string",
"lang": "ru",
"modality": "text"
},
"version": {
"id": 0,
"prompt_id": 0,
"version_number": 0,
"content": "string",
"description": "string",
"author": "string",
"created_at": "2024-07-29T15:51:28.071Z"
}
}