v1ConvaiKnowledgeBaseUrlPost method

Future<Response<AddKnowledgeBaseResponseModel>> v1ConvaiKnowledgeBaseUrlPost({
  1. String? xiApiKey,
  2. required BodyCreateURLDocumentV1ConvaiKnowledgeBaseUrlPost? body,
})

Create Url Document @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<AddKnowledgeBaseResponseModel>>
v1ConvaiKnowledgeBaseUrlPost({
  String? xiApiKey,
  required BodyCreateURLDocumentV1ConvaiKnowledgeBaseUrlPost? body,
}) {
  generatedMapping.putIfAbsent(
    AddKnowledgeBaseResponseModel,
    () => AddKnowledgeBaseResponseModel.fromJsonFactory,
  );

  return _v1ConvaiKnowledgeBaseUrlPost(
    xiApiKey: xiApiKey?.toString(),
    body: body,
  );
}