Create test
Creates a new agent response test.
Headers
xi-api-key
Request
This endpoint expects an object.
chat_history
success_condition
A prompt that evaluates whether the agent's response is successful. Should return True or False.
success_examples
Non-empty list of example responses that should be considered successful
failure_examples
Non-empty list of example responses that should be considered failures
name
tool_call_parameters
How to evaluate the agent’s tool call (if any). If empty, the tool call is not evaluated.
dynamic_variables
Dynamic variables to replace in the agent config during testing
Response
Successful Response
id