Skip to main content
GET
/
agents
/
{agent_id}
/
evaluation-config
cURL
curl 'https://api.gumloop.com/api/v1/agents/AGENT_ID/evaluation-config' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
{
  "config": {
    "agent_id": "agent_456",
    "enabled": true,
    "is_active": true,
    "model_name": "anthropic/claude-sonnet-4",
    "frequency": "debounced",
    "language": "auto",
    "include_auto_tags": true,
    "interaction_types": [],
    "criteria": [
      {
        "id": "crit_1",
        "name": "Accuracy",
        "prompt": "The agent provided factually correct information.",
        "type": "other",
        "priority": "needs_attention"
      },
      {
        "id": "crit_2",
        "name": "Professional Tone",
        "prompt": "The agent maintained a professional tone throughout.",
        "type": "voice_tone",
        "priority": "needs_review"
      }
    ],
    "tags": [
      {
        "name": "PRICING_INQUIRY",
        "description": "User asked about pricing or billing."
      },
      {
        "name": "ESCALATION_NEEDED",
        "description": "Issue requires human intervention."
      }
    ],
    "data_points": [
      {
        "id": "dp_1",
        "name": "Customer Intent",
        "data_type": "string",
        "description": "Summarize the customer's primary intent in 2-5 words."
      },
      {
        "id": "dp_2",
        "name": "Confidence Score",
        "data_type": "number",
        "description": "Rate 1-10 how confident the agent appeared."
      }
    ],
    "sentiment": {
      "enabled": true,
      "affects_grade": true,
      "description": "Focus on the customer's final message tone."
    },
    "updated_ts": "2026-06-10T09:00:00+00:00"
  }
}

Authorizations

Authorization
string
header
required

A personal API key or an OAuth 2.0 access token. Personal API keys also require the x-auth-key header with your user ID.

Path Parameters

agent_id
string
required

ID of the agent.

Response

The agent's evaluation configuration.

config
object