🔨 In Development — This section is still being developed and may change.
Get all preset prompts for a specific assistant with their order and status.
GEThttps://api.freddy.aitronos.com/v1/assistants/{assistant_id}/preset-prompts
assistant_id string required
The unique identifier of the assistant to get preset prompts for.
include_inactive boolean optional · Defaults to false
Whether to include inactive preset prompts in results.
Bash
- Bash
- Python
- JavaScript
curl "https://api.freddy.aitronos.com/v1/assistants/ass_0c23daea5e34/preset-prompts" \
-H "Authorization: Bearer $FREDDY_API_KEY"A list of Preset Prompt objects.
{
"preset_prompts": [
{
"preset_prompt_id": 1,
"preset_prompt_name": "Welcome Message",
"preset_prompt_value": "Hello! How can I help you today?",
"preset_prompt_icon": {
"id": "icon_welcome",
"url": "https://cdn.aitronos.com/icons/icon-welcome.svg",
"alt": "Speech bubble icon"
},
"order_index": 0,
"is_active": true,
"created_at": "2025-01-20T10:30:00Z",
"updated_at": "2025-01-20T10:30:00Z"
},
{
"preset_prompt_id": 2,
"preset_prompt_name": "Product Information",
"preset_prompt_value": "Can you tell me about your products and services?",
"preset_prompt_icon": {
"id": "icon_product",
"url": "https://cdn.aitronos.com/icons/icon-product.svg",
"alt": "Box icon"
},
"order_index": 1,
"is_active": true,
"created_at": "2025-01-20T11:15:00Z",
"updated_at": "2025-01-20T11:15:00Z"
},
{
"preset_prompt_id": 3,
"preset_prompt_name": "Technical Support",
"preset_prompt_value": "I need help with a technical issue.",
"preset_prompt_icon": {
"id": "icon_support",
"url": "https://cdn.aitronos.com/icons/icon-support.svg",
"alt": "Lifebuoy icon"
},
"order_index": 2,
"is_active": false,
"created_at": "2025-01-20T12:00:00Z",
"updated_at": "2025-01-20T12:00:00Z"
}
],
"total_count": 3
}