Galya Docs
API referencegauge

Score reply resonance from the next user turn

POST
/gauge

Scores how an assistant/agent reply resonated with the user, given the next user message (followup). Returns a continuous resonance score in [0, 1]. Distinct from taste affinity (search/rerank): this measures conversational land for a single reply, not catalog fit.

Authorization

ApiKeyAuth
X-API-Key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/gauge" \  -H "Content-Type: application/json" \  -d '{    "response": "string",    "followup": "string"  }'
{
  "resonance": 0,
  "response": "string",
  "followup": "string",
  "prompt": "string"
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}