v1ConvaiAgentsGet method
List Agents @param cursor Used for fetching next page. Cursor is returned in the response. @param page_size How many Agents to return at maximum. Can not exceed 100, defaults to 30. @param search Search by agents name. @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<GetAgentsPageResponseModel>> v1ConvaiAgentsGet({
String? cursor,
int? pageSize,
String? search,
String? xiApiKey,
}) {
generatedMapping.putIfAbsent(
GetAgentsPageResponseModel,
() => GetAgentsPageResponseModel.fromJsonFactory,
);
return _v1ConvaiAgentsGet(
cursor: cursor,
pageSize: pageSize,
search: search,
xiApiKey: xiApiKey?.toString(),
);
}