Skip to main content
PUT
/
v1
/
agents
/
{agent_id}
/
eval-config
Set per-agent eval configuration
curl --request PUT \
  --url https://api-sandbox.featherhq.com/v1/agents/{agent_id}/eval-config \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "evaluate_live": true,
  "evaluate_test": true
}
'
{
  "evaluate_live": true,
  "evaluate_test": true
}

Authorizations

x-api-key
string
header
required

Path Parameters

agent_id
string<uuid>
required

Body

application/json

Body for PUT /v1/agents/{id}/eval-config.

Both fields are optional so the UI can flip one switch at a time without having to re-assert the other; a field left unset means "no change".

evaluate_live
boolean | null
evaluate_test
boolean | null

Response

Successful Response

Per-agent eval configuration exposed by /v1/agents/{id}/eval-config.

Two independent toggles: evaluate_live gates SessionType.LIVE (production) sessions and evaluate_test gates SessionType.TEST (dev-initiated) sessions. Simulation runs always evaluate.

evaluate_live
boolean
required
evaluate_test
boolean
required