Documentation Index
Fetch the complete documentation index at: https://docs.mirobody.ai/llms.txt
Use this file to discover all available pages before exploring further.
Partners can save named system prompts and activate them per chat request.
List
GET /api/user/prompt # only the partner's custom prompts
GET /api/prompts # system built-ins + partner's custom prompts
{
"success": true, "code": 0, "msg": "ok",
"data": [ { "order": 0, "prompt": "You are a senior fitness coach", "name": "my_ai" } ]
}
Create / Update
POST /api/user/prompt/set
Authorization: Bearer <access_token>
Content-Type: application/json
{ "name": "my_ai", "prompt": "You are a senior fitness coach", "order": 0 }
Delete
POST /api/user/prompt/delete
Activate in chat
{
"question": "...",
"agent": "App",
"provider": "DeepSeekFlash",
"prompt_name": "my_ai"
}
Note: The Agent ships with a strong default identity prompt. A custom prompt_name mostly shapes tone / focus — it cannot fully override the Agent’s self-introduction.