Skip to main content
PUT
/
api
/
v1
/
evaluate
/
default
Update the global default evaluate settings
curl --request PUT \
  --url https://{subdomain}.mihu.ai/api/v1/evaluate/default \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "sessionization": {
    "timeout_minutes": 30,
    "report_language": "German"
  },
  "text": {
    "emotion_detection": {
      "enabled": false
    },
    "success_evaluation_prompt": {
      "prompt": "Evaluate whether the call ended with a booked demo."
    }
  }
}
'
{
  "success": true,
  "message": "Agent evaluate settings retrieved",
  "data": {
    "agent_uuid": "65d4553e-f383-46ad-bf97-69bf071b3ebb",
    "is_default": false,
    "is_active": true,
    "source": "agent",
    "sessionization": {
      "session_mode": "sliding_timeout",
      "timeout_minutes": 5,
      "report_language": "English",
      "summary_prompt": "Summarize the guest interaction in 2-3 sentences, focusing on key requests and resolutions."
    },
    "text": {
      "sentiment_analyzer": {
        "enabled": true,
        "description": "Classify the sentiment of the following text as Positive, Neutral, or Negative"
      },
      "emotion_detection": {
        "enabled": true,
        "description": "Classify the sentiment of the following text as Positive, Neutral, or Negative"
      },
      "intensity_strength_levels": {
        "enabled": true,
        "description": "Classify the sentiment of the following text as Positive, Neutral, or Negative"
      },
      "intent_action_sentiment": {
        "enabled": true,
        "description": "Classify the sentiment of the following text as Positive, Neutral, or Negative"
      },
      "intent_labels": {
        "enabled": true,
        "description": "Classify the sentiment of the following text as Positive, Neutral, or Negative"
      },
      "knowledge_gap": {
        "enabled": true,
        "description": "Classify the sentiment of the following text as Positive, Neutral, or Negative"
      },
      "human_escalation_detection": {
        "enabled": true,
        "description": "Classify the sentiment of the following text as Positive, Neutral, or Negative"
      },
      "contextual_sentiment": {
        "enabled": true,
        "description": "Classify the sentiment of the following text as Positive, Neutral, or Negative"
      },
      "customer_satisfaction_score": {
        "enabled": true,
        "description": "Classify the sentiment of the following text as Positive, Neutral, or Negative"
      },
      "success_evaluation_prompt": {
        "enabled": true,
        "description": "Determine if the conversation indicates a successful outcome based on context and specific phrases",
        "prompt": "Evaluate if the customer's main request was handled properly and if the issue they needed help with was fully resolved."
      }
    },
    "voice": {
      "sentiment_analyzer": {
        "enabled": true,
        "description": "Classify the sentiment of the following text as Positive, Neutral, or Negative"
      },
      "emotion_detection": {
        "enabled": true,
        "description": "Classify the sentiment of the following text as Positive, Neutral, or Negative"
      },
      "intensity_strength_levels": {
        "enabled": true,
        "description": "Classify the sentiment of the following text as Positive, Neutral, or Negative"
      },
      "intent_action_sentiment": {
        "enabled": true,
        "description": "Classify the sentiment of the following text as Positive, Neutral, or Negative"
      },
      "intent_labels": {
        "enabled": true,
        "description": "Classify the sentiment of the following text as Positive, Neutral, or Negative"
      },
      "knowledge_gap": {
        "enabled": true,
        "description": "Classify the sentiment of the following text as Positive, Neutral, or Negative"
      },
      "human_escalation_detection": {
        "enabled": true,
        "description": "Classify the sentiment of the following text as Positive, Neutral, or Negative"
      },
      "contextual_sentiment": {
        "enabled": true,
        "description": "Classify the sentiment of the following text as Positive, Neutral, or Negative"
      },
      "customer_satisfaction_score": {
        "enabled": true,
        "description": "Classify the sentiment of the following text as Positive, Neutral, or Negative"
      },
      "success_evaluation_prompt": {
        "enabled": true,
        "description": "Determine if the conversation indicates a successful outcome based on context and specific phrases",
        "prompt": "Evaluate if the customer's main request was handled properly and if the issue they needed help with was fully resolved."
      }
    },
    "created_at": "2026-01-15T10:23:00+00:00",
    "updated_at": "2026-05-08T14:12:33+00:00"
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.mindhunters.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Body

application/json

Update payload for evaluate settings. All fields optional; only the keys you send are touched (partial update).

is_active
boolean

Master on/off for evaluation on this agent (or globally).

Example:

true

sessionization
object

Session timing and report language.

text
object

Analyzer config for text channels (chat, SMS, WhatsApp text).

voice
object

Analyzer config for voice channels (call, WhatsApp Call).

Response

Default evaluate settings updated

success
boolean
Example:

true

message
string
Example:

"Agent evaluate settings retrieved"

data
object

Full evaluate settings as returned by the API.