Skip to main content
POST
/
api
/
v1
/
coaching-agents
/
{uuid}
/
set-default
Set a coaching agent as default
curl --request POST \
  --url https://{subdomain}.mihu.ai/api/v1/coaching-agents/{uuid}/set-default \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Coaching agent set as default",
  "data": {
    "uuid": "3f6a8c2e-9d1b-4e7a-b5c3-2a1f0e9d8c7b",
    "name": "Support Team Coach",
    "description": "Coaches the support team after every evaluation",
    "is_active": true,
    "is_default": true,
    "coaching_tone": "supportive",
    "coaching_frequency": "immediate",
    "auto_trigger_threshold": 70,
    "language": "English",
    "include_positive_feedback": true,
    "include_actionable_steps": true,
    "include_resources": true,
    "general_guidelines": "Always start with positive feedback.",
    "coaching_templates": [
      {
        "name": "Low Score Performance",
        "scenario": "When agent scores below 60%",
        "tone": "supportive",
        "template": "Let's review this call together...",
        "is_custom": false
      }
    ],
    "training_examples": [
      {
        "issue": "Agent scored 55% due to poor greeting",
        "coaching": "I noticed you interrupted the customer a few times..."
      }
    ],
    "resource_library": [
      {
        "title": "Active Listening Basics",
        "type": "video",
        "url": "https://example.com/active-listening",
        "description": "<string>",
        "topics": "empathy, listening"
      }
    ],
    "created_at": "2026-06-04T10:15:30+00:00",
    "updated_at": "2026-06-04T10:15:30+00:00"
  }
}

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Path Parameters

uuid
string<uuid>
required

The coaching agent's uuid.

Response

Coaching agent set as default

success
boolean
Example:

true

message
string
Example:

"Coaching agent set as default"

data
object

A coaching agent with its full configuration.