Skip to main content
POST
/
v2
/
evaluators
/
execute
/
conversation-quality
Execute conversation-quality evaluator
curl --request POST \
  --url https://api.traceloop.com/v2/evaluators/execute/conversation-quality \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data @- <<EOF
{
  "input": {
    "completions": "[\"Hi! I'd be happy to assist you today.\", \"We offer consulting, development, and support services.\"]",
    "prompts": "[\"Hello, how can I help?\", \"What services do you offer?\"]"
  },
  "config": {
    "model": "gpt-4o"
  }
}
EOF
{
  "conversation_quality_score": 0.82
}

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and JWT token.

Body

application/json

Request body

input
object
required
config
object

Response

OK

conversation_quality_score
number
Example:

0.82