Skip to main content
PUT
Update evaluator trace variables

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

agent_uuid
string
required

The agent the evaluator is linked to

Example:

"f47ac10b-58cc-4372-a567-0e02b2c3d479"

evaluator_uuid
string
required

The evaluator whose variables to fill

Example:

"f47ac10b-58cc-4372-a567-0e02b2c3d479"

Body

application/json
trace_variables
object
required

Which part of a trace fills each variable, keyed by variable name. Each value is one of:

  • input: the trace's input
  • output.response: the agent's reply
  • output.tool_calls: the tool calls the agent issued
  • labels: the trace's labels
  • conversation_id: the conversation ID sent with the trace
  • message_id: the message ID sent with the trace
  • feedback.comment: the comment given by the user along with the feedback for the trace
  • metadata.<key>: the metadata entry with that key

Every variable needs a value. Replaces the stored choices, and an empty object clears them

Example:

Response

Successful Response

trace_variables
object
required

Which part of a trace fills each variable