v1ConvaiAgentsAgentIdSimulateConversationPost method
Future<Response<AgentSimulatedChatTestResponseModel> >
v1ConvaiAgentsAgentIdSimulateConversationPost({
- required String? agentId,
- String? xiApiKey,
- required BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost? body,
Simulates A Conversation @param agent_id The id of an agent. This is returned on agent creation. @param xi-api-key Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.
Implementation
Future<chopper.Response<AgentSimulatedChatTestResponseModel>>
v1ConvaiAgentsAgentIdSimulateConversationPost({
required String? agentId,
String? xiApiKey,
required BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost?
body,
}) {
generatedMapping.putIfAbsent(
AgentSimulatedChatTestResponseModel,
() => AgentSimulatedChatTestResponseModel.fromJsonFactory,
);
return _v1ConvaiAgentsAgentIdSimulateConversationPost(
agentId: agentId,
xiApiKey: xiApiKey?.toString(),
body: body,
);
}