API by router
Scoring
Score Turn
Runtime calls this after each agent response.
Auth: Bearer proxy key (instance-scoped). Rolls dice against sample_rate. If sampled, enqueues Celery scoring task.
Path Parameters
instance_idInstance Id
Format
uuidagent_responseAgent Response
context?Context
conversation_idConversation Id
input_messageInput Message
sample_rate?Sample Rate
Default
0.1scorers?Scorers
Response Body
curl -X POST "https://loading/internal/v1/scoring/turn/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "agent_response": "string", "conversation_id": "string", "input_message": "string" }'{
"scheduled": true,
"task_id": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}