v1ConvaiAgentsAgentIdSimulateConversationStreamPost method

Future<Response> v1ConvaiAgentsAgentIdSimulateConversationStreamPost({
  1. required String? agentId,
  2. String? xiApiKey,
  3. required BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost? body,
})

Simulates A Conversation (Stream) @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> v1ConvaiAgentsAgentIdSimulateConversationStreamPost({
  required String? agentId,
  String? xiApiKey,
  required BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost?
  body,
}) {
  return _v1ConvaiAgentsAgentIdSimulateConversationStreamPost(
    agentId: agentId,
    xiApiKey: xiApiKey?.toString(),
    body: body,
  );
}