Simulates A Conversation (Stream)
Deprecated. Use the /v1/convai/agent-testing/create and /v1/convai/agents/:agent_id/run-tests endpoints to create and run simulations. 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
The id of an agent. This is returned on agent creation.
The id of an agent. This is returned on agent creation.
Headers
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Request body
Response
Successful Response
Changes
Changed in 15 of the 32 revisions of this API.31359
- ▲
removed from the
///////request propertyanyOflistrequest-property-any-of-removed
- ▲
removed from the
//////request propertyoneOflistrequest-property-one-of-removed
- ▲
removed from the
//////request propertyoneOflistrequest-property-one-of-removed
- ▲
removed from the
//////request propertyoneOflistrequest-property-one-of-removed
- ▲
removed from the
//////request propertyoneOflistrequest-property-one-of-removed
- ▲
removed from the
//////request propertyoneOflistrequest-property-one-of-removed
- ▲
removed from the
//////request propertyoneOflistrequest-property-one-of-removed
- ▲
removed from the
//////request propertyoneOflistrequest-property-one-of-removed
- ▲
removed from the
//////request propertyoneOflistrequest-property-one-of-removed
- ○
added the new optional request property
/////////new-optional-request-property
- ○
added the new optional request property
////////////new-optional-request-property
- ○
added the new optional request property
//////////////new-optional-request-property
- ○
added the new optional request property
////////////new-optional-request-property
- ○
added the new optional request property
//////////////new-optional-request-property
- ○
added the new optional request property
///////////new-optional-request-property
- ○
added the new optional request property
/////////////new-optional-request-property
- ○
added the new optional request property
///////////new-optional-request-property
- ○
added the new optional request property
/////////////new-optional-request-property
- ○
added to the
///////request propertyanyOflistrequest-property-any-of-added
- ○
request property
/////////deprecatedrequest-property-deprecated
- ○
request property
////////////deprecatedrequest-property-deprecated
- ○
request property
//////////////deprecatedrequest-property-deprecated
- ○
request property
////////////deprecatedrequest-property-deprecated
- ○
request property
//////////////deprecatedrequest-property-deprecated
- ○
request property
///////////deprecatedrequest-property-deprecated
- ○
request property
/////////////deprecatedrequest-property-deprecated
- ○
request property
///////////deprecatedrequest-property-deprecated
- ○
request property
/////////////deprecatedrequest-property-deprecated
- ○
added
create_product_quote_requestcreate_service_quote_requestsend_custom_emaildiscriminator mapping keys to the//////request propertyrequest-property-discriminator-mapping-added
- ○
removed
run_subagentdiscriminator mapping keys from the//////request propertyrequest-property-discriminator-mapping-deleted
- ○
removed
run_subagentdiscriminator mapping keys from the//////request propertyrequest-property-discriminator-mapping-deleted
- ○
removed
run_subagentdiscriminator mapping keys from the//////request propertyrequest-property-discriminator-mapping-deleted
- ○
removed
run_subagentdiscriminator mapping keys from the//////request propertyrequest-property-discriminator-mapping-deleted
- ○
removed
run_subagentdiscriminator mapping keys from the//////request propertyrequest-property-discriminator-mapping-deleted
- ○
removed
run_subagentdiscriminator mapping keys from the//////request propertyrequest-property-discriminator-mapping-deleted
- ○
removed
run_subagentdiscriminator mapping keys from the//////request propertyrequest-property-discriminator-mapping-deleted
- ○
removed
run_subagentdiscriminator mapping keys from the//////request propertyrequest-property-discriminator-mapping-deleted
- ○
added to the
//////request propertyoneOflistrequest-property-one-of-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the new optional request property
////new-optional-request-property
- ○
added the new optional request property
//////new-optional-request-property
- ○
added the new optional request property
//////new-optional-request-property
- ○
- ▲
removed from the
//////request propertyoneOflistrequest-property-one-of-removed
- ▲
removed from the
//////request propertyoneOflistrequest-property-one-of-removed
- ▲
removed from the
//////request propertyoneOflistrequest-property-one-of-removed
- ▲
removed from the
//////request propertyoneOflistrequest-property-one-of-removed
- ▲
removed from the
//////request propertyoneOflistrequest-property-one-of-removed
- ▲
removed from the
//////request propertyoneOflistrequest-property-one-of-removed
- ▲
removed from the
//////request propertyoneOflistrequest-property-one-of-removed
- ▲
removed from the
//////request propertyoneOflistrequest-property-one-of-removed
- ○
mapped value for discriminator key
end_procedurechanged from to for//////request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
end_procedurechanged from to for//////request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
end_procedurechanged from to for//////request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
end_procedurechanged from to for//////request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
end_procedurechanged from to for//////request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
end_procedurechanged from to for//////request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
end_procedurechanged from to for//////request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
end_procedurechanged from to for//////request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
start_procedurechanged from to for//////request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
start_procedurechanged from to for//////request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
start_procedurechanged from to for//////request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
start_procedurechanged from to for//////request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
start_procedurechanged from to for//////request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
start_procedurechanged from to for//////request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
start_procedurechanged from to for//////request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
start_procedurechanged from to for//////request propertyrequest-property-discriminator-mapping-changed
- ○
added to the
//////request propertyoneOflistrequest-property-one-of-added
- ○
added to the
//////request propertyoneOflistrequest-property-one-of-added
- ○
added to the
//////request propertyoneOflistrequest-property-one-of-added
- ○
added to the
//////request propertyoneOflistrequest-property-one-of-added
- ○
added to the
//////request propertyoneOflistrequest-property-one-of-added
- ○
added to the
//////request propertyoneOflistrequest-property-one-of-added
- ○
added to the
//////request propertyoneOflistrequest-property-one-of-added
- ○
added to the
//////request propertyoneOflistrequest-property-one-of-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the new optional request property
//////////new-optional-request-property
- ○
added the new optional request property
//////////new-optional-request-property
- ○
added the new optional request property
//////////new-optional-request-property
- ○
added the new optional request property
//////////new-optional-request-property
- ○
added the new optional request property
//////////new-optional-request-property
- ○
added the new optional request property
//////////new-optional-request-property
- ○
added the new optional request property
//////////new-optional-request-property
- ○
added the new optional request property
//////////new-optional-request-property
- ○
added the new
dtmfenum value to the request property////request-property-enum-value-added
- ○
- ○
added
cancel_ordercreate_orderget_client_ordersget_order_by_confirmation_numberupdate_orderdiscriminator mapping keys to the//////request propertyrequest-property-discriminator-mapping-added
- ○
added to the
//////request propertyoneOflistrequest-property-one-of-added
- ○
- ○
request property
///////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
/////////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
///////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
/////////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
///////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
/////////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
///////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
/////////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
///////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
/////////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
///////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
/////////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
///////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
/////////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
/////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
///////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
//////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
//////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
///////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
/////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
///////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
/////////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
//////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
///////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
/////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
- ○
added the new
gemini-3.7-flashenum value to the request property////request-property-enum-value-added
- ○
added the new
gemini-3.7-flashenum value to the request property//////request-property-enum-value-added
- ○
added the new
gemini-3.7-flashenum value to the request property//////request-property-enum-value-added
- ○
added the new
gemini-3.7-flashenum value to the request property///request-property-enum-value-added
- ○
- ○
added the new
avayaenum value to the request property////request-property-enum-value-added
- ○
added the new
gemini-3.6-flashenum value to the request property////request-property-enum-value-added
- ○
added the new
gemini-3.6-flashenum value to the request property//////request-property-enum-value-added
- ○
added the new
gemini-3.6-flashenum value to the request property//////request-property-enum-value-added
- ○
added the new
gemini-3.6-flashenum value to the request property///request-property-enum-value-added
- ○
- ○
added the new optional request property
///new-optional-request-property
- ○
the
request property default value changed fromfalsetotruerequest-property-default-value-changed
- ○
the
request property default value changed fromgemini-2.5-flash-litetogemini-3.1-flash-literequest-property-default-value-changed
- ○
the
request property default value changed fromgemini-2.5-flash-litetogemini-3.1-flash-literequest-property-default-value-changed
- ○
the
request property default value changed fromgemini-2.5-flash-litetogemini-3.1-flash-literequest-property-default-value-changed
- ○
the
request property default value changed fromgemini-2.5-flash-litetogemini-3.1-flash-literequest-property-default-value-changed
- ○
the
request property default value changed fromgemini-2.5-flash-litetogemini-3.1-flash-literequest-property-default-value-changed
- ○
the
request property default value changed fromgemini-2.5-flash-litetogemini-3.1-flash-literequest-property-default-value-changed
- ○
the
request property default value changed fromgemini-2.5-flash-litetogemini-3.1-flash-literequest-property-default-value-changed
- ○
the
request property default value changed fromgemini-2.5-flash-litetogemini-3.1-flash-literequest-property-default-value-changed
- ○
the
request property default value changed fromgemini-2.5-flash-litetogemini-3.1-flash-literequest-property-default-value-changed
- ○
the
request property default value changed fromgemini-2.5-flash-litetogemini-3.1-flash-literequest-property-default-value-changed
- ○
the
request property default value changed fromgemini-2.5-flash-litetogemini-3.1-flash-literequest-property-default-value-changed
- ○
the
request property default value changed fromgemini-2.5-flash-litetogemini-3.1-flash-literequest-property-default-value-changed
- ○
the
request property default value changed fromgemini-2.5-flash-litetogemini-3.1-flash-literequest-property-default-value-changed
- ○
the
request property default value changed fromgemini-2.5-flash-litetogemini-3.1-flash-literequest-property-default-value-changed
- ○
the
request property default value changed fromgemini-2.5-flash-litetogemini-3.1-flash-literequest-property-default-value-changed
- ○
the
request property default value changed fromgemini-2.5-flash-litetogemini-3.1-flash-literequest-property-default-value-changed
- ○
- ○
the
request property default valuegemini-2.5-flashwas removedrequest-property-default-value-removed
- ○
the
request property default valuegemini-2.5-flashwas removedrequest-property-default-value-removed
- ○
the
request property default valuegemini-2.5-flashwas removedrequest-property-default-value-removed
- ○
added
create_transfer_ruledelete_transfer_rulelist_transfer_rulesupdate_transfer_rulediscriminator mapping keys to the//////request propertyrequest-property-discriminator-mapping-added
- ○
added the new
audiocodesenum value to the request property////request-property-enum-value-added
- ○
the
//////request property's max was increased from120.00to300.00request-property-max-increased
- ○
the
//////request property's max was increased from120.00to300.00request-property-max-increased
- ○
added to the
//////request propertyoneOflistrequest-property-one-of-added
- ○