Simulates A Conversation
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.
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.389387
- ▲
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
- ○
added the optional property
/////to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
/////to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///////to the response with the statusresponse-optional-property-added
- ○
added the optional property
/////to the response with the statusresponse-optional-property-added
- ○
response property
analysis/data_collection_results/additionalProperties/json_schema/anyOf[subschema #1: LiteralJsonSchemaProperty]/allowed_values_dynamic_variabledeprecatedresponse-property-deprecated
- ○
response property
analysis/data_collection_results_list/items/json_schema/anyOf[subschema #1: LiteralJsonSchemaProperty]/allowed_values_dynamic_variabledeprecatedresponse-property-deprecated
- ○
response property
analysis/scoped/items/data_collection_results/additionalProperties/json_schema/anyOf[subschema #1: LiteralJsonSchemaProperty]/allowed_values_dynamic_variabledeprecatedresponse-property-deprecated
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
dtmfenum value to the///response property for the response statusresponse-property-enum-value-added
- ○
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 the optional property
//to the response with the statusresponse-optional-property-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
- ○
- ▲
response property
analysis/data_collection_results/additionalProperties/json_schema/anyOf[subschema #1: LiteralJsonSchemaProperty]/constant_valuelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
analysis/data_collection_results_list/items/json_schema/anyOf[subschema #1: LiteralJsonSchemaProperty]/constant_valuelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
analysis/scoped/items/data_collection_results/additionalProperties/json_schema/anyOf[subschema #1: LiteralJsonSchemaProperty]/constant_valuelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-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
- ○
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/////response property for the response statusresponse-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
gemini-3.7-flashenum value to the request property///request-property-enum-value-added
- ●
- ●
added the new
gemini-3.6-flashenum value to the/////response property for the response statusresponse-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
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
- ○
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
- ○
the
response's property default valuegemini-2.5-flashwas removed for the statusresponse-property-default-value-removed
- ○