Skip to main content
GET
/
api
/
v1
/
agents
/
{uuid}
/
evaluate
Read effective evaluate settings for one agent
curl --request GET \
  --url https://{subdomain}.mihu.ai/api/v1/agents/{uuid}/evaluate \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://{subdomain}.mihu.ai/api/v1/agents/{uuid}/evaluate"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://{subdomain}.mihu.ai/api/v1/agents/{uuid}/evaluate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://{subdomain}.mihu.ai/api/v1/agents/{uuid}/evaluate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://{subdomain}.mihu.ai/api/v1/agents/{uuid}/evaluate"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://{subdomain}.mihu.ai/api/v1/agents/{uuid}/evaluate")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://{subdomain}.mihu.ai/api/v1/agents/{uuid}/evaluate")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "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"
  }
}
{
"success": false,
"message": "Agent not found",
"data": []
}

Authorizations

Authorization
string
header
required

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

Path Parameters

uuid
string<uuid>
required

Agent UUID.

Example:

"65d4553e-f383-46ad-bf97-69bf071b3ebb"

Response

Effective settings

success
boolean
Example:

true

message
string
Example:

"Agent evaluate settings retrieved"

data
object

Full evaluate settings as returned by the API.