# manager_api_new.api.AIApi ## Load the API package ```dart import 'package:manager_api_new/api.dart'; ``` All URIs are relative to *https://localhost:5001* Method | HTTP request | Description ------------- | ------------- | ------------- [**aiChat**](AIApi.md#aichat) | **POST** /api/Ai/chat | # **aiChat** > AiChatResponse aiChat(aiChatRequest) ### Example ```dart import 'package:manager_api_new/api.dart'; // TODO Configure OAuth2 access token for authorization: bearer //defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; final api_instance = AIApi(); final aiChatRequest = AiChatRequest(); // AiChatRequest | try { final result = api_instance.aiChat(aiChatRequest); print(result); } catch (e) { print('Exception when calling AIApi->aiChat: $e\n'); } ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **aiChatRequest** | [**AiChatRequest**](AiChatRequest.md)| | ### Return type [**AiChatResponse**](AiChatResponse.md) ### Authorization [bearer](../README.md#bearer) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)