Stream simulate conversation

Run a conversation between the agent and a simulated user and stream back the response. Response is streamed back as partial lists of messages that should be concatenated and once the conversation has complete a single final message with the conversation analysis will be sent.

Path parameters

agent_idstringRequired

The id of an agent. This is returned on agent creation.

Headers

xi-api-keystringOptional

Request

This endpoint expects an object.
simulation_specificationobjectRequired

A specification detailing how the conversation should be simulated

extra_evaluation_criterialist of objectsOptional

A list of evaluation criteria to test

Errors