cURL
curl --request PUT \ --url https://api.devic.ai/v1/agents/agents/{agentId}/evaluation-config \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "evaluatorModel": "<string>", "enabled": true, "threshold": 0.5 } '
{ "evaluatorModel": "<string>", "enabled": true, "threshold": 0.5 }
Creates or updates the evaluation configuration for the specified agent.
Use JWT token for authentication
UUID of the agent whose evaluation config should be updated
New evaluation configuration for the agent
Identifier for the model used to evaluate the agent
Whether automatic evaluation is enabled for this agent
Threshold score for flagging evaluations
0 <= x <= 1
Evaluation configuration updated successfully