Skip to main content
PUT
Update evaluation configuration for an agent

Authorizations

Authorization
string
header
required

An API key from your Devic console, sent as Authorization: Bearer <key>. An embedded front end sends a tenant-session token instead, so no API key reaches the browser, and an OAuth integration sends its access token. Missing, invalid or expired credentials get a 401. See Authentication.

Path Parameters

agentId
string<uuid>
required

UUID of the agent whose evaluation config should be updated

Body

application/json

New evaluation configuration for the agent

evaluatorModel
string

Identifier for the model used to evaluate the agent

enabled
boolean
default:true

Whether automatic evaluation is enabled for this agent

threshold
number<float>

Threshold score for flagging evaluations

Required range: 0 <= x <= 1

Response

Evaluation configuration updated successfully

evaluatorModel
string

Identifier for the model used to evaluate the agent

enabled
boolean
default:true

Whether automatic evaluation is enabled for this agent

threshold
number<float>

Threshold score for flagging evaluations

Required range: 0 <= x <= 1