From a57fef52f8bd010406c0d6d355f757f4a3308260 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 6 Jun 2026 13:09:53 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...ionClient.ImageImageAiDetectionCreate.g.cs | 84 +++--- ...ctionClient.TextTextAiDetectionCreate.g.cs | 84 +++--- ...Client.OcrOcrAnonymizationAsyncCreate.g.cs | 24 +- ...lient.OcrOcrAnonymizationAsyncDestroy.g.cs | 24 +- ...ient.OcrOcrAnonymizationAsyncRetrieve.g.cs | 24 +- ...ent.OcrOcrAnonymizationAsyncRetrieve2.g.cs | 84 +++--- ...nClient.ImageImageAnonymizationCreate.g.cs | 84 +++--- ...ionClient.TextTextAnonymizationCreate.g.cs | 84 +++--- ...TranslationAutomaticTranslationCreate.g.cs | 84 +++--- ...tomlClassificationCreateProjectCreate.g.cs | 84 +++--- ...tomlClassificationDeleteProjectCreate.g.cs | 84 +++--- ...omlClassificationListProjectsRetrieve.g.cs | 84 +++--- ...utomlClassificationPredictAsyncCreate.g.cs | 24 +- ...omlClassificationPredictAsyncRetrieve.g.cs | 24 +- ...mlClassificationPredictAsyncRetrieve2.g.cs | 84 +++--- ...eAutomlClassificationTrainAsyncCreate.g.cs | 24 +- ...utomlClassificationTrainAsyncRetrieve.g.cs | 24 +- ...tomlClassificationTrainAsyncRetrieve2.g.cs | 84 +++--- ...mlClassificationUploadDataAsyncCreate.g.cs | 24 +- ...ClassificationUploadDataAsyncRetrieve.g.cs | 24 +- ...lassificationUploadDataAsyncRetrieve2.g.cs | 84 +++--- ...ent.ImageImageBackgroundRemovalCreate.g.cs | 84 +++--- ...ngClient.OcrOcrBankCheckParsingCreate.g.cs | 84 +++--- .../EdenAI.BatchClient.BatchBatchList.g.cs | 24 +- ...EdenAI.BatchClient.FeatureBatchCreate.g.cs | 84 +++--- ...denAI.BatchClient.FeatureBatchDestroy.g.cs | 24 +- ...enAI.BatchClient.FeatureBatchRetrieve.g.cs | 84 +++--- .../EdenAI.ChatClient.LlmLlmChatCreate.g.cs | 147 ++++++---- ...Client.MultimodalMultimodalChatCreate.g.cs | 84 +++--- .../EdenAI.ChatClient.TextTextChatCreate.g.cs | 84 +++--- ...I.ChatClient.TextTextChatStreamCreate.g.cs | 24 +- ...onClient.TextTextCodeGenerationCreate.g.cs | 84 +++--- ....CostManagementCostManagementRetrieve.g.cs | 84 +++--- ...ManagementDisplayNameOfYourSubfeature.g.cs | 24 +- ...iproductsAskyodaV2ConversationsCreate.g.cs | 24 +- ...t.AiproductsAiproductsAskyodaV2Create.g.cs | 84 +++--- ...roductsAskyodaV2CreateBotPromptCreate.g.cs | 24 +- ...productsAskyodaV2ConversationsDestroy.g.cs | 24 +- ...oductsAskyodaV2DeleteAllChunksDestroy.g.cs | 84 +++--- ...AiproductsAskyodaV2DeleteChunkDestroy.g.cs | 84 +++--- ...oductsAiproductsAskyodaV2FilesDestroy.g.cs | 24 +- ...oductsAskyodaV2RemoveBotPromptDestroy.g.cs | 24 +- ...ent.AiproductsAiproductsDeleteDestroy.g.cs | 24 +- ...sAiproductsAskyodaV2ConversationsList.g.cs | 24 +- ...roductsAskyodaV2ConversationsRetrieve.g.cs | 24 +- ...iproductsAiproductsAskyodaV2FilesList.g.cs | 24 +- ...ductsAiproductsAskyodaV2FilesRetrieve.g.cs | 24 +- ...oductsAiproductsAskyodaV2InfoRetrieve.g.cs | 84 +++--- ...iproductsAskyodaV2ListChunksIdsCreate.g.cs | 84 +++--- ...ationsClient.AiproductsAiproductsList.g.cs | 24 +- ...nsClient.AiproductsAiproductsRetrieve.g.cs | 37 ++- ...oductsAiproductsAskyodaV2AskLlmCreate.g.cs | 84 +++--- ...uctsAiproductsAskyodaV2GenerateCreate.g.cs | 84 +++--- ...roductsAiproductsAskyodaV2QueryCreate.g.cs | 84 +++--- ...tsAskyodaV2ConversationsPartialUpdate.g.cs | 24 +- ...iproductsAskyodaV2ConversationsUpdate.g.cs | 24 +- ...ductsAiproductsAskyodaV2PartialUpdate.g.cs | 24 +- ...tsAskyodaV2UpdateProjectPartialUpdate.g.cs | 24 +- ...ductsAiproductsAskyodaV2AddFileCreate.g.cs | 24 +- ...uctsAiproductsAskyodaV2AddImageCreate.g.cs | 24 +- ...ductsAiproductsAskyodaV2AddTextCreate.g.cs | 24 +- ...oductsAiproductsAskyodaV2AddUrlCreate.g.cs | 24 +- ...uctsAiproductsAskyodaV2AddVideoCreate.g.cs | 24 +- ...crOcrCustomDocumentParsingAsyncCreate.g.cs | 24 +- ...rOcrCustomDocumentParsingAsyncDestroy.g.cs | 24 +- ...OcrCustomDocumentParsingAsyncRetrieve.g.cs | 24 +- ...crCustomDocumentParsingAsyncRetrieve2.g.cs | 84 +++--- ...tionClient.OcrOcrDataExtractionCreate.g.cs | 84 +++--- ...ideoVideoDeepfakeDetectionAsyncCreate.g.cs | 24 +- ...deoVideoDeepfakeDetectionAsyncDestroy.g.cs | 24 +- ...eoVideoDeepfakeDetectionAsyncRetrieve.g.cs | 24 +- ...oVideoDeepfakeDetectionAsyncRetrieve2.g.cs | 84 +++--- ...ent.ImageImageDeepfakeDetectionCreate.g.cs | 84 +++--- ...nTranslationDocumentTranslationCreate.g.cs | 84 +++--- ...ingsClient.ImageImageEmbeddingsCreate.g.cs | 84 +++--- ...ddingsClient.TextTextEmbeddingsCreate.g.cs | 84 +++--- ...Client.TextTextEmotionDetectionCreate.g.cs | 84 +++--- ...nabledFeaturesEnabledFeaturesRetrieve.g.cs | 24 +- ...tClient.TextTextEntitySentimentCreate.g.cs | 84 +++--- .../EdenAI/Generated/EdenAI.Exceptions.g.cs | 134 ++++++++++ ...lient.WorkflowWorkflowExecutionCreate.g.cs | 24 +- ...sClient.WorkflowWorkflowExecutionList.g.cs | 24 +- ...ent.WorkflowWorkflowExecutionRetrieve.g.cs | 24 +- ...lient.ImageImageExplicitContentCreate.g.cs | 84 +++--- ...eoExplicitContentDetectionAsyncCreate.g.cs | 24 +- ...oExplicitContentDetectionAsyncDestroy.g.cs | 24 +- ...ExplicitContentDetectionAsyncRetrieve.g.cs | 24 +- ...xplicitContentDetectionAsyncRetrieve2.g.cs | 84 +++--- ...areClient.ImageImageFaceCompareCreate.g.cs | 84 +++--- ...nt.VideoVideoFaceDetectionAsyncCreate.g.cs | 24 +- ...t.VideoVideoFaceDetectionAsyncDestroy.g.cs | 24 +- ....VideoVideoFaceDetectionAsyncRetrieve.g.cs | 24 +- ...VideoVideoFaceDetectionAsyncRetrieve2.g.cs | 84 +++--- ...nClient.ImageImageFaceDetectionCreate.g.cs | 84 +++--- ...mageImageFaceRecognitionAddFaceCreate.g.cs | 84 +++--- ...eImageFaceRecognitionDeleteFaceCreate.g.cs | 84 +++--- ...ImageFaceRecognitionListFacesRetrieve.g.cs | 84 +++--- ...geImageFaceRecognitionRecognizeCreate.g.cs | 84 +++--- ...serClient.OcrOcrFinancialParserCreate.g.cs | 84 +++--- ...lient.VideoVideoGenerationAsyncCreate.g.cs | 24 +- ...ient.VideoVideoGenerationAsyncDestroy.g.cs | 24 +- ...ent.VideoVideoGenerationAsyncRetrieve.g.cs | 24 +- ...nt.VideoVideoGenerationAsyncRetrieve2.g.cs | 84 +++--- ...tionClient.ImageImageGenerationCreate.g.cs | 90 +++---- .../EdenAI.IChatClient.LlmLlmChatCreate.g.cs | 63 +++++ ...tionClient.ImageImageGenerationCreate.g.cs | 6 +- ...rserClient.OcrOcrIdentityParserCreate.g.cs | 84 +++--- ...lient.InfoInfoProviderSubfeaturesList.g.cs | 24 +- ...lient.TextTextKeywordExtractionCreate.g.cs | 84 +++--- ...t.VideoVideoLabelDetectionAsyncCreate.g.cs | 24 +- ....VideoVideoLabelDetectionAsyncDestroy.g.cs | 24 +- ...VideoVideoLabelDetectionAsyncRetrieve.g.cs | 24 +- ...ideoVideoLabelDetectionAsyncRetrieve2.g.cs | 84 +++--- ...ent.ImageImageLandmarkDetectionCreate.g.cs | 84 +++--- ...ionTranslationLanguageDetectionCreate.g.cs | 84 +++--- ...nt.VideoVideoLogoDetectionAsyncCreate.g.cs | 24 +- ...t.VideoVideoLogoDetectionAsyncDestroy.g.cs | 24 +- ....VideoVideoLogoDetectionAsyncRetrieve.g.cs | 24 +- ...VideoVideoLogoDetectionAsyncRetrieve2.g.cs | 84 +++--- ...nClient.ImageImageLogoDetectionCreate.g.cs | 84 +++--- ...AI.Models.AudiospeechToTextAsyncModel.g.cs | 92 +++---- ...Models.AudiotextToSpeechResponseModel.g.cs | 42 +-- ...s.ImagebackgroundRemovalResponseModel.g.cs | 44 +-- ...els.ImageexplicitContentResponseModel.g.cs | 42 +-- ....Models.ImagefaceCompareResponseModel.g.cs | 20 +- ...odels.ImagefaceDetectionResponseModel.g.cs | 34 +-- ...I.Models.ImagegenerationResponseModel.g.cs | 66 ++--- ...odels.ImagelogoDetectionResponseModel.g.cs | 42 +-- ...els.ImageobjectDetectionResponseModel.g.cs | 44 +-- ...dels.ImagequestionAnswerResponseModel.g.cs | 14 +- ...denAI.Models.ImagesearchResponseModel.g.cs | 16 +- .../EdenAI.Models.LlmchatResponseModel.g.cs | 250 ++++++++++-------- ...AI.Models.MultimodalchatResponseModel.g.cs | 44 +-- ...nAI.Models.OcranonymizationAsyncModel.g.cs | 14 +- ...dels.OcrbankCheckParsingResponseModel.g.cs | 30 +-- ...ls.OcrcustomDocumentParsingAsyncModel.g.cs | 16 +- ...Models.OcrdataExtractionResponseModel.g.cs | 16 +- ...odels.OcrfinancialParserResponseModel.g.cs | 88 +++--- ...Models.OcridentityParserResponseModel.g.cs | 38 +-- .../EdenAI.Models.OcrocrAsyncModel.g.cs | 34 +-- .../EdenAI.Models.OcrocrResponseModel.g.cs | 54 ++-- ...I.Models.OcrresumeParserResponseModel.g.cs | 24 +- ...Models.TextanonymizationResponseModel.g.cs | 36 +-- .../EdenAI.Models.TextchatResponseModel.g.cs | 106 ++++---- ...AI.Models.TextembeddingsResponseModel.g.cs | 54 ++-- ...ls.TextkeywordExtractionResponseModel.g.cs | 58 ++-- ...xtnamedEntityRecognitionResponseModel.g.cs | 38 +-- ...ls.TextsentimentAnalysisResponseModel.g.cs | 68 ++--- ...AI.Models.TextspellCheckResponseModel.g.cs | 44 +-- ...nAI.Models.TextsummarizeResponseModel.g.cs | 74 +++--- ...dels.TexttopicExtractionResponseModel.g.cs | 18 +- ...tionautomaticTranslationResponseModel.g.cs | 32 +-- ...ationdocumentTranslationResponseModel.g.cs | 16 +- ...slationlanguageDetectionResponseModel.g.cs | 38 +-- ...enAI.Models.VideogenerationAsyncModel.g.cs | 38 +-- ...I.Models.VideologoDetectionAsyncModel.g.cs | 16 +- ...I.Models.VideotextDetectionAsyncModel.g.cs | 20 +- ...rationClient.TextTextModerationCreate.g.cs | 84 +++--- ....TextTextNamedEntityRecognitionCreate.g.cs | 84 +++--- ...lient.ImageImageObjectDetectionCreate.g.cs | 84 +++--- ...t.VideoVideoObjectTrackingAsyncCreate.g.cs | 24 +- ....VideoVideoObjectTrackingAsyncDestroy.g.cs | 24 +- ...VideoVideoObjectTrackingAsyncRetrieve.g.cs | 24 +- ...ideoVideoObjectTrackingAsyncRetrieve2.g.cs | 84 +++--- ...I.OcrAsyncClient.OcrOcrOcrAsyncCreate.g.cs | 24 +- ....OcrAsyncClient.OcrOcrOcrAsyncDestroy.g.cs | 24 +- ...OcrAsyncClient.OcrOcrOcrAsyncRetrieve.g.cs | 24 +- ...crAsyncClient.OcrOcrOcrAsyncRetrieve2.g.cs | 84 +++--- .../EdenAI.OcrClient.OcrOcrOcrCreate.g.cs | 84 +++--- ...syncClient.OcrOcrOcrTablesAsyncCreate.g.cs | 24 +- ...yncClient.OcrOcrOcrTablesAsyncDestroy.g.cs | 24 +- ...ncClient.OcrOcrOcrTablesAsyncRetrieve.g.cs | 24 +- ...cClient.OcrOcrOcrTablesAsyncRetrieve2.g.cs | 84 +++--- ...t.VideoVideoPersonTrackingAsyncCreate.g.cs | 24 +- ....VideoVideoPersonTrackingAsyncDestroy.g.cs | 24 +- ...VideoVideoPersonTrackingAsyncRetrieve.g.cs | 24 +- ...ideoVideoPersonTrackingAsyncRetrieve2.g.cs | 84 +++--- ...nClient.TextTextPlagiaDetectionCreate.g.cs | 84 +++--- ...ient.TextTextPromptOptimizationCreate.g.cs | 84 +++--- ...AI.PromptsClient.PromptsPromptsCreate.g.cs | 24 +- ...I.PromptsClient.PromptsPromptsCreate2.g.cs | 24 +- ...I.PromptsClient.PromptsPromptsDestroy.g.cs | 24 +- ...ptsClient.PromptsPromptsHistoryCreate.g.cs | 24 +- ...tsClient.PromptsPromptsHistoryDestroy.g.cs | 24 +- ...omptsClient.PromptsPromptsHistoryList.g.cs | 24 +- ...nt.PromptsPromptsHistoryPartialUpdate.g.cs | 24 +- ...sClient.PromptsPromptsHistoryRetrieve.g.cs | 24 +- ...omptsHistoryTemplateVariablesRetrieve.g.cs | 24 +- ...ptsClient.PromptsPromptsHistoryUpdate.g.cs | 24 +- ...enAI.PromptsClient.PromptsPromptsList.g.cs | 24 +- ...ptsClient.PromptsPromptsPartialUpdate.g.cs | 24 +- ....PromptsClient.PromptsPromptsRetrieve.g.cs | 24 +- ...AI.PromptsClient.PromptsPromptsUpdate.g.cs | 24 +- ...t.VideoVideoQuestionAnswerAsyncCreate.g.cs | 24 +- ....VideoVideoQuestionAnswerAsyncDestroy.g.cs | 24 +- ...VideoVideoQuestionAnswerAsyncRetrieve.g.cs | 24 +- ...ideoVideoQuestionAnswerAsyncRetrieve2.g.cs | 84 +++--- ...Client.ImageImageQuestionAnswerCreate.g.cs | 84 +++--- ...Client.VideoVideoQuestionAnswerCreate.g.cs | 84 +++--- ...sClient.ResourcesResourcesAssetCreate.g.cs | 24 +- ...Client.ResourcesResourcesAssetDestroy.g.cs | 24 +- ....ResourcesResourcesAssetPartialUpdate.g.cs | 24 +- ...lient.ResourcesResourcesAssetRetrieve.g.cs | 24 +- ...sClient.ResourcesResourcesAssetUpdate.g.cs | 24 +- ...ourcesClient.ResourcesResourcesCreate.g.cs | 24 +- ...urcesClient.ResourcesResourcesDestroy.g.cs | 24 +- ...esourcesClient.ResourcesResourcesList.g.cs | 24 +- ...lient.ResourcesResourcesPartialUpdate.g.cs | 24 +- ...rcesClient.ResourcesResourcesRetrieve.g.cs | 24 +- ...ourcesClient.ResourcesResourcesUpdate.g.cs | 24 +- ...ParserClient.OcrOcrResumeParserCreate.g.cs | 84 +++--- ...ent.ImageImageSearchDeleteImageCreate.g.cs | 84 +++--- ...ient.ImageImageSearchGetImageRetrieve.g.cs | 84 +++--- ...ent.ImageImageSearchGetImagesRetrieve.g.cs | 84 +++--- ...mageImageSearchLaunchSimilarityCreate.g.cs | 84 +++--- ...ent.ImageImageSearchUploadImageCreate.g.cs | 84 +++--- ...lient.TextTextSentimentAnalysisCreate.g.cs | 84 +++--- ...eoVideoShotChangeDetectionAsyncCreate.g.cs | 24 +- ...oVideoShotChangeDetectionAsyncDestroy.g.cs | 24 +- ...VideoShotChangeDetectionAsyncRetrieve.g.cs | 24 +- ...ideoShotChangeDetectionAsyncRetrieve2.g.cs | 84 +++--- ...ent.AudioAudioSpeechToTextAsyncCreate.g.cs | 24 +- ...nt.AudioAudioSpeechToTextAsyncDestroy.g.cs | 24 +- ...t.AudioAudioSpeechToTextAsyncRetrieve.g.cs | 24 +- ....AudioAudioSpeechToTextAsyncRetrieve2.g.cs | 84 +++--- ...lCheckClient.TextTextSpellCheckCreate.g.cs | 84 +++--- ...mmarizeClient.TextTextSummarizeCreate.g.cs | 84 +++--- ...nt.VideoVideoTextDetectionAsyncCreate.g.cs | 24 +- ...t.VideoVideoTextDetectionAsyncDestroy.g.cs | 24 +- ....VideoVideoTextDetectionAsyncRetrieve.g.cs | 24 +- ...VideoVideoTextDetectionAsyncRetrieve2.g.cs | 84 +++--- ...ent.AudioAudioTextToSpeechAsyncCreate.g.cs | 24 +- ...nt.AudioAudioTextToSpeechAsyncDestroy.g.cs | 24 +- ...t.AudioAudioTextToSpeechAsyncRetrieve.g.cs | 24 +- ....AudioAudioTextToSpeechAsyncRetrieve2.g.cs | 84 +++--- ...chClient.AudioAudioTextToSpeechCreate.g.cs | 84 +++--- ...nClient.TextTextTopicExtractionCreate.g.cs | 84 +++--- ...ementClient.UserUserCustomTokenCreate.g.cs | 24 +- ...mentClient.UserUserCustomTokenDestroy.g.cs | 24 +- ...agementClient.UserUserCustomTokenList.g.cs | 24 +- ...ient.UserUserCustomTokenPartialUpdate.g.cs | 24 +- ...entClient.UserUserCustomTokenRetrieve.g.cs | 24 +- ....WorkflowWorkflowWebhookPartialUpdate.g.cs | 24 +- ...kClient.WorkflowWorkflowWebhookUpdate.g.cs | 24 +- ...rkflowsClient.WorkflowWorkflowDestroy.g.cs | 24 +- ....WorkflowsClient.WorkflowWorkflowList.g.cs | 24 +- ...kflowsClient.WorkflowWorkflowRetrieve.g.cs | 24 +- src/libs/EdenAI/openapi.json | 2 +- 248 files changed, 5592 insertions(+), 6483 deletions(-) diff --git a/src/libs/EdenAI/Generated/EdenAI.AiDetectionClient.ImageImageAiDetectionCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.AiDetectionClient.ImageImageAiDetectionCreate.g.cs index 8bdca266..0be78aa4 100644 --- a/src/libs/EdenAI/Generated/EdenAI.AiDetectionClient.ImageImageAiDetectionCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.AiDetectionClient.ImageImageAiDetectionCreate.g.cs @@ -370,18 +370,17 @@ partial void ProcessImageImageAiDetectionCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -408,18 +407,17 @@ partial void ProcessImageImageAiDetectionCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -446,18 +444,17 @@ partial void ProcessImageImageAiDetectionCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -484,18 +481,17 @@ partial void ProcessImageImageAiDetectionCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -529,17 +525,15 @@ partial void ProcessImageImageAiDetectionCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -576,17 +570,15 @@ partial void ProcessImageImageAiDetectionCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.AiDetectionClient.TextTextAiDetectionCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.AiDetectionClient.TextTextAiDetectionCreate.g.cs index f89f9c7e..b60083e2 100644 --- a/src/libs/EdenAI/Generated/EdenAI.AiDetectionClient.TextTextAiDetectionCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.AiDetectionClient.TextTextAiDetectionCreate.g.cs @@ -402,18 +402,17 @@ partial void ProcessTextTextAiDetectionCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -440,18 +439,17 @@ partial void ProcessTextTextAiDetectionCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -478,18 +476,17 @@ partial void ProcessTextTextAiDetectionCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -516,18 +513,17 @@ partial void ProcessTextTextAiDetectionCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -561,17 +557,15 @@ partial void ProcessTextTextAiDetectionCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -608,17 +602,15 @@ partial void ProcessTextTextAiDetectionCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.AnonymizationAsyncClient.OcrOcrAnonymizationAsyncCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.AnonymizationAsyncClient.OcrOcrAnonymizationAsyncCreate.g.cs index 5d727cc0..d91eb8cb 100644 --- a/src/libs/EdenAI/Generated/EdenAI.AnonymizationAsyncClient.OcrOcrAnonymizationAsyncCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.AnonymizationAsyncClient.OcrOcrAnonymizationAsyncCreate.g.cs @@ -517,17 +517,15 @@ request.Filename is null } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -564,17 +562,15 @@ request.Filename is null { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.AnonymizationAsyncClient.OcrOcrAnonymizationAsyncDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.AnonymizationAsyncClient.OcrOcrAnonymizationAsyncDestroy.g.cs index 603ecdc5..95eeba17 100644 --- a/src/libs/EdenAI/Generated/EdenAI.AnonymizationAsyncClient.OcrOcrAnonymizationAsyncDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.AnonymizationAsyncClient.OcrOcrAnonymizationAsyncDestroy.g.cs @@ -352,17 +352,15 @@ await OcrOcrAnonymizationAsyncDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -390,17 +388,15 @@ await OcrOcrAnonymizationAsyncDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.AnonymizationAsyncClient.OcrOcrAnonymizationAsyncRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.AnonymizationAsyncClient.OcrOcrAnonymizationAsyncRetrieve.g.cs index bcc4a47b..269414d8 100644 --- a/src/libs/EdenAI/Generated/EdenAI.AnonymizationAsyncClient.OcrOcrAnonymizationAsyncRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.AnonymizationAsyncClient.OcrOcrAnonymizationAsyncRetrieve.g.cs @@ -362,17 +362,15 @@ partial void ProcessOcrOcrAnonymizationAsyncRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -409,17 +407,15 @@ partial void ProcessOcrOcrAnonymizationAsyncRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.AnonymizationAsyncClient.OcrOcrAnonymizationAsyncRetrieve2.g.cs b/src/libs/EdenAI/Generated/EdenAI.AnonymizationAsyncClient.OcrOcrAnonymizationAsyncRetrieve2.g.cs index 3d703285..63459c4d 100644 --- a/src/libs/EdenAI/Generated/EdenAI.AnonymizationAsyncClient.OcrOcrAnonymizationAsyncRetrieve2.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.AnonymizationAsyncClient.OcrOcrAnonymizationAsyncRetrieve2.g.cs @@ -395,18 +395,17 @@ partial void ProcessOcrOcrAnonymizationAsyncRetrieve2ResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -433,18 +432,17 @@ partial void ProcessOcrOcrAnonymizationAsyncRetrieve2ResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -471,18 +469,17 @@ partial void ProcessOcrOcrAnonymizationAsyncRetrieve2ResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -509,18 +506,17 @@ partial void ProcessOcrOcrAnonymizationAsyncRetrieve2ResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -554,17 +550,15 @@ partial void ProcessOcrOcrAnonymizationAsyncRetrieve2ResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -601,17 +595,15 @@ partial void ProcessOcrOcrAnonymizationAsyncRetrieve2ResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.AnonymizationClient.ImageImageAnonymizationCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.AnonymizationClient.ImageImageAnonymizationCreate.g.cs index 06727fb1..fe60bbe9 100644 --- a/src/libs/EdenAI/Generated/EdenAI.AnonymizationClient.ImageImageAnonymizationCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.AnonymizationClient.ImageImageAnonymizationCreate.g.cs @@ -370,18 +370,17 @@ partial void ProcessImageImageAnonymizationCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -408,18 +407,17 @@ partial void ProcessImageImageAnonymizationCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -446,18 +444,17 @@ partial void ProcessImageImageAnonymizationCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -484,18 +481,17 @@ partial void ProcessImageImageAnonymizationCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -529,17 +525,15 @@ partial void ProcessImageImageAnonymizationCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -576,17 +570,15 @@ partial void ProcessImageImageAnonymizationCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.AnonymizationClient.TextTextAnonymizationCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.AnonymizationClient.TextTextAnonymizationCreate.g.cs index a1e0a055..06b04b99 100644 --- a/src/libs/EdenAI/Generated/EdenAI.AnonymizationClient.TextTextAnonymizationCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.AnonymizationClient.TextTextAnonymizationCreate.g.cs @@ -742,18 +742,17 @@ partial void ProcessTextTextAnonymizationCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -780,18 +779,17 @@ partial void ProcessTextTextAnonymizationCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -818,18 +816,17 @@ partial void ProcessTextTextAnonymizationCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -856,18 +853,17 @@ partial void ProcessTextTextAnonymizationCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -901,17 +897,15 @@ partial void ProcessTextTextAnonymizationCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -948,17 +942,15 @@ partial void ProcessTextTextAnonymizationCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.AutomaticTranslationClient.TranslationTranslationAutomaticTranslationCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.AutomaticTranslationClient.TranslationTranslationAutomaticTranslationCreate.g.cs index e89e169e..66e807e8 100644 --- a/src/libs/EdenAI/Generated/EdenAI.AutomaticTranslationClient.TranslationTranslationAutomaticTranslationCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.AutomaticTranslationClient.TranslationTranslationAutomaticTranslationCreate.g.cs @@ -710,18 +710,17 @@ partial void ProcessTranslationTranslationAutomaticTranslationCreateResponseCont __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -748,18 +747,17 @@ partial void ProcessTranslationTranslationAutomaticTranslationCreateResponseCont __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -786,18 +784,17 @@ partial void ProcessTranslationTranslationAutomaticTranslationCreateResponseCont __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -824,18 +821,17 @@ partial void ProcessTranslationTranslationAutomaticTranslationCreateResponseCont __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -869,17 +865,15 @@ partial void ProcessTranslationTranslationAutomaticTranslationCreateResponseCont } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -916,17 +910,15 @@ partial void ProcessTranslationTranslationAutomaticTranslationCreateResponseCont { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationCreateProjectCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationCreateProjectCreate.g.cs index fb16bfbe..7419efe1 100644 --- a/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationCreateProjectCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationCreateProjectCreate.g.cs @@ -370,18 +370,17 @@ partial void ProcessImageImageAutomlClassificationCreateProjectCreateResponseCon __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -408,18 +407,17 @@ partial void ProcessImageImageAutomlClassificationCreateProjectCreateResponseCon __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -446,18 +444,17 @@ partial void ProcessImageImageAutomlClassificationCreateProjectCreateResponseCon __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -484,18 +481,17 @@ partial void ProcessImageImageAutomlClassificationCreateProjectCreateResponseCon __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -529,17 +525,15 @@ partial void ProcessImageImageAutomlClassificationCreateProjectCreateResponseCon } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -576,17 +570,15 @@ partial void ProcessImageImageAutomlClassificationCreateProjectCreateResponseCon { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationDeleteProjectCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationDeleteProjectCreate.g.cs index c524199a..ff23d742 100644 --- a/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationDeleteProjectCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationDeleteProjectCreate.g.cs @@ -370,18 +370,17 @@ partial void ProcessImageImageAutomlClassificationDeleteProjectCreateResponseCon __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -408,18 +407,17 @@ partial void ProcessImageImageAutomlClassificationDeleteProjectCreateResponseCon __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -446,18 +444,17 @@ partial void ProcessImageImageAutomlClassificationDeleteProjectCreateResponseCon __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -484,18 +481,17 @@ partial void ProcessImageImageAutomlClassificationDeleteProjectCreateResponseCon __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -529,17 +525,15 @@ partial void ProcessImageImageAutomlClassificationDeleteProjectCreateResponseCon } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -576,17 +570,15 @@ partial void ProcessImageImageAutomlClassificationDeleteProjectCreateResponseCon { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationListProjectsRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationListProjectsRetrieve.g.cs index 42ad27d5..1f31e3ab 100644 --- a/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationListProjectsRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationListProjectsRetrieve.g.cs @@ -353,18 +353,17 @@ partial void ProcessImageImageAutomlClassificationListProjectsRetrieveResponseCo __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -391,18 +390,17 @@ partial void ProcessImageImageAutomlClassificationListProjectsRetrieveResponseCo __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -429,18 +427,17 @@ partial void ProcessImageImageAutomlClassificationListProjectsRetrieveResponseCo __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -467,18 +464,17 @@ partial void ProcessImageImageAutomlClassificationListProjectsRetrieveResponseCo __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -512,17 +508,15 @@ partial void ProcessImageImageAutomlClassificationListProjectsRetrieveResponseCo } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -559,17 +553,15 @@ partial void ProcessImageImageAutomlClassificationListProjectsRetrieveResponseCo { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationPredictAsyncCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationPredictAsyncCreate.g.cs index c9fd9cf9..2908f85d 100644 --- a/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationPredictAsyncCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationPredictAsyncCreate.g.cs @@ -501,17 +501,15 @@ request.Filename is null } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -548,17 +546,15 @@ request.Filename is null { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationPredictAsyncRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationPredictAsyncRetrieve.g.cs index b971824f..c8499700 100644 --- a/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationPredictAsyncRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationPredictAsyncRetrieve.g.cs @@ -362,17 +362,15 @@ partial void ProcessImageImageAutomlClassificationPredictAsyncRetrieveResponseCo } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -409,17 +407,15 @@ partial void ProcessImageImageAutomlClassificationPredictAsyncRetrieveResponseCo { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationPredictAsyncRetrieve2.g.cs b/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationPredictAsyncRetrieve2.g.cs index 3f08983e..fe5e9fc6 100644 --- a/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationPredictAsyncRetrieve2.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationPredictAsyncRetrieve2.g.cs @@ -395,18 +395,17 @@ partial void ProcessImageImageAutomlClassificationPredictAsyncRetrieve2ResponseC __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -433,18 +432,17 @@ partial void ProcessImageImageAutomlClassificationPredictAsyncRetrieve2ResponseC __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -471,18 +469,17 @@ partial void ProcessImageImageAutomlClassificationPredictAsyncRetrieve2ResponseC __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -509,18 +506,17 @@ partial void ProcessImageImageAutomlClassificationPredictAsyncRetrieve2ResponseC __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -554,17 +550,15 @@ partial void ProcessImageImageAutomlClassificationPredictAsyncRetrieve2ResponseC } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -601,17 +595,15 @@ partial void ProcessImageImageAutomlClassificationPredictAsyncRetrieve2ResponseC { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationTrainAsyncCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationTrainAsyncCreate.g.cs index 9ddbc38a..36fd7fdf 100644 --- a/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationTrainAsyncCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationTrainAsyncCreate.g.cs @@ -450,17 +450,15 @@ partial void ProcessImageImageAutomlClassificationTrainAsyncCreateResponseConten } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -497,17 +495,15 @@ partial void ProcessImageImageAutomlClassificationTrainAsyncCreateResponseConten { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationTrainAsyncRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationTrainAsyncRetrieve.g.cs index d63767ca..92eec79e 100644 --- a/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationTrainAsyncRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationTrainAsyncRetrieve.g.cs @@ -362,17 +362,15 @@ partial void ProcessImageImageAutomlClassificationTrainAsyncRetrieveResponseCont } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -409,17 +407,15 @@ partial void ProcessImageImageAutomlClassificationTrainAsyncRetrieveResponseCont { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationTrainAsyncRetrieve2.g.cs b/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationTrainAsyncRetrieve2.g.cs index 3b579e94..ccefc0ba 100644 --- a/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationTrainAsyncRetrieve2.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationTrainAsyncRetrieve2.g.cs @@ -395,18 +395,17 @@ partial void ProcessImageImageAutomlClassificationTrainAsyncRetrieve2ResponseCon __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -433,18 +432,17 @@ partial void ProcessImageImageAutomlClassificationTrainAsyncRetrieve2ResponseCon __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -471,18 +469,17 @@ partial void ProcessImageImageAutomlClassificationTrainAsyncRetrieve2ResponseCon __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -509,18 +506,17 @@ partial void ProcessImageImageAutomlClassificationTrainAsyncRetrieve2ResponseCon __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -554,17 +550,15 @@ partial void ProcessImageImageAutomlClassificationTrainAsyncRetrieve2ResponseCon } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -601,17 +595,15 @@ partial void ProcessImageImageAutomlClassificationTrainAsyncRetrieve2ResponseCon { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationUploadDataAsyncCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationUploadDataAsyncCreate.g.cs index 7297f48c..2cea2113 100644 --- a/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationUploadDataAsyncCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationUploadDataAsyncCreate.g.cs @@ -509,17 +509,15 @@ request.Filename is null } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -556,17 +554,15 @@ request.Filename is null { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationUploadDataAsyncRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationUploadDataAsyncRetrieve.g.cs index 3bdabef8..4c68432e 100644 --- a/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationUploadDataAsyncRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationUploadDataAsyncRetrieve.g.cs @@ -362,17 +362,15 @@ partial void ProcessImageImageAutomlClassificationUploadDataAsyncRetrieveRespons } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -409,17 +407,15 @@ partial void ProcessImageImageAutomlClassificationUploadDataAsyncRetrieveRespons { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationUploadDataAsyncRetrieve2.g.cs b/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationUploadDataAsyncRetrieve2.g.cs index 3f56b808..114a6192 100644 --- a/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationUploadDataAsyncRetrieve2.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.AutomlClassificationClient.ImageImageAutomlClassificationUploadDataAsyncRetrieve2.g.cs @@ -395,18 +395,17 @@ partial void ProcessImageImageAutomlClassificationUploadDataAsyncRetrieve2Respon __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -433,18 +432,17 @@ partial void ProcessImageImageAutomlClassificationUploadDataAsyncRetrieve2Respon __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -471,18 +469,17 @@ partial void ProcessImageImageAutomlClassificationUploadDataAsyncRetrieve2Respon __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -509,18 +506,17 @@ partial void ProcessImageImageAutomlClassificationUploadDataAsyncRetrieve2Respon __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -554,17 +550,15 @@ partial void ProcessImageImageAutomlClassificationUploadDataAsyncRetrieve2Respon } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -601,17 +595,15 @@ partial void ProcessImageImageAutomlClassificationUploadDataAsyncRetrieve2Respon { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.BackgroundRemovalClient.ImageImageBackgroundRemovalCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.BackgroundRemovalClient.ImageImageBackgroundRemovalCreate.g.cs index ca4e48fa..0cc150ad 100644 --- a/src/libs/EdenAI/Generated/EdenAI.BackgroundRemovalClient.ImageImageBackgroundRemovalCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.BackgroundRemovalClient.ImageImageBackgroundRemovalCreate.g.cs @@ -380,18 +380,17 @@ partial void ProcessImageImageBackgroundRemovalCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -418,18 +417,17 @@ partial void ProcessImageImageBackgroundRemovalCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -456,18 +454,17 @@ partial void ProcessImageImageBackgroundRemovalCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -494,18 +491,17 @@ partial void ProcessImageImageBackgroundRemovalCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -539,17 +535,15 @@ partial void ProcessImageImageBackgroundRemovalCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -586,17 +580,15 @@ partial void ProcessImageImageBackgroundRemovalCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.BankCheckParsingClient.OcrOcrBankCheckParsingCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.BankCheckParsingClient.OcrOcrBankCheckParsingCreate.g.cs index 35cbf11a..c9980e43 100644 --- a/src/libs/EdenAI/Generated/EdenAI.BankCheckParsingClient.OcrOcrBankCheckParsingCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.BankCheckParsingClient.OcrOcrBankCheckParsingCreate.g.cs @@ -376,18 +376,17 @@ partial void ProcessOcrOcrBankCheckParsingCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -414,18 +413,17 @@ partial void ProcessOcrOcrBankCheckParsingCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -452,18 +450,17 @@ partial void ProcessOcrOcrBankCheckParsingCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -490,18 +487,17 @@ partial void ProcessOcrOcrBankCheckParsingCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -535,17 +531,15 @@ partial void ProcessOcrOcrBankCheckParsingCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -582,17 +576,15 @@ partial void ProcessOcrOcrBankCheckParsingCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.BatchClient.BatchBatchList.g.cs b/src/libs/EdenAI/Generated/EdenAI.BatchClient.BatchBatchList.g.cs index 4b9c4a9a..2e51a1a4 100644 --- a/src/libs/EdenAI/Generated/EdenAI.BatchClient.BatchBatchList.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.BatchClient.BatchBatchList.g.cs @@ -347,17 +347,15 @@ partial void ProcessBatchBatchListResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -394,17 +392,15 @@ partial void ProcessBatchBatchListResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.BatchClient.FeatureBatchCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.BatchClient.FeatureBatchCreate.g.cs index 543d3ee4..be5b0026 100644 --- a/src/libs/EdenAI/Generated/EdenAI.BatchClient.FeatureBatchCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.BatchClient.FeatureBatchCreate.g.cs @@ -513,18 +513,17 @@ partial void ProcessFeatureBatchCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -551,18 +550,17 @@ partial void ProcessFeatureBatchCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -589,18 +587,17 @@ partial void ProcessFeatureBatchCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -627,18 +624,17 @@ partial void ProcessFeatureBatchCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -672,17 +668,15 @@ partial void ProcessFeatureBatchCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -719,17 +713,15 @@ partial void ProcessFeatureBatchCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.BatchClient.FeatureBatchDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.BatchClient.FeatureBatchDestroy.g.cs index d1b6a755..a156bbc4 100644 --- a/src/libs/EdenAI/Generated/EdenAI.BatchClient.FeatureBatchDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.BatchClient.FeatureBatchDestroy.g.cs @@ -362,17 +362,15 @@ await FeatureBatchDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -400,17 +398,15 @@ await FeatureBatchDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.BatchClient.FeatureBatchRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.BatchClient.FeatureBatchRetrieve.g.cs index 0560af2e..f51e67ad 100644 --- a/src/libs/EdenAI/Generated/EdenAI.BatchClient.FeatureBatchRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.BatchClient.FeatureBatchRetrieve.g.cs @@ -413,18 +413,17 @@ partial void ProcessFeatureBatchRetrieveResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -451,18 +450,17 @@ partial void ProcessFeatureBatchRetrieveResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -489,18 +487,17 @@ partial void ProcessFeatureBatchRetrieveResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -527,18 +524,17 @@ partial void ProcessFeatureBatchRetrieveResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -572,17 +568,15 @@ partial void ProcessFeatureBatchRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -619,17 +613,15 @@ partial void ProcessFeatureBatchRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ChatClient.LlmLlmChatCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.ChatClient.LlmLlmChatCreate.g.cs index 87a61933..15c68b9d 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ChatClient.LlmLlmChatCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ChatClient.LlmLlmChatCreate.g.cs @@ -400,6 +400,27 @@ partial void ProcessLlmLlmChatCreateResponseContent( /// |**fireworks_ai**|**accounts/fireworks/models/llama-v3p3-70b-instruct**|`llmengine (v2)`|9e-07 (per 1 token)|1 token
/// |**fireworks_ai**|**accounts/fireworks/models/minimax-m2**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
/// |**fireworks_ai**|**accounts/fireworks/models/mixtral-8x22b-instruct**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
+ /// |**nebius**|**MiniMaxAI/MiniMax-M2.1**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
+ /// |**nebius**|**moonshotai/Kimi-K2-Instruct**|`llmengine (v2)`|2.4e-06 (per 1 token)|1 token
+ /// |**nebius**|**moonshotai/Kimi-K2-Thinking**|`llmengine (v2)`|2.5e-06 (per 1 token)|1 token
+ /// |**nebius**|**NousResearch/Hermes-4-405B**|`llmengine (v2)`|3e-06 (per 1 token)|1 token
+ /// |**nebius**|**NousResearch/Hermes-4-70B**|`llmengine (v2)`|4e-07 (per 1 token)|1 token
+ /// |**nebius**|**nvidia/Llama-3_1-Nemotron-Ultra-253B-v1**|`llmengine (v2)`|1.8e-06 (per 1 token)|1 token
+ /// |**nebius**|**nvidia/Nemotron-Nano-V2-12b**|`llmengine (v2)`|2e-07 (per 1 token)|1 token
+ /// |**nebius**|**openai/gpt-oss-120b**|`llmengine (v2)`|6e-07 (per 1 token)|1 token
+ /// |**nebius**|**openai/gpt-oss-20b**|`llmengine (v2)`|2e-07 (per 1 token)|1 token
+ /// |**nebius**|**PrimeIntellect/INTELLECT-3**|`llmengine (v2)`|1.1e-06 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen2.5-VL-72B-Instruct**|`llmengine (v2)`|7.5e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-235B-A22B-Instruct-2507**|`llmengine (v2)`|6e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-235B-A22B-Thinking-2507**|`llmengine (v2)`|8e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-30B-A3B-Instruct-2507**|`llmengine (v2)`|3e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-30B-A3B-Thinking-2507**|`llmengine (v2)`|3e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-32B**|`llmengine (v2)`|3e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-Coder-30B-A3B-Instruct**|`llmengine (v2)`|3e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-Coder-480B-A35B-Instruct**|`llmengine (v2)`|1.8e-06 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-Next-80B-A3B-Thinking**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
+ /// |**nebius**|**zai-org/GLM-4.5**|`llmengine (v2)`|2.2e-06 (per 1 token)|1 token
+ /// |**nebius**|**zai-org/GLM-4.5-Air**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
/// |**ovhcloud**|**DeepSeek-R1-Distill-Llama-70B**|`llmengine (v2)`|6.7e-07 (per 1 token)|1 token
/// |**ovhcloud**|**Llama-3.1-8B-Instruct**|`llmengine (v2)`|1e-07 (per 1 token)|1 token
/// |**ovhcloud**|**Meta-Llama-3_3-70B-Instruct**|`llmengine (v2)`|6.7e-07 (per 1 token)|1 token
@@ -815,6 +836,27 @@ partial void ProcessLlmLlmChatCreateResponseContent( /// |**fireworks_ai**|**accounts/fireworks/models/llama-v3p3-70b-instruct**|`llmengine (v2)`|9e-07 (per 1 token)|1 token
/// |**fireworks_ai**|**accounts/fireworks/models/minimax-m2**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
/// |**fireworks_ai**|**accounts/fireworks/models/mixtral-8x22b-instruct**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
+ /// |**nebius**|**MiniMaxAI/MiniMax-M2.1**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
+ /// |**nebius**|**moonshotai/Kimi-K2-Instruct**|`llmengine (v2)`|2.4e-06 (per 1 token)|1 token
+ /// |**nebius**|**moonshotai/Kimi-K2-Thinking**|`llmengine (v2)`|2.5e-06 (per 1 token)|1 token
+ /// |**nebius**|**NousResearch/Hermes-4-405B**|`llmengine (v2)`|3e-06 (per 1 token)|1 token
+ /// |**nebius**|**NousResearch/Hermes-4-70B**|`llmengine (v2)`|4e-07 (per 1 token)|1 token
+ /// |**nebius**|**nvidia/Llama-3_1-Nemotron-Ultra-253B-v1**|`llmengine (v2)`|1.8e-06 (per 1 token)|1 token
+ /// |**nebius**|**nvidia/Nemotron-Nano-V2-12b**|`llmengine (v2)`|2e-07 (per 1 token)|1 token
+ /// |**nebius**|**openai/gpt-oss-120b**|`llmengine (v2)`|6e-07 (per 1 token)|1 token
+ /// |**nebius**|**openai/gpt-oss-20b**|`llmengine (v2)`|2e-07 (per 1 token)|1 token
+ /// |**nebius**|**PrimeIntellect/INTELLECT-3**|`llmengine (v2)`|1.1e-06 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen2.5-VL-72B-Instruct**|`llmengine (v2)`|7.5e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-235B-A22B-Instruct-2507**|`llmengine (v2)`|6e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-235B-A22B-Thinking-2507**|`llmengine (v2)`|8e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-30B-A3B-Instruct-2507**|`llmengine (v2)`|3e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-30B-A3B-Thinking-2507**|`llmengine (v2)`|3e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-32B**|`llmengine (v2)`|3e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-Coder-30B-A3B-Instruct**|`llmengine (v2)`|3e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-Coder-480B-A35B-Instruct**|`llmengine (v2)`|1.8e-06 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-Next-80B-A3B-Thinking**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
+ /// |**nebius**|**zai-org/GLM-4.5**|`llmengine (v2)`|2.2e-06 (per 1 token)|1 token
+ /// |**nebius**|**zai-org/GLM-4.5-Air**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
/// |**ovhcloud**|**DeepSeek-R1-Distill-Llama-70B**|`llmengine (v2)`|6.7e-07 (per 1 token)|1 token
/// |**ovhcloud**|**Llama-3.1-8B-Instruct**|`llmengine (v2)`|1e-07 (per 1 token)|1 token
/// |**ovhcloud**|**Meta-Llama-3_3-70B-Instruct**|`llmengine (v2)`|6.7e-07 (per 1 token)|1 token
@@ -1146,18 +1188,17 @@ partial void ProcessLlmLlmChatCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -1184,18 +1225,17 @@ partial void ProcessLlmLlmChatCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -1222,18 +1262,17 @@ partial void ProcessLlmLlmChatCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -1260,18 +1299,17 @@ partial void ProcessLlmLlmChatCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -1305,17 +1343,15 @@ partial void ProcessLlmLlmChatCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -1352,17 +1388,15 @@ partial void ProcessLlmLlmChatCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } @@ -1732,6 +1766,27 @@ partial void ProcessLlmLlmChatCreateResponseContent( /// |**fireworks_ai**|**accounts/fireworks/models/llama-v3p3-70b-instruct**|`llmengine (v2)`|9e-07 (per 1 token)|1 token
/// |**fireworks_ai**|**accounts/fireworks/models/minimax-m2**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
/// |**fireworks_ai**|**accounts/fireworks/models/mixtral-8x22b-instruct**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
+ /// |**nebius**|**MiniMaxAI/MiniMax-M2.1**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
+ /// |**nebius**|**moonshotai/Kimi-K2-Instruct**|`llmengine (v2)`|2.4e-06 (per 1 token)|1 token
+ /// |**nebius**|**moonshotai/Kimi-K2-Thinking**|`llmengine (v2)`|2.5e-06 (per 1 token)|1 token
+ /// |**nebius**|**NousResearch/Hermes-4-405B**|`llmengine (v2)`|3e-06 (per 1 token)|1 token
+ /// |**nebius**|**NousResearch/Hermes-4-70B**|`llmengine (v2)`|4e-07 (per 1 token)|1 token
+ /// |**nebius**|**nvidia/Llama-3_1-Nemotron-Ultra-253B-v1**|`llmengine (v2)`|1.8e-06 (per 1 token)|1 token
+ /// |**nebius**|**nvidia/Nemotron-Nano-V2-12b**|`llmengine (v2)`|2e-07 (per 1 token)|1 token
+ /// |**nebius**|**openai/gpt-oss-120b**|`llmengine (v2)`|6e-07 (per 1 token)|1 token
+ /// |**nebius**|**openai/gpt-oss-20b**|`llmengine (v2)`|2e-07 (per 1 token)|1 token
+ /// |**nebius**|**PrimeIntellect/INTELLECT-3**|`llmengine (v2)`|1.1e-06 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen2.5-VL-72B-Instruct**|`llmengine (v2)`|7.5e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-235B-A22B-Instruct-2507**|`llmengine (v2)`|6e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-235B-A22B-Thinking-2507**|`llmengine (v2)`|8e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-30B-A3B-Instruct-2507**|`llmengine (v2)`|3e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-30B-A3B-Thinking-2507**|`llmengine (v2)`|3e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-32B**|`llmengine (v2)`|3e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-Coder-30B-A3B-Instruct**|`llmengine (v2)`|3e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-Coder-480B-A35B-Instruct**|`llmengine (v2)`|1.8e-06 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-Next-80B-A3B-Thinking**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
+ /// |**nebius**|**zai-org/GLM-4.5**|`llmengine (v2)`|2.2e-06 (per 1 token)|1 token
+ /// |**nebius**|**zai-org/GLM-4.5-Air**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
/// |**ovhcloud**|**DeepSeek-R1-Distill-Llama-70B**|`llmengine (v2)`|6.7e-07 (per 1 token)|1 token
/// |**ovhcloud**|**Llama-3.1-8B-Instruct**|`llmengine (v2)`|1e-07 (per 1 token)|1 token
/// |**ovhcloud**|**Meta-Llama-3_3-70B-Instruct**|`llmengine (v2)`|6.7e-07 (per 1 token)|1 token
diff --git a/src/libs/EdenAI/Generated/EdenAI.ChatClient.MultimodalMultimodalChatCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.ChatClient.MultimodalMultimodalChatCreate.g.cs index 625ada1c..4e8ba9b7 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ChatClient.MultimodalMultimodalChatCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ChatClient.MultimodalMultimodalChatCreate.g.cs @@ -472,18 +472,17 @@ partial void ProcessMultimodalMultimodalChatCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -510,18 +509,17 @@ partial void ProcessMultimodalMultimodalChatCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -548,18 +546,17 @@ partial void ProcessMultimodalMultimodalChatCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -586,18 +583,17 @@ partial void ProcessMultimodalMultimodalChatCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -631,17 +627,15 @@ partial void ProcessMultimodalMultimodalChatCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -678,17 +672,15 @@ partial void ProcessMultimodalMultimodalChatCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ChatClient.TextTextChatCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.ChatClient.TextTextChatCreate.g.cs index 4bf1dc25..90848381 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ChatClient.TextTextChatCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ChatClient.TextTextChatCreate.g.cs @@ -1038,18 +1038,17 @@ partial void ProcessTextTextChatCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -1076,18 +1075,17 @@ partial void ProcessTextTextChatCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -1114,18 +1112,17 @@ partial void ProcessTextTextChatCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -1152,18 +1149,17 @@ partial void ProcessTextTextChatCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -1197,17 +1193,15 @@ partial void ProcessTextTextChatCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -1244,17 +1238,15 @@ partial void ProcessTextTextChatCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ChatClient.TextTextChatStreamCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.ChatClient.TextTextChatStreamCreate.g.cs index 98f0ccbd..49a44a94 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ChatClient.TextTextChatStreamCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ChatClient.TextTextChatStreamCreate.g.cs @@ -369,17 +369,15 @@ partial void ProcessTextTextChatStreamCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -414,17 +412,15 @@ partial void ProcessTextTextChatStreamCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CodeGenerationClient.TextTextCodeGenerationCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.CodeGenerationClient.TextTextCodeGenerationCreate.g.cs index 402c542f..ae25e1f6 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CodeGenerationClient.TextTextCodeGenerationCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CodeGenerationClient.TextTextCodeGenerationCreate.g.cs @@ -722,18 +722,17 @@ partial void ProcessTextTextCodeGenerationCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -760,18 +759,17 @@ partial void ProcessTextTextCodeGenerationCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -798,18 +796,17 @@ partial void ProcessTextTextCodeGenerationCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -836,18 +833,17 @@ partial void ProcessTextTextCodeGenerationCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -881,17 +877,15 @@ partial void ProcessTextTextCodeGenerationCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -928,17 +922,15 @@ partial void ProcessTextTextCodeGenerationCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CostMonitoringClient.CostManagementCostManagementRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.CostMonitoringClient.CostManagementCostManagementRetrieve.g.cs index 46e40f38..4dc6f3b3 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CostMonitoringClient.CostManagementCostManagementRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CostMonitoringClient.CostManagementCostManagementRetrieve.g.cs @@ -448,18 +448,17 @@ partial void ProcessCostManagementCostManagementRetrieveResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -486,18 +485,17 @@ partial void ProcessCostManagementCostManagementRetrieveResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -524,18 +522,17 @@ partial void ProcessCostManagementCostManagementRetrieveResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -562,18 +559,17 @@ partial void ProcessCostManagementCostManagementRetrieveResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -607,17 +603,15 @@ partial void ProcessCostManagementCostManagementRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -654,17 +648,15 @@ partial void ProcessCostManagementCostManagementRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CostMonitoringClient.CostManagementDisplayNameOfYourSubfeature.g.cs b/src/libs/EdenAI/Generated/EdenAI.CostMonitoringClient.CostManagementDisplayNameOfYourSubfeature.g.cs index 871c6d6f..ffcecfc1 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CostMonitoringClient.CostManagementDisplayNameOfYourSubfeature.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CostMonitoringClient.CostManagementDisplayNameOfYourSubfeature.g.cs @@ -349,17 +349,15 @@ partial void ProcessCostManagementDisplayNameOfYourSubfeatureResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -396,17 +394,15 @@ partial void ProcessCostManagementDisplayNameOfYourSubfeatureResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotCreateOperationsClient.AiproductsAiproductsAskyodaV2ConversationsCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotCreateOperationsClient.AiproductsAiproductsAskyodaV2ConversationsCreate.g.cs index bbd9727f..c312d1c5 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotCreateOperationsClient.AiproductsAiproductsAskyodaV2ConversationsCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotCreateOperationsClient.AiproductsAiproductsAskyodaV2ConversationsCreate.g.cs @@ -387,17 +387,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2ConversationsCreateResponseCont } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -434,17 +432,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2ConversationsCreateResponseCont { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotCreateOperationsClient.AiproductsAiproductsAskyodaV2Create.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotCreateOperationsClient.AiproductsAiproductsAskyodaV2Create.g.cs index f9902442..b419acec 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotCreateOperationsClient.AiproductsAiproductsAskyodaV2Create.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotCreateOperationsClient.AiproductsAiproductsAskyodaV2Create.g.cs @@ -391,18 +391,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2CreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -429,18 +428,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2CreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -467,18 +465,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2CreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -505,18 +502,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2CreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -550,17 +546,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2CreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -597,17 +591,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2CreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotCreateOperationsClient.AiproductsAiproductsAskyodaV2CreateBotPromptCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotCreateOperationsClient.AiproductsAiproductsAskyodaV2CreateBotPromptCreate.g.cs index ccc411e3..8e87042d 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotCreateOperationsClient.AiproductsAiproductsAskyodaV2CreateBotPromptCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotCreateOperationsClient.AiproductsAiproductsAskyodaV2CreateBotPromptCreate.g.cs @@ -419,17 +419,15 @@ await AiproductsAiproductsAskyodaV2CreateBotPromptCreateAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -457,17 +455,15 @@ await AiproductsAiproductsAskyodaV2CreateBotPromptCreateAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotDeleteOperationsClient.AiproductsAiproductsAskyodaV2ConversationsDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotDeleteOperationsClient.AiproductsAiproductsAskyodaV2ConversationsDestroy.g.cs index 7068592b..bb8c3c12 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotDeleteOperationsClient.AiproductsAiproductsAskyodaV2ConversationsDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotDeleteOperationsClient.AiproductsAiproductsAskyodaV2ConversationsDestroy.g.cs @@ -362,17 +362,15 @@ await AiproductsAiproductsAskyodaV2ConversationsDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -400,17 +398,15 @@ await AiproductsAiproductsAskyodaV2ConversationsDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotDeleteOperationsClient.AiproductsAiproductsAskyodaV2DeleteAllChunksDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotDeleteOperationsClient.AiproductsAiproductsAskyodaV2DeleteAllChunksDestroy.g.cs index 21e54840..b3f9b866 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotDeleteOperationsClient.AiproductsAiproductsAskyodaV2DeleteAllChunksDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotDeleteOperationsClient.AiproductsAiproductsAskyodaV2DeleteAllChunksDestroy.g.cs @@ -364,18 +364,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2DeleteAllChunksDestroyResponseC __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -402,18 +401,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2DeleteAllChunksDestroyResponseC __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -440,18 +438,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2DeleteAllChunksDestroyResponseC __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -478,18 +475,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2DeleteAllChunksDestroyResponseC __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -523,17 +519,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2DeleteAllChunksDestroyResponseC } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -570,17 +564,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2DeleteAllChunksDestroyResponseC { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotDeleteOperationsClient.AiproductsAiproductsAskyodaV2DeleteChunkDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotDeleteOperationsClient.AiproductsAiproductsAskyodaV2DeleteChunkDestroy.g.cs index b4464329..f6e6e531 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotDeleteOperationsClient.AiproductsAiproductsAskyodaV2DeleteChunkDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotDeleteOperationsClient.AiproductsAiproductsAskyodaV2DeleteChunkDestroy.g.cs @@ -396,18 +396,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2DeleteChunkDestroyResponseConte __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -434,18 +433,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2DeleteChunkDestroyResponseConte __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -472,18 +470,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2DeleteChunkDestroyResponseConte __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -510,18 +507,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2DeleteChunkDestroyResponseConte __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -555,17 +551,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2DeleteChunkDestroyResponseConte } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -602,17 +596,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2DeleteChunkDestroyResponseConte { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotDeleteOperationsClient.AiproductsAiproductsAskyodaV2FilesDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotDeleteOperationsClient.AiproductsAiproductsAskyodaV2FilesDestroy.g.cs index ab0156ca..9a5ad910 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotDeleteOperationsClient.AiproductsAiproductsAskyodaV2FilesDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotDeleteOperationsClient.AiproductsAiproductsAskyodaV2FilesDestroy.g.cs @@ -362,17 +362,15 @@ await AiproductsAiproductsAskyodaV2FilesDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -400,17 +398,15 @@ await AiproductsAiproductsAskyodaV2FilesDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotDeleteOperationsClient.AiproductsAiproductsAskyodaV2RemoveBotPromptDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotDeleteOperationsClient.AiproductsAiproductsAskyodaV2RemoveBotPromptDestroy.g.cs index 81ef256a..9a66849d 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotDeleteOperationsClient.AiproductsAiproductsAskyodaV2RemoveBotPromptDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotDeleteOperationsClient.AiproductsAiproductsAskyodaV2RemoveBotPromptDestroy.g.cs @@ -357,17 +357,15 @@ await AiproductsAiproductsAskyodaV2RemoveBotPromptDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -395,17 +393,15 @@ await AiproductsAiproductsAskyodaV2RemoveBotPromptDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotDeleteOperationsClient.AiproductsAiproductsDeleteDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotDeleteOperationsClient.AiproductsAiproductsDeleteDestroy.g.cs index a95eeee2..2d5b8c17 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotDeleteOperationsClient.AiproductsAiproductsDeleteDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotDeleteOperationsClient.AiproductsAiproductsDeleteDestroy.g.cs @@ -355,17 +355,15 @@ await AiproductsAiproductsDeleteDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -393,17 +391,15 @@ await AiproductsAiproductsDeleteDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsAskyodaV2ConversationsList.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsAskyodaV2ConversationsList.g.cs index ef27ccdd..d41c11fc 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsAskyodaV2ConversationsList.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsAskyodaV2ConversationsList.g.cs @@ -367,17 +367,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2ConversationsListResponseConten } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -414,17 +412,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2ConversationsListResponseConten { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsAskyodaV2ConversationsRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsAskyodaV2ConversationsRetrieve.g.cs index 1b24258f..ecbacfe4 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsAskyodaV2ConversationsRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsAskyodaV2ConversationsRetrieve.g.cs @@ -376,17 +376,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2ConversationsRetrieveResponseCo } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -423,17 +421,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2ConversationsRetrieveResponseCo { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsAskyodaV2FilesList.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsAskyodaV2FilesList.g.cs index c11ee9ff..b67b794f 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsAskyodaV2FilesList.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsAskyodaV2FilesList.g.cs @@ -367,17 +367,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2FilesListResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -414,17 +412,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2FilesListResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsAskyodaV2FilesRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsAskyodaV2FilesRetrieve.g.cs index 0cbef2b2..e2e635f9 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsAskyodaV2FilesRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsAskyodaV2FilesRetrieve.g.cs @@ -376,17 +376,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2FilesRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -423,17 +421,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2FilesRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsAskyodaV2InfoRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsAskyodaV2InfoRetrieve.g.cs index 724a4d34..7e13e278 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsAskyodaV2InfoRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsAskyodaV2InfoRetrieve.g.cs @@ -364,18 +364,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2InfoRetrieveResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -402,18 +401,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2InfoRetrieveResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -440,18 +438,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2InfoRetrieveResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -478,18 +475,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2InfoRetrieveResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -523,17 +519,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2InfoRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -570,17 +564,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2InfoRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsAskyodaV2ListChunksIdsCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsAskyodaV2ListChunksIdsCreate.g.cs index b27a74af..1a80fd53 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsAskyodaV2ListChunksIdsCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsAskyodaV2ListChunksIdsCreate.g.cs @@ -382,18 +382,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2ListChunksIdsCreateResponseCont __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -420,18 +419,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2ListChunksIdsCreateResponseCont __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -458,18 +456,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2ListChunksIdsCreateResponseCont __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -496,18 +493,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2ListChunksIdsCreateResponseCont __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -541,17 +537,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2ListChunksIdsCreateResponseCont } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -588,17 +582,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2ListChunksIdsCreateResponseCont { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsList.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsList.g.cs index 38f0e42c..e1f939a8 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsList.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsList.g.cs @@ -370,17 +370,15 @@ partial void ProcessAiproductsAiproductsListResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -417,17 +415,15 @@ partial void ProcessAiproductsAiproductsListResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsRetrieve.g.cs index 2f8ed4fd..281f41a3 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotInfoOperationsClient.AiproductsAiproductsRetrieve.g.cs @@ -356,17 +356,16 @@ partial void ProcessAiproductsAiproductsRetrieveResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -400,17 +399,15 @@ partial void ProcessAiproductsAiproductsRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -447,17 +444,15 @@ partial void ProcessAiproductsAiproductsRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotQueryOperationsClient.AiproductsAiproductsAskyodaV2AskLlmCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotQueryOperationsClient.AiproductsAiproductsAskyodaV2AskLlmCreate.g.cs index 75b93003..8804735c 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotQueryOperationsClient.AiproductsAiproductsAskyodaV2AskLlmCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotQueryOperationsClient.AiproductsAiproductsAskyodaV2AskLlmCreate.g.cs @@ -386,18 +386,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2AskLlmCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -424,18 +423,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2AskLlmCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -462,18 +460,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2AskLlmCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -500,18 +497,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2AskLlmCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -545,17 +541,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2AskLlmCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -592,17 +586,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2AskLlmCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotQueryOperationsClient.AiproductsAiproductsAskyodaV2GenerateCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotQueryOperationsClient.AiproductsAiproductsAskyodaV2GenerateCreate.g.cs index 281265a1..dbadef11 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotQueryOperationsClient.AiproductsAiproductsAskyodaV2GenerateCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotQueryOperationsClient.AiproductsAiproductsAskyodaV2GenerateCreate.g.cs @@ -384,18 +384,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2GenerateCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -422,18 +421,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2GenerateCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -460,18 +458,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2GenerateCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -498,18 +495,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2GenerateCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -543,17 +539,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2GenerateCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -590,17 +584,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2GenerateCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotQueryOperationsClient.AiproductsAiproductsAskyodaV2QueryCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotQueryOperationsClient.AiproductsAiproductsAskyodaV2QueryCreate.g.cs index 9a268a51..da7b9098 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotQueryOperationsClient.AiproductsAiproductsAskyodaV2QueryCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotQueryOperationsClient.AiproductsAiproductsAskyodaV2QueryCreate.g.cs @@ -386,18 +386,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2QueryCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -424,18 +423,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2QueryCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -462,18 +460,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2QueryCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -500,18 +497,17 @@ partial void ProcessAiproductsAiproductsAskyodaV2QueryCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -545,17 +541,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2QueryCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -592,17 +586,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2QueryCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUpdateOperationsClient.AiproductsAiproductsAskyodaV2ConversationsPartialUpdate.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUpdateOperationsClient.AiproductsAiproductsAskyodaV2ConversationsPartialUpdate.g.cs index 64952622..9c4adde1 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUpdateOperationsClient.AiproductsAiproductsAskyodaV2ConversationsPartialUpdate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUpdateOperationsClient.AiproductsAiproductsAskyodaV2ConversationsPartialUpdate.g.cs @@ -396,17 +396,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2ConversationsPartialUpdateRespo } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -443,17 +441,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2ConversationsPartialUpdateRespo { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUpdateOperationsClient.AiproductsAiproductsAskyodaV2ConversationsUpdate.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUpdateOperationsClient.AiproductsAiproductsAskyodaV2ConversationsUpdate.g.cs index 90763453..260e22ab 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUpdateOperationsClient.AiproductsAiproductsAskyodaV2ConversationsUpdate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUpdateOperationsClient.AiproductsAiproductsAskyodaV2ConversationsUpdate.g.cs @@ -396,17 +396,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2ConversationsUpdateResponseCont } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -443,17 +441,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2ConversationsUpdateResponseCont { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUpdateOperationsClient.AiproductsAiproductsAskyodaV2PartialUpdate.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUpdateOperationsClient.AiproductsAiproductsAskyodaV2PartialUpdate.g.cs index 7b047257..54b8d5c2 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUpdateOperationsClient.AiproductsAiproductsAskyodaV2PartialUpdate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUpdateOperationsClient.AiproductsAiproductsAskyodaV2PartialUpdate.g.cs @@ -428,17 +428,15 @@ await AiproductsAiproductsAskyodaV2PartialUpdateAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -466,17 +464,15 @@ await AiproductsAiproductsAskyodaV2PartialUpdateAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUpdateOperationsClient.AiproductsAiproductsAskyodaV2UpdateProjectPartialUpdate.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUpdateOperationsClient.AiproductsAiproductsAskyodaV2UpdateProjectPartialUpdate.g.cs index 4b8fa6f0..cda20b06 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUpdateOperationsClient.AiproductsAiproductsAskyodaV2UpdateProjectPartialUpdate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUpdateOperationsClient.AiproductsAiproductsAskyodaV2UpdateProjectPartialUpdate.g.cs @@ -397,17 +397,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2UpdateProjectPartialUpdateRespo } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -444,17 +442,15 @@ partial void ProcessAiproductsAiproductsAskyodaV2UpdateProjectPartialUpdateRespo { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUploadOperationsClient.AiproductsAiproductsAskyodaV2AddFileCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUploadOperationsClient.AiproductsAiproductsAskyodaV2AddFileCreate.g.cs index 6e1444a5..3186be37 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUploadOperationsClient.AiproductsAiproductsAskyodaV2AddFileCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUploadOperationsClient.AiproductsAiproductsAskyodaV2AddFileCreate.g.cs @@ -413,17 +413,15 @@ await AiproductsAiproductsAskyodaV2AddFileCreateAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -451,17 +449,15 @@ await AiproductsAiproductsAskyodaV2AddFileCreateAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUploadOperationsClient.AiproductsAiproductsAskyodaV2AddImageCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUploadOperationsClient.AiproductsAiproductsAskyodaV2AddImageCreate.g.cs index ac88224f..810693d5 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUploadOperationsClient.AiproductsAiproductsAskyodaV2AddImageCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUploadOperationsClient.AiproductsAiproductsAskyodaV2AddImageCreate.g.cs @@ -375,17 +375,15 @@ await AiproductsAiproductsAskyodaV2AddImageCreateAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -413,17 +411,15 @@ await AiproductsAiproductsAskyodaV2AddImageCreateAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUploadOperationsClient.AiproductsAiproductsAskyodaV2AddTextCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUploadOperationsClient.AiproductsAiproductsAskyodaV2AddTextCreate.g.cs index 78402d5c..5aff6c04 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUploadOperationsClient.AiproductsAiproductsAskyodaV2AddTextCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUploadOperationsClient.AiproductsAiproductsAskyodaV2AddTextCreate.g.cs @@ -377,17 +377,15 @@ await AiproductsAiproductsAskyodaV2AddTextCreateAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -415,17 +413,15 @@ await AiproductsAiproductsAskyodaV2AddTextCreateAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUploadOperationsClient.AiproductsAiproductsAskyodaV2AddUrlCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUploadOperationsClient.AiproductsAiproductsAskyodaV2AddUrlCreate.g.cs index ee1bff2f..46f6f44c 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUploadOperationsClient.AiproductsAiproductsAskyodaV2AddUrlCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUploadOperationsClient.AiproductsAiproductsAskyodaV2AddUrlCreate.g.cs @@ -377,17 +377,15 @@ await AiproductsAiproductsAskyodaV2AddUrlCreateAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -415,17 +413,15 @@ await AiproductsAiproductsAskyodaV2AddUrlCreateAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUploadOperationsClient.AiproductsAiproductsAskyodaV2AddVideoCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUploadOperationsClient.AiproductsAiproductsAskyodaV2AddVideoCreate.g.cs index 5537756d..1c82aa1e 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUploadOperationsClient.AiproductsAiproductsAskyodaV2AddVideoCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomChatbotUploadOperationsClient.AiproductsAiproductsAskyodaV2AddVideoCreate.g.cs @@ -375,17 +375,15 @@ await AiproductsAiproductsAskyodaV2AddVideoCreateAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -413,17 +411,15 @@ await AiproductsAiproductsAskyodaV2AddVideoCreateAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomDocumentParsingAsyncClient.OcrOcrCustomDocumentParsingAsyncCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomDocumentParsingAsyncClient.OcrOcrCustomDocumentParsingAsyncCreate.g.cs index 50c88dc8..94e67190 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomDocumentParsingAsyncClient.OcrOcrCustomDocumentParsingAsyncCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomDocumentParsingAsyncClient.OcrOcrCustomDocumentParsingAsyncCreate.g.cs @@ -539,17 +539,15 @@ request.Filename is null } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -586,17 +584,15 @@ request.Filename is null { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomDocumentParsingAsyncClient.OcrOcrCustomDocumentParsingAsyncDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomDocumentParsingAsyncClient.OcrOcrCustomDocumentParsingAsyncDestroy.g.cs index e6cfda76..460331bb 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomDocumentParsingAsyncClient.OcrOcrCustomDocumentParsingAsyncDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomDocumentParsingAsyncClient.OcrOcrCustomDocumentParsingAsyncDestroy.g.cs @@ -352,17 +352,15 @@ await OcrOcrCustomDocumentParsingAsyncDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -390,17 +388,15 @@ await OcrOcrCustomDocumentParsingAsyncDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomDocumentParsingAsyncClient.OcrOcrCustomDocumentParsingAsyncRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomDocumentParsingAsyncClient.OcrOcrCustomDocumentParsingAsyncRetrieve.g.cs index 3ea258e8..b53c08bb 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomDocumentParsingAsyncClient.OcrOcrCustomDocumentParsingAsyncRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomDocumentParsingAsyncClient.OcrOcrCustomDocumentParsingAsyncRetrieve.g.cs @@ -362,17 +362,15 @@ partial void ProcessOcrOcrCustomDocumentParsingAsyncRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -409,17 +407,15 @@ partial void ProcessOcrOcrCustomDocumentParsingAsyncRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.CustomDocumentParsingAsyncClient.OcrOcrCustomDocumentParsingAsyncRetrieve2.g.cs b/src/libs/EdenAI/Generated/EdenAI.CustomDocumentParsingAsyncClient.OcrOcrCustomDocumentParsingAsyncRetrieve2.g.cs index 03f82396..d74a7dc5 100644 --- a/src/libs/EdenAI/Generated/EdenAI.CustomDocumentParsingAsyncClient.OcrOcrCustomDocumentParsingAsyncRetrieve2.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.CustomDocumentParsingAsyncClient.OcrOcrCustomDocumentParsingAsyncRetrieve2.g.cs @@ -395,18 +395,17 @@ partial void ProcessOcrOcrCustomDocumentParsingAsyncRetrieve2ResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -433,18 +432,17 @@ partial void ProcessOcrOcrCustomDocumentParsingAsyncRetrieve2ResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -471,18 +469,17 @@ partial void ProcessOcrOcrCustomDocumentParsingAsyncRetrieve2ResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -509,18 +506,17 @@ partial void ProcessOcrOcrCustomDocumentParsingAsyncRetrieve2ResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -554,17 +550,15 @@ partial void ProcessOcrOcrCustomDocumentParsingAsyncRetrieve2ResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -601,17 +595,15 @@ partial void ProcessOcrOcrCustomDocumentParsingAsyncRetrieve2ResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.DataExtractionClient.OcrOcrDataExtractionCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.DataExtractionClient.OcrOcrDataExtractionCreate.g.cs index 57d5c289..de89911d 100644 --- a/src/libs/EdenAI/Generated/EdenAI.DataExtractionClient.OcrOcrDataExtractionCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.DataExtractionClient.OcrOcrDataExtractionCreate.g.cs @@ -372,18 +372,17 @@ partial void ProcessOcrOcrDataExtractionCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -410,18 +409,17 @@ partial void ProcessOcrOcrDataExtractionCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -448,18 +446,17 @@ partial void ProcessOcrOcrDataExtractionCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -486,18 +483,17 @@ partial void ProcessOcrOcrDataExtractionCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -531,17 +527,15 @@ partial void ProcessOcrOcrDataExtractionCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -578,17 +572,15 @@ partial void ProcessOcrOcrDataExtractionCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.DeepfakeDetectionAsyncClient.VideoVideoDeepfakeDetectionAsyncCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.DeepfakeDetectionAsyncClient.VideoVideoDeepfakeDetectionAsyncCreate.g.cs index 444ab76d..9eabba56 100644 --- a/src/libs/EdenAI/Generated/EdenAI.DeepfakeDetectionAsyncClient.VideoVideoDeepfakeDetectionAsyncCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.DeepfakeDetectionAsyncClient.VideoVideoDeepfakeDetectionAsyncCreate.g.cs @@ -489,17 +489,15 @@ request.Filename is null } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -536,17 +534,15 @@ request.Filename is null { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.DeepfakeDetectionAsyncClient.VideoVideoDeepfakeDetectionAsyncDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.DeepfakeDetectionAsyncClient.VideoVideoDeepfakeDetectionAsyncDestroy.g.cs index 14e90473..695be89c 100644 --- a/src/libs/EdenAI/Generated/EdenAI.DeepfakeDetectionAsyncClient.VideoVideoDeepfakeDetectionAsyncDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.DeepfakeDetectionAsyncClient.VideoVideoDeepfakeDetectionAsyncDestroy.g.cs @@ -352,17 +352,15 @@ await VideoVideoDeepfakeDetectionAsyncDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -390,17 +388,15 @@ await VideoVideoDeepfakeDetectionAsyncDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.DeepfakeDetectionAsyncClient.VideoVideoDeepfakeDetectionAsyncRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.DeepfakeDetectionAsyncClient.VideoVideoDeepfakeDetectionAsyncRetrieve.g.cs index f1224cfb..0810380d 100644 --- a/src/libs/EdenAI/Generated/EdenAI.DeepfakeDetectionAsyncClient.VideoVideoDeepfakeDetectionAsyncRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.DeepfakeDetectionAsyncClient.VideoVideoDeepfakeDetectionAsyncRetrieve.g.cs @@ -362,17 +362,15 @@ partial void ProcessVideoVideoDeepfakeDetectionAsyncRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -409,17 +407,15 @@ partial void ProcessVideoVideoDeepfakeDetectionAsyncRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.DeepfakeDetectionAsyncClient.VideoVideoDeepfakeDetectionAsyncRetrieve2.g.cs b/src/libs/EdenAI/Generated/EdenAI.DeepfakeDetectionAsyncClient.VideoVideoDeepfakeDetectionAsyncRetrieve2.g.cs index 7e8a2b2c..135e9e1a 100644 --- a/src/libs/EdenAI/Generated/EdenAI.DeepfakeDetectionAsyncClient.VideoVideoDeepfakeDetectionAsyncRetrieve2.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.DeepfakeDetectionAsyncClient.VideoVideoDeepfakeDetectionAsyncRetrieve2.g.cs @@ -395,18 +395,17 @@ partial void ProcessVideoVideoDeepfakeDetectionAsyncRetrieve2ResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -433,18 +432,17 @@ partial void ProcessVideoVideoDeepfakeDetectionAsyncRetrieve2ResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -471,18 +469,17 @@ partial void ProcessVideoVideoDeepfakeDetectionAsyncRetrieve2ResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -509,18 +506,17 @@ partial void ProcessVideoVideoDeepfakeDetectionAsyncRetrieve2ResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -554,17 +550,15 @@ partial void ProcessVideoVideoDeepfakeDetectionAsyncRetrieve2ResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -601,17 +595,15 @@ partial void ProcessVideoVideoDeepfakeDetectionAsyncRetrieve2ResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.DeepfakeDetectionClient.ImageImageDeepfakeDetectionCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.DeepfakeDetectionClient.ImageImageDeepfakeDetectionCreate.g.cs index c645c8a0..366d4d1b 100644 --- a/src/libs/EdenAI/Generated/EdenAI.DeepfakeDetectionClient.ImageImageDeepfakeDetectionCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.DeepfakeDetectionClient.ImageImageDeepfakeDetectionCreate.g.cs @@ -370,18 +370,17 @@ partial void ProcessImageImageDeepfakeDetectionCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -408,18 +407,17 @@ partial void ProcessImageImageDeepfakeDetectionCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -446,18 +444,17 @@ partial void ProcessImageImageDeepfakeDetectionCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -484,18 +481,17 @@ partial void ProcessImageImageDeepfakeDetectionCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -529,17 +525,15 @@ partial void ProcessImageImageDeepfakeDetectionCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -576,17 +570,15 @@ partial void ProcessImageImageDeepfakeDetectionCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.DocumentTranslationClient.TranslationTranslationDocumentTranslationCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.DocumentTranslationClient.TranslationTranslationDocumentTranslationCreate.g.cs index 0f678c18..a7bc7a2c 100644 --- a/src/libs/EdenAI/Generated/EdenAI.DocumentTranslationClient.TranslationTranslationDocumentTranslationCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.DocumentTranslationClient.TranslationTranslationDocumentTranslationCreate.g.cs @@ -608,18 +608,17 @@ partial void ProcessTranslationTranslationDocumentTranslationCreateResponseConte __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -646,18 +645,17 @@ partial void ProcessTranslationTranslationDocumentTranslationCreateResponseConte __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -684,18 +682,17 @@ partial void ProcessTranslationTranslationDocumentTranslationCreateResponseConte __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -722,18 +719,17 @@ partial void ProcessTranslationTranslationDocumentTranslationCreateResponseConte __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -767,17 +763,15 @@ partial void ProcessTranslationTranslationDocumentTranslationCreateResponseConte } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -814,17 +808,15 @@ partial void ProcessTranslationTranslationDocumentTranslationCreateResponseConte { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.EmbeddingsClient.ImageImageEmbeddingsCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.EmbeddingsClient.ImageImageEmbeddingsCreate.g.cs index ef2ea860..0dbf1dd5 100644 --- a/src/libs/EdenAI/Generated/EdenAI.EmbeddingsClient.ImageImageEmbeddingsCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.EmbeddingsClient.ImageImageEmbeddingsCreate.g.cs @@ -390,18 +390,17 @@ partial void ProcessImageImageEmbeddingsCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -428,18 +427,17 @@ partial void ProcessImageImageEmbeddingsCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -466,18 +464,17 @@ partial void ProcessImageImageEmbeddingsCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -504,18 +501,17 @@ partial void ProcessImageImageEmbeddingsCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -549,17 +545,15 @@ partial void ProcessImageImageEmbeddingsCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -596,17 +590,15 @@ partial void ProcessImageImageEmbeddingsCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.EmbeddingsClient.TextTextEmbeddingsCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.EmbeddingsClient.TextTextEmbeddingsCreate.g.cs index ff7cd860..a887b454 100644 --- a/src/libs/EdenAI/Generated/EdenAI.EmbeddingsClient.TextTextEmbeddingsCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.EmbeddingsClient.TextTextEmbeddingsCreate.g.cs @@ -436,18 +436,17 @@ partial void ProcessTextTextEmbeddingsCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -474,18 +473,17 @@ partial void ProcessTextTextEmbeddingsCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -512,18 +510,17 @@ partial void ProcessTextTextEmbeddingsCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -550,18 +547,17 @@ partial void ProcessTextTextEmbeddingsCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -595,17 +591,15 @@ partial void ProcessTextTextEmbeddingsCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -642,17 +636,15 @@ partial void ProcessTextTextEmbeddingsCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.EmotionDetectionClient.TextTextEmotionDetectionCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.EmotionDetectionClient.TextTextEmotionDetectionCreate.g.cs index e4b13749..a52d369d 100644 --- a/src/libs/EdenAI/Generated/EdenAI.EmotionDetectionClient.TextTextEmotionDetectionCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.EmotionDetectionClient.TextTextEmotionDetectionCreate.g.cs @@ -370,18 +370,17 @@ partial void ProcessTextTextEmotionDetectionCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -408,18 +407,17 @@ partial void ProcessTextTextEmotionDetectionCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -446,18 +444,17 @@ partial void ProcessTextTextEmotionDetectionCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -484,18 +481,17 @@ partial void ProcessTextTextEmotionDetectionCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -529,17 +525,15 @@ partial void ProcessTextTextEmotionDetectionCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -576,17 +570,15 @@ partial void ProcessTextTextEmotionDetectionCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.EnabledFeaturesClient.EnabledFeaturesEnabledFeaturesRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.EnabledFeaturesClient.EnabledFeaturesEnabledFeaturesRetrieve.g.cs index 5379fd41..7ded954c 100644 --- a/src/libs/EdenAI/Generated/EdenAI.EnabledFeaturesClient.EnabledFeaturesEnabledFeaturesRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.EnabledFeaturesClient.EnabledFeaturesEnabledFeaturesRetrieve.g.cs @@ -344,17 +344,15 @@ await EnabledFeaturesEnabledFeaturesRetrieveAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -382,17 +380,15 @@ await EnabledFeaturesEnabledFeaturesRetrieveAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.EntitySentimentClient.TextTextEntitySentimentCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.EntitySentimentClient.TextTextEntitySentimentCreate.g.cs index a2a13fe3..48c79d3c 100644 --- a/src/libs/EdenAI/Generated/EdenAI.EntitySentimentClient.TextTextEntitySentimentCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.EntitySentimentClient.TextTextEntitySentimentCreate.g.cs @@ -498,18 +498,17 @@ partial void ProcessTextTextEntitySentimentCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -536,18 +535,17 @@ partial void ProcessTextTextEntitySentimentCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -574,18 +572,17 @@ partial void ProcessTextTextEntitySentimentCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -612,18 +609,17 @@ partial void ProcessTextTextEntitySentimentCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -657,17 +653,15 @@ partial void ProcessTextTextEntitySentimentCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -704,17 +698,15 @@ partial void ProcessTextTextEntitySentimentCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.Exceptions.g.cs b/src/libs/EdenAI/Generated/EdenAI.Exceptions.g.cs index f5511637..24c8315e 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Exceptions.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Exceptions.g.cs @@ -12,16 +12,19 @@ public partial class ApiException : global::System.Exception /// The HTTP status code of the response. /// public global::System.Net.HttpStatusCode StatusCode { get; } + /// /// The response body as a string, or null if the body could not be read. /// This is always populated for error responses regardless of the ReadResponseAsString setting. /// For success-path failures (e.g. deserialization errors), the client attempts a best-effort read. /// public string? ResponseBody { get; set; } + /// /// The response headers. /// public global::System.Collections.Generic.Dictionary>? ResponseHeaders { get; set; } + /// /// Initializes a new instance of the class. /// @@ -49,6 +52,103 @@ public ApiException(string message, global::System.Exception? innerException, gl { StatusCode = statusCode; } + + /// + /// Constructs an instance whose runtime type matches the response status code when the typed exception hierarchy is enabled. Always returns a plain when the hierarchy is disabled. + /// + /// The HTTP status code of the response. + /// The error message. + /// An inner exception, when one is available. + /// The response headers; consulted for 429 Retry-After parsing when present. + public static global::EdenAI.ApiException Create( + global::System.Net.HttpStatusCode statusCode, + string message, + global::System.Exception? innerException = null, + global::System.Collections.Generic.IDictionary>? responseHeaders = null) + { + return new global::EdenAI.ApiException(message, innerException, statusCode); + } + + /// + /// Convenience overload that constructs an with response body and headers populated. + /// + public static global::EdenAI.ApiException Create( + global::System.Net.HttpStatusCode statusCode, + string message, + global::System.Exception? innerException, + string? responseBody, + global::System.Collections.Generic.Dictionary>? responseHeaders) + { + var exception = global::EdenAI.ApiException.Create(statusCode, message, innerException, responseHeaders); + exception.ResponseBody = responseBody; + exception.ResponseHeaders = responseHeaders; + return exception; + } + + /// + /// Parses a Retry-After response header (delta-seconds or HTTP-date) into a . + /// Returns null when the header is missing or unparseable. Public so consumer code that observes + /// directly can recover the value without re-implementing the parser. + /// + public static global::System.TimeSpan? TryParseRetryAfter( + global::System.Collections.Generic.IDictionary>? headers) + { + if (headers == null) + { + return null; + } + + global::System.Collections.Generic.IEnumerable? values = null; + foreach (var entry in headers) + { + if (string.Equals(entry.Key, "Retry-After", global::System.StringComparison.OrdinalIgnoreCase)) + { + values = entry.Value; + break; + } + } + + if (values == null) + { + return null; + } + + string? raw = null; + foreach (var value in values) + { + if (!string.IsNullOrWhiteSpace(value)) + { + raw = value.Trim(); + break; + } + } + + if (string.IsNullOrEmpty(raw)) + { + return null; + } + + if (int.TryParse( + raw, + global::System.Globalization.NumberStyles.Integer, + global::System.Globalization.CultureInfo.InvariantCulture, + out var seconds) && seconds >= 0) + { + return global::System.TimeSpan.FromSeconds(seconds); + } + + if (global::System.DateTimeOffset.TryParse( + raw, + global::System.Globalization.CultureInfo.InvariantCulture, + global::System.Globalization.DateTimeStyles.AssumeUniversal | global::System.Globalization.DateTimeStyles.AdjustToUniversal, + out var when)) + { + var delta = when - global::System.DateTimeOffset.UtcNow; + return delta > global::System.TimeSpan.Zero ? delta : global::System.TimeSpan.Zero; + } + + return null; + } } /// @@ -88,5 +188,39 @@ public ApiException(string message, global::System.Net.HttpStatusCode statusCode public ApiException(string message, global::System.Exception? innerException, global::System.Net.HttpStatusCode statusCode) : base(message, innerException, statusCode) { } + + /// + /// Constructs an whose runtime type matches the response status code when the typed exception hierarchy is enabled. + /// + /// The HTTP status code of the response. + /// The error message. + /// An inner exception, when one is available. + /// The response headers; consulted for 429 Retry-After parsing when present. + public static new global::EdenAI.ApiException Create( + global::System.Net.HttpStatusCode statusCode, + string message, + global::System.Exception? innerException = null, + global::System.Collections.Generic.IDictionary>? responseHeaders = null) + { + return new global::EdenAI.ApiException(message, innerException, statusCode); + } + + /// + /// Convenience overload that constructs an with response body, object, and headers populated. + /// + public static global::EdenAI.ApiException Create( + global::System.Net.HttpStatusCode statusCode, + string message, + global::System.Exception? innerException, + string? responseBody, + T? responseObject, + global::System.Collections.Generic.Dictionary>? responseHeaders) + { + var exception = global::EdenAI.ApiException.Create(statusCode, message, innerException, responseHeaders); + exception.ResponseBody = responseBody; + exception.ResponseObject = responseObject; + exception.ResponseHeaders = responseHeaders; + return exception; + } } } \ No newline at end of file diff --git a/src/libs/EdenAI/Generated/EdenAI.ExecutionsClient.WorkflowWorkflowExecutionCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.ExecutionsClient.WorkflowWorkflowExecutionCreate.g.cs index 381ea60f..67ded37f 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ExecutionsClient.WorkflowWorkflowExecutionCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ExecutionsClient.WorkflowWorkflowExecutionCreate.g.cs @@ -386,17 +386,15 @@ partial void ProcessWorkflowWorkflowExecutionCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -433,17 +431,15 @@ partial void ProcessWorkflowWorkflowExecutionCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ExecutionsClient.WorkflowWorkflowExecutionList.g.cs b/src/libs/EdenAI/Generated/EdenAI.ExecutionsClient.WorkflowWorkflowExecutionList.g.cs index c388f656..406572b7 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ExecutionsClient.WorkflowWorkflowExecutionList.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ExecutionsClient.WorkflowWorkflowExecutionList.g.cs @@ -378,17 +378,15 @@ partial void ProcessWorkflowWorkflowExecutionListResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -425,17 +423,15 @@ partial void ProcessWorkflowWorkflowExecutionListResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ExecutionsClient.WorkflowWorkflowExecutionRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.ExecutionsClient.WorkflowWorkflowExecutionRetrieve.g.cs index 3ce30f50..e9551240 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ExecutionsClient.WorkflowWorkflowExecutionRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ExecutionsClient.WorkflowWorkflowExecutionRetrieve.g.cs @@ -378,17 +378,15 @@ partial void ProcessWorkflowWorkflowExecutionRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -425,17 +423,15 @@ partial void ProcessWorkflowWorkflowExecutionRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ExplicitContentClient.ImageImageExplicitContentCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.ExplicitContentClient.ImageImageExplicitContentCreate.g.cs index 5255596b..019511a7 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ExplicitContentClient.ImageImageExplicitContentCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ExplicitContentClient.ImageImageExplicitContentCreate.g.cs @@ -394,18 +394,17 @@ partial void ProcessImageImageExplicitContentCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -432,18 +431,17 @@ partial void ProcessImageImageExplicitContentCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -470,18 +468,17 @@ partial void ProcessImageImageExplicitContentCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -508,18 +505,17 @@ partial void ProcessImageImageExplicitContentCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -553,17 +549,15 @@ partial void ProcessImageImageExplicitContentCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -600,17 +594,15 @@ partial void ProcessImageImageExplicitContentCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ExplicitContentDetectionAsyncClient.VideoVideoExplicitContentDetectionAsyncCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.ExplicitContentDetectionAsyncClient.VideoVideoExplicitContentDetectionAsyncCreate.g.cs index 689790fe..59f73c1b 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ExplicitContentDetectionAsyncClient.VideoVideoExplicitContentDetectionAsyncCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ExplicitContentDetectionAsyncClient.VideoVideoExplicitContentDetectionAsyncCreate.g.cs @@ -499,17 +499,15 @@ request.Filename is null } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -546,17 +544,15 @@ request.Filename is null { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ExplicitContentDetectionAsyncClient.VideoVideoExplicitContentDetectionAsyncDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.ExplicitContentDetectionAsyncClient.VideoVideoExplicitContentDetectionAsyncDestroy.g.cs index 299c71a5..7510cc55 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ExplicitContentDetectionAsyncClient.VideoVideoExplicitContentDetectionAsyncDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ExplicitContentDetectionAsyncClient.VideoVideoExplicitContentDetectionAsyncDestroy.g.cs @@ -352,17 +352,15 @@ await VideoVideoExplicitContentDetectionAsyncDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -390,17 +388,15 @@ await VideoVideoExplicitContentDetectionAsyncDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ExplicitContentDetectionAsyncClient.VideoVideoExplicitContentDetectionAsyncRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.ExplicitContentDetectionAsyncClient.VideoVideoExplicitContentDetectionAsyncRetrieve.g.cs index d782e82d..996fa969 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ExplicitContentDetectionAsyncClient.VideoVideoExplicitContentDetectionAsyncRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ExplicitContentDetectionAsyncClient.VideoVideoExplicitContentDetectionAsyncRetrieve.g.cs @@ -362,17 +362,15 @@ partial void ProcessVideoVideoExplicitContentDetectionAsyncRetrieveResponseConte } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -409,17 +407,15 @@ partial void ProcessVideoVideoExplicitContentDetectionAsyncRetrieveResponseConte { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ExplicitContentDetectionAsyncClient.VideoVideoExplicitContentDetectionAsyncRetrieve2.g.cs b/src/libs/EdenAI/Generated/EdenAI.ExplicitContentDetectionAsyncClient.VideoVideoExplicitContentDetectionAsyncRetrieve2.g.cs index 3b552fab..e28bd98d 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ExplicitContentDetectionAsyncClient.VideoVideoExplicitContentDetectionAsyncRetrieve2.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ExplicitContentDetectionAsyncClient.VideoVideoExplicitContentDetectionAsyncRetrieve2.g.cs @@ -395,18 +395,17 @@ partial void ProcessVideoVideoExplicitContentDetectionAsyncRetrieve2ResponseCont __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -433,18 +432,17 @@ partial void ProcessVideoVideoExplicitContentDetectionAsyncRetrieve2ResponseCont __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -471,18 +469,17 @@ partial void ProcessVideoVideoExplicitContentDetectionAsyncRetrieve2ResponseCont __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -509,18 +506,17 @@ partial void ProcessVideoVideoExplicitContentDetectionAsyncRetrieve2ResponseCont __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -554,17 +550,15 @@ partial void ProcessVideoVideoExplicitContentDetectionAsyncRetrieve2ResponseCont } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -601,17 +595,15 @@ partial void ProcessVideoVideoExplicitContentDetectionAsyncRetrieve2ResponseCont { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.FaceCompareClient.ImageImageFaceCompareCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.FaceCompareClient.ImageImageFaceCompareCreate.g.cs index 7409ad31..6f4dcc27 100644 --- a/src/libs/EdenAI/Generated/EdenAI.FaceCompareClient.ImageImageFaceCompareCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.FaceCompareClient.ImageImageFaceCompareCreate.g.cs @@ -374,18 +374,17 @@ partial void ProcessImageImageFaceCompareCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -412,18 +411,17 @@ partial void ProcessImageImageFaceCompareCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -450,18 +448,17 @@ partial void ProcessImageImageFaceCompareCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -488,18 +485,17 @@ partial void ProcessImageImageFaceCompareCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -533,17 +529,15 @@ partial void ProcessImageImageFaceCompareCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -580,17 +574,15 @@ partial void ProcessImageImageFaceCompareCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.FaceDetectionAsyncClient.VideoVideoFaceDetectionAsyncCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.FaceDetectionAsyncClient.VideoVideoFaceDetectionAsyncCreate.g.cs index af125a8a..6aac0986 100644 --- a/src/libs/EdenAI/Generated/EdenAI.FaceDetectionAsyncClient.VideoVideoFaceDetectionAsyncCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.FaceDetectionAsyncClient.VideoVideoFaceDetectionAsyncCreate.g.cs @@ -499,17 +499,15 @@ request.Filename is null } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -546,17 +544,15 @@ request.Filename is null { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.FaceDetectionAsyncClient.VideoVideoFaceDetectionAsyncDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.FaceDetectionAsyncClient.VideoVideoFaceDetectionAsyncDestroy.g.cs index 35ce3b82..537175da 100644 --- a/src/libs/EdenAI/Generated/EdenAI.FaceDetectionAsyncClient.VideoVideoFaceDetectionAsyncDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.FaceDetectionAsyncClient.VideoVideoFaceDetectionAsyncDestroy.g.cs @@ -352,17 +352,15 @@ await VideoVideoFaceDetectionAsyncDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -390,17 +388,15 @@ await VideoVideoFaceDetectionAsyncDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.FaceDetectionAsyncClient.VideoVideoFaceDetectionAsyncRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.FaceDetectionAsyncClient.VideoVideoFaceDetectionAsyncRetrieve.g.cs index 1b00338a..2d1b1ec0 100644 --- a/src/libs/EdenAI/Generated/EdenAI.FaceDetectionAsyncClient.VideoVideoFaceDetectionAsyncRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.FaceDetectionAsyncClient.VideoVideoFaceDetectionAsyncRetrieve.g.cs @@ -362,17 +362,15 @@ partial void ProcessVideoVideoFaceDetectionAsyncRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -409,17 +407,15 @@ partial void ProcessVideoVideoFaceDetectionAsyncRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.FaceDetectionAsyncClient.VideoVideoFaceDetectionAsyncRetrieve2.g.cs b/src/libs/EdenAI/Generated/EdenAI.FaceDetectionAsyncClient.VideoVideoFaceDetectionAsyncRetrieve2.g.cs index 233cb9c5..dee0c8fd 100644 --- a/src/libs/EdenAI/Generated/EdenAI.FaceDetectionAsyncClient.VideoVideoFaceDetectionAsyncRetrieve2.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.FaceDetectionAsyncClient.VideoVideoFaceDetectionAsyncRetrieve2.g.cs @@ -395,18 +395,17 @@ partial void ProcessVideoVideoFaceDetectionAsyncRetrieve2ResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -433,18 +432,17 @@ partial void ProcessVideoVideoFaceDetectionAsyncRetrieve2ResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -471,18 +469,17 @@ partial void ProcessVideoVideoFaceDetectionAsyncRetrieve2ResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -509,18 +506,17 @@ partial void ProcessVideoVideoFaceDetectionAsyncRetrieve2ResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -554,17 +550,15 @@ partial void ProcessVideoVideoFaceDetectionAsyncRetrieve2ResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -601,17 +595,15 @@ partial void ProcessVideoVideoFaceDetectionAsyncRetrieve2ResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.FaceDetectionClient.ImageImageFaceDetectionCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.FaceDetectionClient.ImageImageFaceDetectionCreate.g.cs index f5c0075c..bee51d30 100644 --- a/src/libs/EdenAI/Generated/EdenAI.FaceDetectionClient.ImageImageFaceDetectionCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.FaceDetectionClient.ImageImageFaceDetectionCreate.g.cs @@ -376,18 +376,17 @@ partial void ProcessImageImageFaceDetectionCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -414,18 +413,17 @@ partial void ProcessImageImageFaceDetectionCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -452,18 +450,17 @@ partial void ProcessImageImageFaceDetectionCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -490,18 +487,17 @@ partial void ProcessImageImageFaceDetectionCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -535,17 +531,15 @@ partial void ProcessImageImageFaceDetectionCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -582,17 +576,15 @@ partial void ProcessImageImageFaceDetectionCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.FaceRecognitionClient.ImageImageFaceRecognitionAddFaceCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.FaceRecognitionClient.ImageImageFaceRecognitionAddFaceCreate.g.cs index 68b50726..798fe2be 100644 --- a/src/libs/EdenAI/Generated/EdenAI.FaceRecognitionClient.ImageImageFaceRecognitionAddFaceCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.FaceRecognitionClient.ImageImageFaceRecognitionAddFaceCreate.g.cs @@ -372,18 +372,17 @@ partial void ProcessImageImageFaceRecognitionAddFaceCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -410,18 +409,17 @@ partial void ProcessImageImageFaceRecognitionAddFaceCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -448,18 +446,17 @@ partial void ProcessImageImageFaceRecognitionAddFaceCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -486,18 +483,17 @@ partial void ProcessImageImageFaceRecognitionAddFaceCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -531,17 +527,15 @@ partial void ProcessImageImageFaceRecognitionAddFaceCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -578,17 +572,15 @@ partial void ProcessImageImageFaceRecognitionAddFaceCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.FaceRecognitionClient.ImageImageFaceRecognitionDeleteFaceCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.FaceRecognitionClient.ImageImageFaceRecognitionDeleteFaceCreate.g.cs index 55314e3b..c057aae7 100644 --- a/src/libs/EdenAI/Generated/EdenAI.FaceRecognitionClient.ImageImageFaceRecognitionDeleteFaceCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.FaceRecognitionClient.ImageImageFaceRecognitionDeleteFaceCreate.g.cs @@ -372,18 +372,17 @@ partial void ProcessImageImageFaceRecognitionDeleteFaceCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -410,18 +409,17 @@ partial void ProcessImageImageFaceRecognitionDeleteFaceCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -448,18 +446,17 @@ partial void ProcessImageImageFaceRecognitionDeleteFaceCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -486,18 +483,17 @@ partial void ProcessImageImageFaceRecognitionDeleteFaceCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -531,17 +527,15 @@ partial void ProcessImageImageFaceRecognitionDeleteFaceCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -578,17 +572,15 @@ partial void ProcessImageImageFaceRecognitionDeleteFaceCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.FaceRecognitionClient.ImageImageFaceRecognitionListFacesRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.FaceRecognitionClient.ImageImageFaceRecognitionListFacesRetrieve.g.cs index 1a94dc34..d36d5669 100644 --- a/src/libs/EdenAI/Generated/EdenAI.FaceRecognitionClient.ImageImageFaceRecognitionListFacesRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.FaceRecognitionClient.ImageImageFaceRecognitionListFacesRetrieve.g.cs @@ -448,18 +448,17 @@ partial void ProcessImageImageFaceRecognitionListFacesRetrieveResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -486,18 +485,17 @@ partial void ProcessImageImageFaceRecognitionListFacesRetrieveResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -524,18 +522,17 @@ partial void ProcessImageImageFaceRecognitionListFacesRetrieveResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -562,18 +559,17 @@ partial void ProcessImageImageFaceRecognitionListFacesRetrieveResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -607,17 +603,15 @@ partial void ProcessImageImageFaceRecognitionListFacesRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -654,17 +648,15 @@ partial void ProcessImageImageFaceRecognitionListFacesRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.FaceRecognitionClient.ImageImageFaceRecognitionRecognizeCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.FaceRecognitionClient.ImageImageFaceRecognitionRecognizeCreate.g.cs index b39b7474..77c536a6 100644 --- a/src/libs/EdenAI/Generated/EdenAI.FaceRecognitionClient.ImageImageFaceRecognitionRecognizeCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.FaceRecognitionClient.ImageImageFaceRecognitionRecognizeCreate.g.cs @@ -372,18 +372,17 @@ partial void ProcessImageImageFaceRecognitionRecognizeCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -410,18 +409,17 @@ partial void ProcessImageImageFaceRecognitionRecognizeCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -448,18 +446,17 @@ partial void ProcessImageImageFaceRecognitionRecognizeCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -486,18 +483,17 @@ partial void ProcessImageImageFaceRecognitionRecognizeCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -531,17 +527,15 @@ partial void ProcessImageImageFaceRecognitionRecognizeCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -578,17 +572,15 @@ partial void ProcessImageImageFaceRecognitionRecognizeCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.FinancialParserClient.OcrOcrFinancialParserCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.FinancialParserClient.OcrOcrFinancialParserCreate.g.cs index 1653eff5..e8d58bc7 100644 --- a/src/libs/EdenAI/Generated/EdenAI.FinancialParserClient.OcrOcrFinancialParserCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.FinancialParserClient.OcrOcrFinancialParserCreate.g.cs @@ -676,18 +676,17 @@ partial void ProcessOcrOcrFinancialParserCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -714,18 +713,17 @@ partial void ProcessOcrOcrFinancialParserCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -752,18 +750,17 @@ partial void ProcessOcrOcrFinancialParserCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -790,18 +787,17 @@ partial void ProcessOcrOcrFinancialParserCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -835,17 +831,15 @@ partial void ProcessOcrOcrFinancialParserCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -882,17 +876,15 @@ partial void ProcessOcrOcrFinancialParserCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.GenerationAsyncClient.VideoVideoGenerationAsyncCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.GenerationAsyncClient.VideoVideoGenerationAsyncCreate.g.cs index 4e5cf7e7..0ccbba90 100644 --- a/src/libs/EdenAI/Generated/EdenAI.GenerationAsyncClient.VideoVideoGenerationAsyncCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.GenerationAsyncClient.VideoVideoGenerationAsyncCreate.g.cs @@ -577,17 +577,15 @@ request.Filename is null } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -624,17 +622,15 @@ request.Filename is null { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.GenerationAsyncClient.VideoVideoGenerationAsyncDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.GenerationAsyncClient.VideoVideoGenerationAsyncDestroy.g.cs index 24c5978f..cdef5424 100644 --- a/src/libs/EdenAI/Generated/EdenAI.GenerationAsyncClient.VideoVideoGenerationAsyncDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.GenerationAsyncClient.VideoVideoGenerationAsyncDestroy.g.cs @@ -352,17 +352,15 @@ await VideoVideoGenerationAsyncDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -390,17 +388,15 @@ await VideoVideoGenerationAsyncDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.GenerationAsyncClient.VideoVideoGenerationAsyncRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.GenerationAsyncClient.VideoVideoGenerationAsyncRetrieve.g.cs index 9a07345d..170638e0 100644 --- a/src/libs/EdenAI/Generated/EdenAI.GenerationAsyncClient.VideoVideoGenerationAsyncRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.GenerationAsyncClient.VideoVideoGenerationAsyncRetrieve.g.cs @@ -362,17 +362,15 @@ partial void ProcessVideoVideoGenerationAsyncRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -409,17 +407,15 @@ partial void ProcessVideoVideoGenerationAsyncRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.GenerationAsyncClient.VideoVideoGenerationAsyncRetrieve2.g.cs b/src/libs/EdenAI/Generated/EdenAI.GenerationAsyncClient.VideoVideoGenerationAsyncRetrieve2.g.cs index 534d25a6..841f8704 100644 --- a/src/libs/EdenAI/Generated/EdenAI.GenerationAsyncClient.VideoVideoGenerationAsyncRetrieve2.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.GenerationAsyncClient.VideoVideoGenerationAsyncRetrieve2.g.cs @@ -395,18 +395,17 @@ partial void ProcessVideoVideoGenerationAsyncRetrieve2ResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -433,18 +432,17 @@ partial void ProcessVideoVideoGenerationAsyncRetrieve2ResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -471,18 +469,17 @@ partial void ProcessVideoVideoGenerationAsyncRetrieve2ResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -509,18 +506,17 @@ partial void ProcessVideoVideoGenerationAsyncRetrieve2ResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -554,17 +550,15 @@ partial void ProcessVideoVideoGenerationAsyncRetrieve2ResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -601,17 +595,15 @@ partial void ProcessVideoVideoGenerationAsyncRetrieve2ResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.GenerationClient.ImageImageGenerationCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.GenerationClient.ImageImageGenerationCreate.g.cs index 21bbd459..19a8b32a 100644 --- a/src/libs/EdenAI/Generated/EdenAI.GenerationClient.ImageImageGenerationCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.GenerationClient.ImageImageGenerationCreate.g.cs @@ -90,7 +90,7 @@ partial void ProcessImageImageGenerationCreateResponseContent( /// |**leonardo**|-|`v1`|`1024x1024`|0.017 (per 1 image)|1 image
/// |**minimax**|**image-01**|`v1`|-|0.0035 (per 1 image)|1 image
/// |**minimax**|-|`v1`|-|0.0035 (per 1 image)|1 image
- /// |**bytedance**|**seedream-5-0-260128**|`v3`|-|0.035 (per 1 token)|1 token
+ /// |**bytedance**|**seedream-5-0-260128**|`v3`|-|0.035 (per 1 image)|1 image
/// |**bytedance**|**seedream-4-0-250828**|`v3`|-|0.03 (per 1 request)|1 request
/// |**bytedance**|**seedream-4-5-251128**|`v3`|-|0.03 (per 1 request)|1 request
/// |**bytedance**|-|`v3`|-|0.03 (per 1 request)|1 request
@@ -187,7 +187,7 @@ partial void ProcessImageImageGenerationCreateResponseContent( /// |**leonardo**|-|`v1`|`1024x1024`|0.017 (per 1 image)|1 image
/// |**minimax**|**image-01**|`v1`|-|0.0035 (per 1 image)|1 image
/// |**minimax**|-|`v1`|-|0.0035 (per 1 image)|1 image
- /// |**bytedance**|**seedream-5-0-260128**|`v3`|-|0.035 (per 1 token)|1 token
+ /// |**bytedance**|**seedream-5-0-260128**|`v3`|-|0.035 (per 1 image)|1 image
/// |**bytedance**|**seedream-4-0-250828**|`v3`|-|0.03 (per 1 request)|1 request
/// |**bytedance**|**seedream-4-5-251128**|`v3`|-|0.03 (per 1 request)|1 request
/// |**bytedance**|-|`v3`|-|0.03 (per 1 request)|1 request
@@ -510,18 +510,17 @@ partial void ProcessImageImageGenerationCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -548,18 +547,17 @@ partial void ProcessImageImageGenerationCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -586,18 +584,17 @@ partial void ProcessImageImageGenerationCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -624,18 +621,17 @@ partial void ProcessImageImageGenerationCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -669,17 +665,15 @@ partial void ProcessImageImageGenerationCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -716,17 +710,15 @@ partial void ProcessImageImageGenerationCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } @@ -786,7 +778,7 @@ partial void ProcessImageImageGenerationCreateResponseContent( /// |**leonardo**|-|`v1`|`1024x1024`|0.017 (per 1 image)|1 image
/// |**minimax**|**image-01**|`v1`|-|0.0035 (per 1 image)|1 image
/// |**minimax**|-|`v1`|-|0.0035 (per 1 image)|1 image
- /// |**bytedance**|**seedream-5-0-260128**|`v3`|-|0.035 (per 1 token)|1 token
+ /// |**bytedance**|**seedream-5-0-260128**|`v3`|-|0.035 (per 1 image)|1 image
/// |**bytedance**|**seedream-4-0-250828**|`v3`|-|0.03 (per 1 request)|1 request
/// |**bytedance**|**seedream-4-5-251128**|`v3`|-|0.03 (per 1 request)|1 request
/// |**bytedance**|-|`v3`|-|0.03 (per 1 request)|1 request
diff --git a/src/libs/EdenAI/Generated/EdenAI.IChatClient.LlmLlmChatCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.IChatClient.LlmLlmChatCreate.g.cs index e81e0e81..fcec0171 100644 --- a/src/libs/EdenAI/Generated/EdenAI.IChatClient.LlmLlmChatCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.IChatClient.LlmLlmChatCreate.g.cs @@ -363,6 +363,27 @@ public partial interface IChatClient /// |**fireworks_ai**|**accounts/fireworks/models/llama-v3p3-70b-instruct**|`llmengine (v2)`|9e-07 (per 1 token)|1 token
/// |**fireworks_ai**|**accounts/fireworks/models/minimax-m2**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
/// |**fireworks_ai**|**accounts/fireworks/models/mixtral-8x22b-instruct**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
+ /// |**nebius**|**MiniMaxAI/MiniMax-M2.1**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
+ /// |**nebius**|**moonshotai/Kimi-K2-Instruct**|`llmengine (v2)`|2.4e-06 (per 1 token)|1 token
+ /// |**nebius**|**moonshotai/Kimi-K2-Thinking**|`llmengine (v2)`|2.5e-06 (per 1 token)|1 token
+ /// |**nebius**|**NousResearch/Hermes-4-405B**|`llmengine (v2)`|3e-06 (per 1 token)|1 token
+ /// |**nebius**|**NousResearch/Hermes-4-70B**|`llmengine (v2)`|4e-07 (per 1 token)|1 token
+ /// |**nebius**|**nvidia/Llama-3_1-Nemotron-Ultra-253B-v1**|`llmengine (v2)`|1.8e-06 (per 1 token)|1 token
+ /// |**nebius**|**nvidia/Nemotron-Nano-V2-12b**|`llmengine (v2)`|2e-07 (per 1 token)|1 token
+ /// |**nebius**|**openai/gpt-oss-120b**|`llmengine (v2)`|6e-07 (per 1 token)|1 token
+ /// |**nebius**|**openai/gpt-oss-20b**|`llmengine (v2)`|2e-07 (per 1 token)|1 token
+ /// |**nebius**|**PrimeIntellect/INTELLECT-3**|`llmengine (v2)`|1.1e-06 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen2.5-VL-72B-Instruct**|`llmengine (v2)`|7.5e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-235B-A22B-Instruct-2507**|`llmengine (v2)`|6e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-235B-A22B-Thinking-2507**|`llmengine (v2)`|8e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-30B-A3B-Instruct-2507**|`llmengine (v2)`|3e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-30B-A3B-Thinking-2507**|`llmengine (v2)`|3e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-32B**|`llmengine (v2)`|3e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-Coder-30B-A3B-Instruct**|`llmengine (v2)`|3e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-Coder-480B-A35B-Instruct**|`llmengine (v2)`|1.8e-06 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-Next-80B-A3B-Thinking**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
+ /// |**nebius**|**zai-org/GLM-4.5**|`llmengine (v2)`|2.2e-06 (per 1 token)|1 token
+ /// |**nebius**|**zai-org/GLM-4.5-Air**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
/// |**ovhcloud**|**DeepSeek-R1-Distill-Llama-70B**|`llmengine (v2)`|6.7e-07 (per 1 token)|1 token
/// |**ovhcloud**|**Llama-3.1-8B-Instruct**|`llmengine (v2)`|1e-07 (per 1 token)|1 token
/// |**ovhcloud**|**Meta-Llama-3_3-70B-Instruct**|`llmengine (v2)`|6.7e-07 (per 1 token)|1 token
@@ -768,6 +789,27 @@ public partial interface IChatClient /// |**fireworks_ai**|**accounts/fireworks/models/llama-v3p3-70b-instruct**|`llmengine (v2)`|9e-07 (per 1 token)|1 token
/// |**fireworks_ai**|**accounts/fireworks/models/minimax-m2**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
/// |**fireworks_ai**|**accounts/fireworks/models/mixtral-8x22b-instruct**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
+ /// |**nebius**|**MiniMaxAI/MiniMax-M2.1**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
+ /// |**nebius**|**moonshotai/Kimi-K2-Instruct**|`llmengine (v2)`|2.4e-06 (per 1 token)|1 token
+ /// |**nebius**|**moonshotai/Kimi-K2-Thinking**|`llmengine (v2)`|2.5e-06 (per 1 token)|1 token
+ /// |**nebius**|**NousResearch/Hermes-4-405B**|`llmengine (v2)`|3e-06 (per 1 token)|1 token
+ /// |**nebius**|**NousResearch/Hermes-4-70B**|`llmengine (v2)`|4e-07 (per 1 token)|1 token
+ /// |**nebius**|**nvidia/Llama-3_1-Nemotron-Ultra-253B-v1**|`llmengine (v2)`|1.8e-06 (per 1 token)|1 token
+ /// |**nebius**|**nvidia/Nemotron-Nano-V2-12b**|`llmengine (v2)`|2e-07 (per 1 token)|1 token
+ /// |**nebius**|**openai/gpt-oss-120b**|`llmengine (v2)`|6e-07 (per 1 token)|1 token
+ /// |**nebius**|**openai/gpt-oss-20b**|`llmengine (v2)`|2e-07 (per 1 token)|1 token
+ /// |**nebius**|**PrimeIntellect/INTELLECT-3**|`llmengine (v2)`|1.1e-06 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen2.5-VL-72B-Instruct**|`llmengine (v2)`|7.5e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-235B-A22B-Instruct-2507**|`llmengine (v2)`|6e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-235B-A22B-Thinking-2507**|`llmengine (v2)`|8e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-30B-A3B-Instruct-2507**|`llmengine (v2)`|3e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-30B-A3B-Thinking-2507**|`llmengine (v2)`|3e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-32B**|`llmengine (v2)`|3e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-Coder-30B-A3B-Instruct**|`llmengine (v2)`|3e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-Coder-480B-A35B-Instruct**|`llmengine (v2)`|1.8e-06 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-Next-80B-A3B-Thinking**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
+ /// |**nebius**|**zai-org/GLM-4.5**|`llmengine (v2)`|2.2e-06 (per 1 token)|1 token
+ /// |**nebius**|**zai-org/GLM-4.5-Air**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
/// |**ovhcloud**|**DeepSeek-R1-Distill-Llama-70B**|`llmengine (v2)`|6.7e-07 (per 1 token)|1 token
/// |**ovhcloud**|**Llama-3.1-8B-Instruct**|`llmengine (v2)`|1e-07 (per 1 token)|1 token
/// |**ovhcloud**|**Meta-Llama-3_3-70B-Instruct**|`llmengine (v2)`|6.7e-07 (per 1 token)|1 token
@@ -1173,6 +1215,27 @@ public partial interface IChatClient /// |**fireworks_ai**|**accounts/fireworks/models/llama-v3p3-70b-instruct**|`llmengine (v2)`|9e-07 (per 1 token)|1 token
/// |**fireworks_ai**|**accounts/fireworks/models/minimax-m2**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
/// |**fireworks_ai**|**accounts/fireworks/models/mixtral-8x22b-instruct**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
+ /// |**nebius**|**MiniMaxAI/MiniMax-M2.1**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
+ /// |**nebius**|**moonshotai/Kimi-K2-Instruct**|`llmengine (v2)`|2.4e-06 (per 1 token)|1 token
+ /// |**nebius**|**moonshotai/Kimi-K2-Thinking**|`llmengine (v2)`|2.5e-06 (per 1 token)|1 token
+ /// |**nebius**|**NousResearch/Hermes-4-405B**|`llmengine (v2)`|3e-06 (per 1 token)|1 token
+ /// |**nebius**|**NousResearch/Hermes-4-70B**|`llmengine (v2)`|4e-07 (per 1 token)|1 token
+ /// |**nebius**|**nvidia/Llama-3_1-Nemotron-Ultra-253B-v1**|`llmengine (v2)`|1.8e-06 (per 1 token)|1 token
+ /// |**nebius**|**nvidia/Nemotron-Nano-V2-12b**|`llmengine (v2)`|2e-07 (per 1 token)|1 token
+ /// |**nebius**|**openai/gpt-oss-120b**|`llmengine (v2)`|6e-07 (per 1 token)|1 token
+ /// |**nebius**|**openai/gpt-oss-20b**|`llmengine (v2)`|2e-07 (per 1 token)|1 token
+ /// |**nebius**|**PrimeIntellect/INTELLECT-3**|`llmengine (v2)`|1.1e-06 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen2.5-VL-72B-Instruct**|`llmengine (v2)`|7.5e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-235B-A22B-Instruct-2507**|`llmengine (v2)`|6e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-235B-A22B-Thinking-2507**|`llmengine (v2)`|8e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-30B-A3B-Instruct-2507**|`llmengine (v2)`|3e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-30B-A3B-Thinking-2507**|`llmengine (v2)`|3e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-32B**|`llmengine (v2)`|3e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-Coder-30B-A3B-Instruct**|`llmengine (v2)`|3e-07 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-Coder-480B-A35B-Instruct**|`llmengine (v2)`|1.8e-06 (per 1 token)|1 token
+ /// |**nebius**|**Qwen/Qwen3-Next-80B-A3B-Thinking**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
+ /// |**nebius**|**zai-org/GLM-4.5**|`llmengine (v2)`|2.2e-06 (per 1 token)|1 token
+ /// |**nebius**|**zai-org/GLM-4.5-Air**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token
/// |**ovhcloud**|**DeepSeek-R1-Distill-Llama-70B**|`llmengine (v2)`|6.7e-07 (per 1 token)|1 token
/// |**ovhcloud**|**Llama-3.1-8B-Instruct**|`llmengine (v2)`|1e-07 (per 1 token)|1 token
/// |**ovhcloud**|**Meta-Llama-3_3-70B-Instruct**|`llmengine (v2)`|6.7e-07 (per 1 token)|1 token
diff --git a/src/libs/EdenAI/Generated/EdenAI.IGenerationClient.ImageImageGenerationCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.IGenerationClient.ImageImageGenerationCreate.g.cs index 2f7d396e..743d194e 100644 --- a/src/libs/EdenAI/Generated/EdenAI.IGenerationClient.ImageImageGenerationCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.IGenerationClient.ImageImageGenerationCreate.g.cs @@ -53,7 +53,7 @@ public partial interface IGenerationClient /// |**leonardo**|-|`v1`|`1024x1024`|0.017 (per 1 image)|1 image
/// |**minimax**|**image-01**|`v1`|-|0.0035 (per 1 image)|1 image
/// |**minimax**|-|`v1`|-|0.0035 (per 1 image)|1 image
- /// |**bytedance**|**seedream-5-0-260128**|`v3`|-|0.035 (per 1 token)|1 token
+ /// |**bytedance**|**seedream-5-0-260128**|`v3`|-|0.035 (per 1 image)|1 image
/// |**bytedance**|**seedream-4-0-250828**|`v3`|-|0.03 (per 1 request)|1 request
/// |**bytedance**|**seedream-4-5-251128**|`v3`|-|0.03 (per 1 request)|1 request
/// |**bytedance**|-|`v3`|-|0.03 (per 1 request)|1 request
@@ -140,7 +140,7 @@ public partial interface IGenerationClient /// |**leonardo**|-|`v1`|`1024x1024`|0.017 (per 1 image)|1 image
/// |**minimax**|**image-01**|`v1`|-|0.0035 (per 1 image)|1 image
/// |**minimax**|-|`v1`|-|0.0035 (per 1 image)|1 image
- /// |**bytedance**|**seedream-5-0-260128**|`v3`|-|0.035 (per 1 token)|1 token
+ /// |**bytedance**|**seedream-5-0-260128**|`v3`|-|0.035 (per 1 image)|1 image
/// |**bytedance**|**seedream-4-0-250828**|`v3`|-|0.03 (per 1 request)|1 request
/// |**bytedance**|**seedream-4-5-251128**|`v3`|-|0.03 (per 1 request)|1 request
/// |**bytedance**|-|`v3`|-|0.03 (per 1 request)|1 request
@@ -227,7 +227,7 @@ public partial interface IGenerationClient /// |**leonardo**|-|`v1`|`1024x1024`|0.017 (per 1 image)|1 image
/// |**minimax**|**image-01**|`v1`|-|0.0035 (per 1 image)|1 image
/// |**minimax**|-|`v1`|-|0.0035 (per 1 image)|1 image
- /// |**bytedance**|**seedream-5-0-260128**|`v3`|-|0.035 (per 1 token)|1 token
+ /// |**bytedance**|**seedream-5-0-260128**|`v3`|-|0.035 (per 1 image)|1 image
/// |**bytedance**|**seedream-4-0-250828**|`v3`|-|0.03 (per 1 request)|1 request
/// |**bytedance**|**seedream-4-5-251128**|`v3`|-|0.03 (per 1 request)|1 request
/// |**bytedance**|-|`v3`|-|0.03 (per 1 request)|1 request
diff --git a/src/libs/EdenAI/Generated/EdenAI.IdentityParserClient.OcrOcrIdentityParserCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.IdentityParserClient.OcrOcrIdentityParserCreate.g.cs index b8bcd48e..cc034f82 100644 --- a/src/libs/EdenAI/Generated/EdenAI.IdentityParserClient.OcrOcrIdentityParserCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.IdentityParserClient.OcrOcrIdentityParserCreate.g.cs @@ -528,18 +528,17 @@ partial void ProcessOcrOcrIdentityParserCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -566,18 +565,17 @@ partial void ProcessOcrOcrIdentityParserCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -604,18 +602,17 @@ partial void ProcessOcrOcrIdentityParserCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -642,18 +639,17 @@ partial void ProcessOcrOcrIdentityParserCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -687,17 +683,15 @@ partial void ProcessOcrOcrIdentityParserCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -734,17 +728,15 @@ partial void ProcessOcrOcrIdentityParserCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.InfosClient.InfoInfoProviderSubfeaturesList.g.cs b/src/libs/EdenAI/Generated/EdenAI.InfosClient.InfoInfoProviderSubfeaturesList.g.cs index d23c01c1..9eba7d39 100644 --- a/src/libs/EdenAI/Generated/EdenAI.InfosClient.InfoInfoProviderSubfeaturesList.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.InfosClient.InfoInfoProviderSubfeaturesList.g.cs @@ -433,17 +433,15 @@ partial void ProcessInfoInfoProviderSubfeaturesListResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -480,17 +478,15 @@ partial void ProcessInfoInfoProviderSubfeaturesListResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.KeywordExtractionClient.TextTextKeywordExtractionCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.KeywordExtractionClient.TextTextKeywordExtractionCreate.g.cs index 9afdd584..10d503d7 100644 --- a/src/libs/EdenAI/Generated/EdenAI.KeywordExtractionClient.TextTextKeywordExtractionCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.KeywordExtractionClient.TextTextKeywordExtractionCreate.g.cs @@ -702,18 +702,17 @@ partial void ProcessTextTextKeywordExtractionCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -740,18 +739,17 @@ partial void ProcessTextTextKeywordExtractionCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -778,18 +776,17 @@ partial void ProcessTextTextKeywordExtractionCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -816,18 +813,17 @@ partial void ProcessTextTextKeywordExtractionCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -861,17 +857,15 @@ partial void ProcessTextTextKeywordExtractionCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -908,17 +902,15 @@ partial void ProcessTextTextKeywordExtractionCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.LabelDetectionAsyncClient.VideoVideoLabelDetectionAsyncCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.LabelDetectionAsyncClient.VideoVideoLabelDetectionAsyncCreate.g.cs index 6c4ff7e1..1e81b29e 100644 --- a/src/libs/EdenAI/Generated/EdenAI.LabelDetectionAsyncClient.VideoVideoLabelDetectionAsyncCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.LabelDetectionAsyncClient.VideoVideoLabelDetectionAsyncCreate.g.cs @@ -499,17 +499,15 @@ request.Filename is null } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -546,17 +544,15 @@ request.Filename is null { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.LabelDetectionAsyncClient.VideoVideoLabelDetectionAsyncDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.LabelDetectionAsyncClient.VideoVideoLabelDetectionAsyncDestroy.g.cs index 81d82e03..2085a23e 100644 --- a/src/libs/EdenAI/Generated/EdenAI.LabelDetectionAsyncClient.VideoVideoLabelDetectionAsyncDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.LabelDetectionAsyncClient.VideoVideoLabelDetectionAsyncDestroy.g.cs @@ -352,17 +352,15 @@ await VideoVideoLabelDetectionAsyncDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -390,17 +388,15 @@ await VideoVideoLabelDetectionAsyncDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.LabelDetectionAsyncClient.VideoVideoLabelDetectionAsyncRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.LabelDetectionAsyncClient.VideoVideoLabelDetectionAsyncRetrieve.g.cs index 5156585c..c5a521e4 100644 --- a/src/libs/EdenAI/Generated/EdenAI.LabelDetectionAsyncClient.VideoVideoLabelDetectionAsyncRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.LabelDetectionAsyncClient.VideoVideoLabelDetectionAsyncRetrieve.g.cs @@ -362,17 +362,15 @@ partial void ProcessVideoVideoLabelDetectionAsyncRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -409,17 +407,15 @@ partial void ProcessVideoVideoLabelDetectionAsyncRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.LabelDetectionAsyncClient.VideoVideoLabelDetectionAsyncRetrieve2.g.cs b/src/libs/EdenAI/Generated/EdenAI.LabelDetectionAsyncClient.VideoVideoLabelDetectionAsyncRetrieve2.g.cs index 97cde672..c5b901ec 100644 --- a/src/libs/EdenAI/Generated/EdenAI.LabelDetectionAsyncClient.VideoVideoLabelDetectionAsyncRetrieve2.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.LabelDetectionAsyncClient.VideoVideoLabelDetectionAsyncRetrieve2.g.cs @@ -395,18 +395,17 @@ partial void ProcessVideoVideoLabelDetectionAsyncRetrieve2ResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -433,18 +432,17 @@ partial void ProcessVideoVideoLabelDetectionAsyncRetrieve2ResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -471,18 +469,17 @@ partial void ProcessVideoVideoLabelDetectionAsyncRetrieve2ResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -509,18 +506,17 @@ partial void ProcessVideoVideoLabelDetectionAsyncRetrieve2ResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -554,17 +550,15 @@ partial void ProcessVideoVideoLabelDetectionAsyncRetrieve2ResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -601,17 +595,15 @@ partial void ProcessVideoVideoLabelDetectionAsyncRetrieve2ResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.LandmarkDetectionClient.ImageImageLandmarkDetectionCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.LandmarkDetectionClient.ImageImageLandmarkDetectionCreate.g.cs index 1619a6a4..fe77f188 100644 --- a/src/libs/EdenAI/Generated/EdenAI.LandmarkDetectionClient.ImageImageLandmarkDetectionCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.LandmarkDetectionClient.ImageImageLandmarkDetectionCreate.g.cs @@ -372,18 +372,17 @@ partial void ProcessImageImageLandmarkDetectionCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -410,18 +409,17 @@ partial void ProcessImageImageLandmarkDetectionCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -448,18 +446,17 @@ partial void ProcessImageImageLandmarkDetectionCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -486,18 +483,17 @@ partial void ProcessImageImageLandmarkDetectionCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -531,17 +527,15 @@ partial void ProcessImageImageLandmarkDetectionCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -578,17 +572,15 @@ partial void ProcessImageImageLandmarkDetectionCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.LanguageDetectionClient.TranslationTranslationLanguageDetectionCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.LanguageDetectionClient.TranslationTranslationLanguageDetectionCreate.g.cs index add31155..4b5400ce 100644 --- a/src/libs/EdenAI/Generated/EdenAI.LanguageDetectionClient.TranslationTranslationLanguageDetectionCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.LanguageDetectionClient.TranslationTranslationLanguageDetectionCreate.g.cs @@ -398,18 +398,17 @@ partial void ProcessTranslationTranslationLanguageDetectionCreateResponseContent __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -436,18 +435,17 @@ partial void ProcessTranslationTranslationLanguageDetectionCreateResponseContent __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -474,18 +472,17 @@ partial void ProcessTranslationTranslationLanguageDetectionCreateResponseContent __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -512,18 +509,17 @@ partial void ProcessTranslationTranslationLanguageDetectionCreateResponseContent __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -557,17 +553,15 @@ partial void ProcessTranslationTranslationLanguageDetectionCreateResponseContent } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -604,17 +598,15 @@ partial void ProcessTranslationTranslationLanguageDetectionCreateResponseContent { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.LogoDetectionAsyncClient.VideoVideoLogoDetectionAsyncCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.LogoDetectionAsyncClient.VideoVideoLogoDetectionAsyncCreate.g.cs index b89c4935..9cae6a40 100644 --- a/src/libs/EdenAI/Generated/EdenAI.LogoDetectionAsyncClient.VideoVideoLogoDetectionAsyncCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.LogoDetectionAsyncClient.VideoVideoLogoDetectionAsyncCreate.g.cs @@ -499,17 +499,15 @@ request.Filename is null } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -546,17 +544,15 @@ request.Filename is null { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.LogoDetectionAsyncClient.VideoVideoLogoDetectionAsyncDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.LogoDetectionAsyncClient.VideoVideoLogoDetectionAsyncDestroy.g.cs index 13916fc0..b1bd00cd 100644 --- a/src/libs/EdenAI/Generated/EdenAI.LogoDetectionAsyncClient.VideoVideoLogoDetectionAsyncDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.LogoDetectionAsyncClient.VideoVideoLogoDetectionAsyncDestroy.g.cs @@ -352,17 +352,15 @@ await VideoVideoLogoDetectionAsyncDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -390,17 +388,15 @@ await VideoVideoLogoDetectionAsyncDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.LogoDetectionAsyncClient.VideoVideoLogoDetectionAsyncRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.LogoDetectionAsyncClient.VideoVideoLogoDetectionAsyncRetrieve.g.cs index 2db4b7b6..789de807 100644 --- a/src/libs/EdenAI/Generated/EdenAI.LogoDetectionAsyncClient.VideoVideoLogoDetectionAsyncRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.LogoDetectionAsyncClient.VideoVideoLogoDetectionAsyncRetrieve.g.cs @@ -362,17 +362,15 @@ partial void ProcessVideoVideoLogoDetectionAsyncRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -409,17 +407,15 @@ partial void ProcessVideoVideoLogoDetectionAsyncRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.LogoDetectionAsyncClient.VideoVideoLogoDetectionAsyncRetrieve2.g.cs b/src/libs/EdenAI/Generated/EdenAI.LogoDetectionAsyncClient.VideoVideoLogoDetectionAsyncRetrieve2.g.cs index 3e2d2e4c..48214e53 100644 --- a/src/libs/EdenAI/Generated/EdenAI.LogoDetectionAsyncClient.VideoVideoLogoDetectionAsyncRetrieve2.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.LogoDetectionAsyncClient.VideoVideoLogoDetectionAsyncRetrieve2.g.cs @@ -395,18 +395,17 @@ partial void ProcessVideoVideoLogoDetectionAsyncRetrieve2ResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -433,18 +432,17 @@ partial void ProcessVideoVideoLogoDetectionAsyncRetrieve2ResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -471,18 +469,17 @@ partial void ProcessVideoVideoLogoDetectionAsyncRetrieve2ResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -509,18 +506,17 @@ partial void ProcessVideoVideoLogoDetectionAsyncRetrieve2ResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -554,17 +550,15 @@ partial void ProcessVideoVideoLogoDetectionAsyncRetrieve2ResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -601,17 +595,15 @@ partial void ProcessVideoVideoLogoDetectionAsyncRetrieve2ResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.LogoDetectionClient.ImageImageLogoDetectionCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.LogoDetectionClient.ImageImageLogoDetectionCreate.g.cs index dfbac8bd..234974d8 100644 --- a/src/libs/EdenAI/Generated/EdenAI.LogoDetectionClient.ImageImageLogoDetectionCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.LogoDetectionClient.ImageImageLogoDetectionCreate.g.cs @@ -400,18 +400,17 @@ partial void ProcessImageImageLogoDetectionCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -438,18 +437,17 @@ partial void ProcessImageImageLogoDetectionCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -476,18 +474,17 @@ partial void ProcessImageImageLogoDetectionCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -514,18 +511,17 @@ partial void ProcessImageImageLogoDetectionCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -559,17 +555,15 @@ partial void ProcessImageImageLogoDetectionCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -606,17 +600,15 @@ partial void ProcessImageImageLogoDetectionCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.AudiospeechToTextAsyncModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.AudiospeechToTextAsyncModel.g.cs index 0e91885b..3259d133 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.AudiospeechToTextAsyncModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.AudiospeechToTextAsyncModel.g.cs @@ -11,26 +11,26 @@ public sealed partial class AudiospeechToTextAsyncModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("faker")] - public global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? Faker { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("symbl")] + public global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? Symbl { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("assembly")] - public global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? Assembly { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("voci")] + public global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? Voci { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("deepgram")] - public global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? Deepgram { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("gladia")] + public global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? Gladia { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("gladia")] - public global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? Gladia { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("deepgram")] + public global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? Deepgram { get; set; } /// /// @@ -41,14 +41,14 @@ public sealed partial class AudiospeechToTextAsyncModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("oneai")] - public global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? Oneai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("openai")] + public global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? Openai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("symbl")] - public global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? Symbl { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] + public global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? Amazon { get; set; } /// /// @@ -59,32 +59,32 @@ public sealed partial class AudiospeechToTextAsyncModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("google")] - public global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? Google { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("assembly")] + public global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? Assembly { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("voci")] - public global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? Voci { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("google")] + public global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? Google { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("speechmatics")] - public global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? Speechmatics { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("oneai")] + public global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? Oneai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] - public global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? Amazon { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("speechmatics")] + public global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? Speechmatics { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("openai")] - public global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? Openai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("faker")] + public global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? Faker { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -95,50 +95,50 @@ public sealed partial class AudiospeechToTextAsyncModel /// /// Initializes a new instance of the class. /// - /// - /// - /// + /// + /// /// + /// /// - /// - /// + /// + /// /// + /// /// - /// + /// /// - /// - /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public AudiospeechToTextAsyncModel( - global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? faker, - global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? assembly, - global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? deepgram, + global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? symbl, + global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? voci, global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? gladia, + global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? deepgram, global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? microsoft, - global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? oneai, - global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? symbl, + global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? openai, + global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? amazon, global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? voxist, + global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? assembly, global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? google, - global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? voci, + global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? oneai, global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? speechmatics, - global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? amazon, - global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? openai) + global::EdenAI.AudiospeechToTextAsyncSpeechToTextAsyncDataClass? faker) { - this.Faker = faker; - this.Assembly = assembly; - this.Deepgram = deepgram; + this.Symbl = symbl; + this.Voci = voci; this.Gladia = gladia; + this.Deepgram = deepgram; this.Microsoft = microsoft; - this.Oneai = oneai; - this.Symbl = symbl; + this.Openai = openai; + this.Amazon = amazon; this.Voxist = voxist; + this.Assembly = assembly; this.Google = google; - this.Voci = voci; + this.Oneai = oneai; this.Speechmatics = speechmatics; - this.Amazon = amazon; - this.Openai = openai; + this.Faker = faker; } /// diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.AudiotextToSpeechResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.AudiotextToSpeechResponseModel.g.cs index 9d1cfa3c..fb4d519f 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.AudiotextToSpeechResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.AudiotextToSpeechResponseModel.g.cs @@ -11,38 +11,38 @@ public sealed partial class AudiotextToSpeechResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("lovoai")] - public global::EdenAI.AudiotextToSpeechTextToSpeechDataClass? Lovoai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("deepgram")] + public global::EdenAI.AudiotextToSpeechTextToSpeechDataClass? Deepgram { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("elevenlabs")] - public global::EdenAI.AudiotextToSpeechTextToSpeechDataClass? Elevenlabs { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] + public global::EdenAI.AudiotextToSpeechTextToSpeechDataClass? Microsoft { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("deepgram")] - public global::EdenAI.AudiotextToSpeechTextToSpeechDataClass? Deepgram { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] + public global::EdenAI.AudiotextToSpeechTextToSpeechDataClass? Amazon { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] - public global::EdenAI.AudiotextToSpeechTextToSpeechDataClass? Microsoft { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("elevenlabs")] + public global::EdenAI.AudiotextToSpeechTextToSpeechDataClass? Elevenlabs { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("google")] - public global::EdenAI.AudiotextToSpeechTextToSpeechDataClass? Google { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("lovoai")] + public global::EdenAI.AudiotextToSpeechTextToSpeechDataClass? Lovoai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] - public global::EdenAI.AudiotextToSpeechTextToSpeechDataClass? Amazon { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("google")] + public global::EdenAI.AudiotextToSpeechTextToSpeechDataClass? Google { get; set; } /// /// @@ -59,31 +59,31 @@ public sealed partial class AudiotextToSpeechResponseModel /// /// Initializes a new instance of the class. /// - /// - /// /// /// - /// /// + /// + /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public AudiotextToSpeechResponseModel( - global::EdenAI.AudiotextToSpeechTextToSpeechDataClass? lovoai, - global::EdenAI.AudiotextToSpeechTextToSpeechDataClass? elevenlabs, global::EdenAI.AudiotextToSpeechTextToSpeechDataClass? deepgram, global::EdenAI.AudiotextToSpeechTextToSpeechDataClass? microsoft, - global::EdenAI.AudiotextToSpeechTextToSpeechDataClass? google, global::EdenAI.AudiotextToSpeechTextToSpeechDataClass? amazon, + global::EdenAI.AudiotextToSpeechTextToSpeechDataClass? elevenlabs, + global::EdenAI.AudiotextToSpeechTextToSpeechDataClass? lovoai, + global::EdenAI.AudiotextToSpeechTextToSpeechDataClass? google, global::EdenAI.AudiotextToSpeechTextToSpeechDataClass? openai) { - this.Lovoai = lovoai; - this.Elevenlabs = elevenlabs; this.Deepgram = deepgram; this.Microsoft = microsoft; - this.Google = google; this.Amazon = amazon; + this.Elevenlabs = elevenlabs; + this.Lovoai = lovoai; + this.Google = google; this.Openai = openai; } diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.ImagebackgroundRemovalResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.ImagebackgroundRemovalResponseModel.g.cs index a6edd0d5..bc40deab 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.ImagebackgroundRemovalResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.ImagebackgroundRemovalResponseModel.g.cs @@ -11,14 +11,14 @@ public sealed partial class ImagebackgroundRemovalResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("picsart")] - public global::EdenAI.ImagebackgroundRemovalBackgroundRemovalDataClass? Picsart { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("api4ai")] + public global::EdenAI.ImagebackgroundRemovalBackgroundRemovalDataClass? Api4ai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] - public global::EdenAI.ImagebackgroundRemovalBackgroundRemovalDataClass? Microsoft { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("picsart")] + public global::EdenAI.ImagebackgroundRemovalBackgroundRemovalDataClass? Picsart { get; set; } /// /// @@ -29,26 +29,26 @@ public sealed partial class ImagebackgroundRemovalResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("api4ai")] - public global::EdenAI.ImagebackgroundRemovalBackgroundRemovalDataClass? Api4ai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("clipdrop")] + public global::EdenAI.ImagebackgroundRemovalBackgroundRemovalDataClass? Clipdrop { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("stabilityai")] - public global::EdenAI.ImagebackgroundRemovalBackgroundRemovalDataClass? Stabilityai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] + public global::EdenAI.ImagebackgroundRemovalBackgroundRemovalDataClass? Microsoft { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("clipdrop")] - public global::EdenAI.ImagebackgroundRemovalBackgroundRemovalDataClass? Clipdrop { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("photoroom")] + public global::EdenAI.ImagebackgroundRemovalBackgroundRemovalDataClass? Photoroom { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("photoroom")] - public global::EdenAI.ImagebackgroundRemovalBackgroundRemovalDataClass? Photoroom { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("stabilityai")] + public global::EdenAI.ImagebackgroundRemovalBackgroundRemovalDataClass? Stabilityai { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -59,32 +59,32 @@ public sealed partial class ImagebackgroundRemovalResponseModel /// /// Initializes a new instance of the class. /// + /// /// - /// /// - /// - /// /// + /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ImagebackgroundRemovalResponseModel( + global::EdenAI.ImagebackgroundRemovalBackgroundRemovalDataClass? api4ai, global::EdenAI.ImagebackgroundRemovalBackgroundRemovalDataClass? picsart, - global::EdenAI.ImagebackgroundRemovalBackgroundRemovalDataClass? microsoft, global::EdenAI.ImagebackgroundRemovalBackgroundRemovalDataClass? sentisight, - global::EdenAI.ImagebackgroundRemovalBackgroundRemovalDataClass? api4ai, - global::EdenAI.ImagebackgroundRemovalBackgroundRemovalDataClass? stabilityai, global::EdenAI.ImagebackgroundRemovalBackgroundRemovalDataClass? clipdrop, - global::EdenAI.ImagebackgroundRemovalBackgroundRemovalDataClass? photoroom) + global::EdenAI.ImagebackgroundRemovalBackgroundRemovalDataClass? microsoft, + global::EdenAI.ImagebackgroundRemovalBackgroundRemovalDataClass? photoroom, + global::EdenAI.ImagebackgroundRemovalBackgroundRemovalDataClass? stabilityai) { + this.Api4ai = api4ai; this.Picsart = picsart; - this.Microsoft = microsoft; this.Sentisight = sentisight; - this.Api4ai = api4ai; - this.Stabilityai = stabilityai; this.Clipdrop = clipdrop; + this.Microsoft = microsoft; this.Photoroom = photoroom; + this.Stabilityai = stabilityai; } /// diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.ImageexplicitContentResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.ImageexplicitContentResponseModel.g.cs index 07c1ea08..01398cac 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.ImageexplicitContentResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.ImageexplicitContentResponseModel.g.cs @@ -11,14 +11,8 @@ public sealed partial class ImageexplicitContentResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("clarifai")] - public global::EdenAI.ImageexplicitContentExplicitContentDataClass? Clarifai { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] - public global::EdenAI.ImageexplicitContentExplicitContentDataClass? Microsoft { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("api4ai")] + public global::EdenAI.ImageexplicitContentExplicitContentDataClass? Api4ai { get; set; } /// /// @@ -29,14 +23,14 @@ public sealed partial class ImageexplicitContentResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("google")] - public global::EdenAI.ImageexplicitContentExplicitContentDataClass? Google { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("clarifai")] + public global::EdenAI.ImageexplicitContentExplicitContentDataClass? Clarifai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("api4ai")] - public global::EdenAI.ImageexplicitContentExplicitContentDataClass? Api4ai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] + public global::EdenAI.ImageexplicitContentExplicitContentDataClass? Microsoft { get; set; } /// /// @@ -44,6 +38,12 @@ public sealed partial class ImageexplicitContentResponseModel [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] public global::EdenAI.ImageexplicitContentExplicitContentDataClass? Amazon { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("google")] + public global::EdenAI.ImageexplicitContentExplicitContentDataClass? Google { get; set; } + /// /// /// @@ -59,31 +59,31 @@ public sealed partial class ImageexplicitContentResponseModel /// /// Initializes a new instance of the class. /// + /// + /// /// /// - /// - /// - /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ImageexplicitContentResponseModel( + global::EdenAI.ImageexplicitContentExplicitContentDataClass? api4ai, + global::EdenAI.ImageexplicitContentExplicitContentDataClass? sentisight, global::EdenAI.ImageexplicitContentExplicitContentDataClass? clarifai, global::EdenAI.ImageexplicitContentExplicitContentDataClass? microsoft, - global::EdenAI.ImageexplicitContentExplicitContentDataClass? sentisight, - global::EdenAI.ImageexplicitContentExplicitContentDataClass? google, - global::EdenAI.ImageexplicitContentExplicitContentDataClass? api4ai, global::EdenAI.ImageexplicitContentExplicitContentDataClass? amazon, + global::EdenAI.ImageexplicitContentExplicitContentDataClass? google, global::EdenAI.ImageexplicitContentExplicitContentDataClass? openai) { + this.Api4ai = api4ai; + this.Sentisight = sentisight; this.Clarifai = clarifai; this.Microsoft = microsoft; - this.Sentisight = sentisight; - this.Google = google; - this.Api4ai = api4ai; this.Amazon = amazon; + this.Google = google; this.Openai = openai; } diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.ImagefaceCompareResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.ImagefaceCompareResponseModel.g.cs index e4a62159..20e81833 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.ImagefaceCompareResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.ImagefaceCompareResponseModel.g.cs @@ -11,20 +11,20 @@ public sealed partial class ImagefaceCompareResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] - public global::EdenAI.ImagefaceCompareFaceCompareDataClass? Amazon { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("base64")] + public global::EdenAI.ImagefaceCompareFaceCompareDataClass? Base64 { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("facepp")] - public global::EdenAI.ImagefaceCompareFaceCompareDataClass? Facepp { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] + public global::EdenAI.ImagefaceCompareFaceCompareDataClass? Amazon { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("base64")] - public global::EdenAI.ImagefaceCompareFaceCompareDataClass? Base64 { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("facepp")] + public global::EdenAI.ImagefaceCompareFaceCompareDataClass? Facepp { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -35,20 +35,20 @@ public sealed partial class ImagefaceCompareResponseModel /// /// Initializes a new instance of the class. /// + /// /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ImagefaceCompareResponseModel( + global::EdenAI.ImagefaceCompareFaceCompareDataClass? base64, global::EdenAI.ImagefaceCompareFaceCompareDataClass? amazon, - global::EdenAI.ImagefaceCompareFaceCompareDataClass? facepp, - global::EdenAI.ImagefaceCompareFaceCompareDataClass? base64) + global::EdenAI.ImagefaceCompareFaceCompareDataClass? facepp) { + this.Base64 = base64; this.Amazon = amazon; this.Facepp = facepp; - this.Base64 = base64; } /// diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.ImagefaceDetectionResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.ImagefaceDetectionResponseModel.g.cs index f4ff7302..6b132ba3 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.ImagefaceDetectionResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.ImagefaceDetectionResponseModel.g.cs @@ -11,32 +11,32 @@ public sealed partial class ImagefaceDetectionResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("clarifai")] - public global::EdenAI.ImagefaceDetectionFaceDetectionDataClass? Clarifai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("api4ai")] + public global::EdenAI.ImagefaceDetectionFaceDetectionDataClass? Api4ai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] - public global::EdenAI.ImagefaceDetectionFaceDetectionDataClass? Microsoft { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("clarifai")] + public global::EdenAI.ImagefaceDetectionFaceDetectionDataClass? Clarifai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("google")] - public global::EdenAI.ImagefaceDetectionFaceDetectionDataClass? Google { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] + public global::EdenAI.ImagefaceDetectionFaceDetectionDataClass? Microsoft { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("api4ai")] - public global::EdenAI.ImagefaceDetectionFaceDetectionDataClass? Api4ai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] + public global::EdenAI.ImagefaceDetectionFaceDetectionDataClass? Amazon { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] - public global::EdenAI.ImagefaceDetectionFaceDetectionDataClass? Amazon { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("google")] + public global::EdenAI.ImagefaceDetectionFaceDetectionDataClass? Google { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -47,26 +47,26 @@ public sealed partial class ImagefaceDetectionResponseModel /// /// Initializes a new instance of the class. /// + /// /// /// - /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ImagefaceDetectionResponseModel( + global::EdenAI.ImagefaceDetectionFaceDetectionDataClass? api4ai, global::EdenAI.ImagefaceDetectionFaceDetectionDataClass? clarifai, global::EdenAI.ImagefaceDetectionFaceDetectionDataClass? microsoft, - global::EdenAI.ImagefaceDetectionFaceDetectionDataClass? google, - global::EdenAI.ImagefaceDetectionFaceDetectionDataClass? api4ai, - global::EdenAI.ImagefaceDetectionFaceDetectionDataClass? amazon) + global::EdenAI.ImagefaceDetectionFaceDetectionDataClass? amazon, + global::EdenAI.ImagefaceDetectionFaceDetectionDataClass? google) { + this.Api4ai = api4ai; this.Clarifai = clarifai; this.Microsoft = microsoft; - this.Google = google; - this.Api4ai = api4ai; this.Amazon = amazon; + this.Google = google; } /// diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.ImagegenerationResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.ImagegenerationResponseModel.g.cs index 57d80e91..0d25b80d 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.ImagegenerationResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.ImagegenerationResponseModel.g.cs @@ -11,56 +11,56 @@ public sealed partial class ImagegenerationResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("stabilityai")] - public global::EdenAI.ImagegenerationGenerationDataClass? Stabilityai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("leonardo")] + public global::EdenAI.ImagegenerationGenerationDataClass? Leonardo { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("deepai")] - public global::EdenAI.ImagegenerationGenerationDataClass? Deepai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("stabilityai")] + public global::EdenAI.ImagegenerationGenerationDataClass? Stabilityai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("google")] - public global::EdenAI.ImagegenerationGenerationDataClass? Google { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("bytedance")] + public global::EdenAI.ImagegenerationGenerationDataClass? Bytedance { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("openai")] - public global::EdenAI.ImagegenerationGenerationDataClass? Openai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("replicate")] + public global::EdenAI.ImagegenerationGenerationDataClass? Replicate { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("replicate")] - public global::EdenAI.ImagegenerationGenerationDataClass? Replicate { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("minimax")] + public global::EdenAI.ImagegenerationGenerationDataClass? Minimax { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("leonardo")] - public global::EdenAI.ImagegenerationGenerationDataClass? Leonardo { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] + public global::EdenAI.ImagegenerationGenerationDataClass? Amazon { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("minimax")] - public global::EdenAI.ImagegenerationGenerationDataClass? Minimax { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("deepai")] + public global::EdenAI.ImagegenerationGenerationDataClass? Deepai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] - public global::EdenAI.ImagegenerationGenerationDataClass? Amazon { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("google")] + public global::EdenAI.ImagegenerationGenerationDataClass? Google { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("bytedance")] - public global::EdenAI.ImagegenerationGenerationDataClass? Bytedance { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("openai")] + public global::EdenAI.ImagegenerationGenerationDataClass? Openai { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -71,38 +71,38 @@ public sealed partial class ImagegenerationResponseModel /// /// Initializes a new instance of the class. /// + /// /// - /// - /// - /// + /// /// - /// /// /// - /// + /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ImagegenerationResponseModel( + global::EdenAI.ImagegenerationGenerationDataClass? leonardo, global::EdenAI.ImagegenerationGenerationDataClass? stabilityai, - global::EdenAI.ImagegenerationGenerationDataClass? deepai, - global::EdenAI.ImagegenerationGenerationDataClass? google, - global::EdenAI.ImagegenerationGenerationDataClass? openai, + global::EdenAI.ImagegenerationGenerationDataClass? bytedance, global::EdenAI.ImagegenerationGenerationDataClass? replicate, - global::EdenAI.ImagegenerationGenerationDataClass? leonardo, global::EdenAI.ImagegenerationGenerationDataClass? minimax, global::EdenAI.ImagegenerationGenerationDataClass? amazon, - global::EdenAI.ImagegenerationGenerationDataClass? bytedance) + global::EdenAI.ImagegenerationGenerationDataClass? deepai, + global::EdenAI.ImagegenerationGenerationDataClass? google, + global::EdenAI.ImagegenerationGenerationDataClass? openai) { + this.Leonardo = leonardo; this.Stabilityai = stabilityai; - this.Deepai = deepai; - this.Google = google; - this.Openai = openai; + this.Bytedance = bytedance; this.Replicate = replicate; - this.Leonardo = leonardo; this.Minimax = minimax; this.Amazon = amazon; - this.Bytedance = bytedance; + this.Deepai = deepai; + this.Google = google; + this.Openai = openai; } /// diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.ImagelogoDetectionResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.ImagelogoDetectionResponseModel.g.cs index 3cfeb12f..e9c778b6 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.ImagelogoDetectionResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.ImagelogoDetectionResponseModel.g.cs @@ -11,14 +11,8 @@ public sealed partial class ImagelogoDetectionResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("clarifai")] - public global::EdenAI.ImagelogoDetectionLogoDetectionDataClass? Clarifai { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] - public global::EdenAI.ImagelogoDetectionLogoDetectionDataClass? Microsoft { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("api4ai")] + public global::EdenAI.ImagelogoDetectionLogoDetectionDataClass? Api4ai { get; set; } /// /// @@ -29,14 +23,14 @@ public sealed partial class ImagelogoDetectionResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("google")] - public global::EdenAI.ImagelogoDetectionLogoDetectionDataClass? Google { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("clarifai")] + public global::EdenAI.ImagelogoDetectionLogoDetectionDataClass? Clarifai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("api4ai")] - public global::EdenAI.ImagelogoDetectionLogoDetectionDataClass? Api4ai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] + public global::EdenAI.ImagelogoDetectionLogoDetectionDataClass? Microsoft { get; set; } /// /// @@ -44,6 +38,12 @@ public sealed partial class ImagelogoDetectionResponseModel [global::System.Text.Json.Serialization.JsonPropertyName("anthropic")] public global::EdenAI.ImagelogoDetectionLogoDetectionDataClass? Anthropic { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("google")] + public global::EdenAI.ImagelogoDetectionLogoDetectionDataClass? Google { get; set; } + /// /// /// @@ -59,31 +59,31 @@ public sealed partial class ImagelogoDetectionResponseModel /// /// Initializes a new instance of the class. /// + /// + /// /// /// - /// - /// - /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ImagelogoDetectionResponseModel( + global::EdenAI.ImagelogoDetectionLogoDetectionDataClass? api4ai, + global::EdenAI.ImagelogoDetectionLogoDetectionDataClass? smartclick, global::EdenAI.ImagelogoDetectionLogoDetectionDataClass? clarifai, global::EdenAI.ImagelogoDetectionLogoDetectionDataClass? microsoft, - global::EdenAI.ImagelogoDetectionLogoDetectionDataClass? smartclick, - global::EdenAI.ImagelogoDetectionLogoDetectionDataClass? google, - global::EdenAI.ImagelogoDetectionLogoDetectionDataClass? api4ai, global::EdenAI.ImagelogoDetectionLogoDetectionDataClass? anthropic, + global::EdenAI.ImagelogoDetectionLogoDetectionDataClass? google, global::EdenAI.ImagelogoDetectionLogoDetectionDataClass? openai) { + this.Api4ai = api4ai; + this.Smartclick = smartclick; this.Clarifai = clarifai; this.Microsoft = microsoft; - this.Smartclick = smartclick; - this.Google = google; - this.Api4ai = api4ai; this.Anthropic = anthropic; + this.Google = google; this.Openai = openai; } diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.ImageobjectDetectionResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.ImageobjectDetectionResponseModel.g.cs index fd52e5d8..ab15362b 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.ImageobjectDetectionResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.ImageobjectDetectionResponseModel.g.cs @@ -11,14 +11,8 @@ public sealed partial class ImageobjectDetectionResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("clarifai")] - public global::EdenAI.ImageobjectDetectionObjectDetectionDataClass? Clarifai { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] - public global::EdenAI.ImageobjectDetectionObjectDetectionDataClass? Microsoft { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("api4ai")] + public global::EdenAI.ImageobjectDetectionObjectDetectionDataClass? Api4ai { get; set; } /// /// @@ -29,14 +23,14 @@ public sealed partial class ImageobjectDetectionResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("google")] - public global::EdenAI.ImageobjectDetectionObjectDetectionDataClass? Google { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("clarifai")] + public global::EdenAI.ImageobjectDetectionObjectDetectionDataClass? Clarifai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("api4ai")] - public global::EdenAI.ImageobjectDetectionObjectDetectionDataClass? Api4ai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] + public global::EdenAI.ImageobjectDetectionObjectDetectionDataClass? Microsoft { get; set; } /// /// @@ -44,6 +38,12 @@ public sealed partial class ImageobjectDetectionResponseModel [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] public global::EdenAI.ImageobjectDetectionObjectDetectionDataClass? Amazon { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("google")] + public global::EdenAI.ImageobjectDetectionObjectDetectionDataClass? Google { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -53,29 +53,29 @@ public sealed partial class ImageobjectDetectionResponseModel /// /// Initializes a new instance of the class. /// + /// + /// /// /// - /// - /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ImageobjectDetectionResponseModel( + global::EdenAI.ImageobjectDetectionObjectDetectionDataClass? api4ai, + global::EdenAI.ImageobjectDetectionObjectDetectionDataClass? sentisight, global::EdenAI.ImageobjectDetectionObjectDetectionDataClass? clarifai, global::EdenAI.ImageobjectDetectionObjectDetectionDataClass? microsoft, - global::EdenAI.ImageobjectDetectionObjectDetectionDataClass? sentisight, - global::EdenAI.ImageobjectDetectionObjectDetectionDataClass? google, - global::EdenAI.ImageobjectDetectionObjectDetectionDataClass? api4ai, - global::EdenAI.ImageobjectDetectionObjectDetectionDataClass? amazon) + global::EdenAI.ImageobjectDetectionObjectDetectionDataClass? amazon, + global::EdenAI.ImageobjectDetectionObjectDetectionDataClass? google) { + this.Api4ai = api4ai; + this.Sentisight = sentisight; this.Clarifai = clarifai; this.Microsoft = microsoft; - this.Sentisight = sentisight; - this.Google = google; - this.Api4ai = api4ai; this.Amazon = amazon; + this.Google = google; } /// diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.ImagequestionAnswerResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.ImagequestionAnswerResponseModel.g.cs index a5a70d0a..582e3151 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.ImagequestionAnswerResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.ImagequestionAnswerResponseModel.g.cs @@ -11,14 +11,14 @@ public sealed partial class ImagequestionAnswerResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("openai")] - public global::EdenAI.ImagequestionAnswerQuestionAnswerDataClass? Openai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("google")] + public global::EdenAI.ImagequestionAnswerQuestionAnswerDataClass? Google { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("google")] - public global::EdenAI.ImagequestionAnswerQuestionAnswerDataClass? Google { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("openai")] + public global::EdenAI.ImagequestionAnswerQuestionAnswerDataClass? Openai { get; set; } /// /// @@ -35,19 +35,19 @@ public sealed partial class ImagequestionAnswerResponseModel /// /// Initializes a new instance of the class. /// - /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ImagequestionAnswerResponseModel( - global::EdenAI.ImagequestionAnswerQuestionAnswerDataClass? openai, global::EdenAI.ImagequestionAnswerQuestionAnswerDataClass? google, + global::EdenAI.ImagequestionAnswerQuestionAnswerDataClass? openai, global::EdenAI.ImagequestionAnswerQuestionAnswerDataClass? alephalpha) { - this.Openai = openai; this.Google = google; + this.Openai = openai; this.Alephalpha = alephalpha; } diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.ImagesearchResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.ImagesearchResponseModel.g.cs index 34c72548..f3317898 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.ImagesearchResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.ImagesearchResponseModel.g.cs @@ -11,14 +11,14 @@ public sealed partial class ImagesearchResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("sentisight")] - public global::EdenAI.ImagesearchSearchDeleteImageDataClass? Sentisight { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("nyckel")] + public global::EdenAI.ImagesearchSearchDeleteImageDataClass? Nyckel { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("nyckel")] - public global::EdenAI.ImagesearchSearchDeleteImageDataClass? Nyckel { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("sentisight")] + public global::EdenAI.ImagesearchSearchDeleteImageDataClass? Sentisight { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -29,17 +29,17 @@ public sealed partial class ImagesearchResponseModel /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ImagesearchResponseModel( - global::EdenAI.ImagesearchSearchDeleteImageDataClass? sentisight, - global::EdenAI.ImagesearchSearchDeleteImageDataClass? nyckel) + global::EdenAI.ImagesearchSearchDeleteImageDataClass? nyckel, + global::EdenAI.ImagesearchSearchDeleteImageDataClass? sentisight) { - this.Sentisight = sentisight; this.Nyckel = nyckel; + this.Sentisight = sentisight; } /// diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.LlmchatResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.LlmchatResponseModel.g.cs index e9642290..632ad1cf 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.LlmchatResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.LlmchatResponseModel.g.cs @@ -11,86 +11,92 @@ public sealed partial class LlmchatResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("together_ai")] - public global::EdenAI.LlmchatChatDataClass? TogetherAi { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("meta")] + public global::EdenAI.LlmchatChatDataClass? Meta { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("huggingface")] - public global::EdenAI.LlmchatChatDataClass? Huggingface { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("qwen")] + public global::EdenAI.LlmchatChatDataClass? Qwen { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] - public global::EdenAI.LlmchatChatDataClass? Microsoft { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("cloudflare")] + public global::EdenAI.LlmchatChatDataClass? Cloudflare { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("fireworks_ai")] - public global::EdenAI.LlmchatChatDataClass? FireworksAi { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("dashscope")] + public global::EdenAI.LlmchatChatDataClass? Dashscope { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("deepinfra")] - public global::EdenAI.LlmchatChatDataClass? Deepinfra { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("xai")] + public global::EdenAI.LlmchatChatDataClass? Xai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("iointelligence")] - public global::EdenAI.LlmchatChatDataClass? Iointelligence { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("fireworks_ai")] + public global::EdenAI.LlmchatChatDataClass? FireworksAi { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("databricks")] - public global::EdenAI.LlmchatChatDataClass? Databricks { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("minimax")] + public global::EdenAI.LlmchatChatDataClass? Minimax { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("google")] - public global::EdenAI.LlmchatChatDataClass? Google { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("ovhcloud")] + public global::EdenAI.LlmchatChatDataClass? Ovhcloud { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("deepseek")] - public global::EdenAI.LlmchatChatDataClass? Deepseek { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("tenstorrent")] + public global::EdenAI.LlmchatChatDataClass? Tenstorrent { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] - public global::EdenAI.LlmchatChatDataClass? Amazon { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("mistral")] + public global::EdenAI.LlmchatChatDataClass? Mistral { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("openai")] - public global::EdenAI.LlmchatChatDataClass? Openai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] + public global::EdenAI.LlmchatChatDataClass? Microsoft { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("dashscope")] - public global::EdenAI.LlmchatChatDataClass? Dashscope { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("deepseek")] + public global::EdenAI.LlmchatChatDataClass? Deepseek { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("anthropic")] - public global::EdenAI.LlmchatChatDataClass? Anthropic { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("cohere")] + public global::EdenAI.LlmchatChatDataClass? Cohere { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("bytedance")] - public global::EdenAI.LlmchatChatDataClass? Bytedance { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("iointelligence")] + public global::EdenAI.LlmchatChatDataClass? Iointelligence { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cerebras")] + public global::EdenAI.LlmchatChatDataClass? Cerebras { get; set; } /// /// @@ -101,74 +107,80 @@ public sealed partial class LlmchatResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("tenstorrent")] - public global::EdenAI.LlmchatChatDataClass? Tenstorrent { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("openai")] + public global::EdenAI.LlmchatChatDataClass? Openai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("perplexityai")] - public global::EdenAI.LlmchatChatDataClass? Perplexityai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("lilac")] + public global::EdenAI.LlmchatChatDataClass? Lilac { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("mistral")] - public global::EdenAI.LlmchatChatDataClass? Mistral { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("replicate")] + public global::EdenAI.LlmchatChatDataClass? Replicate { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("meta")] - public global::EdenAI.LlmchatChatDataClass? Meta { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] + public global::EdenAI.LlmchatChatDataClass? Amazon { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("ovhcloud")] - public global::EdenAI.LlmchatChatDataClass? Ovhcloud { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("perplexityai")] + public global::EdenAI.LlmchatChatDataClass? Perplexityai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("replicate")] - public global::EdenAI.LlmchatChatDataClass? Replicate { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("google")] + public global::EdenAI.LlmchatChatDataClass? Google { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("xai")] - public global::EdenAI.LlmchatChatDataClass? Xai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("huggingface")] + public global::EdenAI.LlmchatChatDataClass? Huggingface { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("minimax")] - public global::EdenAI.LlmchatChatDataClass? Minimax { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("anthropic")] + public global::EdenAI.LlmchatChatDataClass? Anthropic { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("cerebras")] - public global::EdenAI.LlmchatChatDataClass? Cerebras { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("deepinfra")] + public global::EdenAI.LlmchatChatDataClass? Deepinfra { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("cohere")] - public global::EdenAI.LlmchatChatDataClass? Cohere { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("bytedance")] + public global::EdenAI.LlmchatChatDataClass? Bytedance { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("groq")] - public global::EdenAI.LlmchatChatDataClass? Groq { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("databricks")] + public global::EdenAI.LlmchatChatDataClass? Databricks { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("cloudflare")] - public global::EdenAI.LlmchatChatDataClass? Cloudflare { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("together_ai")] + public global::EdenAI.LlmchatChatDataClass? TogetherAi { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("groq")] + public global::EdenAI.LlmchatChatDataClass? Groq { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -179,92 +191,98 @@ public sealed partial class LlmchatResponseModel /// /// Initializes a new instance of the class. /// - /// - /// - /// + /// + /// + /// + /// + /// /// - /// - /// - /// - /// + /// + /// + /// + /// + /// /// - /// + /// + /// + /// + /// /// - /// + /// + /// + /// + /// + /// + /// /// + /// /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// + /// + /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public LlmchatResponseModel( - global::EdenAI.LlmchatChatDataClass? togetherAi, - global::EdenAI.LlmchatChatDataClass? huggingface, - global::EdenAI.LlmchatChatDataClass? microsoft, + global::EdenAI.LlmchatChatDataClass? meta, + global::EdenAI.LlmchatChatDataClass? qwen, + global::EdenAI.LlmchatChatDataClass? cloudflare, + global::EdenAI.LlmchatChatDataClass? dashscope, + global::EdenAI.LlmchatChatDataClass? xai, global::EdenAI.LlmchatChatDataClass? fireworksAi, - global::EdenAI.LlmchatChatDataClass? deepinfra, - global::EdenAI.LlmchatChatDataClass? iointelligence, - global::EdenAI.LlmchatChatDataClass? databricks, - global::EdenAI.LlmchatChatDataClass? google, + global::EdenAI.LlmchatChatDataClass? minimax, + global::EdenAI.LlmchatChatDataClass? ovhcloud, + global::EdenAI.LlmchatChatDataClass? tenstorrent, + global::EdenAI.LlmchatChatDataClass? mistral, + global::EdenAI.LlmchatChatDataClass? microsoft, global::EdenAI.LlmchatChatDataClass? deepseek, - global::EdenAI.LlmchatChatDataClass? amazon, + global::EdenAI.LlmchatChatDataClass? cohere, + global::EdenAI.LlmchatChatDataClass? iointelligence, + global::EdenAI.LlmchatChatDataClass? cerebras, + global::EdenAI.LlmchatChatDataClass? nebius, global::EdenAI.LlmchatChatDataClass? openai, - global::EdenAI.LlmchatChatDataClass? dashscope, + global::EdenAI.LlmchatChatDataClass? lilac, + global::EdenAI.LlmchatChatDataClass? replicate, + global::EdenAI.LlmchatChatDataClass? amazon, + global::EdenAI.LlmchatChatDataClass? perplexityai, + global::EdenAI.LlmchatChatDataClass? google, + global::EdenAI.LlmchatChatDataClass? huggingface, global::EdenAI.LlmchatChatDataClass? anthropic, + global::EdenAI.LlmchatChatDataClass? deepinfra, global::EdenAI.LlmchatChatDataClass? bytedance, - global::EdenAI.LlmchatChatDataClass? nebius, - global::EdenAI.LlmchatChatDataClass? tenstorrent, - global::EdenAI.LlmchatChatDataClass? perplexityai, - global::EdenAI.LlmchatChatDataClass? mistral, - global::EdenAI.LlmchatChatDataClass? meta, - global::EdenAI.LlmchatChatDataClass? ovhcloud, - global::EdenAI.LlmchatChatDataClass? replicate, - global::EdenAI.LlmchatChatDataClass? xai, - global::EdenAI.LlmchatChatDataClass? minimax, - global::EdenAI.LlmchatChatDataClass? cerebras, - global::EdenAI.LlmchatChatDataClass? cohere, - global::EdenAI.LlmchatChatDataClass? groq, - global::EdenAI.LlmchatChatDataClass? cloudflare) + global::EdenAI.LlmchatChatDataClass? databricks, + global::EdenAI.LlmchatChatDataClass? togetherAi, + global::EdenAI.LlmchatChatDataClass? groq) { - this.TogetherAi = togetherAi; - this.Huggingface = huggingface; - this.Microsoft = microsoft; + this.Meta = meta; + this.Qwen = qwen; + this.Cloudflare = cloudflare; + this.Dashscope = dashscope; + this.Xai = xai; this.FireworksAi = fireworksAi; - this.Deepinfra = deepinfra; - this.Iointelligence = iointelligence; - this.Databricks = databricks; - this.Google = google; + this.Minimax = minimax; + this.Ovhcloud = ovhcloud; + this.Tenstorrent = tenstorrent; + this.Mistral = mistral; + this.Microsoft = microsoft; this.Deepseek = deepseek; - this.Amazon = amazon; + this.Cohere = cohere; + this.Iointelligence = iointelligence; + this.Cerebras = cerebras; + this.Nebius = nebius; this.Openai = openai; - this.Dashscope = dashscope; + this.Lilac = lilac; + this.Replicate = replicate; + this.Amazon = amazon; + this.Perplexityai = perplexityai; + this.Google = google; + this.Huggingface = huggingface; this.Anthropic = anthropic; + this.Deepinfra = deepinfra; this.Bytedance = bytedance; - this.Nebius = nebius; - this.Tenstorrent = tenstorrent; - this.Perplexityai = perplexityai; - this.Mistral = mistral; - this.Meta = meta; - this.Ovhcloud = ovhcloud; - this.Replicate = replicate; - this.Xai = xai; - this.Minimax = minimax; - this.Cerebras = cerebras; - this.Cohere = cohere; + this.Databricks = databricks; + this.TogetherAi = togetherAi; this.Groq = groq; - this.Cloudflare = cloudflare; } /// diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.MultimodalchatResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.MultimodalchatResponseModel.g.cs index d4fa06ec..f0c9fd8a 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.MultimodalchatResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.MultimodalchatResponseModel.g.cs @@ -11,8 +11,8 @@ public sealed partial class MultimodalchatResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] - public global::EdenAI.MultimodalchatChatDataClass? Amazon { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("mistral")] + public global::EdenAI.MultimodalchatChatDataClass? Mistral { get; set; } /// /// @@ -23,26 +23,26 @@ public sealed partial class MultimodalchatResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("google")] - public global::EdenAI.MultimodalchatChatDataClass? Google { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("anthropic")] + public global::EdenAI.MultimodalchatChatDataClass? Anthropic { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("mistral")] - public global::EdenAI.MultimodalchatChatDataClass? Mistral { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("xai")] + public global::EdenAI.MultimodalchatChatDataClass? Xai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("xai")] - public global::EdenAI.MultimodalchatChatDataClass? Xai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] + public global::EdenAI.MultimodalchatChatDataClass? Amazon { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("anthropic")] - public global::EdenAI.MultimodalchatChatDataClass? Anthropic { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("google")] + public global::EdenAI.MultimodalchatChatDataClass? Google { get; set; } /// /// @@ -59,31 +59,31 @@ public sealed partial class MultimodalchatResponseModel /// /// Initializes a new instance of the class. /// - /// - /// - /// /// - /// + /// /// + /// + /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public MultimodalchatResponseModel( - global::EdenAI.MultimodalchatChatDataClass? amazon, - global::EdenAI.MultimodalchatChatDataClass? microsoft, - global::EdenAI.MultimodalchatChatDataClass? google, global::EdenAI.MultimodalchatChatDataClass? mistral, - global::EdenAI.MultimodalchatChatDataClass? xai, + global::EdenAI.MultimodalchatChatDataClass? microsoft, global::EdenAI.MultimodalchatChatDataClass? anthropic, + global::EdenAI.MultimodalchatChatDataClass? xai, + global::EdenAI.MultimodalchatChatDataClass? amazon, + global::EdenAI.MultimodalchatChatDataClass? google, global::EdenAI.MultimodalchatChatDataClass? openai) { - this.Amazon = amazon; - this.Microsoft = microsoft; - this.Google = google; this.Mistral = mistral; - this.Xai = xai; + this.Microsoft = microsoft; this.Anthropic = anthropic; + this.Xai = xai; + this.Amazon = amazon; + this.Google = google; this.Openai = openai; } diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.OcranonymizationAsyncModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.OcranonymizationAsyncModel.g.cs index c0280759..72e2a95b 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.OcranonymizationAsyncModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.OcranonymizationAsyncModel.g.cs @@ -11,14 +11,14 @@ public sealed partial class OcranonymizationAsyncModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("privateai")] - public global::EdenAI.OcranonymizationAsyncAnonymizationAsyncDataClass? Privateai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("base64")] + public global::EdenAI.OcranonymizationAsyncAnonymizationAsyncDataClass? Base64 { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("base64")] - public global::EdenAI.OcranonymizationAsyncAnonymizationAsyncDataClass? Base64 { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("privateai")] + public global::EdenAI.OcranonymizationAsyncAnonymizationAsyncDataClass? Privateai { get; set; } /// /// @@ -35,19 +35,19 @@ public sealed partial class OcranonymizationAsyncModel /// /// Initializes a new instance of the class. /// - /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public OcranonymizationAsyncModel( - global::EdenAI.OcranonymizationAsyncAnonymizationAsyncDataClass? privateai, global::EdenAI.OcranonymizationAsyncAnonymizationAsyncDataClass? base64, + global::EdenAI.OcranonymizationAsyncAnonymizationAsyncDataClass? privateai, global::EdenAI.OcranonymizationAsyncAnonymizationAsyncDataClass? readyredact) { - this.Privateai = privateai; this.Base64 = base64; + this.Privateai = privateai; this.Readyredact = readyredact; } diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.OcrbankCheckParsingResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.OcrbankCheckParsingResponseModel.g.cs index da9ae858..c34b0f08 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.OcrbankCheckParsingResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.OcrbankCheckParsingResponseModel.g.cs @@ -11,26 +11,26 @@ public sealed partial class OcrbankCheckParsingResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("veryfi")] - public global::EdenAI.OcrbankCheckParsingBankCheckParsingDataClass? Veryfi { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("extracta")] + public global::EdenAI.OcrbankCheckParsingBankCheckParsingDataClass? Extracta { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("mindee")] - public global::EdenAI.OcrbankCheckParsingBankCheckParsingDataClass? Mindee { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("base64")] + public global::EdenAI.OcrbankCheckParsingBankCheckParsingDataClass? Base64 { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("extracta")] - public global::EdenAI.OcrbankCheckParsingBankCheckParsingDataClass? Extracta { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("veryfi")] + public global::EdenAI.OcrbankCheckParsingBankCheckParsingDataClass? Veryfi { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("base64")] - public global::EdenAI.OcrbankCheckParsingBankCheckParsingDataClass? Base64 { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("mindee")] + public global::EdenAI.OcrbankCheckParsingBankCheckParsingDataClass? Mindee { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -41,23 +41,23 @@ public sealed partial class OcrbankCheckParsingResponseModel /// /// Initializes a new instance of the class. /// - /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public OcrbankCheckParsingResponseModel( - global::EdenAI.OcrbankCheckParsingBankCheckParsingDataClass? veryfi, - global::EdenAI.OcrbankCheckParsingBankCheckParsingDataClass? mindee, global::EdenAI.OcrbankCheckParsingBankCheckParsingDataClass? extracta, - global::EdenAI.OcrbankCheckParsingBankCheckParsingDataClass? base64) + global::EdenAI.OcrbankCheckParsingBankCheckParsingDataClass? base64, + global::EdenAI.OcrbankCheckParsingBankCheckParsingDataClass? veryfi, + global::EdenAI.OcrbankCheckParsingBankCheckParsingDataClass? mindee) { - this.Veryfi = veryfi; - this.Mindee = mindee; this.Extracta = extracta; this.Base64 = base64; + this.Veryfi = veryfi; + this.Mindee = mindee; } /// diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.OcrcustomDocumentParsingAsyncModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.OcrcustomDocumentParsingAsyncModel.g.cs index b0ba41cc..780dc3b9 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.OcrcustomDocumentParsingAsyncModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.OcrcustomDocumentParsingAsyncModel.g.cs @@ -11,14 +11,14 @@ public sealed partial class OcrcustomDocumentParsingAsyncModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] - public global::EdenAI.OcrcustomDocumentParsingAsyncCustomDocumentParsingAsyncDataClass? Amazon { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("extracta")] + public global::EdenAI.OcrcustomDocumentParsingAsyncCustomDocumentParsingAsyncDataClass? Extracta { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("extracta")] - public global::EdenAI.OcrcustomDocumentParsingAsyncCustomDocumentParsingAsyncDataClass? Extracta { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] + public global::EdenAI.OcrcustomDocumentParsingAsyncCustomDocumentParsingAsyncDataClass? Amazon { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -29,17 +29,17 @@ public sealed partial class OcrcustomDocumentParsingAsyncModel /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public OcrcustomDocumentParsingAsyncModel( - global::EdenAI.OcrcustomDocumentParsingAsyncCustomDocumentParsingAsyncDataClass? amazon, - global::EdenAI.OcrcustomDocumentParsingAsyncCustomDocumentParsingAsyncDataClass? extracta) + global::EdenAI.OcrcustomDocumentParsingAsyncCustomDocumentParsingAsyncDataClass? extracta, + global::EdenAI.OcrcustomDocumentParsingAsyncCustomDocumentParsingAsyncDataClass? amazon) { - this.Amazon = amazon; this.Extracta = extracta; + this.Amazon = amazon; } /// diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.OcrdataExtractionResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.OcrdataExtractionResponseModel.g.cs index 74fd0130..2021c5e5 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.OcrdataExtractionResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.OcrdataExtractionResponseModel.g.cs @@ -11,14 +11,14 @@ public sealed partial class OcrdataExtractionResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] - public global::EdenAI.OcrdataExtractionDataExtractionDataClass? Amazon { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("base64")] + public global::EdenAI.OcrdataExtractionDataExtractionDataClass? Base64 { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("base64")] - public global::EdenAI.OcrdataExtractionDataExtractionDataClass? Base64 { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] + public global::EdenAI.OcrdataExtractionDataExtractionDataClass? Amazon { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -29,17 +29,17 @@ public sealed partial class OcrdataExtractionResponseModel /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public OcrdataExtractionResponseModel( - global::EdenAI.OcrdataExtractionDataExtractionDataClass? amazon, - global::EdenAI.OcrdataExtractionDataExtractionDataClass? base64) + global::EdenAI.OcrdataExtractionDataExtractionDataClass? base64, + global::EdenAI.OcrdataExtractionDataExtractionDataClass? amazon) { - this.Amazon = amazon; this.Base64 = base64; + this.Amazon = amazon; } /// diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.OcrfinancialParserResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.OcrfinancialParserResponseModel.g.cs index 4b0dcdd2..c38a354c 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.OcrfinancialParserResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.OcrfinancialParserResponseModel.g.cs @@ -11,14 +11,14 @@ public sealed partial class OcrfinancialParserResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("dataleon")] - public global::EdenAI.OcrfinancialParserFinancialParserDataClass? Dataleon { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("eagledoc")] + public global::EdenAI.OcrfinancialParserFinancialParserDataClass? Eagledoc { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("veryfi")] - public global::EdenAI.OcrfinancialParserFinancialParserDataClass? Veryfi { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("affinda")] + public global::EdenAI.OcrfinancialParserFinancialParserDataClass? Affinda { get; set; } /// /// @@ -29,26 +29,26 @@ public sealed partial class OcrfinancialParserResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("mindee")] - public global::EdenAI.OcrfinancialParserFinancialParserDataClass? Mindee { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("extracta")] + public global::EdenAI.OcrfinancialParserFinancialParserDataClass? Extracta { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("extracta")] - public global::EdenAI.OcrfinancialParserFinancialParserDataClass? Extracta { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("klippa")] + public global::EdenAI.OcrfinancialParserFinancialParserDataClass? Klippa { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("base64")] - public global::EdenAI.OcrfinancialParserFinancialParserDataClass? Base64 { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("mindee")] + public global::EdenAI.OcrfinancialParserFinancialParserDataClass? Mindee { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("google")] - public global::EdenAI.OcrfinancialParserFinancialParserDataClass? Google { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] + public global::EdenAI.OcrfinancialParserFinancialParserDataClass? Amazon { get; set; } /// /// @@ -59,26 +59,26 @@ public sealed partial class OcrfinancialParserResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("eagledoc")] - public global::EdenAI.OcrfinancialParserFinancialParserDataClass? Eagledoc { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("veryfi")] + public global::EdenAI.OcrfinancialParserFinancialParserDataClass? Veryfi { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("affinda")] - public global::EdenAI.OcrfinancialParserFinancialParserDataClass? Affinda { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("base64")] + public global::EdenAI.OcrfinancialParserFinancialParserDataClass? Base64 { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] - public global::EdenAI.OcrfinancialParserFinancialParserDataClass? Amazon { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("google")] + public global::EdenAI.OcrfinancialParserFinancialParserDataClass? Google { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("klippa")] - public global::EdenAI.OcrfinancialParserFinancialParserDataClass? Klippa { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("dataleon")] + public global::EdenAI.OcrfinancialParserFinancialParserDataClass? Dataleon { get; set; } /// /// @@ -95,49 +95,49 @@ public sealed partial class OcrfinancialParserResponseModel /// /// Initializes a new instance of the class. /// - /// - /// + /// + /// /// - /// /// + /// + /// + /// + /// + /// /// /// - /// - /// - /// - /// - /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public OcrfinancialParserResponseModel( - global::EdenAI.OcrfinancialParserFinancialParserDataClass? dataleon, - global::EdenAI.OcrfinancialParserFinancialParserDataClass? veryfi, + global::EdenAI.OcrfinancialParserFinancialParserDataClass? eagledoc, + global::EdenAI.OcrfinancialParserFinancialParserDataClass? affinda, global::EdenAI.OcrfinancialParserFinancialParserDataClass? microsoft, - global::EdenAI.OcrfinancialParserFinancialParserDataClass? mindee, global::EdenAI.OcrfinancialParserFinancialParserDataClass? extracta, + global::EdenAI.OcrfinancialParserFinancialParserDataClass? klippa, + global::EdenAI.OcrfinancialParserFinancialParserDataClass? mindee, + global::EdenAI.OcrfinancialParserFinancialParserDataClass? amazon, + global::EdenAI.OcrfinancialParserFinancialParserDataClass? tabscanner, + global::EdenAI.OcrfinancialParserFinancialParserDataClass? veryfi, global::EdenAI.OcrfinancialParserFinancialParserDataClass? base64, global::EdenAI.OcrfinancialParserFinancialParserDataClass? google, - global::EdenAI.OcrfinancialParserFinancialParserDataClass? tabscanner, - global::EdenAI.OcrfinancialParserFinancialParserDataClass? eagledoc, - global::EdenAI.OcrfinancialParserFinancialParserDataClass? affinda, - global::EdenAI.OcrfinancialParserFinancialParserDataClass? amazon, - global::EdenAI.OcrfinancialParserFinancialParserDataClass? klippa, + global::EdenAI.OcrfinancialParserFinancialParserDataClass? dataleon, global::EdenAI.OcrfinancialParserFinancialParserDataClass? openai) { - this.Dataleon = dataleon; - this.Veryfi = veryfi; + this.Eagledoc = eagledoc; + this.Affinda = affinda; this.Microsoft = microsoft; - this.Mindee = mindee; this.Extracta = extracta; + this.Klippa = klippa; + this.Mindee = mindee; + this.Amazon = amazon; + this.Tabscanner = tabscanner; + this.Veryfi = veryfi; this.Base64 = base64; this.Google = google; - this.Tabscanner = tabscanner; - this.Eagledoc = eagledoc; - this.Affinda = affinda; - this.Amazon = amazon; - this.Klippa = klippa; + this.Dataleon = dataleon; this.Openai = openai; } diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.OcridentityParserResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.OcridentityParserResponseModel.g.cs index 9238ac9e..f0e6979f 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.OcridentityParserResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.OcridentityParserResponseModel.g.cs @@ -11,26 +11,26 @@ public sealed partial class OcridentityParserResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] - public global::EdenAI.OcridentityParserIdentityParserDataClass? Microsoft { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("affinda")] + public global::EdenAI.OcridentityParserIdentityParserDataClass? Affinda { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("mindee")] - public global::EdenAI.OcridentityParserIdentityParserDataClass? Mindee { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] + public global::EdenAI.OcridentityParserIdentityParserDataClass? Microsoft { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("base64")] - public global::EdenAI.OcridentityParserIdentityParserDataClass? Base64 { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("klippa")] + public global::EdenAI.OcridentityParserIdentityParserDataClass? Klippa { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("affinda")] - public global::EdenAI.OcridentityParserIdentityParserDataClass? Affinda { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("mindee")] + public global::EdenAI.OcridentityParserIdentityParserDataClass? Mindee { get; set; } /// /// @@ -41,8 +41,8 @@ public sealed partial class OcridentityParserResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("klippa")] - public global::EdenAI.OcridentityParserIdentityParserDataClass? Klippa { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("base64")] + public global::EdenAI.OcridentityParserIdentityParserDataClass? Base64 { get; set; } /// /// @@ -59,31 +59,31 @@ public sealed partial class OcridentityParserResponseModel /// /// Initializes a new instance of the class. /// + /// /// + /// /// - /// - /// /// - /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public OcridentityParserResponseModel( + global::EdenAI.OcridentityParserIdentityParserDataClass? affinda, global::EdenAI.OcridentityParserIdentityParserDataClass? microsoft, + global::EdenAI.OcridentityParserIdentityParserDataClass? klippa, global::EdenAI.OcridentityParserIdentityParserDataClass? mindee, - global::EdenAI.OcridentityParserIdentityParserDataClass? base64, - global::EdenAI.OcridentityParserIdentityParserDataClass? affinda, global::EdenAI.OcridentityParserIdentityParserDataClass? amazon, - global::EdenAI.OcridentityParserIdentityParserDataClass? klippa, + global::EdenAI.OcridentityParserIdentityParserDataClass? base64, global::EdenAI.OcridentityParserIdentityParserDataClass? openai) { + this.Affinda = affinda; this.Microsoft = microsoft; + this.Klippa = klippa; this.Mindee = mindee; - this.Base64 = base64; - this.Affinda = affinda; this.Amazon = amazon; - this.Klippa = klippa; + this.Base64 = base64; this.Openai = openai; } diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.OcrocrAsyncModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.OcrocrAsyncModel.g.cs index a51df8a4..a8c09241 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.OcrocrAsyncModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.OcrocrAsyncModel.g.cs @@ -11,8 +11,8 @@ public sealed partial class OcrocrAsyncModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("oneai")] - public global::EdenAI.OcrocrAsyncOcrAsyncDataClass? Oneai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("mistral")] + public global::EdenAI.OcrocrAsyncOcrAsyncDataClass? Mistral { get; set; } /// /// @@ -23,20 +23,20 @@ public sealed partial class OcrocrAsyncModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("google")] - public global::EdenAI.OcrocrAsyncOcrAsyncDataClass? Google { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] + public global::EdenAI.OcrocrAsyncOcrAsyncDataClass? Amazon { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("mistral")] - public global::EdenAI.OcrocrAsyncOcrAsyncDataClass? Mistral { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("google")] + public global::EdenAI.OcrocrAsyncOcrAsyncDataClass? Google { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] - public global::EdenAI.OcrocrAsyncOcrAsyncDataClass? Amazon { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("oneai")] + public global::EdenAI.OcrocrAsyncOcrAsyncDataClass? Oneai { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -47,26 +47,26 @@ public sealed partial class OcrocrAsyncModel /// /// Initializes a new instance of the class. /// - /// - /// - /// /// + /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public OcrocrAsyncModel( - global::EdenAI.OcrocrAsyncOcrAsyncDataClass? oneai, + global::EdenAI.OcrocrAsyncOcrAsyncDataClass? mistral, global::EdenAI.OcrocrAsyncOcrAsyncDataClass? microsoft, + global::EdenAI.OcrocrAsyncOcrAsyncDataClass? amazon, global::EdenAI.OcrocrAsyncOcrAsyncDataClass? google, - global::EdenAI.OcrocrAsyncOcrAsyncDataClass? mistral, - global::EdenAI.OcrocrAsyncOcrAsyncDataClass? amazon) + global::EdenAI.OcrocrAsyncOcrAsyncDataClass? oneai) { - this.Oneai = oneai; - this.Microsoft = microsoft; - this.Google = google; this.Mistral = mistral; + this.Microsoft = microsoft; this.Amazon = amazon; + this.Google = google; + this.Oneai = oneai; } /// diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.OcrocrResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.OcrocrResponseModel.g.cs index c64c2a8f..a7f5f623 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.OcrocrResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.OcrocrResponseModel.g.cs @@ -11,14 +11,14 @@ public sealed partial class OcrocrResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("clarifai")] - public global::EdenAI.OcrocrOcrDataClass? Clarifai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("api4ai")] + public global::EdenAI.OcrocrOcrDataClass? Api4ai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] - public global::EdenAI.OcrocrOcrDataClass? Microsoft { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("mistral")] + public global::EdenAI.OcrocrOcrDataClass? Mistral { get; set; } /// /// @@ -29,32 +29,32 @@ public sealed partial class OcrocrResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("base64")] - public global::EdenAI.OcrocrOcrDataClass? Base64 { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("clarifai")] + public global::EdenAI.OcrocrOcrDataClass? Clarifai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("google")] - public global::EdenAI.OcrocrOcrDataClass? Google { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] + public global::EdenAI.OcrocrOcrDataClass? Microsoft { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("mistral")] - public global::EdenAI.OcrocrOcrDataClass? Mistral { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] + public global::EdenAI.OcrocrOcrDataClass? Amazon { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("api4ai")] - public global::EdenAI.OcrocrOcrDataClass? Api4ai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("base64")] + public global::EdenAI.OcrocrOcrDataClass? Base64 { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] - public global::EdenAI.OcrocrOcrDataClass? Amazon { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("google")] + public global::EdenAI.OcrocrOcrDataClass? Google { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -65,35 +65,35 @@ public sealed partial class OcrocrResponseModel /// /// Initializes a new instance of the class. /// + /// + /// + /// /// /// - /// + /// /// /// - /// - /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public OcrocrResponseModel( + global::EdenAI.OcrocrOcrDataClass? api4ai, + global::EdenAI.OcrocrOcrDataClass? mistral, + global::EdenAI.OcrocrOcrDataClass? sentisight, global::EdenAI.OcrocrOcrDataClass? clarifai, global::EdenAI.OcrocrOcrDataClass? microsoft, - global::EdenAI.OcrocrOcrDataClass? sentisight, + global::EdenAI.OcrocrOcrDataClass? amazon, global::EdenAI.OcrocrOcrDataClass? base64, - global::EdenAI.OcrocrOcrDataClass? google, - global::EdenAI.OcrocrOcrDataClass? mistral, - global::EdenAI.OcrocrOcrDataClass? api4ai, - global::EdenAI.OcrocrOcrDataClass? amazon) + global::EdenAI.OcrocrOcrDataClass? google) { + this.Api4ai = api4ai; + this.Mistral = mistral; + this.Sentisight = sentisight; this.Clarifai = clarifai; this.Microsoft = microsoft; - this.Sentisight = sentisight; + this.Amazon = amazon; this.Base64 = base64; this.Google = google; - this.Mistral = mistral; - this.Api4ai = api4ai; - this.Amazon = amazon; } /// diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.OcrresumeParserResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.OcrresumeParserResponseModel.g.cs index 94e179d0..fd2a8905 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.OcrresumeParserResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.OcrresumeParserResponseModel.g.cs @@ -11,14 +11,14 @@ public sealed partial class OcrresumeParserResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("senseloaf")] - public global::EdenAI.OcrresumeParserResumeParserDataClass? Senseloaf { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("affinda")] + public global::EdenAI.OcrresumeParserResumeParserDataClass? Affinda { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("extracta")] - public global::EdenAI.OcrresumeParserResumeParserDataClass? Extracta { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("senseloaf")] + public global::EdenAI.OcrresumeParserResumeParserDataClass? Senseloaf { get; set; } /// /// @@ -29,8 +29,8 @@ public sealed partial class OcrresumeParserResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("affinda")] - public global::EdenAI.OcrresumeParserResumeParserDataClass? Affinda { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("extracta")] + public global::EdenAI.OcrresumeParserResumeParserDataClass? Extracta { get; set; } /// /// @@ -53,27 +53,27 @@ public sealed partial class OcrresumeParserResponseModel /// /// Initializes a new instance of the class. /// + /// /// - /// /// - /// + /// /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public OcrresumeParserResponseModel( + global::EdenAI.OcrresumeParserResumeParserDataClass? affinda, global::EdenAI.OcrresumeParserResumeParserDataClass? senseloaf, - global::EdenAI.OcrresumeParserResumeParserDataClass? extracta, global::EdenAI.OcrresumeParserResumeParserDataClass? hireability, - global::EdenAI.OcrresumeParserResumeParserDataClass? affinda, + global::EdenAI.OcrresumeParserResumeParserDataClass? extracta, global::EdenAI.OcrresumeParserResumeParserDataClass? klippa, global::EdenAI.OcrresumeParserResumeParserDataClass? openai) { + this.Affinda = affinda; this.Senseloaf = senseloaf; - this.Extracta = extracta; this.Hireability = hireability; - this.Affinda = affinda; + this.Extracta = extracta; this.Klippa = klippa; this.Openai = openai; } diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.TextanonymizationResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.TextanonymizationResponseModel.g.cs index 819f7282..c037bb1a 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.TextanonymizationResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.TextanonymizationResponseModel.g.cs @@ -11,26 +11,20 @@ public sealed partial class TextanonymizationResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("privateai")] - public global::EdenAI.TextanonymizationAnonymizationDataClass? Privateai { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("oneai")] - public global::EdenAI.TextanonymizationAnonymizationDataClass? Oneai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] + public global::EdenAI.TextanonymizationAnonymizationDataClass? Microsoft { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("emvista")] - public global::EdenAI.TextanonymizationAnonymizationDataClass? Emvista { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("privateai")] + public global::EdenAI.TextanonymizationAnonymizationDataClass? Privateai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] - public global::EdenAI.TextanonymizationAnonymizationDataClass? Microsoft { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("oneai")] + public global::EdenAI.TextanonymizationAnonymizationDataClass? Oneai { get; set; } /// /// @@ -44,6 +38,12 @@ public sealed partial class TextanonymizationResponseModel [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] public global::EdenAI.TextanonymizationAnonymizationDataClass? Amazon { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("emvista")] + public global::EdenAI.TextanonymizationAnonymizationDataClass? Emvista { get; set; } + /// /// /// @@ -59,31 +59,31 @@ public sealed partial class TextanonymizationResponseModel /// /// Initializes a new instance of the class. /// + /// /// /// - /// - /// /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public TextanonymizationResponseModel( + global::EdenAI.TextanonymizationAnonymizationDataClass? microsoft, global::EdenAI.TextanonymizationAnonymizationDataClass? privateai, global::EdenAI.TextanonymizationAnonymizationDataClass? oneai, - global::EdenAI.TextanonymizationAnonymizationDataClass? emvista, - global::EdenAI.TextanonymizationAnonymizationDataClass? microsoft, global::EdenAI.TextanonymizationAnonymizationDataClass? xai, global::EdenAI.TextanonymizationAnonymizationDataClass? amazon, + global::EdenAI.TextanonymizationAnonymizationDataClass? emvista, global::EdenAI.TextanonymizationAnonymizationDataClass? openai) { + this.Microsoft = microsoft; this.Privateai = privateai; this.Oneai = oneai; - this.Emvista = emvista; - this.Microsoft = microsoft; this.Xai = xai; this.Amazon = amazon; + this.Emvista = emvista; this.Openai = openai; } diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.TextchatResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.TextchatResponseModel.g.cs index ea4c924e..e90ee27a 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.TextchatResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.TextchatResponseModel.g.cs @@ -11,86 +11,86 @@ public sealed partial class TextchatResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("together_ai")] - public global::EdenAI.TextchatChatDataClass? TogetherAi { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("mistral")] + public global::EdenAI.TextchatChatDataClass? Mistral { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("groq")] - public global::EdenAI.TextchatChatDataClass? Groq { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("meta")] + public global::EdenAI.TextchatChatDataClass? Meta { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] - public global::EdenAI.TextchatChatDataClass? Amazon { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] + public global::EdenAI.TextchatChatDataClass? Microsoft { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] - public global::EdenAI.TextchatChatDataClass? Microsoft { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("anthropic")] + public global::EdenAI.TextchatChatDataClass? Anthropic { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("perplexityai")] - public global::EdenAI.TextchatChatDataClass? Perplexityai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("deepseek")] + public global::EdenAI.TextchatChatDataClass? Deepseek { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("google")] - public global::EdenAI.TextchatChatDataClass? Google { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("cohere")] + public global::EdenAI.TextchatChatDataClass? Cohere { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("mistral")] - public global::EdenAI.TextchatChatDataClass? Mistral { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("together_ai")] + public global::EdenAI.TextchatChatDataClass? TogetherAi { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("meta")] - public global::EdenAI.TextchatChatDataClass? Meta { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("replicate")] + public global::EdenAI.TextchatChatDataClass? Replicate { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("deepseek")] - public global::EdenAI.TextchatChatDataClass? Deepseek { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("xai")] + public global::EdenAI.TextchatChatDataClass? Xai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("replicate")] - public global::EdenAI.TextchatChatDataClass? Replicate { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] + public global::EdenAI.TextchatChatDataClass? Amazon { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("xai")] - public global::EdenAI.TextchatChatDataClass? Xai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("groq")] + public global::EdenAI.TextchatChatDataClass? Groq { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("anthropic")] - public global::EdenAI.TextchatChatDataClass? Anthropic { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("perplexityai")] + public global::EdenAI.TextchatChatDataClass? Perplexityai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("openai")] - public global::EdenAI.TextchatChatDataClass? Openai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("google")] + public global::EdenAI.TextchatChatDataClass? Google { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("cohere")] - public global::EdenAI.TextchatChatDataClass? Cohere { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("openai")] + public global::EdenAI.TextchatChatDataClass? Openai { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -101,53 +101,53 @@ public sealed partial class TextchatResponseModel /// /// Initializes a new instance of the class. /// - /// - /// - /// - /// - /// - /// /// /// + /// + /// /// + /// + /// /// /// - /// + /// + /// + /// + /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public TextchatResponseModel( - global::EdenAI.TextchatChatDataClass? togetherAi, - global::EdenAI.TextchatChatDataClass? groq, - global::EdenAI.TextchatChatDataClass? amazon, - global::EdenAI.TextchatChatDataClass? microsoft, - global::EdenAI.TextchatChatDataClass? perplexityai, - global::EdenAI.TextchatChatDataClass? google, global::EdenAI.TextchatChatDataClass? mistral, global::EdenAI.TextchatChatDataClass? meta, + global::EdenAI.TextchatChatDataClass? microsoft, + global::EdenAI.TextchatChatDataClass? anthropic, global::EdenAI.TextchatChatDataClass? deepseek, + global::EdenAI.TextchatChatDataClass? cohere, + global::EdenAI.TextchatChatDataClass? togetherAi, global::EdenAI.TextchatChatDataClass? replicate, global::EdenAI.TextchatChatDataClass? xai, - global::EdenAI.TextchatChatDataClass? anthropic, - global::EdenAI.TextchatChatDataClass? openai, - global::EdenAI.TextchatChatDataClass? cohere) + global::EdenAI.TextchatChatDataClass? amazon, + global::EdenAI.TextchatChatDataClass? groq, + global::EdenAI.TextchatChatDataClass? perplexityai, + global::EdenAI.TextchatChatDataClass? google, + global::EdenAI.TextchatChatDataClass? openai) { - this.TogetherAi = togetherAi; - this.Groq = groq; - this.Amazon = amazon; - this.Microsoft = microsoft; - this.Perplexityai = perplexityai; - this.Google = google; this.Mistral = mistral; this.Meta = meta; + this.Microsoft = microsoft; + this.Anthropic = anthropic; this.Deepseek = deepseek; + this.Cohere = cohere; + this.TogetherAi = togetherAi; this.Replicate = replicate; this.Xai = xai; - this.Anthropic = anthropic; + this.Amazon = amazon; + this.Groq = groq; + this.Perplexityai = perplexityai; + this.Google = google; this.Openai = openai; - this.Cohere = cohere; } /// diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.TextembeddingsResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.TextembeddingsResponseModel.g.cs index 8c034aa4..762ecc38 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.TextembeddingsResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.TextembeddingsResponseModel.g.cs @@ -11,44 +11,44 @@ public sealed partial class TextembeddingsResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("ai21labs")] - public global::EdenAI.TextembeddingsEmbeddingsDataClass? Ai21labs { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("mistral")] + public global::EdenAI.TextembeddingsEmbeddingsDataClass? Mistral { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("iointelligence")] - public global::EdenAI.TextembeddingsEmbeddingsDataClass? Iointelligence { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("google")] + public global::EdenAI.TextembeddingsEmbeddingsDataClass? Google { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("google")] - public global::EdenAI.TextembeddingsEmbeddingsDataClass? Google { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("jina")] + public global::EdenAI.TextembeddingsEmbeddingsDataClass? Jina { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("mistral")] - public global::EdenAI.TextembeddingsEmbeddingsDataClass? Mistral { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("cohere")] + public global::EdenAI.TextembeddingsEmbeddingsDataClass? Cohere { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("jina")] - public global::EdenAI.TextembeddingsEmbeddingsDataClass? Jina { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("ai21labs")] + public global::EdenAI.TextembeddingsEmbeddingsDataClass? Ai21labs { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("openai")] - public global::EdenAI.TextembeddingsEmbeddingsDataClass? Openai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("iointelligence")] + public global::EdenAI.TextembeddingsEmbeddingsDataClass? Iointelligence { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("cohere")] - public global::EdenAI.TextembeddingsEmbeddingsDataClass? Cohere { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("openai")] + public global::EdenAI.TextembeddingsEmbeddingsDataClass? Openai { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -59,32 +59,32 @@ public sealed partial class TextembeddingsResponseModel /// /// Initializes a new instance of the class. /// - /// - /// - /// /// + /// /// - /// /// + /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public TextembeddingsResponseModel( - global::EdenAI.TextembeddingsEmbeddingsDataClass? ai21labs, - global::EdenAI.TextembeddingsEmbeddingsDataClass? iointelligence, - global::EdenAI.TextembeddingsEmbeddingsDataClass? google, global::EdenAI.TextembeddingsEmbeddingsDataClass? mistral, + global::EdenAI.TextembeddingsEmbeddingsDataClass? google, global::EdenAI.TextembeddingsEmbeddingsDataClass? jina, - global::EdenAI.TextembeddingsEmbeddingsDataClass? openai, - global::EdenAI.TextembeddingsEmbeddingsDataClass? cohere) + global::EdenAI.TextembeddingsEmbeddingsDataClass? cohere, + global::EdenAI.TextembeddingsEmbeddingsDataClass? ai21labs, + global::EdenAI.TextembeddingsEmbeddingsDataClass? iointelligence, + global::EdenAI.TextembeddingsEmbeddingsDataClass? openai) { - this.Ai21labs = ai21labs; - this.Iointelligence = iointelligence; - this.Google = google; this.Mistral = mistral; + this.Google = google; this.Jina = jina; - this.Openai = openai; this.Cohere = cohere; + this.Ai21labs = ai21labs; + this.Iointelligence = iointelligence; + this.Openai = openai; } /// diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.TextkeywordExtractionResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.TextkeywordExtractionResponseModel.g.cs index 3ff7b471..5e99e16b 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.TextkeywordExtractionResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.TextkeywordExtractionResponseModel.g.cs @@ -11,14 +11,14 @@ public sealed partial class TextkeywordExtractionResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("oneai")] - public global::EdenAI.TextkeywordExtractionKeywordExtractionDataClass? Oneai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("tenstorrent")] + public global::EdenAI.TextkeywordExtractionKeywordExtractionDataClass? Tenstorrent { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("emvista")] - public global::EdenAI.TextkeywordExtractionKeywordExtractionDataClass? Emvista { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("corticalio")] + public global::EdenAI.TextkeywordExtractionKeywordExtractionDataClass? Corticalio { get; set; } /// /// @@ -29,14 +29,8 @@ public sealed partial class TextkeywordExtractionResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("tenstorrent")] - public global::EdenAI.TextkeywordExtractionKeywordExtractionDataClass? Tenstorrent { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("openai")] - public global::EdenAI.TextkeywordExtractionKeywordExtractionDataClass? Openai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("oneai")] + public global::EdenAI.TextkeywordExtractionKeywordExtractionDataClass? Oneai { get; set; } /// /// @@ -53,8 +47,14 @@ public sealed partial class TextkeywordExtractionResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("corticalio")] - public global::EdenAI.TextkeywordExtractionKeywordExtractionDataClass? Corticalio { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("emvista")] + public global::EdenAI.TextkeywordExtractionKeywordExtractionDataClass? Emvista { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("openai")] + public global::EdenAI.TextkeywordExtractionKeywordExtractionDataClass? Openai { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -65,35 +65,35 @@ public sealed partial class TextkeywordExtractionResponseModel /// /// Initializes a new instance of the class. /// - /// - /// - /// /// - /// + /// + /// + /// /// /// - /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public TextkeywordExtractionResponseModel( - global::EdenAI.TextkeywordExtractionKeywordExtractionDataClass? oneai, - global::EdenAI.TextkeywordExtractionKeywordExtractionDataClass? emvista, - global::EdenAI.TextkeywordExtractionKeywordExtractionDataClass? microsoft, global::EdenAI.TextkeywordExtractionKeywordExtractionDataClass? tenstorrent, - global::EdenAI.TextkeywordExtractionKeywordExtractionDataClass? openai, + global::EdenAI.TextkeywordExtractionKeywordExtractionDataClass? corticalio, + global::EdenAI.TextkeywordExtractionKeywordExtractionDataClass? microsoft, + global::EdenAI.TextkeywordExtractionKeywordExtractionDataClass? oneai, global::EdenAI.TextkeywordExtractionKeywordExtractionDataClass? xai, global::EdenAI.TextkeywordExtractionKeywordExtractionDataClass? amazon, - global::EdenAI.TextkeywordExtractionKeywordExtractionDataClass? corticalio) + global::EdenAI.TextkeywordExtractionKeywordExtractionDataClass? emvista, + global::EdenAI.TextkeywordExtractionKeywordExtractionDataClass? openai) { - this.Oneai = oneai; - this.Emvista = emvista; - this.Microsoft = microsoft; this.Tenstorrent = tenstorrent; - this.Openai = openai; + this.Corticalio = corticalio; + this.Microsoft = microsoft; + this.Oneai = oneai; this.Xai = xai; this.Amazon = amazon; - this.Corticalio = corticalio; + this.Emvista = emvista; + this.Openai = openai; } /// diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.TextnamedEntityRecognitionResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.TextnamedEntityRecognitionResponseModel.g.cs index 1f92a7fb..76ff1a0d 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.TextnamedEntityRecognitionResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.TextnamedEntityRecognitionResponseModel.g.cs @@ -11,8 +11,8 @@ public sealed partial class TextnamedEntityRecognitionResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("oneai")] - public global::EdenAI.TextnamedEntityRecognitionNamedEntityRecognitionDataClass? Oneai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("tenstorrent")] + public global::EdenAI.TextnamedEntityRecognitionNamedEntityRecognitionDataClass? Tenstorrent { get; set; } /// /// @@ -23,26 +23,26 @@ public sealed partial class TextnamedEntityRecognitionResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("tenstorrent")] - public global::EdenAI.TextnamedEntityRecognitionNamedEntityRecognitionDataClass? Tenstorrent { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("xai")] + public global::EdenAI.TextnamedEntityRecognitionNamedEntityRecognitionDataClass? Xai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("google")] - public global::EdenAI.TextnamedEntityRecognitionNamedEntityRecognitionDataClass? Google { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] + public global::EdenAI.TextnamedEntityRecognitionNamedEntityRecognitionDataClass? Amazon { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("xai")] - public global::EdenAI.TextnamedEntityRecognitionNamedEntityRecognitionDataClass? Xai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("google")] + public global::EdenAI.TextnamedEntityRecognitionNamedEntityRecognitionDataClass? Google { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] - public global::EdenAI.TextnamedEntityRecognitionNamedEntityRecognitionDataClass? Amazon { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("oneai")] + public global::EdenAI.TextnamedEntityRecognitionNamedEntityRecognitionDataClass? Oneai { get; set; } /// /// @@ -59,31 +59,31 @@ public sealed partial class TextnamedEntityRecognitionResponseModel /// /// Initializes a new instance of the class. /// - /// - /// /// - /// + /// /// /// + /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public TextnamedEntityRecognitionResponseModel( - global::EdenAI.TextnamedEntityRecognitionNamedEntityRecognitionDataClass? oneai, - global::EdenAI.TextnamedEntityRecognitionNamedEntityRecognitionDataClass? microsoft, global::EdenAI.TextnamedEntityRecognitionNamedEntityRecognitionDataClass? tenstorrent, - global::EdenAI.TextnamedEntityRecognitionNamedEntityRecognitionDataClass? google, + global::EdenAI.TextnamedEntityRecognitionNamedEntityRecognitionDataClass? microsoft, global::EdenAI.TextnamedEntityRecognitionNamedEntityRecognitionDataClass? xai, global::EdenAI.TextnamedEntityRecognitionNamedEntityRecognitionDataClass? amazon, + global::EdenAI.TextnamedEntityRecognitionNamedEntityRecognitionDataClass? google, + global::EdenAI.TextnamedEntityRecognitionNamedEntityRecognitionDataClass? oneai, global::EdenAI.TextnamedEntityRecognitionNamedEntityRecognitionDataClass? openai) { - this.Oneai = oneai; - this.Microsoft = microsoft; this.Tenstorrent = tenstorrent; - this.Google = google; + this.Microsoft = microsoft; this.Xai = xai; this.Amazon = amazon; + this.Google = google; + this.Oneai = oneai; this.Openai = openai; } diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.TextsentimentAnalysisResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.TextsentimentAnalysisResponseModel.g.cs index db65e8c2..eb982deb 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.TextsentimentAnalysisResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.TextsentimentAnalysisResponseModel.g.cs @@ -11,8 +11,14 @@ public sealed partial class TextsentimentAnalysisResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("emvista")] - public global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? Emvista { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("tenstorrent")] + public global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? Tenstorrent { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sapling")] + public global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? Sapling { get; set; } /// /// @@ -29,32 +35,32 @@ public sealed partial class TextsentimentAnalysisResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("tenstorrent")] - public global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? Tenstorrent { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("xai")] + public global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? Xai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("google")] - public global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? Google { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("ibm")] + public global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? Ibm { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("xai")] - public global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? Xai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] + public global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? Amazon { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("sapling")] - public global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? Sapling { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("google")] + public global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? Google { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] - public global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? Amazon { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("emvista")] + public global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? Emvista { get; set; } /// /// @@ -62,12 +68,6 @@ public sealed partial class TextsentimentAnalysisResponseModel [global::System.Text.Json.Serialization.JsonPropertyName("openai")] public global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? Openai { get; set; } - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ibm")] - public global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? Ibm { get; set; } - /// /// Additional properties that are not explicitly defined in the schema /// @@ -77,41 +77,41 @@ public sealed partial class TextsentimentAnalysisResponseModel /// /// Initializes a new instance of the class. /// - /// + /// + /// /// /// - /// - /// /// - /// + /// /// + /// + /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public TextsentimentAnalysisResponseModel( - global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? emvista, + global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? tenstorrent, + global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? sapling, global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? microsoft, global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? oneai, - global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? tenstorrent, - global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? google, global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? xai, - global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? sapling, + global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? ibm, global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? amazon, - global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? openai, - global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? ibm) + global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? google, + global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? emvista, + global::EdenAI.TextsentimentAnalysisSentimentAnalysisDataClass? openai) { - this.Emvista = emvista; + this.Tenstorrent = tenstorrent; + this.Sapling = sapling; this.Microsoft = microsoft; this.Oneai = oneai; - this.Tenstorrent = tenstorrent; - this.Google = google; this.Xai = xai; - this.Sapling = sapling; + this.Ibm = ibm; this.Amazon = amazon; + this.Google = google; + this.Emvista = emvista; this.Openai = openai; - this.Ibm = ibm; } /// diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.TextspellCheckResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.TextspellCheckResponseModel.g.cs index ec08710c..64582fb4 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.TextspellCheckResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.TextspellCheckResponseModel.g.cs @@ -11,38 +11,38 @@ public sealed partial class TextspellCheckResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] - public global::EdenAI.TextspellCheckSpellCheckDataClass? Microsoft { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("prowritingaid")] + public global::EdenAI.TextspellCheckSpellCheckDataClass? Prowritingaid { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("prowritingaid")] - public global::EdenAI.TextspellCheckSpellCheckDataClass? Prowritingaid { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("sapling")] + public global::EdenAI.TextspellCheckSpellCheckDataClass? Sapling { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("xai")] - public global::EdenAI.TextspellCheckSpellCheckDataClass? Xai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] + public global::EdenAI.TextspellCheckSpellCheckDataClass? Microsoft { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("sapling")] - public global::EdenAI.TextspellCheckSpellCheckDataClass? Sapling { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("cohere")] + public global::EdenAI.TextspellCheckSpellCheckDataClass? Cohere { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("openai")] - public global::EdenAI.TextspellCheckSpellCheckDataClass? Openai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("xai")] + public global::EdenAI.TextspellCheckSpellCheckDataClass? Xai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("cohere")] - public global::EdenAI.TextspellCheckSpellCheckDataClass? Cohere { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("openai")] + public global::EdenAI.TextspellCheckSpellCheckDataClass? Openai { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -53,29 +53,29 @@ public sealed partial class TextspellCheckResponseModel /// /// Initializes a new instance of the class. /// - /// /// - /// /// - /// + /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public TextspellCheckResponseModel( - global::EdenAI.TextspellCheckSpellCheckDataClass? microsoft, global::EdenAI.TextspellCheckSpellCheckDataClass? prowritingaid, - global::EdenAI.TextspellCheckSpellCheckDataClass? xai, global::EdenAI.TextspellCheckSpellCheckDataClass? sapling, - global::EdenAI.TextspellCheckSpellCheckDataClass? openai, - global::EdenAI.TextspellCheckSpellCheckDataClass? cohere) + global::EdenAI.TextspellCheckSpellCheckDataClass? microsoft, + global::EdenAI.TextspellCheckSpellCheckDataClass? cohere, + global::EdenAI.TextspellCheckSpellCheckDataClass? xai, + global::EdenAI.TextspellCheckSpellCheckDataClass? openai) { - this.Microsoft = microsoft; this.Prowritingaid = prowritingaid; - this.Xai = xai; this.Sapling = sapling; - this.Openai = openai; + this.Microsoft = microsoft; this.Cohere = cohere; + this.Xai = xai; + this.Openai = openai; } /// diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.TextsummarizeResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.TextsummarizeResponseModel.g.cs index a19d68bf..d01ad9cf 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.TextsummarizeResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.TextsummarizeResponseModel.g.cs @@ -11,26 +11,32 @@ public sealed partial class TextsummarizeResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("writesonic")] - public global::EdenAI.TextsummarizeSummarizeDataClass? Writesonic { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("meaningcloud")] + public global::EdenAI.TextsummarizeSummarizeDataClass? Meaningcloud { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("emvista")] - public global::EdenAI.TextsummarizeSummarizeDataClass? Emvista { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] + public global::EdenAI.TextsummarizeSummarizeDataClass? Microsoft { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] - public global::EdenAI.TextsummarizeSummarizeDataClass? Microsoft { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("anthropic")] + public global::EdenAI.TextsummarizeSummarizeDataClass? Anthropic { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("meaningcloud")] - public global::EdenAI.TextsummarizeSummarizeDataClass? Meaningcloud { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("openai")] + public global::EdenAI.TextsummarizeSummarizeDataClass? Openai { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("writesonic")] + public global::EdenAI.TextsummarizeSummarizeDataClass? Writesonic { get; set; } /// /// @@ -41,8 +47,8 @@ public sealed partial class TextsummarizeResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("openai")] - public global::EdenAI.TextsummarizeSummarizeDataClass? Openai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("cohere")] + public global::EdenAI.TextsummarizeSummarizeDataClass? Cohere { get; set; } /// /// @@ -53,8 +59,8 @@ public sealed partial class TextsummarizeResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("anthropic")] - public global::EdenAI.TextsummarizeSummarizeDataClass? Anthropic { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("emvista")] + public global::EdenAI.TextsummarizeSummarizeDataClass? Emvista { get; set; } /// /// @@ -62,12 +68,6 @@ public sealed partial class TextsummarizeResponseModel [global::System.Text.Json.Serialization.JsonPropertyName("alephalpha")] public global::EdenAI.TextsummarizeSummarizeDataClass? Alephalpha { get; set; } - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("cohere")] - public global::EdenAI.TextsummarizeSummarizeDataClass? Cohere { get; set; } - /// /// Additional properties that are not explicitly defined in the schema /// @@ -77,41 +77,41 @@ public sealed partial class TextsummarizeResponseModel /// /// Initializes a new instance of the class. /// - /// - /// - /// /// - /// + /// + /// /// + /// + /// + /// /// - /// + /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public TextsummarizeResponseModel( - global::EdenAI.TextsummarizeSummarizeDataClass? writesonic, - global::EdenAI.TextsummarizeSummarizeDataClass? emvista, - global::EdenAI.TextsummarizeSummarizeDataClass? microsoft, global::EdenAI.TextsummarizeSummarizeDataClass? meaningcloud, - global::EdenAI.TextsummarizeSummarizeDataClass? oneai, + global::EdenAI.TextsummarizeSummarizeDataClass? microsoft, + global::EdenAI.TextsummarizeSummarizeDataClass? anthropic, global::EdenAI.TextsummarizeSummarizeDataClass? openai, + global::EdenAI.TextsummarizeSummarizeDataClass? writesonic, + global::EdenAI.TextsummarizeSummarizeDataClass? oneai, + global::EdenAI.TextsummarizeSummarizeDataClass? cohere, global::EdenAI.TextsummarizeSummarizeDataClass? xai, - global::EdenAI.TextsummarizeSummarizeDataClass? anthropic, - global::EdenAI.TextsummarizeSummarizeDataClass? alephalpha, - global::EdenAI.TextsummarizeSummarizeDataClass? cohere) + global::EdenAI.TextsummarizeSummarizeDataClass? emvista, + global::EdenAI.TextsummarizeSummarizeDataClass? alephalpha) { - this.Writesonic = writesonic; - this.Emvista = emvista; - this.Microsoft = microsoft; this.Meaningcloud = meaningcloud; - this.Oneai = oneai; + this.Microsoft = microsoft; + this.Anthropic = anthropic; this.Openai = openai; + this.Writesonic = writesonic; + this.Oneai = oneai; + this.Cohere = cohere; this.Xai = xai; - this.Anthropic = anthropic; + this.Emvista = emvista; this.Alephalpha = alephalpha; - this.Cohere = cohere; } /// diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.TexttopicExtractionResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.TexttopicExtractionResponseModel.g.cs index 317a4183..abf0ab11 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.TexttopicExtractionResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.TexttopicExtractionResponseModel.g.cs @@ -8,12 +8,6 @@ namespace EdenAI /// public sealed partial class TexttopicExtractionResponseModel { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("xai")] - public global::EdenAI.TexttopicExtractionTopicExtractionDataClass? Xai { get; set; } - /// /// /// @@ -26,6 +20,12 @@ public sealed partial class TexttopicExtractionResponseModel [global::System.Text.Json.Serialization.JsonPropertyName("tenstorrent")] public global::EdenAI.TexttopicExtractionTopicExtractionDataClass? Tenstorrent { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("xai")] + public global::EdenAI.TexttopicExtractionTopicExtractionDataClass? Xai { get; set; } + /// /// /// @@ -41,22 +41,22 @@ public sealed partial class TexttopicExtractionResponseModel /// /// Initializes a new instance of the class. /// - /// /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public TexttopicExtractionResponseModel( - global::EdenAI.TexttopicExtractionTopicExtractionDataClass? xai, global::EdenAI.TexttopicExtractionTopicExtractionDataClass? google, global::EdenAI.TexttopicExtractionTopicExtractionDataClass? tenstorrent, + global::EdenAI.TexttopicExtractionTopicExtractionDataClass? xai, global::EdenAI.TexttopicExtractionTopicExtractionDataClass? openai) { - this.Xai = xai; this.Google = google; this.Tenstorrent = tenstorrent; + this.Xai = xai; this.Openai = openai; } diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.TranslationautomaticTranslationResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.TranslationautomaticTranslationResponseModel.g.cs index 89a0ba9b..adf0ff9e 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.TranslationautomaticTranslationResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.TranslationautomaticTranslationResponseModel.g.cs @@ -17,32 +17,32 @@ public sealed partial class TranslationautomaticTranslationResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("modernmt")] - public global::EdenAI.TranslationautomaticTranslationAutomaticTranslationDataClass? Modernmt { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] + public global::EdenAI.TranslationautomaticTranslationAutomaticTranslationDataClass? Microsoft { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] - public global::EdenAI.TranslationautomaticTranslationAutomaticTranslationDataClass? Microsoft { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("xai")] + public global::EdenAI.TranslationautomaticTranslationAutomaticTranslationDataClass? Xai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("google")] - public global::EdenAI.TranslationautomaticTranslationAutomaticTranslationDataClass? Google { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] + public global::EdenAI.TranslationautomaticTranslationAutomaticTranslationDataClass? Amazon { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("xai")] - public global::EdenAI.TranslationautomaticTranslationAutomaticTranslationDataClass? Xai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("google")] + public global::EdenAI.TranslationautomaticTranslationAutomaticTranslationDataClass? Google { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] - public global::EdenAI.TranslationautomaticTranslationAutomaticTranslationDataClass? Amazon { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("modernmt")] + public global::EdenAI.TranslationautomaticTranslationAutomaticTranslationDataClass? Modernmt { get; set; } /// /// @@ -60,30 +60,30 @@ public sealed partial class TranslationautomaticTranslationResponseModel /// Initializes a new instance of the class. /// /// - /// /// - /// /// /// + /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public TranslationautomaticTranslationResponseModel( global::EdenAI.TranslationautomaticTranslationAutomaticTranslationDataClass? deepl, - global::EdenAI.TranslationautomaticTranslationAutomaticTranslationDataClass? modernmt, global::EdenAI.TranslationautomaticTranslationAutomaticTranslationDataClass? microsoft, - global::EdenAI.TranslationautomaticTranslationAutomaticTranslationDataClass? google, global::EdenAI.TranslationautomaticTranslationAutomaticTranslationDataClass? xai, global::EdenAI.TranslationautomaticTranslationAutomaticTranslationDataClass? amazon, + global::EdenAI.TranslationautomaticTranslationAutomaticTranslationDataClass? google, + global::EdenAI.TranslationautomaticTranslationAutomaticTranslationDataClass? modernmt, global::EdenAI.TranslationautomaticTranslationAutomaticTranslationDataClass? openai) { this.Deepl = deepl; - this.Modernmt = modernmt; this.Microsoft = microsoft; - this.Google = google; this.Xai = xai; this.Amazon = amazon; + this.Google = google; + this.Modernmt = modernmt; this.Openai = openai; } diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.TranslationdocumentTranslationResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.TranslationdocumentTranslationResponseModel.g.cs index ad8910f0..af28b562 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.TranslationdocumentTranslationResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.TranslationdocumentTranslationResponseModel.g.cs @@ -11,14 +11,14 @@ public sealed partial class TranslationdocumentTranslationResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("deepl")] - public global::EdenAI.TranslationdocumentTranslationDocumentTranslationDataClass? Deepl { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("google")] + public global::EdenAI.TranslationdocumentTranslationDocumentTranslationDataClass? Google { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("google")] - public global::EdenAI.TranslationdocumentTranslationDocumentTranslationDataClass? Google { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("deepl")] + public global::EdenAI.TranslationdocumentTranslationDocumentTranslationDataClass? Deepl { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -29,17 +29,17 @@ public sealed partial class TranslationdocumentTranslationResponseModel /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public TranslationdocumentTranslationResponseModel( - global::EdenAI.TranslationdocumentTranslationDocumentTranslationDataClass? deepl, - global::EdenAI.TranslationdocumentTranslationDocumentTranslationDataClass? google) + global::EdenAI.TranslationdocumentTranslationDocumentTranslationDataClass? google, + global::EdenAI.TranslationdocumentTranslationDocumentTranslationDataClass? deepl) { - this.Deepl = deepl; this.Google = google; + this.Deepl = deepl; } /// diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.TranslationlanguageDetectionResponseModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.TranslationlanguageDetectionResponseModel.g.cs index 3c6ac9df..3cacd891 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.TranslationlanguageDetectionResponseModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.TranslationlanguageDetectionResponseModel.g.cs @@ -11,20 +11,20 @@ public sealed partial class TranslationlanguageDetectionResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("modernmt")] - public global::EdenAI.TranslationlanguageDetectionLanguageDetectionDataClass? Modernmt { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] + public global::EdenAI.TranslationlanguageDetectionLanguageDetectionDataClass? Microsoft { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("oneai")] - public global::EdenAI.TranslationlanguageDetectionLanguageDetectionDataClass? Oneai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("xai")] + public global::EdenAI.TranslationlanguageDetectionLanguageDetectionDataClass? Xai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("microsoft")] - public global::EdenAI.TranslationlanguageDetectionLanguageDetectionDataClass? Microsoft { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] + public global::EdenAI.TranslationlanguageDetectionLanguageDetectionDataClass? Amazon { get; set; } /// /// @@ -35,14 +35,14 @@ public sealed partial class TranslationlanguageDetectionResponseModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("xai")] - public global::EdenAI.TranslationlanguageDetectionLanguageDetectionDataClass? Xai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("oneai")] + public global::EdenAI.TranslationlanguageDetectionLanguageDetectionDataClass? Oneai { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] - public global::EdenAI.TranslationlanguageDetectionLanguageDetectionDataClass? Amazon { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("modernmt")] + public global::EdenAI.TranslationlanguageDetectionLanguageDetectionDataClass? Modernmt { get; set; } /// /// @@ -59,31 +59,31 @@ public sealed partial class TranslationlanguageDetectionResponseModel /// /// Initializes a new instance of the class. /// - /// - /// /// - /// /// /// + /// + /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public TranslationlanguageDetectionResponseModel( - global::EdenAI.TranslationlanguageDetectionLanguageDetectionDataClass? modernmt, - global::EdenAI.TranslationlanguageDetectionLanguageDetectionDataClass? oneai, global::EdenAI.TranslationlanguageDetectionLanguageDetectionDataClass? microsoft, - global::EdenAI.TranslationlanguageDetectionLanguageDetectionDataClass? google, global::EdenAI.TranslationlanguageDetectionLanguageDetectionDataClass? xai, global::EdenAI.TranslationlanguageDetectionLanguageDetectionDataClass? amazon, + global::EdenAI.TranslationlanguageDetectionLanguageDetectionDataClass? google, + global::EdenAI.TranslationlanguageDetectionLanguageDetectionDataClass? oneai, + global::EdenAI.TranslationlanguageDetectionLanguageDetectionDataClass? modernmt, global::EdenAI.TranslationlanguageDetectionLanguageDetectionDataClass? openai) { - this.Modernmt = modernmt; - this.Oneai = oneai; this.Microsoft = microsoft; - this.Google = google; this.Xai = xai; this.Amazon = amazon; + this.Google = google; + this.Oneai = oneai; + this.Modernmt = modernmt; this.Openai = openai; } diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.VideogenerationAsyncModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.VideogenerationAsyncModel.g.cs index ea30dd76..fa4a3ea6 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.VideogenerationAsyncModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.VideogenerationAsyncModel.g.cs @@ -17,14 +17,8 @@ public sealed partial class VideogenerationAsyncModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("google")] - public global::EdenAI.VideogenerationAsyncGenerationAsyncDataClass? Google { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("openai")] - public global::EdenAI.VideogenerationAsyncGenerationAsyncDataClass? Openai { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("bytedance")] + public global::EdenAI.VideogenerationAsyncGenerationAsyncDataClass? Bytedance { get; set; } /// /// @@ -41,8 +35,14 @@ public sealed partial class VideogenerationAsyncModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("bytedance")] - public global::EdenAI.VideogenerationAsyncGenerationAsyncDataClass? Bytedance { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("google")] + public global::EdenAI.VideogenerationAsyncGenerationAsyncDataClass? Google { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("openai")] + public global::EdenAI.VideogenerationAsyncGenerationAsyncDataClass? Openai { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -54,28 +54,28 @@ public sealed partial class VideogenerationAsyncModel /// Initializes a new instance of the class. /// /// - /// - /// + /// /// /// - /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public VideogenerationAsyncModel( global::EdenAI.VideogenerationAsyncGenerationAsyncDataClass? microsoft, - global::EdenAI.VideogenerationAsyncGenerationAsyncDataClass? google, - global::EdenAI.VideogenerationAsyncGenerationAsyncDataClass? openai, + global::EdenAI.VideogenerationAsyncGenerationAsyncDataClass? bytedance, global::EdenAI.VideogenerationAsyncGenerationAsyncDataClass? minimax, global::EdenAI.VideogenerationAsyncGenerationAsyncDataClass? amazon, - global::EdenAI.VideogenerationAsyncGenerationAsyncDataClass? bytedance) + global::EdenAI.VideogenerationAsyncGenerationAsyncDataClass? google, + global::EdenAI.VideogenerationAsyncGenerationAsyncDataClass? openai) { this.Microsoft = microsoft; - this.Google = google; - this.Openai = openai; + this.Bytedance = bytedance; this.Minimax = minimax; this.Amazon = amazon; - this.Bytedance = bytedance; + this.Google = google; + this.Openai = openai; } /// diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.VideologoDetectionAsyncModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.VideologoDetectionAsyncModel.g.cs index aad71a88..febbac57 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.VideologoDetectionAsyncModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.VideologoDetectionAsyncModel.g.cs @@ -11,14 +11,14 @@ public sealed partial class VideologoDetectionAsyncModel /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("twelvelabs")] - public global::EdenAI.VideologoDetectionAsyncLogoDetectionAsyncDataClass? Twelvelabs { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("google")] + public global::EdenAI.VideologoDetectionAsyncLogoDetectionAsyncDataClass? Google { get; set; } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("google")] - public global::EdenAI.VideologoDetectionAsyncLogoDetectionAsyncDataClass? Google { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("twelvelabs")] + public global::EdenAI.VideologoDetectionAsyncLogoDetectionAsyncDataClass? Twelvelabs { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -29,17 +29,17 @@ public sealed partial class VideologoDetectionAsyncModel /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public VideologoDetectionAsyncModel( - global::EdenAI.VideologoDetectionAsyncLogoDetectionAsyncDataClass? twelvelabs, - global::EdenAI.VideologoDetectionAsyncLogoDetectionAsyncDataClass? google) + global::EdenAI.VideologoDetectionAsyncLogoDetectionAsyncDataClass? google, + global::EdenAI.VideologoDetectionAsyncLogoDetectionAsyncDataClass? twelvelabs) { - this.Twelvelabs = twelvelabs; this.Google = google; + this.Twelvelabs = twelvelabs; } /// diff --git a/src/libs/EdenAI/Generated/EdenAI.Models.VideotextDetectionAsyncModel.g.cs b/src/libs/EdenAI/Generated/EdenAI.Models.VideotextDetectionAsyncModel.g.cs index bcf610df..ab3e3ad6 100644 --- a/src/libs/EdenAI/Generated/EdenAI.Models.VideotextDetectionAsyncModel.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.Models.VideotextDetectionAsyncModel.g.cs @@ -8,12 +8,6 @@ namespace EdenAI /// public sealed partial class VideotextDetectionAsyncModel { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("twelvelabs")] - public global::EdenAI.VideotextDetectionAsyncTextDetectionAsyncDataClass? Twelvelabs { get; set; } - /// /// /// @@ -26,6 +20,12 @@ public sealed partial class VideotextDetectionAsyncModel [global::System.Text.Json.Serialization.JsonPropertyName("amazon")] public global::EdenAI.VideotextDetectionAsyncTextDetectionAsyncDataClass? Amazon { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("twelvelabs")] + public global::EdenAI.VideotextDetectionAsyncTextDetectionAsyncDataClass? Twelvelabs { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -35,20 +35,20 @@ public sealed partial class VideotextDetectionAsyncModel /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public VideotextDetectionAsyncModel( - global::EdenAI.VideotextDetectionAsyncTextDetectionAsyncDataClass? twelvelabs, global::EdenAI.VideotextDetectionAsyncTextDetectionAsyncDataClass? google, - global::EdenAI.VideotextDetectionAsyncTextDetectionAsyncDataClass? amazon) + global::EdenAI.VideotextDetectionAsyncTextDetectionAsyncDataClass? amazon, + global::EdenAI.VideotextDetectionAsyncTextDetectionAsyncDataClass? twelvelabs) { - this.Twelvelabs = twelvelabs; this.Google = google; this.Amazon = amazon; + this.Twelvelabs = twelvelabs; } /// diff --git a/src/libs/EdenAI/Generated/EdenAI.ModerationClient.TextTextModerationCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.ModerationClient.TextTextModerationCreate.g.cs index 692c2d93..b4c49456 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ModerationClient.TextTextModerationCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ModerationClient.TextTextModerationCreate.g.cs @@ -602,18 +602,17 @@ partial void ProcessTextTextModerationCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -640,18 +639,17 @@ partial void ProcessTextTextModerationCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -678,18 +676,17 @@ partial void ProcessTextTextModerationCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -716,18 +713,17 @@ partial void ProcessTextTextModerationCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -761,17 +757,15 @@ partial void ProcessTextTextModerationCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -808,17 +802,15 @@ partial void ProcessTextTextModerationCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.NamedEntityRecognitionClient.TextTextNamedEntityRecognitionCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.NamedEntityRecognitionClient.TextTextNamedEntityRecognitionCreate.g.cs index f3fc220a..49cbe943 100644 --- a/src/libs/EdenAI/Generated/EdenAI.NamedEntityRecognitionClient.TextTextNamedEntityRecognitionCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.NamedEntityRecognitionClient.TextTextNamedEntityRecognitionCreate.g.cs @@ -458,18 +458,17 @@ partial void ProcessTextTextNamedEntityRecognitionCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -496,18 +495,17 @@ partial void ProcessTextTextNamedEntityRecognitionCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -534,18 +532,17 @@ partial void ProcessTextTextNamedEntityRecognitionCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -572,18 +569,17 @@ partial void ProcessTextTextNamedEntityRecognitionCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -617,17 +613,15 @@ partial void ProcessTextTextNamedEntityRecognitionCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -664,17 +658,15 @@ partial void ProcessTextTextNamedEntityRecognitionCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ObjectDetectionClient.ImageImageObjectDetectionCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.ObjectDetectionClient.ImageImageObjectDetectionCreate.g.cs index e01c8a73..d17f6979 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ObjectDetectionClient.ImageImageObjectDetectionCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ObjectDetectionClient.ImageImageObjectDetectionCreate.g.cs @@ -394,18 +394,17 @@ partial void ProcessImageImageObjectDetectionCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -432,18 +431,17 @@ partial void ProcessImageImageObjectDetectionCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -470,18 +468,17 @@ partial void ProcessImageImageObjectDetectionCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -508,18 +505,17 @@ partial void ProcessImageImageObjectDetectionCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -553,17 +549,15 @@ partial void ProcessImageImageObjectDetectionCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -600,17 +594,15 @@ partial void ProcessImageImageObjectDetectionCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ObjectTrackingAsyncClient.VideoVideoObjectTrackingAsyncCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.ObjectTrackingAsyncClient.VideoVideoObjectTrackingAsyncCreate.g.cs index 1cc9a717..a3e43191 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ObjectTrackingAsyncClient.VideoVideoObjectTrackingAsyncCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ObjectTrackingAsyncClient.VideoVideoObjectTrackingAsyncCreate.g.cs @@ -497,17 +497,15 @@ request.Filename is null } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -544,17 +542,15 @@ request.Filename is null { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ObjectTrackingAsyncClient.VideoVideoObjectTrackingAsyncDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.ObjectTrackingAsyncClient.VideoVideoObjectTrackingAsyncDestroy.g.cs index 2804a3a7..2e6c1c47 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ObjectTrackingAsyncClient.VideoVideoObjectTrackingAsyncDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ObjectTrackingAsyncClient.VideoVideoObjectTrackingAsyncDestroy.g.cs @@ -352,17 +352,15 @@ await VideoVideoObjectTrackingAsyncDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -390,17 +388,15 @@ await VideoVideoObjectTrackingAsyncDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ObjectTrackingAsyncClient.VideoVideoObjectTrackingAsyncRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.ObjectTrackingAsyncClient.VideoVideoObjectTrackingAsyncRetrieve.g.cs index 7d933436..b0a97bdb 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ObjectTrackingAsyncClient.VideoVideoObjectTrackingAsyncRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ObjectTrackingAsyncClient.VideoVideoObjectTrackingAsyncRetrieve.g.cs @@ -362,17 +362,15 @@ partial void ProcessVideoVideoObjectTrackingAsyncRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -409,17 +407,15 @@ partial void ProcessVideoVideoObjectTrackingAsyncRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ObjectTrackingAsyncClient.VideoVideoObjectTrackingAsyncRetrieve2.g.cs b/src/libs/EdenAI/Generated/EdenAI.ObjectTrackingAsyncClient.VideoVideoObjectTrackingAsyncRetrieve2.g.cs index cc8276a9..f430fa35 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ObjectTrackingAsyncClient.VideoVideoObjectTrackingAsyncRetrieve2.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ObjectTrackingAsyncClient.VideoVideoObjectTrackingAsyncRetrieve2.g.cs @@ -395,18 +395,17 @@ partial void ProcessVideoVideoObjectTrackingAsyncRetrieve2ResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -433,18 +432,17 @@ partial void ProcessVideoVideoObjectTrackingAsyncRetrieve2ResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -471,18 +469,17 @@ partial void ProcessVideoVideoObjectTrackingAsyncRetrieve2ResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -509,18 +506,17 @@ partial void ProcessVideoVideoObjectTrackingAsyncRetrieve2ResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -554,17 +550,15 @@ partial void ProcessVideoVideoObjectTrackingAsyncRetrieve2ResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -601,17 +595,15 @@ partial void ProcessVideoVideoObjectTrackingAsyncRetrieve2ResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.OcrAsyncClient.OcrOcrOcrAsyncCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.OcrAsyncClient.OcrOcrOcrAsyncCreate.g.cs index 93d0801d..bcfaa7db 100644 --- a/src/libs/EdenAI/Generated/EdenAI.OcrAsyncClient.OcrOcrOcrAsyncCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.OcrAsyncClient.OcrOcrOcrAsyncCreate.g.cs @@ -509,17 +509,15 @@ request.Filename is null } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -556,17 +554,15 @@ request.Filename is null { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.OcrAsyncClient.OcrOcrOcrAsyncDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.OcrAsyncClient.OcrOcrOcrAsyncDestroy.g.cs index 8e5e28d5..15469327 100644 --- a/src/libs/EdenAI/Generated/EdenAI.OcrAsyncClient.OcrOcrOcrAsyncDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.OcrAsyncClient.OcrOcrOcrAsyncDestroy.g.cs @@ -352,17 +352,15 @@ await OcrOcrOcrAsyncDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -390,17 +388,15 @@ await OcrOcrOcrAsyncDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.OcrAsyncClient.OcrOcrOcrAsyncRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.OcrAsyncClient.OcrOcrOcrAsyncRetrieve.g.cs index 570d20c1..8b9f7329 100644 --- a/src/libs/EdenAI/Generated/EdenAI.OcrAsyncClient.OcrOcrOcrAsyncRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.OcrAsyncClient.OcrOcrOcrAsyncRetrieve.g.cs @@ -362,17 +362,15 @@ partial void ProcessOcrOcrOcrAsyncRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -409,17 +407,15 @@ partial void ProcessOcrOcrOcrAsyncRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.OcrAsyncClient.OcrOcrOcrAsyncRetrieve2.g.cs b/src/libs/EdenAI/Generated/EdenAI.OcrAsyncClient.OcrOcrOcrAsyncRetrieve2.g.cs index d21a15a9..95c1966d 100644 --- a/src/libs/EdenAI/Generated/EdenAI.OcrAsyncClient.OcrOcrOcrAsyncRetrieve2.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.OcrAsyncClient.OcrOcrOcrAsyncRetrieve2.g.cs @@ -395,18 +395,17 @@ partial void ProcessOcrOcrOcrAsyncRetrieve2ResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -433,18 +432,17 @@ partial void ProcessOcrOcrOcrAsyncRetrieve2ResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -471,18 +469,17 @@ partial void ProcessOcrOcrOcrAsyncRetrieve2ResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -509,18 +506,17 @@ partial void ProcessOcrOcrOcrAsyncRetrieve2ResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -554,17 +550,15 @@ partial void ProcessOcrOcrOcrAsyncRetrieve2ResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -601,17 +595,15 @@ partial void ProcessOcrOcrOcrAsyncRetrieve2ResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.OcrClient.OcrOcrOcrCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.OcrClient.OcrOcrOcrCreate.g.cs index b68e5acc..0d0eaa77 100644 --- a/src/libs/EdenAI/Generated/EdenAI.OcrClient.OcrOcrOcrCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.OcrClient.OcrOcrOcrCreate.g.cs @@ -824,18 +824,17 @@ partial void ProcessOcrOcrOcrCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -862,18 +861,17 @@ partial void ProcessOcrOcrOcrCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -900,18 +898,17 @@ partial void ProcessOcrOcrOcrCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -938,18 +935,17 @@ partial void ProcessOcrOcrOcrCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -983,17 +979,15 @@ partial void ProcessOcrOcrOcrCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -1030,17 +1024,15 @@ partial void ProcessOcrOcrOcrCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.OcrTablesAsyncClient.OcrOcrOcrTablesAsyncCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.OcrTablesAsyncClient.OcrOcrOcrTablesAsyncCreate.g.cs index 7141ff97..898ee574 100644 --- a/src/libs/EdenAI/Generated/EdenAI.OcrTablesAsyncClient.OcrOcrOcrTablesAsyncCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.OcrTablesAsyncClient.OcrOcrOcrTablesAsyncCreate.g.cs @@ -881,17 +881,15 @@ request.Filename is null } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -928,17 +926,15 @@ request.Filename is null { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.OcrTablesAsyncClient.OcrOcrOcrTablesAsyncDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.OcrTablesAsyncClient.OcrOcrOcrTablesAsyncDestroy.g.cs index c962576e..706dbb5c 100644 --- a/src/libs/EdenAI/Generated/EdenAI.OcrTablesAsyncClient.OcrOcrOcrTablesAsyncDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.OcrTablesAsyncClient.OcrOcrOcrTablesAsyncDestroy.g.cs @@ -352,17 +352,15 @@ await OcrOcrOcrTablesAsyncDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -390,17 +388,15 @@ await OcrOcrOcrTablesAsyncDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.OcrTablesAsyncClient.OcrOcrOcrTablesAsyncRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.OcrTablesAsyncClient.OcrOcrOcrTablesAsyncRetrieve.g.cs index a093f972..9ea256c8 100644 --- a/src/libs/EdenAI/Generated/EdenAI.OcrTablesAsyncClient.OcrOcrOcrTablesAsyncRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.OcrTablesAsyncClient.OcrOcrOcrTablesAsyncRetrieve.g.cs @@ -362,17 +362,15 @@ partial void ProcessOcrOcrOcrTablesAsyncRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -409,17 +407,15 @@ partial void ProcessOcrOcrOcrTablesAsyncRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.OcrTablesAsyncClient.OcrOcrOcrTablesAsyncRetrieve2.g.cs b/src/libs/EdenAI/Generated/EdenAI.OcrTablesAsyncClient.OcrOcrOcrTablesAsyncRetrieve2.g.cs index 9662efa0..f2b1d639 100644 --- a/src/libs/EdenAI/Generated/EdenAI.OcrTablesAsyncClient.OcrOcrOcrTablesAsyncRetrieve2.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.OcrTablesAsyncClient.OcrOcrOcrTablesAsyncRetrieve2.g.cs @@ -395,18 +395,17 @@ partial void ProcessOcrOcrOcrTablesAsyncRetrieve2ResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -433,18 +432,17 @@ partial void ProcessOcrOcrOcrTablesAsyncRetrieve2ResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -471,18 +469,17 @@ partial void ProcessOcrOcrOcrTablesAsyncRetrieve2ResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -509,18 +506,17 @@ partial void ProcessOcrOcrOcrTablesAsyncRetrieve2ResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -554,17 +550,15 @@ partial void ProcessOcrOcrOcrTablesAsyncRetrieve2ResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -601,17 +595,15 @@ partial void ProcessOcrOcrOcrTablesAsyncRetrieve2ResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.PersonTrackingAsyncClient.VideoVideoPersonTrackingAsyncCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.PersonTrackingAsyncClient.VideoVideoPersonTrackingAsyncCreate.g.cs index 336c377c..dc97647e 100644 --- a/src/libs/EdenAI/Generated/EdenAI.PersonTrackingAsyncClient.VideoVideoPersonTrackingAsyncCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.PersonTrackingAsyncClient.VideoVideoPersonTrackingAsyncCreate.g.cs @@ -499,17 +499,15 @@ request.Filename is null } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -546,17 +544,15 @@ request.Filename is null { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.PersonTrackingAsyncClient.VideoVideoPersonTrackingAsyncDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.PersonTrackingAsyncClient.VideoVideoPersonTrackingAsyncDestroy.g.cs index 08f56aea..bab90315 100644 --- a/src/libs/EdenAI/Generated/EdenAI.PersonTrackingAsyncClient.VideoVideoPersonTrackingAsyncDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.PersonTrackingAsyncClient.VideoVideoPersonTrackingAsyncDestroy.g.cs @@ -352,17 +352,15 @@ await VideoVideoPersonTrackingAsyncDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -390,17 +388,15 @@ await VideoVideoPersonTrackingAsyncDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.PersonTrackingAsyncClient.VideoVideoPersonTrackingAsyncRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.PersonTrackingAsyncClient.VideoVideoPersonTrackingAsyncRetrieve.g.cs index 2723a3d2..b7b24ca4 100644 --- a/src/libs/EdenAI/Generated/EdenAI.PersonTrackingAsyncClient.VideoVideoPersonTrackingAsyncRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.PersonTrackingAsyncClient.VideoVideoPersonTrackingAsyncRetrieve.g.cs @@ -362,17 +362,15 @@ partial void ProcessVideoVideoPersonTrackingAsyncRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -409,17 +407,15 @@ partial void ProcessVideoVideoPersonTrackingAsyncRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.PersonTrackingAsyncClient.VideoVideoPersonTrackingAsyncRetrieve2.g.cs b/src/libs/EdenAI/Generated/EdenAI.PersonTrackingAsyncClient.VideoVideoPersonTrackingAsyncRetrieve2.g.cs index 0984fe4b..2738acd1 100644 --- a/src/libs/EdenAI/Generated/EdenAI.PersonTrackingAsyncClient.VideoVideoPersonTrackingAsyncRetrieve2.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.PersonTrackingAsyncClient.VideoVideoPersonTrackingAsyncRetrieve2.g.cs @@ -395,18 +395,17 @@ partial void ProcessVideoVideoPersonTrackingAsyncRetrieve2ResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -433,18 +432,17 @@ partial void ProcessVideoVideoPersonTrackingAsyncRetrieve2ResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -471,18 +469,17 @@ partial void ProcessVideoVideoPersonTrackingAsyncRetrieve2ResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -509,18 +506,17 @@ partial void ProcessVideoVideoPersonTrackingAsyncRetrieve2ResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -554,17 +550,15 @@ partial void ProcessVideoVideoPersonTrackingAsyncRetrieve2ResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -601,17 +595,15 @@ partial void ProcessVideoVideoPersonTrackingAsyncRetrieve2ResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.PlagiaDetectionClient.TextTextPlagiaDetectionCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.PlagiaDetectionClient.TextTextPlagiaDetectionCreate.g.cs index 6e936dd3..c6b48956 100644 --- a/src/libs/EdenAI/Generated/EdenAI.PlagiaDetectionClient.TextTextPlagiaDetectionCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.PlagiaDetectionClient.TextTextPlagiaDetectionCreate.g.cs @@ -370,18 +370,17 @@ partial void ProcessTextTextPlagiaDetectionCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -408,18 +407,17 @@ partial void ProcessTextTextPlagiaDetectionCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -446,18 +444,17 @@ partial void ProcessTextTextPlagiaDetectionCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -484,18 +481,17 @@ partial void ProcessTextTextPlagiaDetectionCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -529,17 +525,15 @@ partial void ProcessTextTextPlagiaDetectionCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -576,17 +570,15 @@ partial void ProcessTextTextPlagiaDetectionCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.PromptOptimizationClient.TextTextPromptOptimizationCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.PromptOptimizationClient.TextTextPromptOptimizationCreate.g.cs index 9777ad4f..cc5b9aca 100644 --- a/src/libs/EdenAI/Generated/EdenAI.PromptOptimizationClient.TextTextPromptOptimizationCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.PromptOptimizationClient.TextTextPromptOptimizationCreate.g.cs @@ -532,18 +532,17 @@ partial void ProcessTextTextPromptOptimizationCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -570,18 +569,17 @@ partial void ProcessTextTextPromptOptimizationCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -608,18 +606,17 @@ partial void ProcessTextTextPromptOptimizationCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -646,18 +643,17 @@ partial void ProcessTextTextPromptOptimizationCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -691,17 +687,15 @@ partial void ProcessTextTextPromptOptimizationCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -738,17 +732,15 @@ partial void ProcessTextTextPromptOptimizationCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsCreate.g.cs index ae078743..6c047a0e 100644 --- a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsCreate.g.cs @@ -378,17 +378,15 @@ partial void ProcessPromptsPromptsCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -425,17 +423,15 @@ partial void ProcessPromptsPromptsCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsCreate2.g.cs b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsCreate2.g.cs index 6b043967..6f592cf9 100644 --- a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsCreate2.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsCreate2.g.cs @@ -389,17 +389,15 @@ partial void ProcessPromptsPromptsCreate2ResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -436,17 +434,15 @@ partial void ProcessPromptsPromptsCreate2ResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsDestroy.g.cs index 05f32313..4d4fb1fe 100644 --- a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsDestroy.g.cs @@ -353,17 +353,15 @@ await PromptsPromptsDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -391,17 +389,15 @@ await PromptsPromptsDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryCreate.g.cs index 51e3c860..11ab9f75 100644 --- a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryCreate.g.cs @@ -387,17 +387,15 @@ partial void ProcessPromptsPromptsHistoryCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -434,17 +432,15 @@ partial void ProcessPromptsPromptsHistoryCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryDestroy.g.cs index efd75500..d4b0d513 100644 --- a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryDestroy.g.cs @@ -362,17 +362,15 @@ await PromptsPromptsHistoryDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -400,17 +398,15 @@ await PromptsPromptsHistoryDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryList.g.cs b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryList.g.cs index 9f517f39..90df6ccb 100644 --- a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryList.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryList.g.cs @@ -389,17 +389,15 @@ partial void ProcessPromptsPromptsHistoryListResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -436,17 +434,15 @@ partial void ProcessPromptsPromptsHistoryListResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryPartialUpdate.g.cs b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryPartialUpdate.g.cs index 73ad6a41..a7ffe0e8 100644 --- a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryPartialUpdate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryPartialUpdate.g.cs @@ -396,17 +396,15 @@ partial void ProcessPromptsPromptsHistoryPartialUpdateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -443,17 +441,15 @@ partial void ProcessPromptsPromptsHistoryPartialUpdateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryRetrieve.g.cs index 76d2a8a5..7554c0fc 100644 --- a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryRetrieve.g.cs @@ -376,17 +376,15 @@ partial void ProcessPromptsPromptsHistoryRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -423,17 +421,15 @@ partial void ProcessPromptsPromptsHistoryRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryTemplateVariablesRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryTemplateVariablesRetrieve.g.cs index 57ff22f2..311f22fa 100644 --- a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryTemplateVariablesRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryTemplateVariablesRetrieve.g.cs @@ -362,17 +362,15 @@ await PromptsPromptsHistoryTemplateVariablesRetrieveAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -400,17 +398,15 @@ await PromptsPromptsHistoryTemplateVariablesRetrieveAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryUpdate.g.cs b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryUpdate.g.cs index c5052f7f..5ba376d7 100644 --- a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryUpdate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsHistoryUpdate.g.cs @@ -396,17 +396,15 @@ partial void ProcessPromptsPromptsHistoryUpdateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -443,17 +441,15 @@ partial void ProcessPromptsPromptsHistoryUpdateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsList.g.cs b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsList.g.cs index 960a9c63..e7810e65 100644 --- a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsList.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsList.g.cs @@ -380,17 +380,15 @@ partial void ProcessPromptsPromptsListResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -427,17 +425,15 @@ partial void ProcessPromptsPromptsListResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsPartialUpdate.g.cs b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsPartialUpdate.g.cs index 3372aa86..6e4b2a4c 100644 --- a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsPartialUpdate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsPartialUpdate.g.cs @@ -387,17 +387,15 @@ partial void ProcessPromptsPromptsPartialUpdateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -434,17 +432,15 @@ partial void ProcessPromptsPromptsPartialUpdateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsRetrieve.g.cs index b560598f..bfb07fc3 100644 --- a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsRetrieve.g.cs @@ -367,17 +367,15 @@ partial void ProcessPromptsPromptsRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -414,17 +412,15 @@ partial void ProcessPromptsPromptsRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsUpdate.g.cs b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsUpdate.g.cs index 38ea3aff..ed251331 100644 --- a/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsUpdate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.PromptsClient.PromptsPromptsUpdate.g.cs @@ -387,17 +387,15 @@ partial void ProcessPromptsPromptsUpdateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -434,17 +432,15 @@ partial void ProcessPromptsPromptsUpdateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.QuestionAnswerAsyncClient.VideoVideoQuestionAnswerAsyncCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.QuestionAnswerAsyncClient.VideoVideoQuestionAnswerAsyncCreate.g.cs index 1d1fb67c..6a6ba409 100644 --- a/src/libs/EdenAI/Generated/EdenAI.QuestionAnswerAsyncClient.VideoVideoQuestionAnswerAsyncCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.QuestionAnswerAsyncClient.VideoVideoQuestionAnswerAsyncCreate.g.cs @@ -550,17 +550,15 @@ request.Filename is null } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -597,17 +595,15 @@ request.Filename is null { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.QuestionAnswerAsyncClient.VideoVideoQuestionAnswerAsyncDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.QuestionAnswerAsyncClient.VideoVideoQuestionAnswerAsyncDestroy.g.cs index 5674876d..47e8a5f1 100644 --- a/src/libs/EdenAI/Generated/EdenAI.QuestionAnswerAsyncClient.VideoVideoQuestionAnswerAsyncDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.QuestionAnswerAsyncClient.VideoVideoQuestionAnswerAsyncDestroy.g.cs @@ -352,17 +352,15 @@ await VideoVideoQuestionAnswerAsyncDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -390,17 +388,15 @@ await VideoVideoQuestionAnswerAsyncDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.QuestionAnswerAsyncClient.VideoVideoQuestionAnswerAsyncRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.QuestionAnswerAsyncClient.VideoVideoQuestionAnswerAsyncRetrieve.g.cs index 1d8aa652..5bafe2d7 100644 --- a/src/libs/EdenAI/Generated/EdenAI.QuestionAnswerAsyncClient.VideoVideoQuestionAnswerAsyncRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.QuestionAnswerAsyncClient.VideoVideoQuestionAnswerAsyncRetrieve.g.cs @@ -362,17 +362,15 @@ partial void ProcessVideoVideoQuestionAnswerAsyncRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -409,17 +407,15 @@ partial void ProcessVideoVideoQuestionAnswerAsyncRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.QuestionAnswerAsyncClient.VideoVideoQuestionAnswerAsyncRetrieve2.g.cs b/src/libs/EdenAI/Generated/EdenAI.QuestionAnswerAsyncClient.VideoVideoQuestionAnswerAsyncRetrieve2.g.cs index cc66754c..eed4f9bc 100644 --- a/src/libs/EdenAI/Generated/EdenAI.QuestionAnswerAsyncClient.VideoVideoQuestionAnswerAsyncRetrieve2.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.QuestionAnswerAsyncClient.VideoVideoQuestionAnswerAsyncRetrieve2.g.cs @@ -395,18 +395,17 @@ partial void ProcessVideoVideoQuestionAnswerAsyncRetrieve2ResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -433,18 +432,17 @@ partial void ProcessVideoVideoQuestionAnswerAsyncRetrieve2ResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -471,18 +469,17 @@ partial void ProcessVideoVideoQuestionAnswerAsyncRetrieve2ResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -509,18 +506,17 @@ partial void ProcessVideoVideoQuestionAnswerAsyncRetrieve2ResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -554,17 +550,15 @@ partial void ProcessVideoVideoQuestionAnswerAsyncRetrieve2ResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -601,17 +595,15 @@ partial void ProcessVideoVideoQuestionAnswerAsyncRetrieve2ResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.QuestionAnswerClient.ImageImageQuestionAnswerCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.QuestionAnswerClient.ImageImageQuestionAnswerCreate.g.cs index 1d6772f7..fbf11599 100644 --- a/src/libs/EdenAI/Generated/EdenAI.QuestionAnswerClient.ImageImageQuestionAnswerCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.QuestionAnswerClient.ImageImageQuestionAnswerCreate.g.cs @@ -424,18 +424,17 @@ partial void ProcessImageImageQuestionAnswerCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -462,18 +461,17 @@ partial void ProcessImageImageQuestionAnswerCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -500,18 +498,17 @@ partial void ProcessImageImageQuestionAnswerCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -538,18 +535,17 @@ partial void ProcessImageImageQuestionAnswerCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -583,17 +579,15 @@ partial void ProcessImageImageQuestionAnswerCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -630,17 +624,15 @@ partial void ProcessImageImageQuestionAnswerCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.QuestionAnswerClient.VideoVideoQuestionAnswerCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.QuestionAnswerClient.VideoVideoQuestionAnswerCreate.g.cs index 4a85174c..e77315a2 100644 --- a/src/libs/EdenAI/Generated/EdenAI.QuestionAnswerClient.VideoVideoQuestionAnswerCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.QuestionAnswerClient.VideoVideoQuestionAnswerCreate.g.cs @@ -410,18 +410,17 @@ partial void ProcessVideoVideoQuestionAnswerCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -448,18 +447,17 @@ partial void ProcessVideoVideoQuestionAnswerCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -486,18 +484,17 @@ partial void ProcessVideoVideoQuestionAnswerCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -524,18 +521,17 @@ partial void ProcessVideoVideoQuestionAnswerCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -569,17 +565,15 @@ partial void ProcessVideoVideoQuestionAnswerCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -616,17 +610,15 @@ partial void ProcessVideoVideoQuestionAnswerCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesAssetCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesAssetCreate.g.cs index e9ae39cd..9da105dc 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesAssetCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesAssetCreate.g.cs @@ -378,17 +378,15 @@ partial void ProcessResourcesResourcesAssetCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -425,17 +423,15 @@ partial void ProcessResourcesResourcesAssetCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesAssetDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesAssetDestroy.g.cs index 03ad423a..a9b3f9c2 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesAssetDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesAssetDestroy.g.cs @@ -353,17 +353,15 @@ await ResourcesResourcesAssetDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -391,17 +389,15 @@ await ResourcesResourcesAssetDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesAssetPartialUpdate.g.cs b/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesAssetPartialUpdate.g.cs index eead080c..298b547d 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesAssetPartialUpdate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesAssetPartialUpdate.g.cs @@ -387,17 +387,15 @@ partial void ProcessResourcesResourcesAssetPartialUpdateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -434,17 +432,15 @@ partial void ProcessResourcesResourcesAssetPartialUpdateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesAssetRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesAssetRetrieve.g.cs index 894bd1f2..20791aa7 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesAssetRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesAssetRetrieve.g.cs @@ -367,17 +367,15 @@ partial void ProcessResourcesResourcesAssetRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -414,17 +412,15 @@ partial void ProcessResourcesResourcesAssetRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesAssetUpdate.g.cs b/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesAssetUpdate.g.cs index 50c9fe21..2d002e22 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesAssetUpdate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesAssetUpdate.g.cs @@ -387,17 +387,15 @@ partial void ProcessResourcesResourcesAssetUpdateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -434,17 +432,15 @@ partial void ProcessResourcesResourcesAssetUpdateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesCreate.g.cs index add93bbd..17c409b4 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesCreate.g.cs @@ -369,17 +369,15 @@ partial void ProcessResourcesResourcesCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -416,17 +414,15 @@ partial void ProcessResourcesResourcesCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesDestroy.g.cs index c7dc57b5..4ff976fc 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesDestroy.g.cs @@ -344,17 +344,15 @@ await ResourcesResourcesDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -382,17 +380,15 @@ await ResourcesResourcesDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesList.g.cs b/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesList.g.cs index cc46d17d..990bd375 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesList.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesList.g.cs @@ -349,17 +349,15 @@ partial void ProcessResourcesResourcesListResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -396,17 +394,15 @@ partial void ProcessResourcesResourcesListResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesPartialUpdate.g.cs b/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesPartialUpdate.g.cs index 9210889f..ebaec1ee 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesPartialUpdate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesPartialUpdate.g.cs @@ -378,17 +378,15 @@ partial void ProcessResourcesResourcesPartialUpdateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -425,17 +423,15 @@ partial void ProcessResourcesResourcesPartialUpdateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesRetrieve.g.cs index 73dcdc2c..b846d56f 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesRetrieve.g.cs @@ -358,17 +358,15 @@ partial void ProcessResourcesResourcesRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -405,17 +403,15 @@ partial void ProcessResourcesResourcesRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesUpdate.g.cs b/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesUpdate.g.cs index 8deab90d..b3389dde 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesUpdate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ResourcesClient.ResourcesResourcesUpdate.g.cs @@ -378,17 +378,15 @@ partial void ProcessResourcesResourcesUpdateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -425,17 +423,15 @@ partial void ProcessResourcesResourcesUpdateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ResumeParserClient.OcrOcrResumeParserCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.ResumeParserClient.OcrOcrResumeParserCreate.g.cs index db100116..51212684 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ResumeParserClient.OcrOcrResumeParserCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ResumeParserClient.OcrOcrResumeParserCreate.g.cs @@ -630,18 +630,17 @@ partial void ProcessOcrOcrResumeParserCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -668,18 +667,17 @@ partial void ProcessOcrOcrResumeParserCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -706,18 +704,17 @@ partial void ProcessOcrOcrResumeParserCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -744,18 +741,17 @@ partial void ProcessOcrOcrResumeParserCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -789,17 +785,15 @@ partial void ProcessOcrOcrResumeParserCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -836,17 +830,15 @@ partial void ProcessOcrOcrResumeParserCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.SearchClient.ImageImageSearchDeleteImageCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.SearchClient.ImageImageSearchDeleteImageCreate.g.cs index 89d7a704..07edc830 100644 --- a/src/libs/EdenAI/Generated/EdenAI.SearchClient.ImageImageSearchDeleteImageCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.SearchClient.ImageImageSearchDeleteImageCreate.g.cs @@ -372,18 +372,17 @@ partial void ProcessImageImageSearchDeleteImageCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -410,18 +409,17 @@ partial void ProcessImageImageSearchDeleteImageCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -448,18 +446,17 @@ partial void ProcessImageImageSearchDeleteImageCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -486,18 +483,17 @@ partial void ProcessImageImageSearchDeleteImageCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -531,17 +527,15 @@ partial void ProcessImageImageSearchDeleteImageCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -578,17 +572,15 @@ partial void ProcessImageImageSearchDeleteImageCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.SearchClient.ImageImageSearchGetImageRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.SearchClient.ImageImageSearchGetImageRetrieve.g.cs index b4b46c09..a849fbda 100644 --- a/src/libs/EdenAI/Generated/EdenAI.SearchClient.ImageImageSearchGetImageRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.SearchClient.ImageImageSearchGetImageRetrieve.g.cs @@ -458,18 +458,17 @@ partial void ProcessImageImageSearchGetImageRetrieveResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -496,18 +495,17 @@ partial void ProcessImageImageSearchGetImageRetrieveResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -534,18 +532,17 @@ partial void ProcessImageImageSearchGetImageRetrieveResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -572,18 +569,17 @@ partial void ProcessImageImageSearchGetImageRetrieveResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -617,17 +613,15 @@ partial void ProcessImageImageSearchGetImageRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -664,17 +658,15 @@ partial void ProcessImageImageSearchGetImageRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.SearchClient.ImageImageSearchGetImagesRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.SearchClient.ImageImageSearchGetImagesRetrieve.g.cs index a0a8476a..04c74da8 100644 --- a/src/libs/EdenAI/Generated/EdenAI.SearchClient.ImageImageSearchGetImagesRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.SearchClient.ImageImageSearchGetImagesRetrieve.g.cs @@ -448,18 +448,17 @@ partial void ProcessImageImageSearchGetImagesRetrieveResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -486,18 +485,17 @@ partial void ProcessImageImageSearchGetImagesRetrieveResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -524,18 +522,17 @@ partial void ProcessImageImageSearchGetImagesRetrieveResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -562,18 +559,17 @@ partial void ProcessImageImageSearchGetImagesRetrieveResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -607,17 +603,15 @@ partial void ProcessImageImageSearchGetImagesRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -654,17 +648,15 @@ partial void ProcessImageImageSearchGetImagesRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.SearchClient.ImageImageSearchLaunchSimilarityCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.SearchClient.ImageImageSearchLaunchSimilarityCreate.g.cs index 72689960..45f590b7 100644 --- a/src/libs/EdenAI/Generated/EdenAI.SearchClient.ImageImageSearchLaunchSimilarityCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.SearchClient.ImageImageSearchLaunchSimilarityCreate.g.cs @@ -372,18 +372,17 @@ partial void ProcessImageImageSearchLaunchSimilarityCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -410,18 +409,17 @@ partial void ProcessImageImageSearchLaunchSimilarityCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -448,18 +446,17 @@ partial void ProcessImageImageSearchLaunchSimilarityCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -486,18 +483,17 @@ partial void ProcessImageImageSearchLaunchSimilarityCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -531,17 +527,15 @@ partial void ProcessImageImageSearchLaunchSimilarityCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -578,17 +572,15 @@ partial void ProcessImageImageSearchLaunchSimilarityCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.SearchClient.ImageImageSearchUploadImageCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.SearchClient.ImageImageSearchUploadImageCreate.g.cs index 93882e34..f1dda937 100644 --- a/src/libs/EdenAI/Generated/EdenAI.SearchClient.ImageImageSearchUploadImageCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.SearchClient.ImageImageSearchUploadImageCreate.g.cs @@ -372,18 +372,17 @@ partial void ProcessImageImageSearchUploadImageCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -410,18 +409,17 @@ partial void ProcessImageImageSearchUploadImageCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -448,18 +446,17 @@ partial void ProcessImageImageSearchUploadImageCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -486,18 +483,17 @@ partial void ProcessImageImageSearchUploadImageCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -531,17 +527,15 @@ partial void ProcessImageImageSearchUploadImageCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -578,17 +572,15 @@ partial void ProcessImageImageSearchUploadImageCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.SentimentAnalysisClient.TextTextSentimentAnalysisCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.SentimentAnalysisClient.TextTextSentimentAnalysisCreate.g.cs index 34a75b27..73ef3348 100644 --- a/src/libs/EdenAI/Generated/EdenAI.SentimentAnalysisClient.TextTextSentimentAnalysisCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.SentimentAnalysisClient.TextTextSentimentAnalysisCreate.g.cs @@ -794,18 +794,17 @@ partial void ProcessTextTextSentimentAnalysisCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -832,18 +831,17 @@ partial void ProcessTextTextSentimentAnalysisCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -870,18 +868,17 @@ partial void ProcessTextTextSentimentAnalysisCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -908,18 +905,17 @@ partial void ProcessTextTextSentimentAnalysisCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -953,17 +949,15 @@ partial void ProcessTextTextSentimentAnalysisCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -1000,17 +994,15 @@ partial void ProcessTextTextSentimentAnalysisCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ShotChangeDetectionAsyncClient.VideoVideoShotChangeDetectionAsyncCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.ShotChangeDetectionAsyncClient.VideoVideoShotChangeDetectionAsyncCreate.g.cs index c55f3ed6..5daa4d57 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ShotChangeDetectionAsyncClient.VideoVideoShotChangeDetectionAsyncCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ShotChangeDetectionAsyncClient.VideoVideoShotChangeDetectionAsyncCreate.g.cs @@ -497,17 +497,15 @@ request.Filename is null } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -544,17 +542,15 @@ request.Filename is null { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ShotChangeDetectionAsyncClient.VideoVideoShotChangeDetectionAsyncDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.ShotChangeDetectionAsyncClient.VideoVideoShotChangeDetectionAsyncDestroy.g.cs index f68c0a2d..f82eecc2 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ShotChangeDetectionAsyncClient.VideoVideoShotChangeDetectionAsyncDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ShotChangeDetectionAsyncClient.VideoVideoShotChangeDetectionAsyncDestroy.g.cs @@ -352,17 +352,15 @@ await VideoVideoShotChangeDetectionAsyncDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -390,17 +388,15 @@ await VideoVideoShotChangeDetectionAsyncDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ShotChangeDetectionAsyncClient.VideoVideoShotChangeDetectionAsyncRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.ShotChangeDetectionAsyncClient.VideoVideoShotChangeDetectionAsyncRetrieve.g.cs index 3df6ad1a..4164cc6c 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ShotChangeDetectionAsyncClient.VideoVideoShotChangeDetectionAsyncRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ShotChangeDetectionAsyncClient.VideoVideoShotChangeDetectionAsyncRetrieve.g.cs @@ -362,17 +362,15 @@ partial void ProcessVideoVideoShotChangeDetectionAsyncRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -409,17 +407,15 @@ partial void ProcessVideoVideoShotChangeDetectionAsyncRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.ShotChangeDetectionAsyncClient.VideoVideoShotChangeDetectionAsyncRetrieve2.g.cs b/src/libs/EdenAI/Generated/EdenAI.ShotChangeDetectionAsyncClient.VideoVideoShotChangeDetectionAsyncRetrieve2.g.cs index 3bd3dcc2..45874568 100644 --- a/src/libs/EdenAI/Generated/EdenAI.ShotChangeDetectionAsyncClient.VideoVideoShotChangeDetectionAsyncRetrieve2.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.ShotChangeDetectionAsyncClient.VideoVideoShotChangeDetectionAsyncRetrieve2.g.cs @@ -395,18 +395,17 @@ partial void ProcessVideoVideoShotChangeDetectionAsyncRetrieve2ResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -433,18 +432,17 @@ partial void ProcessVideoVideoShotChangeDetectionAsyncRetrieve2ResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -471,18 +469,17 @@ partial void ProcessVideoVideoShotChangeDetectionAsyncRetrieve2ResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -509,18 +506,17 @@ partial void ProcessVideoVideoShotChangeDetectionAsyncRetrieve2ResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -554,17 +550,15 @@ partial void ProcessVideoVideoShotChangeDetectionAsyncRetrieve2ResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -601,17 +595,15 @@ partial void ProcessVideoVideoShotChangeDetectionAsyncRetrieve2ResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.SpeechToTextAsyncClient.AudioAudioSpeechToTextAsyncCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.SpeechToTextAsyncClient.AudioAudioSpeechToTextAsyncCreate.g.cs index a426e908..a3e86007 100644 --- a/src/libs/EdenAI/Generated/EdenAI.SpeechToTextAsyncClient.AudioAudioSpeechToTextAsyncCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.SpeechToTextAsyncClient.AudioAudioSpeechToTextAsyncCreate.g.cs @@ -1105,17 +1105,15 @@ request.Filename is null } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -1152,17 +1150,15 @@ request.Filename is null { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.SpeechToTextAsyncClient.AudioAudioSpeechToTextAsyncDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.SpeechToTextAsyncClient.AudioAudioSpeechToTextAsyncDestroy.g.cs index 04167021..6b9c60c8 100644 --- a/src/libs/EdenAI/Generated/EdenAI.SpeechToTextAsyncClient.AudioAudioSpeechToTextAsyncDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.SpeechToTextAsyncClient.AudioAudioSpeechToTextAsyncDestroy.g.cs @@ -352,17 +352,15 @@ await AudioAudioSpeechToTextAsyncDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -390,17 +388,15 @@ await AudioAudioSpeechToTextAsyncDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.SpeechToTextAsyncClient.AudioAudioSpeechToTextAsyncRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.SpeechToTextAsyncClient.AudioAudioSpeechToTextAsyncRetrieve.g.cs index 421bc2ea..3599368c 100644 --- a/src/libs/EdenAI/Generated/EdenAI.SpeechToTextAsyncClient.AudioAudioSpeechToTextAsyncRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.SpeechToTextAsyncClient.AudioAudioSpeechToTextAsyncRetrieve.g.cs @@ -362,17 +362,15 @@ partial void ProcessAudioAudioSpeechToTextAsyncRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -409,17 +407,15 @@ partial void ProcessAudioAudioSpeechToTextAsyncRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.SpeechToTextAsyncClient.AudioAudioSpeechToTextAsyncRetrieve2.g.cs b/src/libs/EdenAI/Generated/EdenAI.SpeechToTextAsyncClient.AudioAudioSpeechToTextAsyncRetrieve2.g.cs index e788ab2a..d971564b 100644 --- a/src/libs/EdenAI/Generated/EdenAI.SpeechToTextAsyncClient.AudioAudioSpeechToTextAsyncRetrieve2.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.SpeechToTextAsyncClient.AudioAudioSpeechToTextAsyncRetrieve2.g.cs @@ -395,18 +395,17 @@ partial void ProcessAudioAudioSpeechToTextAsyncRetrieve2ResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -433,18 +432,17 @@ partial void ProcessAudioAudioSpeechToTextAsyncRetrieve2ResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -471,18 +469,17 @@ partial void ProcessAudioAudioSpeechToTextAsyncRetrieve2ResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -509,18 +506,17 @@ partial void ProcessAudioAudioSpeechToTextAsyncRetrieve2ResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -554,17 +550,15 @@ partial void ProcessAudioAudioSpeechToTextAsyncRetrieve2ResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -601,17 +595,15 @@ partial void ProcessAudioAudioSpeechToTextAsyncRetrieve2ResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.SpellCheckClient.TextTextSpellCheckCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.SpellCheckClient.TextTextSpellCheckCreate.g.cs index 7b651749..b18a9dc9 100644 --- a/src/libs/EdenAI/Generated/EdenAI.SpellCheckClient.TextTextSpellCheckCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.SpellCheckClient.TextTextSpellCheckCreate.g.cs @@ -622,18 +622,17 @@ partial void ProcessTextTextSpellCheckCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -660,18 +659,17 @@ partial void ProcessTextTextSpellCheckCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -698,18 +696,17 @@ partial void ProcessTextTextSpellCheckCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -736,18 +733,17 @@ partial void ProcessTextTextSpellCheckCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -781,17 +777,15 @@ partial void ProcessTextTextSpellCheckCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -828,17 +822,15 @@ partial void ProcessTextTextSpellCheckCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.SummarizeClient.TextTextSummarizeCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.SummarizeClient.TextTextSummarizeCreate.g.cs index 2662313c..f5776b7d 100644 --- a/src/libs/EdenAI/Generated/EdenAI.SummarizeClient.TextTextSummarizeCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.SummarizeClient.TextTextSummarizeCreate.g.cs @@ -694,18 +694,17 @@ partial void ProcessTextTextSummarizeCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -732,18 +731,17 @@ partial void ProcessTextTextSummarizeCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -770,18 +768,17 @@ partial void ProcessTextTextSummarizeCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -808,18 +805,17 @@ partial void ProcessTextTextSummarizeCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -853,17 +849,15 @@ partial void ProcessTextTextSummarizeCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -900,17 +894,15 @@ partial void ProcessTextTextSummarizeCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.TextDetectionAsyncClient.VideoVideoTextDetectionAsyncCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.TextDetectionAsyncClient.VideoVideoTextDetectionAsyncCreate.g.cs index 4ef0f913..39c94f35 100644 --- a/src/libs/EdenAI/Generated/EdenAI.TextDetectionAsyncClient.VideoVideoTextDetectionAsyncCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.TextDetectionAsyncClient.VideoVideoTextDetectionAsyncCreate.g.cs @@ -501,17 +501,15 @@ request.Filename is null } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -548,17 +546,15 @@ request.Filename is null { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.TextDetectionAsyncClient.VideoVideoTextDetectionAsyncDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.TextDetectionAsyncClient.VideoVideoTextDetectionAsyncDestroy.g.cs index 2d05e18c..6a482c65 100644 --- a/src/libs/EdenAI/Generated/EdenAI.TextDetectionAsyncClient.VideoVideoTextDetectionAsyncDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.TextDetectionAsyncClient.VideoVideoTextDetectionAsyncDestroy.g.cs @@ -352,17 +352,15 @@ await VideoVideoTextDetectionAsyncDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -390,17 +388,15 @@ await VideoVideoTextDetectionAsyncDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.TextDetectionAsyncClient.VideoVideoTextDetectionAsyncRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.TextDetectionAsyncClient.VideoVideoTextDetectionAsyncRetrieve.g.cs index a4696d48..df19defd 100644 --- a/src/libs/EdenAI/Generated/EdenAI.TextDetectionAsyncClient.VideoVideoTextDetectionAsyncRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.TextDetectionAsyncClient.VideoVideoTextDetectionAsyncRetrieve.g.cs @@ -362,17 +362,15 @@ partial void ProcessVideoVideoTextDetectionAsyncRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -409,17 +407,15 @@ partial void ProcessVideoVideoTextDetectionAsyncRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.TextDetectionAsyncClient.VideoVideoTextDetectionAsyncRetrieve2.g.cs b/src/libs/EdenAI/Generated/EdenAI.TextDetectionAsyncClient.VideoVideoTextDetectionAsyncRetrieve2.g.cs index 163f8ac4..495ecab1 100644 --- a/src/libs/EdenAI/Generated/EdenAI.TextDetectionAsyncClient.VideoVideoTextDetectionAsyncRetrieve2.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.TextDetectionAsyncClient.VideoVideoTextDetectionAsyncRetrieve2.g.cs @@ -395,18 +395,17 @@ partial void ProcessVideoVideoTextDetectionAsyncRetrieve2ResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -433,18 +432,17 @@ partial void ProcessVideoVideoTextDetectionAsyncRetrieve2ResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -471,18 +469,17 @@ partial void ProcessVideoVideoTextDetectionAsyncRetrieve2ResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -509,18 +506,17 @@ partial void ProcessVideoVideoTextDetectionAsyncRetrieve2ResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -554,17 +550,15 @@ partial void ProcessVideoVideoTextDetectionAsyncRetrieve2ResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -601,17 +595,15 @@ partial void ProcessVideoVideoTextDetectionAsyncRetrieve2ResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.TextToSpeechAsyncClient.AudioAudioTextToSpeechAsyncCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.TextToSpeechAsyncClient.AudioAudioTextToSpeechAsyncCreate.g.cs index 69ec9cea..ae14594c 100644 --- a/src/libs/EdenAI/Generated/EdenAI.TextToSpeechAsyncClient.AudioAudioTextToSpeechAsyncCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.TextToSpeechAsyncClient.AudioAudioTextToSpeechAsyncCreate.g.cs @@ -969,17 +969,15 @@ partial void ProcessAudioAudioTextToSpeechAsyncCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -1016,17 +1014,15 @@ partial void ProcessAudioAudioTextToSpeechAsyncCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.TextToSpeechAsyncClient.AudioAudioTextToSpeechAsyncDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.TextToSpeechAsyncClient.AudioAudioTextToSpeechAsyncDestroy.g.cs index ad7d342e..1f86668f 100644 --- a/src/libs/EdenAI/Generated/EdenAI.TextToSpeechAsyncClient.AudioAudioTextToSpeechAsyncDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.TextToSpeechAsyncClient.AudioAudioTextToSpeechAsyncDestroy.g.cs @@ -352,17 +352,15 @@ await AudioAudioTextToSpeechAsyncDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -390,17 +388,15 @@ await AudioAudioTextToSpeechAsyncDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.TextToSpeechAsyncClient.AudioAudioTextToSpeechAsyncRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.TextToSpeechAsyncClient.AudioAudioTextToSpeechAsyncRetrieve.g.cs index 5a67f87c..65eb0afc 100644 --- a/src/libs/EdenAI/Generated/EdenAI.TextToSpeechAsyncClient.AudioAudioTextToSpeechAsyncRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.TextToSpeechAsyncClient.AudioAudioTextToSpeechAsyncRetrieve.g.cs @@ -362,17 +362,15 @@ partial void ProcessAudioAudioTextToSpeechAsyncRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -409,17 +407,15 @@ partial void ProcessAudioAudioTextToSpeechAsyncRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.TextToSpeechAsyncClient.AudioAudioTextToSpeechAsyncRetrieve2.g.cs b/src/libs/EdenAI/Generated/EdenAI.TextToSpeechAsyncClient.AudioAudioTextToSpeechAsyncRetrieve2.g.cs index 02e49ef3..86867e81 100644 --- a/src/libs/EdenAI/Generated/EdenAI.TextToSpeechAsyncClient.AudioAudioTextToSpeechAsyncRetrieve2.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.TextToSpeechAsyncClient.AudioAudioTextToSpeechAsyncRetrieve2.g.cs @@ -395,18 +395,17 @@ partial void ProcessAudioAudioTextToSpeechAsyncRetrieve2ResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -433,18 +432,17 @@ partial void ProcessAudioAudioTextToSpeechAsyncRetrieve2ResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -471,18 +469,17 @@ partial void ProcessAudioAudioTextToSpeechAsyncRetrieve2ResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -509,18 +506,17 @@ partial void ProcessAudioAudioTextToSpeechAsyncRetrieve2ResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -554,17 +550,15 @@ partial void ProcessAudioAudioTextToSpeechAsyncRetrieve2ResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -601,17 +595,15 @@ partial void ProcessAudioAudioTextToSpeechAsyncRetrieve2ResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.TextToSpeechClient.AudioAudioTextToSpeechCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.TextToSpeechClient.AudioAudioTextToSpeechCreate.g.cs index 7996e342..f86116c2 100644 --- a/src/libs/EdenAI/Generated/EdenAI.TextToSpeechClient.AudioAudioTextToSpeechCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.TextToSpeechClient.AudioAudioTextToSpeechCreate.g.cs @@ -888,18 +888,17 @@ partial void ProcessAudioAudioTextToSpeechCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -926,18 +925,17 @@ partial void ProcessAudioAudioTextToSpeechCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -964,18 +962,17 @@ partial void ProcessAudioAudioTextToSpeechCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -1002,18 +999,17 @@ partial void ProcessAudioAudioTextToSpeechCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -1047,17 +1043,15 @@ partial void ProcessAudioAudioTextToSpeechCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -1094,17 +1088,15 @@ partial void ProcessAudioAudioTextToSpeechCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.TopicExtractionClient.TextTextTopicExtractionCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.TopicExtractionClient.TextTextTopicExtractionCreate.g.cs index 83c393b0..daf37ed2 100644 --- a/src/libs/EdenAI/Generated/EdenAI.TopicExtractionClient.TextTextTopicExtractionCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.TopicExtractionClient.TextTextTopicExtractionCreate.g.cs @@ -404,18 +404,17 @@ partial void ProcessTextTextTopicExtractionCreateResponseContent( __exception_400 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, - statusCode: __response.StatusCode) - { - ResponseBody = __content_400, - ResponseObject = __value_400, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 500) @@ -442,18 +441,17 @@ partial void ProcessTextTextTopicExtractionCreateResponseContent( __exception_500 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, - statusCode: __response.StatusCode) - { - ResponseBody = __content_500, - ResponseObject = __value_500, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 403) @@ -480,18 +478,17 @@ partial void ProcessTextTextTopicExtractionCreateResponseContent( __exception_403 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, - statusCode: __response.StatusCode) - { - ResponseBody = __content_403, - ResponseObject = __value_403, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } // if ((int)__response.StatusCode == 404) @@ -518,18 +515,17 @@ partial void ProcessTextTextTopicExtractionCreateResponseContent( __exception_404 = __ex; } - throw new global::EdenAI.ApiException( + + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, - statusCode: __response.StatusCode) - { - ResponseBody = __content_404, - ResponseObject = __value_404, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } if (__effectiveReadResponseAsString) @@ -563,17 +559,15 @@ partial void ProcessTextTextTopicExtractionCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -610,17 +604,15 @@ partial void ProcessTextTextTopicExtractionCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.UserManagementClient.UserUserCustomTokenCreate.g.cs b/src/libs/EdenAI/Generated/EdenAI.UserManagementClient.UserUserCustomTokenCreate.g.cs index 539ea594..d26b7c4f 100644 --- a/src/libs/EdenAI/Generated/EdenAI.UserManagementClient.UserUserCustomTokenCreate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.UserManagementClient.UserUserCustomTokenCreate.g.cs @@ -367,17 +367,15 @@ partial void ProcessUserUserCustomTokenCreateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -414,17 +412,15 @@ partial void ProcessUserUserCustomTokenCreateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.UserManagementClient.UserUserCustomTokenDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.UserManagementClient.UserUserCustomTokenDestroy.g.cs index dcdf7380..959d7aa2 100644 --- a/src/libs/EdenAI/Generated/EdenAI.UserManagementClient.UserUserCustomTokenDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.UserManagementClient.UserUserCustomTokenDestroy.g.cs @@ -342,17 +342,15 @@ await UserUserCustomTokenDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -380,17 +378,15 @@ await UserUserCustomTokenDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.UserManagementClient.UserUserCustomTokenList.g.cs b/src/libs/EdenAI/Generated/EdenAI.UserManagementClient.UserUserCustomTokenList.g.cs index 4ae0d714..7bbd837f 100644 --- a/src/libs/EdenAI/Generated/EdenAI.UserManagementClient.UserUserCustomTokenList.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.UserManagementClient.UserUserCustomTokenList.g.cs @@ -347,17 +347,15 @@ partial void ProcessUserUserCustomTokenListResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -394,17 +392,15 @@ partial void ProcessUserUserCustomTokenListResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.UserManagementClient.UserUserCustomTokenPartialUpdate.g.cs b/src/libs/EdenAI/Generated/EdenAI.UserManagementClient.UserUserCustomTokenPartialUpdate.g.cs index e642f977..09df0d86 100644 --- a/src/libs/EdenAI/Generated/EdenAI.UserManagementClient.UserUserCustomTokenPartialUpdate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.UserManagementClient.UserUserCustomTokenPartialUpdate.g.cs @@ -376,17 +376,15 @@ partial void ProcessUserUserCustomTokenPartialUpdateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -423,17 +421,15 @@ partial void ProcessUserUserCustomTokenPartialUpdateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.UserManagementClient.UserUserCustomTokenRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.UserManagementClient.UserUserCustomTokenRetrieve.g.cs index 3ae7ef96..02a3b635 100644 --- a/src/libs/EdenAI/Generated/EdenAI.UserManagementClient.UserUserCustomTokenRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.UserManagementClient.UserUserCustomTokenRetrieve.g.cs @@ -356,17 +356,15 @@ partial void ProcessUserUserCustomTokenRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -403,17 +401,15 @@ partial void ProcessUserUserCustomTokenRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.WebhookClient.WorkflowWorkflowWebhookPartialUpdate.g.cs b/src/libs/EdenAI/Generated/EdenAI.WebhookClient.WorkflowWorkflowWebhookPartialUpdate.g.cs index 0f487580..9177bf20 100644 --- a/src/libs/EdenAI/Generated/EdenAI.WebhookClient.WorkflowWorkflowWebhookPartialUpdate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.WebhookClient.WorkflowWorkflowWebhookPartialUpdate.g.cs @@ -378,17 +378,15 @@ partial void ProcessWorkflowWorkflowWebhookPartialUpdateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -425,17 +423,15 @@ partial void ProcessWorkflowWorkflowWebhookPartialUpdateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.WebhookClient.WorkflowWorkflowWebhookUpdate.g.cs b/src/libs/EdenAI/Generated/EdenAI.WebhookClient.WorkflowWorkflowWebhookUpdate.g.cs index 4c51761e..d505fb4b 100644 --- a/src/libs/EdenAI/Generated/EdenAI.WebhookClient.WorkflowWorkflowWebhookUpdate.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.WebhookClient.WorkflowWorkflowWebhookUpdate.g.cs @@ -378,17 +378,15 @@ partial void ProcessWorkflowWorkflowWebhookUpdateResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -425,17 +423,15 @@ partial void ProcessWorkflowWorkflowWebhookUpdateResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.WorkflowsClient.WorkflowWorkflowDestroy.g.cs b/src/libs/EdenAI/Generated/EdenAI.WorkflowsClient.WorkflowWorkflowDestroy.g.cs index 9f9ddd41..150c997b 100644 --- a/src/libs/EdenAI/Generated/EdenAI.WorkflowsClient.WorkflowWorkflowDestroy.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.WorkflowsClient.WorkflowWorkflowDestroy.g.cs @@ -344,17 +344,15 @@ await WorkflowWorkflowDestroyAsResponseAsync( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -382,17 +380,15 @@ await WorkflowWorkflowDestroyAsResponseAsync( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.WorkflowsClient.WorkflowWorkflowList.g.cs b/src/libs/EdenAI/Generated/EdenAI.WorkflowsClient.WorkflowWorkflowList.g.cs index 792a3206..a8b9950a 100644 --- a/src/libs/EdenAI/Generated/EdenAI.WorkflowsClient.WorkflowWorkflowList.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.WorkflowsClient.WorkflowWorkflowList.g.cs @@ -362,17 +362,15 @@ partial void ProcessWorkflowWorkflowListResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -409,17 +407,15 @@ partial void ProcessWorkflowWorkflowListResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/Generated/EdenAI.WorkflowsClient.WorkflowWorkflowRetrieve.g.cs b/src/libs/EdenAI/Generated/EdenAI.WorkflowsClient.WorkflowWorkflowRetrieve.g.cs index bcc10b1f..569168cb 100644 --- a/src/libs/EdenAI/Generated/EdenAI.WorkflowsClient.WorkflowWorkflowRetrieve.g.cs +++ b/src/libs/EdenAI/Generated/EdenAI.WorkflowsClient.WorkflowWorkflowRetrieve.g.cs @@ -360,17 +360,15 @@ partial void ProcessWorkflowWorkflowRetrieveResponseContent( } catch (global::System.Exception __ex) { - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } else @@ -407,17 +405,15 @@ partial void ProcessWorkflowWorkflowRetrieveResponseContent( { } - throw new global::EdenAI.ApiException( + throw global::EdenAI.ApiException.Create( + statusCode: __response.StatusCode, message: __content ?? __response.ReasonPhrase ?? string.Empty, innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( __response.Headers, h => h.Key, - h => h.Value), - }; + h => h.Value)); } } diff --git a/src/libs/EdenAI/openapi.json b/src/libs/EdenAI/openapi.json index 221c6ef0..2a67cc18 100644 --- a/src/libs/EdenAI/openapi.json +++ b/src/libs/EdenAI/openapi.json @@ -1 +1 @@ -{"openapi": "3.0.3", "info": {"title": "Eden AI", "version": "2.0", "description": "Your project description"}, "paths": {"/{feature}/{subfeature}/batch/{name}/": {"get": {"operationId": "feature_batch_retrieve", "description": "Return paginated response of requests with their status and their\nresponses if the request succeeded or errror if failed", "summary": "Get Batch Job Result", "parameters": [{"in": "path", "name": "feature", "schema": {"type": "string"}, "required": true}, {"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "name", "schema": {"type": "string", "minLength": 1}}, {"in": "query", "name": "page", "schema": {"type": "integer", "minimum": 0}}, {"in": "query", "name": "public_id", "schema": {"type": "integer", "minimum": 0}}, {"in": "query", "name": "status", "schema": {"enum": ["succeeded", "failed", "finished", "processing"], "type": "string", "minLength": 1}, "description": "* `succeeded` - Status Succeeded\n* `failed` - Status Failed\n* `finished` - Status Finished\n* `processing` - Status Processing"}, {"in": "path", "name": "subfeature", "schema": {"type": "string"}, "required": true}], "tags": ["Batch"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PaginatedBatchResponse"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}, "post": {"operationId": "feature_batch_create", "description": "\nLaunch a async Batch job, given a job name that will be used as its id.\n\nEach request should have the same parameters as you would normally pass to a feature.\n\n\nYou can also pass an optional paramater `name` to help better identify each requests you send.\n\n\nExample with `text`/`sentiment_analysis`:\n\n```json\n\"requests\": [\n {\n \"text\": \"It's -25 outside and I am so hot.\",\n \"language\": \"en\",\n \"providers\": \"google,amazon\"\n },\n {\n \"name\": \"mixed\",\n \"text\": \"Overall I am satisfied with my experience at Amazon, but two areas of major improvement needed.\",\n \"language\": \"en\",\n \"providers\": \"google\"\n },\n ...\n]\n```\n\n\n### Limitations:\nYou can have up to `5` concurrent running Jobs & input up to `500` requests per Batch\n \n\n
Available Features\n\n\n\n|Feature Name|Subfeature Name|\n|------------|---------------|\n|`translation`|`language_detection`|\n|`image`|`face_detection`|\n|`text`|`chat`|\n|`ocr`|`receipt_parser`|\n|`image`|`anonymization`|\n|`audio`|`text_to_speech`|\n|`translation`|`document_translation`|\n|`image`|`logo_detection`|\n|`image`|`landmark_detection`|\n|`image`|`background_removal`|\n|`text`|`topic_extraction`|\n|`text`|`embeddings`|\n|`text`|`custom_classification`|\n|`text`|`anonymization`|\n|`text`|`summarize`|\n|`text`|`custom_named_entity_recognition`|\n|`text`|`generation`|\n|`text`|`code_generation`|\n|`text`|`moderation`|\n|`image`|`generation`|\n|`translation`|`automatic_translation`|\n|`text`|`search`|\n|`text`|`spell_check`|\n|`image`|`object_detection`|\n|`ocr`|`identity_parser`|\n|`image`|`explicit_content`|\n|`ocr`|`invoice_parser`|\n|`ocr`|`resume_parser`|\n|`audio`|`speech_to_text_async`|\n|`ocr`|`ocr_tables_async`|\n|`video`|`text_detection_async`|\n|`text`|`question_answer`|\n|`text`|`keyword_extraction`|\n|`text`|`named_entity_recognition`|\n|`text`|`syntax_analysis`|\n|`text`|`sentiment_analysis`|\n\n
\n\n", "summary": "Launch Batch Job", "parameters": [{"in": "path", "name": "feature", "schema": {"type": "string"}, "required": true}, {"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}, {"in": "path", "name": "subfeature", "schema": {"type": "string"}, "required": true}], "tags": ["Batch"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BatchRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BatchLaunchResponse"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}, "delete": {"operationId": "feature_batch_destroy", "description": "Api view with custom pagination method to return paginated response from any queryset", "summary": "Delete Batch Job", "parameters": [{"in": "path", "name": "feature", "schema": {"type": "string"}, "required": true}, {"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}, {"in": "path", "name": "subfeature", "schema": {"type": "string"}, "required": true}], "tags": ["Batch"], "security": [{"FeatureApiAuth": []}], "responses": {"204": {"description": "No response body"}}}}, "/aiproducts/": {"get": {"operationId": "aiproducts_aiproducts_list", "summary": "List Projects", "parameters": [{"in": "query", "name": "project_type", "schema": {"type": "string"}}], "tags": ["Custom Chatbot (Info operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/AIProject"}}}}, "description": ""}}}}, "/aiproducts/{project_id}/": {"get": {"operationId": "aiproducts_aiproducts_retrieve", "summary": "Retrieve Project", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Info operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AIProject"}}}, "description": ""}, "404": {"description": "No response body"}}}}, "/aiproducts/askyoda/v2/": {"post": {"operationId": "aiproducts_aiproducts_askyoda_v2_create", "description": "Allows you to create a new Ask YODA project with specified details.\n\n
Default Embedding Models\n\n|Name|Value|\n|----|-----|\n|**openai**|`text-embedding-3-large`|\n|**cohere**|`embed-multilingual-v3.0`|\n|**google**|`text-multilingual-embedding-002`|\n|**mistral**|`mistral-embed`|\n|**jina**|`jina-embeddings-v3`|\n\n
", "summary": "Create Project", "tags": ["Custom Chatbot (Create operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AskYourDataProjectRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/YodaCreateProjectResponse"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/aiproducts/askyoda/v2/{project_id}/{prompt_name}/": {"patch": {"operationId": "aiproducts_aiproducts_askyoda_v2_partial_update", "description": "Update the bot prompt for your RAG project using an existing prompt.\nThis endpoint allows you to change the current bot prompt to a different existing prompt.", "summary": "Update Bot Prompt", "parameters": [{"in": "query", "name": "file_urls", "schema": {"type": "array", "items": {"type": "string", "format": "uri", "minLength": 1, "maxLength": 1000}}, "description": "Optional list of URLs to images or other files that should be included with the prompt for multimodal models. Files are not supported by all models."}, {"in": "query", "name": "model", "schema": {"type": "string", "minLength": 1}, "description": "The model used to call the prompt. E.g. openai/gpt-4o", "required": true}, {"in": "query", "name": "name", "schema": {"type": "string", "minLength": 1}, "description": "The unique identifier for the prompt. Must contain only alphanumeric characters, underscores (_) and hyphens (-). No spaces allowed.", "required": true}, {"in": "query", "name": "params", "schema": {}, "description": "Params that are passed on to the llm request. See llm chat docs for more details.\n\n#### Example\n```json\n{\n \"temperature\": 0.7,\n \"max_tokens\": 100\n}\n```"}, {"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}, {"in": "path", "name": "prompt_name", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "system_prompt", "schema": {"type": "string", "minLength": 1}, "description": "Specify a system prompt for the LLM"}, {"in": "query", "name": "text", "schema": {"type": "string", "minLength": 1}, "description": "The text used for the prompt\n\nYou can include prompt variables with {{ my_variable }}. These variables are injected when you later call your prompt.\n\nThe template language is compatible with jinja2\n\n#### Example\n```bash\nTranslate this word to {{ language }}: {{ word }}\n```", "required": true}], "tags": ["Custom Chatbot (Update operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/aiproducts/askyoda/v2/{project_id}/add_file/": {"post": {"operationId": "aiproducts_aiproducts_askyoda_v2_add_file_create", "description": "This endpoint enables you to upload files (**CSV**, **AUDIO**, **PDF**, or **XML**) into your project.
Upon upload, the file will be processed and stored as text embeddings within the project's database.
\n\n### Supported File Types\n- **CSV**: Comma-separated values files.\n- **Audio**: Supported audio formats for transcription to text.\n- **PDF**: Portable Document Format files.\n- **XML**: Extensible Markup Language files.\n\n### OCR Processing and Speech-to-Text\nIf the uploaded file is a PDF, it will undergo Optical Character Recognition (OCR) processing using the default provider chosen during the project creation step.
\nSimilarly, audio files will be converted to text using Speech-to-Text, also utilizing the default provider configured during project setup.\n\n### Accepted File Extensions\n- **PDF**\n- **CSV**\n- **AMR**\n- **FLAC**\n- **WAV**\n- **OGG**\n- **MP3**\n- **MP4**\n- **WEBM**\n- **XML**\n\n\n", "summary": "Add File", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Upload operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AddFileRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/AddFileRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/AddFileRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"201": {"description": "No response body"}}}}, "/aiproducts/askyoda/v2/{project_id}/add_image/": {"post": {"operationId": "aiproducts_aiproducts_askyoda_v2_add_image_create", "description": "\nThis endpoint enables you to upload images into your project.
Upon upload, the file will be processed and stored as text embeddings within the project's database.\n", "summary": "Add Image", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Upload operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AddImageRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/AddImageRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"201": {"description": "No response body"}}}}, "/aiproducts/askyoda/v2/{project_id}/add_text/": {"post": {"operationId": "aiproducts_aiproducts_askyoda_v2_add_text_create", "description": "Add text data in your project, which will be stored as embeddings\nwithin your chosen database provider.", "summary": "Add Texts", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Upload operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AddTextRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"201": {"description": "No response body"}}}}, "/aiproducts/askyoda/v2/{project_id}/add_url/": {"post": {"operationId": "aiproducts_aiproducts_askyoda_v2_add_url_create", "description": "Add a list of URLs into your projects,\nthey will be processed and stored as text embeddings within your project.", "summary": "Add Urls", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Upload operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AddUrlRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"201": {"description": "No response body"}}}}, "/aiproducts/askyoda/v2/{project_id}/add_video/": {"post": {"operationId": "aiproducts_aiproducts_askyoda_v2_add_video_create", "description": "\nThis endpoint enables you to upload videos into your project.
Upon upload, the file will be processed and stored as text embeddings within the project's database.\n", "summary": "Add Video", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Upload operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AddVideoRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/AddVideoRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"201": {"description": "No response body"}}}}, "/aiproducts/askyoda/v2/{project_id}/ask_llm/": {"post": {"operationId": "aiproducts_aiproducts_askyoda_v2_ask_llm_create", "description": "Retrieve a list of search query responses and compare them to your\ninput. Provide a query, and in return, receive scores for the most relevant items from your project,\nranked by their proximity to your query.", "summary": "Ask LLM", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Query operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AskLLMRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/YodaQueryResponse"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/aiproducts/askyoda/v2/{project_id}/conversations/": {"get": {"operationId": "aiproducts_aiproducts_askyoda_v2_conversations_list", "summary": "List Conversations", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Info operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/Conversation"}}}}, "description": ""}}}, "post": {"operationId": "aiproducts_aiproducts_askyoda_v2_conversations_create", "summary": "Create Conversation", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Create operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ConversationRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/ConversationRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/ConversationRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"201": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Conversation"}}}, "description": ""}}}}, "/aiproducts/askyoda/v2/{project_id}/conversations/{conversation_id}/": {"get": {"operationId": "aiproducts_aiproducts_askyoda_v2_conversations_retrieve", "summary": "Retrieve Conversation Details", "parameters": [{"in": "path", "name": "conversation_id", "schema": {"type": "string", "format": "uuid"}, "required": true}, {"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Info operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ConversationDetail"}}}, "description": ""}}}, "put": {"operationId": "aiproducts_aiproducts_askyoda_v2_conversations_update", "summary": "Update Conversation Name", "parameters": [{"in": "path", "name": "conversation_id", "schema": {"type": "string", "format": "uuid"}, "required": true}, {"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Update operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ConversationDetailRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/ConversationDetailRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/ConversationDetailRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ConversationDetail"}}}, "description": ""}}}, "patch": {"operationId": "aiproducts_aiproducts_askyoda_v2_conversations_partial_update", "summary": "Update Conversation Name", "parameters": [{"in": "path", "name": "conversation_id", "schema": {"type": "string", "format": "uuid"}, "required": true}, {"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Update operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PatchedConversationDetailRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/PatchedConversationDetailRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/PatchedConversationDetailRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ConversationDetail"}}}, "description": ""}}}, "delete": {"operationId": "aiproducts_aiproducts_askyoda_v2_conversations_destroy", "summary": "Delete Conversation", "parameters": [{"in": "path", "name": "conversation_id", "schema": {"type": "string", "format": "uuid"}, "required": true}, {"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Delete operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/aiproducts/askyoda/v2/{project_id}/create_bot_prompt/": {"post": {"operationId": "aiproducts_aiproducts_askyoda_v2_create_bot_prompt_create", "description": "Create a default bot prompt for your RAG project.\nThe bot prompt serves as the default system message or personality definition for your RAG-powered chatbot. This prompt helps define how your bot should interact with users and what context it should consider when processing queries.", "summary": "Create Bot Profile", "parameters": [{"in": "query", "name": "file_urls", "schema": {"type": "array", "items": {"type": "string", "format": "uri", "minLength": 1, "maxLength": 1000}}, "description": "Optional list of URLs to images or other files that should be included with the prompt for multimodal models. Files are not supported by all models."}, {"in": "query", "name": "model", "schema": {"type": "string", "minLength": 1}, "description": "The model used to call the prompt. E.g. openai/gpt-4o", "required": true}, {"in": "query", "name": "name", "schema": {"type": "string", "minLength": 1}, "description": "The unique identifier for the prompt. Must contain only alphanumeric characters, underscores (_) and hyphens (-). No spaces allowed.", "required": true}, {"in": "query", "name": "params", "schema": {}, "description": "Params that are passed on to the llm request. See llm chat docs for more details.\n\n#### Example\n```json\n{\n \"temperature\": 0.7,\n \"max_tokens\": 100\n}\n```"}, {"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}, {"in": "query", "name": "system_prompt", "schema": {"type": "string", "minLength": 1}, "description": "Specify a system prompt for the LLM"}, {"in": "query", "name": "text", "schema": {"type": "string", "minLength": 1}, "description": "The text used for the prompt\n\nYou can include prompt variables with {{ my_variable }}. These variables are injected when you later call your prompt.\n\nThe template language is compatible with jinja2\n\n#### Example\n```bash\nTranslate this word to {{ language }}: {{ word }}\n```", "required": true}], "tags": ["Custom Chatbot (Create operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"201": {"description": "No response body"}}}}, "/aiproducts/askyoda/v2/{project_id}/delete_all_chunks/": {"delete": {"operationId": "aiproducts_aiproducts_askyoda_v2_delete_all_chunks_destroy", "description": "Delete all chunks from your project.\nThis action is irreversible and will remove all data stored in your project.", "summary": "Delete All Chunks", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Delete operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/YodaDeleteResponse"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/aiproducts/askyoda/v2/{project_id}/delete_chunk/": {"delete": {"operationId": "aiproducts_aiproducts_askyoda_v2_delete_chunk_destroy", "description": "Delete one or multiple chunks from your project. \nYou can delete a single chunk by providing it ID either as a query parameter or in the request body. \nFor bulk deletion, provide a list of chunk IDs in the request body.\n\nExamples:\n- Single chunk deletion (query parameter): DELETE /chunks?id=chunk123\n- Single chunk deletion (body): {\"id\": \"chunk123\"}\n- Bulk deletion: {\"ids\": [\"chunk123\", \"chunk456\", \"chunk789\"]}", "summary": "Delete Chunk", "parameters": [{"in": "query", "name": "chunk_ids", "schema": {"type": "array", "items": {"type": "string", "minLength": 1, "description": "chunk_id"}}, "description": "List of chunk_ids to delete"}, {"in": "query", "name": "id", "schema": {"type": "string", "minLength": 1}, "description": "chunk_id"}, {"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Delete operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/YodaDeleteResponse"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/aiproducts/askyoda/v2/{project_id}/files/": {"get": {"operationId": "aiproducts_aiproducts_askyoda_v2_files_list", "summary": "List Files", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Info operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/AiProductFile"}}}}, "description": ""}}}}, "/aiproducts/askyoda/v2/{project_id}/files/{file_id}/": {"get": {"operationId": "aiproducts_aiproducts_askyoda_v2_files_retrieve", "summary": "Get File", "parameters": [{"in": "path", "name": "file_id", "schema": {"type": "string", "format": "uuid"}, "required": true}, {"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Info operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AiProductFile"}}}, "description": ""}}}, "delete": {"operationId": "aiproducts_aiproducts_askyoda_v2_files_destroy", "summary": "Delete File", "parameters": [{"in": "path", "name": "file_id", "schema": {"type": "string", "format": "uuid"}, "required": true}, {"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Delete operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/aiproducts/askyoda/v2/{project_id}/generate/": {"post": {"operationId": "aiproducts_aiproducts_askyoda_v2_generate_create", "description": "Interact with different LLM providers, this endpoint is based on the structure of the\nLLM API.", "summary": "Generate", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Query operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/GenerateRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/YodaQueryResponse"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/aiproducts/askyoda/v2/{project_id}/info/": {"get": {"operationId": "aiproducts_aiproducts_askyoda_v2_info_retrieve", "description": "Retrieve details about your project within your Ask YODA project,\nincluding the total number of items stored in your project collection and default models", "summary": "Get info", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Info operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/YodaInfoResponse"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/aiproducts/askyoda/v2/{project_id}/list_chunks_ids/": {"post": {"operationId": "aiproducts_aiproducts_askyoda_v2_list_chunks_ids_create", "description": "Retrieve a list of all chunk IDs stored in your project.", "summary": "List Check IDs", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Info operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListChunkRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/YodaListChunksIdsResponse"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/aiproducts/askyoda/v2/{project_id}/query/": {"post": {"operationId": "aiproducts_aiproducts_askyoda_v2_query_create", "description": "Interact with your data by selecting your preferred Language Model \nprovider. The chosen provider will then respond to queries based on the data you have added\nto your collection", "summary": "Query", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Query operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AskLLMRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/YodaAskLlmResponse"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/aiproducts/askyoda/v2/{project_id}/remove_bot_prompt/": {"delete": {"operationId": "aiproducts_aiproducts_askyoda_v2_remove_bot_prompt_destroy", "description": "Remove the bot prompt from your RAG project.\n This endpoint removes the custom bot prompt from your project, effectively resetting the bot's personality to system defaults. This action cannot be undone, but you can always set a new bot prompt later.", "summary": "Remove Bot Prompt", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Delete operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/aiproducts/askyoda/v2/{project_id}/update_project/": {"patch": {"operationId": "aiproducts_aiproducts_askyoda_v2_update_project_partial_update", "description": "Update the default settings of the Yoda project.\nIt allows you to modify the project's default settings,\nspecifically changing the llm_provider (language model provider),\nllm_model (language model), ocr_provider (upload pdf), speech_to_text provider (upload audio)\nand the default chunks parameter associated with the default project.", "summary": "Update Project", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Update operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PatchedAskYodaProjectUpdateRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AskYodaProjectUpdate"}}}, "description": ""}}}}, "/aiproducts/delete/{project_id}/": {"delete": {"operationId": "aiproducts_aiproducts_delete_destroy", "description": "View to delete an AI project.", "summary": "Delete Project", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Delete operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/audio/speech_to_text_async/": {"get": {"operationId": "audio_audio_speech_to_text_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Speech to Text List Jobs", "tags": ["Speech To Text Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "audio_audio_speech_to_text_async_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|-|`boto3 (v1.15.18)`|0.024 (per 60 seconde)|15 seconde\n|**google**|-|`v1p1beta1`|0.024 (per 60 seconde)|1 seconde\n|**microsoft**|-|`v1.0`|0.0168 (per 60 seconde)|1 seconde\n|**assembly**|-|`v2`|0.011 (per 60 seconde)|1 seconde\n|**deepgram**|**nova-3**|`v1`|0.0052 (per 60 seconde)|1 seconde\n|**deepgram**|**enhanced**|`v1`|0.0189 (per 60 seconde)|1 seconde\n|**deepgram**|-|`v1`|0.0189 (per 60 seconde)|1 seconde\n|**deepgram**|**base**|`v1`|0.0169 (per 60 seconde)|1 seconde\n|**openai**|-|`boto3 (v1.15.18)`|0.006 (per 60 seconde)|1 seconde\n|**gladia**|-|`v1`|0.0102 (per 60 seconde)|1 seconde\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Albanian**|`sq`|\n|**Amharic**|`am`|\n|**Arabic**|`ar`|\n|**Armenian**|`hy`|\n|**Azerbaijani**|`az`|\n|**Bashkir**|`ba`|\n|**Basque**|`eu`|\n|**Belarusian**|`be`|\n|**Bengali**|`bn`|\n|**Bosnian**|`bs`|\n|**Breton**|`br`|\n|**Bulgarian**|`bg`|\n|**Burmese**|`my`|\n|**Catalan**|`ca`|\n|**Chinese**|`zh`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Esperanto**|`eo`|\n|**Estonian**|`et`|\n|**Filipino**|`fil`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**Galician**|`gl`|\n|**Georgian**|`ka`|\n|**German**|`de`|\n|**Gujarati**|`gu`|\n|**Haitian**|`ht`|\n|**Hausa**|`ha`|\n|**Hebrew**|`he`|\n|**Hebrew**|`iw`|\n|**Hindi**|`hi`|\n|**Hungarian**|`hu`|\n|**Icelandic**|`is`|\n|**Indonesian**|`id`|\n|**Interlingua (International Auxiliary Language Association)**|`ia`|\n|**Irish**|`ga`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Javanese**|`jv`|\n|**Kannada**|`kn`|\n|**Kazakh**|`kk`|\n|**Khmer**|`km`|\n|**Korean**|`ko`|\n|**Lao**|`lo`|\n|**Latvian**|`lv`|\n|**Lingala**|`ln`|\n|**Lithuanian**|`lt`|\n|**Luxembourgish**|`lb`|\n|**Macedonian**|`mk`|\n|**Malagasy**|`mg`|\n|**Malay (macrolanguage)**|`ms`|\n|**Malayalam**|`ml`|\n|**Maltese**|`mt`|\n|**Mandarin Chinese**|`cmn`|\n|**Maori**|`mi`|\n|**Marathi**|`mr`|\n|**Modern Greek (1453-)**|`el`|\n|**Mongolian**|`mn`|\n|**Nepali (macrolanguage)**|`ne`|\n|**Norwegian**|`no`|\n|**Norwegian Bokm\u00e5l**|`nb`|\n|**Occitan (post 1500)**|`oc`|\n|**Panjabi**|`pa`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Pushto**|`ps`|\n|**Romanian**|`mo`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Serbian**|`sr`|\n|**Sindhi**|`sd`|\n|**Sinhala**|`si`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Somali**|`so`|\n|**Spanish**|`es`|\n|**Sundanese**|`su`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tagalog**|`tl`|\n|**Tamil**|`ta`|\n|**Telugu**|`te`|\n|**Thai**|`th`|\n|**Turkish**|`tr`|\n|**Uighur**|`ug`|\n|**Ukrainian**|`uk`|\n|**Urdu**|`ur`|\n|**Uzbek**|`uz`|\n|**Vietnamese**|`vi`|\n|**Welsh**|`cy`|\n|**Wu Chinese**|`wuu`|\n|**Yiddish**|`yi`|\n|**Yoruba**|`yo`|\n|**Yue Chinese**|`yue`|\n|**Zulu**|`zu`|\n|**at**|`at`|\n|**jp**|`jp`|\n|**mymr**|`mymr`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Afrikaans (South Africa)**|`af-ZA`|\n|**Albanian (Albania)**|`sq-AL`|\n|**Amharic (Ethiopia)**|`am-ET`|\n|**Arabic (Algeria)**|`ar-DZ`|\n|**Arabic (Bahrain)**|`ar-BH`|\n|**Arabic (Egypt)**|`ar-EG`|\n|**Arabic (Iraq)**|`ar-IQ`|\n|**Arabic (Israel)**|`ar-IL`|\n|**Arabic (Jordan)**|`ar-JO`|\n|**Arabic (Kuwait)**|`ar-KW`|\n|**Arabic (Lebanon)**|`ar-LB`|\n|**Arabic (Libya)**|`ar-LY`|\n|**Arabic (Mauritania)**|`ar-MR`|\n|**Arabic (Morocco)**|`ar-MA`|\n|**Arabic (Oman)**|`ar-OM`|\n|**Arabic (Palestinian Territories)**|`ar-PS`|\n|**Arabic (Qatar)**|`ar-QA`|\n|**Arabic (Saudi Arabia)**|`ar-SA`|\n|**Arabic (Syria)**|`ar-SY`|\n|**Arabic (Tunisia)**|`ar-TN`|\n|**Arabic (United Arab Emirates)**|`ar-AE`|\n|**Arabic (Yemen)**|`ar-YE`|\n|**Armenian (Armenia)**|`hy-AM`|\n|**Azerbaijani (Azerbaijan)**|`az-AZ`|\n|**Bangla (Bangladesh)**|`bn-BD`|\n|**Bangla (India)**|`bn-IN`|\n|**Basque (Spain)**|`eu-ES`|\n|**Bosnian (Bosnia & Herzegovina)**|`bs-BA`|\n|**Bulgarian (Bulgaria)**|`bg-BG`|\n|**Burmese (Myanmar (Burma))**|`my-MM`|\n|**Cantonese (China)**|`yue-CN`|\n|**Cantonese (Traditional, Hong Kong SAR China)**|`yue-Hant-HK`|\n|**Catalan (Spain)**|`ca-ES`|\n|**Chinese (China)**|`zh-CN`|\n|**Chinese (Hong Kong SAR China)**|`zh-HK`|\n|**Chinese (Taiwan)**|`zh-TW`|\n|**Croatian (Croatia)**|`hr-HR`|\n|**Czech (Czechia)**|`cs-CZ`|\n|**Danish (Denmark)**|`da-DK`|\n|**Dutch (Belgium)**|`nl-BE`|\n|**Dutch (Netherlands)**|`nl-NL`|\n|**English (Australia)**|`en-AU`|\n|**English (Canada)**|`en-CA`|\n|**English (Ghana)**|`en-GH`|\n|**English (Hong Kong SAR China)**|`en-HK`|\n|**English (India)**|`en-IN`|\n|**English (Ireland)**|`en-IE`|\n|**English (Kenya)**|`en-KE`|\n|**English (New Zealand)**|`en-NZ`|\n|**English (Nigeria)**|`en-NG`|\n|**English (Pakistan)**|`en-PK`|\n|**English (Philippines)**|`en-PH`|\n|**English (Singapore)**|`en-SG`|\n|**English (South Africa)**|`en-ZA`|\n|**English (Tanzania)**|`en-TZ`|\n|**English (United Kingdom)**|`en-GB`|\n|**English (United Kingdom)**|`en-UK`|\n|**English (United States)**|`en-US`|\n|**Estonian (Estonia)**|`et-EE`|\n|**Filipino (Philippines)**|`fil-PH`|\n|**Finnish (Finland)**|`fi-FI`|\n|**French (Belgium)**|`fr-BE`|\n|**French (Canada)**|`fr-CA`|\n|**French (France)**|`fr-FR`|\n|**French (Switzerland)**|`fr-CH`|\n|**Galician (Spain)**|`gl-ES`|\n|**Georgian (Georgia)**|`ka-GE`|\n|**German (Austria)**|`de-AT`|\n|**German (Germany)**|`de-DE`|\n|**German (Switzerland)**|`de-CH`|\n|**Greek (Greece)**|`el-GR`|\n|**Gujarati (India)**|`gu-IN`|\n|**Hebrew (Israel)**|`he-IL`|\n|**Hebrew (Israel)**|`iw-IL`|\n|**Hindi (India)**|`hi-IN`|\n|**Hindi (Latin)**|`hi-Latn`|\n|**Hungarian (Hungary)**|`hu-HU`|\n|**Icelandic (Iceland)**|`is-IS`|\n|**Indonesian (Indonesia)**|`id-ID`|\n|**Irish (Ireland)**|`ga-IE`|\n|**Italian (Italy)**|`it-IT`|\n|**Italian (Switzerland)**|`it-CH`|\n|**Japanese (Japan)**|`ja-JP`|\n|**Javanese (Indonesia)**|`jv-ID`|\n|**Kannada (India)**|`kn-IN`|\n|**Kazakh (Kazakhstan)**|`kk-KZ`|\n|**Khmer (Cambodia)**|`km-KH`|\n|**Korean (South Korea)**|`ko-KR`|\n|**Lao (Laos)**|`lo-LA`|\n|**Latvian (Latvia)**|`lv-LV`|\n|**Lithuanian (Lithuania)**|`lt-LT`|\n|**Macedonian (North Macedonia)**|`mk-MK`|\n|**Malay (Malaysia)**|`ms-MY`|\n|**Malayalam (India)**|`ml-IN`|\n|**Maltese (Malta)**|`mt-MT`|\n|**Marathi (India)**|`mr-IN`|\n|**Mongolian (Mongolia)**|`mn-MN`|\n|**Nepali (Nepal)**|`ne-NP`|\n|**Norwegian (Norway)**|`no-NO`|\n|**Norwegian Bokm\u00e5l (Norway)**|`nb-NO`|\n|**Pashto (Afghanistan)**|`ps-AF`|\n|**Persian (Iran)**|`fa-IR`|\n|**Polish (Poland)**|`pl-PL`|\n|**Portuguese (Brazil)**|`pt-BR`|\n|**Portuguese (Portugal)**|`pt-PT`|\n|**Punjabi (India)**|`pa-Guru-IN`|\n|**Romanian (Romania)**|`ro-RO`|\n|**Russian (Russia)**|`ru-RU`|\n|**Serbian (Serbia)**|`sr-RS`|\n|**Sinhala (Sri Lanka)**|`si-LK`|\n|**Slovak (Slovakia)**|`sk-SK`|\n|**Slovenian (Slovenia)**|`sl-SI`|\n|**Somali (Somalia)**|`so-SO`|\n|**Spanish (Argentina)**|`es-AR`|\n|**Spanish (Bolivia)**|`es-BO`|\n|**Spanish (Chile)**|`es-CL`|\n|**Spanish (Colombia)**|`es-CO`|\n|**Spanish (Costa Rica)**|`es-CR`|\n|**Spanish (Cuba)**|`es-CU`|\n|**Spanish (Dominican Republic)**|`es-DO`|\n|**Spanish (Ecuador)**|`es-EC`|\n|**Spanish (El Salvador)**|`es-SV`|\n|**Spanish (Equatorial Guinea)**|`es-GQ`|\n|**Spanish (Guatemala)**|`es-GT`|\n|**Spanish (Honduras)**|`es-HN`|\n|**Spanish (Latin America)**|`es-419`|\n|**Spanish (Mexico)**|`es-MX`|\n|**Spanish (Nicaragua)**|`es-NI`|\n|**Spanish (Panama)**|`es-PA`|\n|**Spanish (Paraguay)**|`es-PY`|\n|**Spanish (Peru)**|`es-PE`|\n|**Spanish (Puerto Rico)**|`es-PR`|\n|**Spanish (Spain)**|`es-ES`|\n|**Spanish (United States)**|`es-US`|\n|**Spanish (Uruguay)**|`es-UY`|\n|**Spanish (Venezuela)**|`es-VE`|\n|**Sundanese (Indonesia)**|`su-ID`|\n|**Swahili (Kenya)**|`sw-KE`|\n|**Swahili (Tanzania)**|`sw-TZ`|\n|**Swedish (Sweden)**|`sv-SE`|\n|**Tamil (India)**|`ta-IN`|\n|**Tamil (Malaysia)**|`ta-MY`|\n|**Tamil (Singapore)**|`ta-SG`|\n|**Tamil (Sri Lanka)**|`ta-LK`|\n|**Telugu (India)**|`te-IN`|\n|**Thai (Thailand)**|`th-TH`|\n|**Turkish (T\u00fcrkiye)**|`tr-TR`|\n|**Ukrainian (Ukraine)**|`uk-UA`|\n|**Urdu (India)**|`ur-IN`|\n|**Urdu (Pakistan)**|`ur-PK`|\n|**Uzbek (Uzbekistan)**|`uz-UZ`|\n|**Vietnamese (Vietnam)**|`vi-VN`|\n|**Welsh (United Kingdom)**|`cy-GB`|\n|**Wu Chinese (China)**|`wuu-CN`|\n|**Zulu (South Africa)**|`zu-ZA`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**deepgram**|`enhanced`|\n\n
", "summary": "Speech to Text Launch Job", "tags": ["Speech To Text Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/SpeechToTextAsyncRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/SpeechToTextAsyncRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "audio_audio_speech_to_text_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Speech to text delete Jobs", "tags": ["Speech To Text Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/audio/speech_to_text_async/{public_id}/": {"get": {"operationId": "audio_audio_speech_to_text_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Speech to Text Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Speech To Text Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncaudiospeech_to_text_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/audio/text_to_speech/": {"post": {"operationId": "audio_audio_text_to_speech_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|-|`boto3 (v1.15.18)`|4.0 (per 1000000 char)|1 char\n|**amazon**|**Neural**|`boto3 (v1.15.18)`|16.0 (per 1000000 char)|1 char\n|**google**|-|`v1`|4.0 (per 1000000 char)|1 char\n|**google**|**Standard**|`v1`|4.0 (per 1000000 char)|1 char\n|**google**|**Neural**|`v1`|16.0 (per 1000000 char)|1 char\n|**google**|**Wavenet**|`v1`|16.0 (per 1000000 char)|1 char\n|**google**|**Studio**|`v1`|0.16 (per 1000 char)|1 char\n|**google**|**gemini-2.5-flash-tts**|`v1`|10.0 (per 1000000 char)|1 char\n|**google**|**gemini-2.5-pro-tts**|`v1`|20.0 (per 1000000 char)|None char\n|**microsoft**|-|`v1.0`|16.0 (per 1000000 char)|1 char\n|**lovoai**|-|`v1`|160.0 (per 1000000 char)|1000 char\n|**elevenlabs**|-|`v1`|0.3 (per 1000 char)|1 char\n|**openai**|-|`v1.0`|0.015 (per 1000 char)|1 char\n|**deepgram**|-|`v1`|0.015 (per 1000 char)|1 char\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Albanian**|`sq`|\n|**Amharic**|`am`|\n|**Arabic**|`ar`|\n|**Armenian**|`hy`|\n|**Azerbaijani**|`az`|\n|**Basque**|`eu`|\n|**Belarusian**|`be`|\n|**Bengali**|`bn`|\n|**Bosnian**|`bs`|\n|**Bulgarian**|`bg`|\n|**Burmese**|`my`|\n|**Catalan**|`ca`|\n|**Chinese**|`zh`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Estonian**|`et`|\n|**Filipino**|`fil`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**Galician**|`gl`|\n|**Georgian**|`ka`|\n|**German**|`de`|\n|**Gujarati**|`gu`|\n|**Hebrew**|`he`|\n|**Hindi**|`hi`|\n|**Hungarian**|`hu`|\n|**Icelandic**|`is`|\n|**Indonesian**|`id`|\n|**Irish**|`ga`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Javanese**|`jv`|\n|**Kannada**|`kn`|\n|**Kazakh**|`kk`|\n|**Khmer**|`km`|\n|**Korean**|`ko`|\n|**Lao**|`lo`|\n|**Latvian**|`lv`|\n|**Lithuanian**|`lt`|\n|**Macedonian**|`mk`|\n|**Malay (macrolanguage)**|`ms`|\n|**Malayalam**|`ml`|\n|**Maltese**|`mt`|\n|**Mandarin Chinese**|`cmn`|\n|**Maori**|`mi`|\n|**Marathi**|`mr`|\n|**Modern Greek (1453-)**|`el`|\n|**Mongolian**|`mn`|\n|**Nepali (macrolanguage)**|`ne`|\n|**Norwegian**|`no`|\n|**Norwegian Bokm\u00e5l**|`nb`|\n|**Panjabi**|`pa`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Pushto**|`ps`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Serbian**|`sr`|\n|**Sinhala**|`si`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Somali**|`so`|\n|**Spanish**|`es`|\n|**Standard Arabic**|`arb`|\n|**Sundanese**|`su`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tagalog**|`tl`|\n|**Tamil**|`ta`|\n|**Telugu**|`te`|\n|**Thai**|`th`|\n|**Turkish**|`tr`|\n|**Ukrainian**|`uk`|\n|**Urdu**|`ur`|\n|**Uzbek**|`uz`|\n|**Vietnamese**|`vi`|\n|**Welsh**|`cy`|\n|**Wu Chinese**|`wuu`|\n|**Xhosa**|`xh`|\n|**Yue Chinese**|`yue`|\n|**Zulu**|`zu`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans (South Africa)**|`af-ZA`|\n|**Albanian (Albania)**|`sq-AL`|\n|**Amharic (Ethiopia)**|`am-ET`|\n|**Arabic (Algeria)**|`ar-DZ`|\n|**Arabic (Bahrain)**|`ar-BH`|\n|**Arabic (Egypt)**|`ar-EG`|\n|**Arabic (Iraq)**|`ar-IQ`|\n|**Arabic (Jordan)**|`ar-JO`|\n|**Arabic (Kuwait)**|`ar-KW`|\n|**Arabic (Lebanon)**|`ar-LB`|\n|**Arabic (Libya)**|`ar-LY`|\n|**Arabic (Morocco)**|`ar-MA`|\n|**Arabic (Oman)**|`ar-OM`|\n|**Arabic (Pseudo-Accents)**|`ar-XA`|\n|**Arabic (Qatar)**|`ar-QA`|\n|**Arabic (Saudi Arabia)**|`ar-SA`|\n|**Arabic (Syria)**|`ar-SY`|\n|**Arabic (Tunisia)**|`ar-TN`|\n|**Arabic (United Arab Emirates)**|`ar-AE`|\n|**Arabic (Yemen)**|`ar-YE`|\n|**Armenian (Armenia)**|`hy-AM`|\n|**Azerbaijani (Azerbaijan)**|`az-AZ`|\n|**Bangla (Bangladesh)**|`bn-BD`|\n|**Bangla (India)**|`bn-IN`|\n|**Basque (Spain)**|`eu-ES`|\n|**Bosnian (Bosnia & Herzegovina)**|`bs-BA`|\n|**Bulgarian (Bulgaria)**|`bg-BG`|\n|**Burmese (Myanmar (Burma))**|`my-MM`|\n|**Cantonese (China)**|`yue-CN`|\n|**Cantonese (Hong Kong SAR China)**|`yue-HK`|\n|**Catalan (Spain)**|`ca-ES`|\n|**Chinese (China)**|`zh-CN`|\n|**Chinese (China)**|`zh-CN-henan`|\n|**Chinese (China)**|`zh-CN-shandong`|\n|**Chinese (China)**|`zh-CN-sichuan`|\n|**Chinese (Hong Kong SAR China)**|`zh-HK`|\n|**Chinese (Taiwan)**|`zh-TW`|\n|**Croatian (Croatia)**|`hr-HR`|\n|**Czech (Czechia)**|`cs-CZ`|\n|**Danish (Denmark)**|`da-DK`|\n|**Dutch (Belgium)**|`nl-BE`|\n|**Dutch (Netherlands)**|`nl-NL`|\n|**English (Australia)**|`en-AU`|\n|**English (Canada)**|`en-CA`|\n|**English (Cura\u00e7ao)**|`en-AN`|\n|**English (Hong Kong SAR China)**|`en-HK`|\n|**English (India)**|`en-IN`|\n|**English (Ireland)**|`en-IE`|\n|**English (Kenya)**|`en-KE`|\n|**English (New Zealand)**|`en-NZ`|\n|**English (Nigeria)**|`en-NG`|\n|**English (Philippines)**|`en-PH`|\n|**English (Singapore)**|`en-SG`|\n|**English (South Africa)**|`en-ZA`|\n|**English (Tanzania)**|`en-TZ`|\n|**English (United Kingdom)**|`en-GB`|\n|**English (United States)**|`en-US`|\n|**Estonian (Estonia)**|`et-EE`|\n|**Filipino (Philippines)**|`fil-PH`|\n|**Finnish (Finland)**|`fi-FI`|\n|**French (Belgium)**|`fr-BE`|\n|**French (Canada)**|`fr-CA`|\n|**French (France)**|`fr-FR`|\n|**French (Switzerland)**|`fr-CH`|\n|**Galician (Spain)**|`gl-ES`|\n|**Georgian (Georgia)**|`ka-GE`|\n|**German (Austria)**|`de-AT`|\n|**German (Germany)**|`de-DE`|\n|**German (Switzerland)**|`de-CH`|\n|**Greek (Greece)**|`el-GR`|\n|**Gujarati (India)**|`gu-IN`|\n|**Hebrew (Israel)**|`he-IL`|\n|**Hindi (India)**|`hi-IN`|\n|**Hungarian (Hungary)**|`hu-HU`|\n|**Icelandic (Iceland)**|`is-IS`|\n|**Indonesian (Indonesia)**|`id-ID`|\n|**Irish (Ireland)**|`ga-IE`|\n|**Italian (Italy)**|`it-IT`|\n|**Japanese (Japan)**|`ja-JP`|\n|**Javanese (Indonesia)**|`jv-ID`|\n|**Kannada (India)**|`kn-IN`|\n|**Kazakh (Kazakhstan)**|`kk-KZ`|\n|**Khmer (Cambodia)**|`km-KH`|\n|**Korean (South Korea)**|`ko-KR`|\n|**Lao (Laos)**|`lo-LA`|\n|**Latvian (Latvia)**|`lv-LV`|\n|**Lithuanian (Lithuania)**|`lt-LT`|\n|**Macedonian (North Macedonia)**|`mk-MK`|\n|**Malay (Malaysia)**|`ms-MY`|\n|**Malayalam (India)**|`ml-IN`|\n|**Maltese (Malta)**|`mt-MT`|\n|**Mandarin Chinese (China)**|`cmn-CN`|\n|**Mandarin Chinese (Taiwan)**|`cmn-TW`|\n|**Marathi (India)**|`mr-IN`|\n|**Mongolian (Mongolia)**|`mn-MN`|\n|**Nepali (Nepal)**|`ne-NP`|\n|**Norwegian Bokm\u00e5l (Norway)**|`nb-NO`|\n|**Pashto (Afghanistan)**|`ps-AF`|\n|**Persian (Iran)**|`fa-IR`|\n|**Polish (Poland)**|`pl-PL`|\n|**Portuguese (Brazil)**|`pt-BR`|\n|**Portuguese (Portugal)**|`pt-PT`|\n|**Punjabi (India)**|`pa-IN`|\n|**Romanian (Romania)**|`ro-RO`|\n|**Russian (Russia)**|`ru-RU`|\n|**Serbian (Serbia)**|`sr-RS`|\n|**Sinhala (Sri Lanka)**|`si-LK`|\n|**Slovak (Slovakia)**|`sk-SK`|\n|**Slovenian (Slovenia)**|`sl-SI`|\n|**Somali (Somalia)**|`so-SO`|\n|**Spanish (Argentina)**|`es-AR`|\n|**Spanish (Bolivia)**|`es-BO`|\n|**Spanish (Chile)**|`es-CL`|\n|**Spanish (Colombia)**|`es-CO`|\n|**Spanish (Costa Rica)**|`es-CR`|\n|**Spanish (Cuba)**|`es-CU`|\n|**Spanish (Dominican Republic)**|`es-DO`|\n|**Spanish (Ecuador)**|`es-EC`|\n|**Spanish (El Salvador)**|`es-SV`|\n|**Spanish (Equatorial Guinea)**|`es-GQ`|\n|**Spanish (Guatemala)**|`es-GT`|\n|**Spanish (Honduras)**|`es-HN`|\n|**Spanish (Mexico)**|`es-MX`|\n|**Spanish (Nicaragua)**|`es-NI`|\n|**Spanish (Panama)**|`es-PA`|\n|**Spanish (Paraguay)**|`es-PY`|\n|**Spanish (Peru)**|`es-PE`|\n|**Spanish (Puerto Rico)**|`es-PR`|\n|**Spanish (Spain)**|`es-ES`|\n|**Spanish (United States)**|`es-US`|\n|**Spanish (Uruguay)**|`es-UY`|\n|**Spanish (Venezuela)**|`es-VE`|\n|**Sundanese (Indonesia)**|`su-ID`|\n|**Swahili (Kenya)**|`sw-KE`|\n|**Swahili (Tanzania)**|`sw-TZ`|\n|**Swedish (Sweden)**|`sv-SE`|\n|**Tamil (India)**|`ta-IN`|\n|**Tamil (Malaysia)**|`ta-MY`|\n|**Tamil (Singapore)**|`ta-SG`|\n|**Tamil (Sri Lanka)**|`ta-LK`|\n|**Telugu (India)**|`te-IN`|\n|**Thai (Thailand)**|`th-TH`|\n|**Turkish (T\u00fcrkiye)**|`tr-TR`|\n|**Ukrainian (Ukraine)**|`uk-UA`|\n|**Urdu (India)**|`ur-IN`|\n|**Urdu (Pakistan)**|`ur-PK`|\n|**Uzbek (United Kingdom)**|`uz-UK`|\n|**Uzbek (Uzbekistan)**|`uz-UZ`|\n|**Vietnamese (Vietnam)**|`vi-VN`|\n|**Welsh (United Kingdom)**|`cy-GB`|\n|**Wu Chinese (China)**|`wuu-CN`|\n|**Xhosa (South Africa)**|`xh-ZA`|\n|**Zulu (South Africa)**|`zu-ZA`|\n\n

Supported Models

\n\n", "summary": "Text to Speech", "tags": ["Text To Speech"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/audiotext_to_speechTextToSpeechRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/audiotext_to_speechResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/audio/text_to_speech_async/": {"get": {"operationId": "audio_audio_text_to_speech_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Text To Speech list jobs", "tags": ["Text To Speech Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "audio_audio_text_to_speech_async_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**lovoai**|-|`v1`|0.16 (per 1000 char)|1 char\n|**amazon**|-|`boto3 (v1.15.18)`|4.0 (per 1000000 char)|1 char\n|**amazon**|**Neural**|`boto3 (v1.15.18)`|16.0 (per 1000000 char)|1 char\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Albanian**|`sq`|\n|**Amharic**|`am`|\n|**Arabic**|`ar`|\n|**Armenian**|`hy`|\n|**Azerbaijani**|`az`|\n|**Basque**|`eu`|\n|**Bengali**|`bn`|\n|**Bosnian**|`bs`|\n|**Burmese**|`my`|\n|**Catalan**|`ca`|\n|**Chinese**|`zh`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Estonian**|`et`|\n|**Filipino**|`fil`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**Galician**|`gl`|\n|**Georgian**|`ka`|\n|**German**|`de`|\n|**Hebrew**|`he`|\n|**Hindi**|`hi`|\n|**Hungarian**|`hu`|\n|**Icelandic**|`is`|\n|**Indonesian**|`id`|\n|**Irish**|`ga`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Javanese**|`jv`|\n|**Kazakh**|`kk`|\n|**Khmer**|`km`|\n|**Korean**|`ko`|\n|**Lao**|`lo`|\n|**Latvian**|`lv`|\n|**Lithuanian**|`lt`|\n|**Macedonian**|`mk`|\n|**Malay (macrolanguage)**|`ms`|\n|**Malayalam**|`ml`|\n|**Maltese**|`mt`|\n|**Mandarin Chinese**|`cmn`|\n|**Marathi**|`mr`|\n|**Mongolian**|`mn`|\n|**Nepali (macrolanguage)**|`ne`|\n|**Norwegian Bokm\u00e5l**|`nb`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Pushto**|`ps`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Serbian**|`sr`|\n|**Sinhala**|`si`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Somali**|`so`|\n|**Spanish**|`es`|\n|**Standard Arabic**|`arb`|\n|**Sundanese**|`su`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tamil**|`ta`|\n|**Telugu**|`te`|\n|**Thai**|`th`|\n|**Turkish**|`tr`|\n|**Ukrainian**|`uk`|\n|**Urdu**|`ur`|\n|**Uzbek**|`uz`|\n|**Vietnamese**|`vi`|\n|**Welsh**|`cy`|\n|**Wu Chinese**|`wuu`|\n|**Xhosa**|`xh`|\n|**Yue Chinese**|`yue`|\n|**Zulu**|`zu`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans (South Africa)**|`af-ZA`|\n|**Albanian (Albania)**|`sq-AL`|\n|**Amharic (Ethiopia)**|`am-ET`|\n|**Arabic (Algeria)**|`ar-DZ`|\n|**Arabic (Bahrain)**|`ar-BH`|\n|**Arabic (Egypt)**|`ar-EG`|\n|**Arabic (Iraq)**|`ar-IQ`|\n|**Arabic (Jordan)**|`ar-JO`|\n|**Arabic (Kuwait)**|`ar-KW`|\n|**Arabic (Lebanon)**|`ar-LB`|\n|**Arabic (Libya)**|`ar-LY`|\n|**Arabic (Morocco)**|`ar-MA`|\n|**Arabic (Oman)**|`ar-OM`|\n|**Arabic (Qatar)**|`ar-QA`|\n|**Arabic (Saudi Arabia)**|`ar-SA`|\n|**Arabic (Tunisia)**|`ar-TN`|\n|**Arabic (United Arab Emirates)**|`ar-AE`|\n|**Armenian (Armenia)**|`hy-AM`|\n|**Azerbaijani (Azerbaijan)**|`az-AZ`|\n|**Bangla (India)**|`bn-IN`|\n|**Basque (Spain)**|`eu-ES`|\n|**Bosnian (Bosnia & Herzegovina)**|`bs-BA`|\n|**Burmese (Myanmar (Burma))**|`my-MM`|\n|**Cantonese (China)**|`yue-CN`|\n|**Catalan (Spain)**|`ca-ES`|\n|**Chinese (China)**|`zh-CN`|\n|**Chinese (China)**|`zh-CN-henan`|\n|**Chinese (China)**|`zh-CN-shandong`|\n|**Chinese (China)**|`zh-CN-sichuan`|\n|**Chinese (Hong Kong SAR China)**|`zh-HK`|\n|**Chinese (Taiwan)**|`zh-TW`|\n|**Croatian (Croatia)**|`hr-HR`|\n|**Czech (Czechia)**|`cs-CZ`|\n|**Danish (Denmark)**|`da-DK`|\n|**Dutch (Belgium)**|`nl-BE`|\n|**Dutch (Netherlands)**|`nl-NL`|\n|**English (Australia)**|`en-AU`|\n|**English (Canada)**|`en-CA`|\n|**English (Cura\u00e7ao)**|`en-AN`|\n|**English (Hong Kong SAR China)**|`en-HK`|\n|**English (India)**|`en-IN`|\n|**English (Ireland)**|`en-IE`|\n|**English (Kenya)**|`en-KE`|\n|**English (New Zealand)**|`en-NZ`|\n|**English (Nigeria)**|`en-NG`|\n|**English (Philippines)**|`en-PH`|\n|**English (Singapore)**|`en-SG`|\n|**English (South Africa)**|`en-ZA`|\n|**English (Tanzania)**|`en-TZ`|\n|**English (United Kingdom)**|`en-GB`|\n|**English (United States)**|`en-US`|\n|**Estonian (Estonia)**|`et-EE`|\n|**Filipino (Philippines)**|`fil-PH`|\n|**Finnish (Finland)**|`fi-FI`|\n|**French (Belgium)**|`fr-BE`|\n|**French (Canada)**|`fr-CA`|\n|**French (France)**|`fr-FR`|\n|**French (Switzerland)**|`fr-CH`|\n|**Galician (Spain)**|`gl-ES`|\n|**Georgian (Georgia)**|`ka-GE`|\n|**German (Austria)**|`de-AT`|\n|**German (Germany)**|`de-DE`|\n|**German (Switzerland)**|`de-CH`|\n|**Hebrew (Israel)**|`he-IL`|\n|**Hindi (India)**|`hi-IN`|\n|**Hungarian (Hungary)**|`hu-HU`|\n|**Icelandic (Iceland)**|`is-IS`|\n|**Indonesian (Indonesia)**|`id-ID`|\n|**Irish (Ireland)**|`ga-IE`|\n|**Italian (Italy)**|`it-IT`|\n|**Japanese (Japan)**|`ja-JP`|\n|**Javanese (Indonesia)**|`jv-ID`|\n|**Kazakh (Kazakhstan)**|`kk-KZ`|\n|**Khmer (Cambodia)**|`km-KH`|\n|**Korean (South Korea)**|`ko-KR`|\n|**Lao (Laos)**|`lo-LA`|\n|**Latvian (Latvia)**|`lv-LV`|\n|**Lithuanian (Lithuania)**|`lt-LT`|\n|**Macedonian (North Macedonia)**|`mk-MK`|\n|**Malay (Malaysia)**|`ms-MY`|\n|**Malayalam (India)**|`ml-IN`|\n|**Maltese (Malta)**|`mt-MT`|\n|**Mandarin Chinese (China)**|`cmn-CN`|\n|**Marathi (India)**|`mr-IN`|\n|**Mongolian (Mongolia)**|`mn-MN`|\n|**Nepali (Nepal)**|`ne-NP`|\n|**Norwegian Bokm\u00e5l (Norway)**|`nb-NO`|\n|**Pashto (Afghanistan)**|`ps-AF`|\n|**Persian (Iran)**|`fa-IR`|\n|**Polish (Poland)**|`pl-PL`|\n|**Portuguese (Brazil)**|`pt-BR`|\n|**Portuguese (Portugal)**|`pt-PT`|\n|**Romanian (Romania)**|`ro-RO`|\n|**Russian (Russia)**|`ru-RU`|\n|**Serbian (Serbia)**|`sr-RS`|\n|**Sinhala (Sri Lanka)**|`si-LK`|\n|**Slovak (Slovakia)**|`sk-SK`|\n|**Slovenian (Slovenia)**|`sl-SI`|\n|**Somali (Somalia)**|`so-SO`|\n|**Spanish (Argentina)**|`es-AR`|\n|**Spanish (Bolivia)**|`es-BO`|\n|**Spanish (Chile)**|`es-CL`|\n|**Spanish (Colombia)**|`es-CO`|\n|**Spanish (Costa Rica)**|`es-CR`|\n|**Spanish (Cuba)**|`es-CU`|\n|**Spanish (Ecuador)**|`es-EC`|\n|**Spanish (El Salvador)**|`es-SV`|\n|**Spanish (Equatorial Guinea)**|`es-GQ`|\n|**Spanish (Guatemala)**|`es-GT`|\n|**Spanish (Mexico)**|`es-MX`|\n|**Spanish (Nicaragua)**|`es-NI`|\n|**Spanish (Panama)**|`es-PA`|\n|**Spanish (Paraguay)**|`es-PY`|\n|**Spanish (Puerto Rico)**|`es-PR`|\n|**Spanish (Spain)**|`es-ES`|\n|**Spanish (United States)**|`es-US`|\n|**Spanish (Uruguay)**|`es-UY`|\n|**Spanish (Venezuela)**|`es-VE`|\n|**Sundanese (Indonesia)**|`su-ID`|\n|**Swahili (Kenya)**|`sw-KE`|\n|**Swahili (Tanzania)**|`sw-TZ`|\n|**Swedish (Sweden)**|`sv-SE`|\n|**Tamil (India)**|`ta-IN`|\n|**Tamil (Malaysia)**|`ta-MY`|\n|**Tamil (Singapore)**|`ta-SG`|\n|**Telugu (India)**|`te-IN`|\n|**Thai (Thailand)**|`th-TH`|\n|**Turkish (T\u00fcrkiye)**|`tr-TR`|\n|**Ukrainian (Ukraine)**|`uk-UA`|\n|**Urdu (India)**|`ur-IN`|\n|**Urdu (Pakistan)**|`ur-PK`|\n|**Uzbek (United Kingdom)**|`uz-UK`|\n|**Vietnamese (Vietnam)**|`vi-VN`|\n|**Welsh (United Kingdom)**|`cy-GB`|\n|**Wu Chinese (China)**|`wuu-CN`|\n|**Xhosa (South Africa)**|`xh-ZA`|\n|**Zulu (South Africa)**|`zu-ZA`|\n\n

Supported Models

\n\n", "summary": "Text to Speech launch job", "tags": ["Text To Speech Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/TextToSpeechAsyncRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/TextToSpeechAsyncRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "audio_audio_text_to_speech_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Text To Speech delete Jobs", "tags": ["Text To Speech Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/audio/text_to_speech_async/{public_id}/": {"get": {"operationId": "audio_audio_text_to_speech_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Text To Speech Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Text To Speech Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncaudiotext_to_speech_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/batch/": {"get": {"operationId": "batch_batch_list", "summary": "List Batch Jobs", "tags": ["Batch"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/BatchList"}}}}, "description": ""}}}}, "/cost_management/": {"get": {"operationId": "cost_management_cost_management_retrieve", "description": "Returns aggregated consumption over time.\n\nOnly `feature`, `subfeature`, `provider`, and `phase` are accepted as row filters; any other unknown query parameter returns 400.\n\nWhen called with a custom API key, results are automatically scoped to that token \u2014 the `user`, `token`, and `group_by=user` query parameters are not allowed and return 400/403.", "summary": "Monitor Consumptions", "parameters": [{"in": "query", "name": "begin", "schema": {"type": "string", "format": "date"}, "required": true}, {"in": "query", "name": "end", "schema": {"type": "string", "format": "date"}, "required": true}, {"in": "query", "name": "group_by", "schema": {"enum": ["user"], "type": "string", "minLength": 1}, "description": "* `user` - user"}, {"in": "query", "name": "provider", "schema": {"type": "string", "minLength": 1, "maxLength": 200}}, {"in": "query", "name": "rag_project_id", "schema": {"type": "string", "format": "uuid"}}, {"in": "query", "name": "step", "schema": {"type": "integer", "maximum": 4, "minimum": 1}, "required": true}, {"in": "query", "name": "subfeature", "schema": {"type": "string", "minLength": 1, "maxLength": 200}}, {"in": "query", "name": "token", "schema": {"type": "string", "minLength": 1}}, {"in": "query", "name": "user", "schema": {"type": "string", "format": "email", "minLength": 1}}, {"in": "query", "name": "workflow_id", "schema": {"type": "string", "format": "uuid"}}], "tags": ["Cost Monitoring"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/CostMonitoringResponse"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/cost_management/credits/": {"get": {"operationId": "cost_management_", "description": "Get you current credits", "summary": "My Credits", "tags": ["Cost Monitoring"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/credits_serializer"}}}, "description": ""}}}}, "/enabled-features/": {"get": {"operationId": "enabled-features_enabled_features_retrieve", "description": "List all enabled features.", "tags": ["enabled-features"], "security": [{"jwtAuth": []}, {}], "responses": {"200": {"description": "No response body"}}}}, "/image/ai_detection/": {"post": {"operationId": "image_image_ai_detection_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**winstonai**|`v1`|0.021 (per 1 request)|1 request\n\n\n
\n\n", "summary": "AI Detection", "tags": ["Ai Detection"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageai_detectionAiDetectionRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageai_detectionAiDetectionRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageai_detectionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/anonymization/": {"post": {"operationId": "image_image_anonymization_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**api4ai**|`v1.0.0`|25.0 (per 1000 file)|1 file\n\n\n
\n\n", "summary": "Anonymization", "tags": ["Anonymization"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageanonymizationimagelandmark_detectionimageexplicit_contentimagedeepfake_detectionImageRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageanonymizationimagelandmark_detectionimageexplicit_contentimagedeepfake_detectionImageRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageanonymizationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/automl_classification/create_project/": {"post": {"operationId": "image_image_automl_classification_create_project_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**nyckel**|`v1.0.0`|free|-\n\n\n
\n\n", "summary": "Automl Classification - Create Project", "tags": ["Automl Classification"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageautoml_classificationcreate_projectAutomlClassificationCreateProjectRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageautoml_classificationcreate_projectAutomlClassificationCreateProjectRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageautoml_classificationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/automl_classification/delete_project/": {"post": {"operationId": "image_image_automl_classification_delete_project_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**nyckel**|`v1.0.0`|free|-\n\n\n
\n\n", "summary": "Automl Classification - Delete Project", "tags": ["Automl Classification"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageautoml_classificationdelete_projectAutomlClassificationDeleteRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageautoml_classificationdelete_projectAutomlClassificationDeleteRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageautoml_classificationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/automl_classification/list_projects/": {"get": {"operationId": "image_image_automl_classification_list_projects_retrieve", "description": "List Automl Classification Projects", "summary": "Automl Classification - List Projects", "tags": ["Automl Classification"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AutomlClassificationListProjectsResponse"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/automl_classification/predict_async/": {"get": {"operationId": "image_image_automl_classification_predict_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Automl Classification Predict List Job", "tags": ["Automl Classification"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "image_image_automl_classification_predict_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**nyckel**|`v1.0.0`|0.005 (per 1 request)|1 request\n\n\n
\n\n", "summary": "Automl Classification Predict Launch Job", "tags": ["Automl Classification"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AutomlClassificationPredictRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AutomlClassificationPredictRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}}, "/image/automl_classification/predict_async/{public_id}/": {"get": {"operationId": "image_image_automl_classification_predict_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Automl Classification - Predict Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Automl Classification"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageautoml_classificationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/automl_classification/train_async/": {"get": {"operationId": "image_image_automl_classification_train_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Automl Classification Train List Job", "tags": ["Automl Classification"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "image_image_automl_classification_train_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**nyckel**|`v1.0.0`|free|-\n\n\n
\n\n", "summary": "Automl Classification Train Launch Job", "tags": ["Automl Classification"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AutomlClassificationTrainRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AutomlClassificationTrainRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}}, "/image/automl_classification/train_async/{public_id}/": {"get": {"operationId": "image_image_automl_classification_train_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Automl Classification - Train Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Automl Classification"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageautoml_classificationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/automl_classification/upload_data_async/": {"get": {"operationId": "image_image_automl_classification_upload_data_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Automl Classification Upload Data List Job", "tags": ["Automl Classification"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "image_image_automl_classification_upload_data_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**nyckel**|`v1.0.0`|0.0005 (per 1 file)|1 file\n\n\n
\n\n", "summary": "Automl Classification Upload Data Launch Job", "tags": ["Automl Classification"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AutomlClassificationUploadDataRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AutomlClassificationUploadDataRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}}, "/image/automl_classification/upload_data_async/{public_id}/": {"get": {"operationId": "image_image_automl_classification_upload_data_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Automl Classification - Upload Data Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Automl Classification"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageautoml_classificationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/background_removal/": {"post": {"operationId": "image_image_background_removal_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**api4ai**|`v1.0.0`|50.0 (per 1000 file)|1 file\n|**photoroom**|`v1`|20.0 (per 1000 file)|1 file\n|**sentisight**|`v3.3.1`|0.75 (per 1000 file)|1 file\n|**stabilityai**|`v2Beta`|0.02 (per 1 request)|1 request\n|**clipdrop**|`v1Beta`|0.5 (per 1 request)|1 request\n|**picsart**|`1.0`|0.04 (per 1 image)|1 image\n\n\n
\n\n", "summary": "Background Removal", "tags": ["Background Removal"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagebackground_removalBackgroundRemovalRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imagebackground_removalBackgroundRemovalRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagebackground_removalResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/deepfake_detection/": {"post": {"operationId": "image_image_deepfake_detection_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**sightengine**|`v1beta`|0.002 (per 1 image)|1 image\n\n\n
\n\n", "summary": "Deepfake Detection", "tags": ["Deepfake Detection"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageanonymizationimagelandmark_detectionimageexplicit_contentimagedeepfake_detectionImageRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageanonymizationimagelandmark_detectionimageexplicit_contentimagedeepfake_detectionImageRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagedeepfake_detectionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/embeddings/": {"post": {"operationId": "image_image_embeddings_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|-|`v1`|0.06 (per 1000 file)|1 file\n|**google**|**gemini-embedding-001**|`v1`|0.0 (per 1 token)|1 token\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**English**|`en`|\n|**French**|`fr`|\n|**German**|`de`|\n|**Italian**|`it`|\n|**Spanish**|`es`|\n\n

Supported Models

\n\n", "summary": "Embeddings", "tags": ["Embeddings"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageembeddingsEmbeddingsRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageembeddingsEmbeddingsRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageembeddingsResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/explicit_content/": {"post": {"operationId": "image_image_explicit_content_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|-|`boto3 (v1.15.18)`|1.0 (per 1000 file)|1 file\n|**clarifai**|-|`8.0.0`|2.0 (per 1000 file)|1 file\n|**google**|-|`v1`|1.5 (per 1000 file)|1 file\n|**microsoft**|-|`v3.2`|1.0 (per 1000 file)|1 file\n|**sentisight**|-|`v3.3.1`|0.75 (per 1000 file)|1 file\n|**openai**|**gpt-4o**|`v1`|24.0 (per 1000 file)|1 file\n|**openai**|-|`v1`|24.0 (per 1000 file)|1 file\n\n\n
\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n\n
", "summary": "Explicit Content Detection", "tags": ["Explicit Content"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageanonymizationimagelandmark_detectionimageexplicit_contentimagedeepfake_detectionImageRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageanonymizationimagelandmark_detectionimageexplicit_contentimagedeepfake_detectionImageRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageexplicit_contentResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/face_compare/": {"post": {"operationId": "image_image_face_compare_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**base64**|`latest`|0.25 (per 1 request)|1 request\n|**facepp**|`v3`|2.0 (per 1000 request)|1 request\n|**amazon**|`boto3 (v1.15.18)`|1.0 (per 1000 request)|1 request\n\n\n
\n\n", "summary": "Face Comparison", "tags": ["Face Compare"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageface_compareFaceCompareRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageface_compareFaceCompareRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageface_compareResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/face_detection/": {"post": {"operationId": "image_image_face_detection_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3 (v1.15.18)`|1.0 (per 1000 file)|1 file\n|**clarifai**|`8.0.0`|2.0 (per 1000 file)|1 file\n|**google**|`v1`|1.5 (per 1000 file)|1 file\n|**api4ai**|`v1.0.0`|0.75 (per 1000 file)|1 file\n\n\n
\n\n", "summary": "Face Detection", "tags": ["Face Detection"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageface_detectionFaceDetectionRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageface_detectionFaceDetectionRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageface_detectionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/face_recognition/add_face/": {"post": {"operationId": "image_image_face_recognition_add_face_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3 1.26.8`|1.0 (per 1000 image)|1 image\n|**facepp**|`v3`|0.6 (per 1000 request)|1 request\n\n\n
\n\n", "summary": "Face Recognition - Add Face", "tags": ["Face Recognition"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageface_recognitionadd_faceFaceRecognitionAddFaceRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageface_recognitionadd_faceFaceRecognitionAddFaceRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageface_recognitionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/face_recognition/delete_face/": {"post": {"operationId": "image_image_face_recognition_delete_face_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3 1.26.8`|free|-\n|**facepp**|`v3`|0.1 (per 1000 request)|1 request\n\n\n
\n\n", "summary": "Face Recognition - Delete Face", "tags": ["Face Recognition"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageface_recognitiondelete_faceFaceRecognitionDeleteFaceRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageface_recognitionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/face_recognition/list_faces/": {"get": {"operationId": "image_image_face_recognition_list_faces_retrieve", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3 1.26.8`|free|-\n|**facepp**|`v3`|0.1 (per 1000 request)|1 request\n\n\n
\n\n", "summary": "Face Recognition - List Faces", "parameters": [{"in": "query", "name": "attributes_as_list", "schema": {"type": "boolean", "default": false}, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, {"in": "query", "name": "fallback_providers", "schema": {"type": "array", "items": {"type": "string"}, "default": [], "maxItems": 5}, "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n "}, {"in": "query", "name": "providers", "schema": {"type": "array", "items": {"type": "string", "minLength": 1}}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)", "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, {"in": "query", "name": "settings", "schema": {"type": "string", "default": {}}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}], "tags": ["Face Recognition"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageface_recognitionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/face_recognition/recognize/": {"post": {"operationId": "image_image_face_recognition_recognize_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3 1.26.8`|1.0 (per 1000 file)|1 file\n|**facepp**|`v3`|2.0 (per 1000 request)|1 request\n\n\n
\n\n", "summary": "Face Recognition - Recognize Face", "tags": ["Face Recognition"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageface_recognitionrecognizeFaceRecognitionDetectFaceRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageface_recognitionrecognizeFaceRecognitionDetectFaceRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageface_recognitionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/generation/": {"post": {"operationId": "image_image_generation_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Resolution|Price|Billing unit|\n|----|----|-------|------|-----|------------|\n|**openai**|-|`v1Beta`|`1024x1024`|0.034 (per 1 image)|1 image\n|**openai**|**gpt-image-2**|`v1Beta`|`1024x1024`|0.053 (per 1 image)|1 image\n|**openai**|**gpt-image-1**|`v1Beta`|`1024x1024`|0.042 (per 1 image)|None image\n|**openai**|**gpt-image-1.5**|`v1Beta`|`1024x1024`|0.034 (per 1 image)|None image\n|**openai**|**gpt-image-1-mini**|`v1Beta`|`1024x1024`|0.011 (per 1 image)|None image\n|**stabilityai**|**stable-diffusion-xl-1024-v1-0**|`v1Beta`|`1024x1024`|15.0 (per 1000 image)|1 image\n|**stabilityai**|-|`v1Beta`|`1024x1024`|15.0 (per 1000 image)|1 image\n|**stabilityai**|**stable-diffusion-xl-1024-v1-0**|`v1Beta`|`1152x896`|15.0 (per 1000 image)|1 image\n|**stabilityai**|**stable-diffusion-xl-1024-v1-0**|`v1Beta`|`896x1152`|15.0 (per 1000 image)|1 image\n|**stabilityai**|**stable-diffusion-xl-1024-v1-0**|`v1Beta`|`1216x832`|15.0 (per 1000 image)|1 image\n|**stabilityai**|**stable-diffusion-xl-1024-v1-0**|`v1Beta`|`1344x768`|15.0 (per 1000 image)|1 image\n|**stabilityai**|**stable-diffusion-xl-1024-v1-0**|`v1Beta`|`768x1344`|15.0 (per 1000 image)|1 image\n|**stabilityai**|**stable-diffusion-xl-1024-v1-0**|`v1Beta`|`1536x640`|15.0 (per 1000 image)|1 image\n|**stabilityai**|**stable-diffusion-xl-1024-v1-0**|`v1Beta`|`640x1536`|15.0 (per 1000 image)|1 image\n|**replicate**|**anime-style**|`v1`|`1024x1024`|0.000225 (per 1 exec_time)|1 exec_time\n|**replicate**|**anime-style**|`v1`|`256x256`|0.000225 (per 1 exec_time)|1 exec_time\n|**replicate**|-|`v1`|-|0.000225 (per 1 exec_time)|1 exec_time\n|**replicate**|**classic**|`v1`|`512x512`|0.00115 (per 1 exec_time)|1 exec_time\n|**replicate**|**anime-style**|`v1`|`512x512`|0.000225 (per 1 exec_time)|1 exec_time\n|**replicate**|**vintedois-diffusion**|`v1`|`512x512`|0.000225 (per 1 exec_time)|1 exec_time\n|**replicate**|**vintedois-diffusion**|`v1`|`1024x1024`|0.000225 (per 1 exec_time)|1 exec_time\n|**replicate**|**vintedois-diffusion**|`v1`|`256x256`|0.000225 (per 1 exec_time)|1 exec_time\n|**replicate**|**classic**|`v1`|`1024x1024`|0.00115 (per 1 exec_time)|1 exec_time\n|**replicate**|**classic**|`v1`|`256x256`|0.00115 (per 1 exec_time)|1 exec_time\n|**leonardo**|**Leonardo Phoenix**|`v1`|`1024x1024`|0.017 (per 1 image)|1 image\n|**leonardo**|**Leonardo Phoenix**|`v1`|`512x512`|0.014 (per 1 image)|1 image\n|**leonardo**|**Leonardo Lightning XL**|`v1`|`512x512`|0.011 (per 1 image)|1 image\n|**leonardo**|**Leonardo Lightning XL**|`v1`|`1024x1024`|0.012 (per 1 image)|1 image\n|**leonardo**|**Leonardo Anime XL**|`v1`|`512x512`|0.011 (per 1 image)|1 image\n|**leonardo**|**Leonardo Anime XL**|`v1`|`1024x1024`|0.012 (per 1 image)|1 image\n|**leonardo**|**Leonardo Kino XL**|`v1`|`512x512`|0.014 (per 1 image)|1 image\n|**leonardo**|**Leonardo Kino XL**|`v1`|`1024x1024`|0.017 (per 1 image)|1 image\n|**leonardo**|**Leonardo Vision XL**|`v1`|`512x512`|0.014 (per 1 image)|1 image\n|**leonardo**|**Leonardo Vision XL**|`v1`|`1024x1024`|0.017 (per 1 image)|1 image\n|**leonardo**|**Leonardo Diffusion XL**|`v1`|`512x512`|0.014 (per 1 image)|1 image\n|**leonardo**|**Leonardo Diffusion XL**|`v1`|`1024x1024`|0.017 (per 1 image)|1 image\n|**leonardo**|**AlbedoBase XL**|`v1`|`512x512`|0.014 (per 1 image)|1 image\n|**leonardo**|**AlbedoBase XL**|`v1`|`1024x1024`|0.017 (per 1 image)|1 image\n|**leonardo**|**SDXL 0.9**|`v1`|`512x512`|0.014 (per 1 image)|1 image\n|**leonardo**|**SDXL 0.9**|`v1`|`1024x1024`|0.017 (per 1 image)|1 image\n|**leonardo**|-|`v1`|`512x512`|0.014 (per 1 image)|1 image\n|**leonardo**|-|`v1`|`1024x1024`|0.017 (per 1 image)|1 image\n|**minimax**|**image-01**|`v1`|-|0.0035 (per 1 image)|1 image\n|**minimax**|-|`v1`|-|0.0035 (per 1 image)|1 image\n|**bytedance**|**seedream-5-0-260128**|`v3`|-|0.035 (per 1 token)|1 token\n|**bytedance**|**seedream-4-0-250828**|`v3`|-|0.03 (per 1 request)|1 request\n|**bytedance**|**seedream-4-5-251128**|`v3`|-|0.03 (per 1 request)|1 request\n|**bytedance**|-|`v3`|-|0.03 (per 1 request)|1 request\n|**bytedance**|**seedream-3-0-t2i-250415**|`v3`|-|0.03 (per 1 request)|1 request\n|**google**|-|`v1`|-|0.04 (per 1 image)|1 image\n|**google**|**gemini-2.5-flash-image**|`v1`|-|0.039 (per 1 image)|1 image\n|**google**|**imagen-4.0-generate-001**|`v1`|-|0.04 (per 1 image)|1 image\n|**google**|**imagen-3.0-capability-001**|`v1`|-|0.04 (per 1 image)|1 image\n|**google**|**imagen-4.0-ultra-generate-001**|`v1`|-|0.06 (per 1 image)|1 image\n|**google**|**imagen-4.0-fast-generate-001**|`v1`|-|0.02 (per 1 image)|1 image\n|**google**|**imagen-3.0-generate-002**|`v1`|-|0.04 (per 1 image)|1 image\n|**google**|**imagen-3.0-generate-001**|`v1`|-|0.04 (per 1 image)|1 image\n|**google**|**imagen-3.0-fast-generate-001**|`v1`|-|0.02 (per 1 image)|1 image\n|**google**|**gemini-3-pro-image-preview**|`v1`|-|0.039 (per 1 image)|1 image\n\n\n
\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-image-1.5`|\n|**stabilityai**|`stable-diffusion-xl-1024-v1-0`|\n|**replicate**|`classic`|\n|**leonardo**|`Leonardo Phoenix`|\n|**minimax**|`image-01`|\n|**bytedance**|`seedream-3-0-t2i-250415`|\n|**google**|`imagen-4.0-generate-001`|\n\n
", "summary": "Image generation", "tags": ["Generation"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagegenerationGenerationRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagegenerationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/landmark_detection/": {"post": {"operationId": "image_image_landmark_detection_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**google**|`v1`|1.5 (per 1000 file)|1 file\n|**microsoft**|`v3.2`|1.0 (per 1000 file)|1 file\n\n\n
\n\n", "summary": "Landmark Detection", "tags": ["Landmark Detection"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageanonymizationimagelandmark_detectionimageexplicit_contentimagedeepfake_detectionImageRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageanonymizationimagelandmark_detectionimageexplicit_contentimagedeepfake_detectionImageRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagelandmark_detectionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/logo_detection/": {"post": {"operationId": "image_image_logo_detection_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**google**|-|`v1`|1.5 (per 1000 file)|1 file\n|**microsoft**|-|`v3.2`|1.0 (per 1000 file)|1 file\n|**api4ai**|-|`v1.0.0`|0.25 (per 1000 file)|1 file\n|**api4ai**|**v1**|`v1.0.0`|0.25 (per 1000 file)|1 file\n|**api4ai**|**v2**|`v1.0.0`|2.5 (per 1000 file)|1 file\n|**clarifai**|-|`8.0.0`|2.0 (per 1000 file)|1 file\n|**openai**|-|`v1`|24.0 (per 1000 file)|1 file\n|**openai**|**gpt-4o**|`v1`|24.0 (per 1000 file)|1 file\n|**openai**|**gpt-4-turbo**|`v1`|48.0 (per 1000 file)|1 file\n\n\n
\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**api4ai**|`v1`|\n|**openai**|`gpt-4o`|\n\n
", "summary": "Logo Detection", "tags": ["Logo Detection"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagelogo_detectionLogoDetectionRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imagelogo_detectionLogoDetectionRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagelogo_detectionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/object_detection/": {"post": {"operationId": "image_image_object_detection_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|-|`boto3 (v1.15.18)`|1.0 (per 1000 file)|1 file\n|**api4ai**|-|`1.9.2`|0.5 (per 1000 file)|1 file\n|**clarifai**|-|`8.0.0`|2.0 (per 1000 file)|1 file\n|**clarifai**|**general-image-detection**|`8.0.0`|2.0 (per 1000 file)|1 file\n|**google**|-|`v1`|2.25 (per 1000 file)|1 file\n|**microsoft**|-|`v3.2`|1.0 (per 1000 file)|1 file\n|**sentisight**|-|`v3.3.1`|0.75 (per 1000 file)|1 file\n\n\n
\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**clarifai**|`general-image-detection`|\n\n
", "summary": "Object Detection", "tags": ["Object Detection"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageobject_detectionObjectDetectionRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageobject_detectionObjectDetectionRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageobject_detectionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/question_answer/": {"post": {"operationId": "image_image_question_answer_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**openai**|**gpt-4-turbo**|`v1`|30.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4o-2024-08-06**|`v1`|10.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4.1-2025-04-14**|`v1`|8.0 (per 1000000 token)|1 token\n|**openai**|**gpt-5**|`v1`|10.0 (per 1000000 token)|1 token\n|**openai**|**o1**|`v1`|60.0 (per 1000000 token)|1 token\n|**openai**|**o1-mini**|`v1`|12.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4o**|`v1`|10.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4o-mini**|`v1`|0.6 (per 1000000 token)|1 token\n|**google**|**gemini-1.5-pro**|`v1`|10.0 (per 1000000 token)|1 token\n|**google**|**gemini-2.5-flash**|`v1`|2.5 (per 1000000 token)|1 token\n|**google**|**gemini-2.5-pro**|`v1`|15.0 (per 1000000 token)|1 token\n|**google**|**gemini-2.0-flash**|`v1`|0.4 (per 1000000 token)|1 token\n|**google**|**gemini-1.5-flash**|`v1`|0.6 (per 1000000 token)|1 token\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**English**|`en`|\n|**French**|`fr`|\n|**German**|`de`|\n|**Italian**|`it`|\n|**Spanish**|`es`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n|**google**|`gemini-2.5-pro`|\n\n
", "summary": "Question Answer", "tags": ["Question Answer"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagequestion_answerQuestionAnswerRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imagequestion_answerQuestionAnswerRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagequestion_answerResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/search/delete_image/": {"post": {"operationId": "image_image_search_delete_image_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**sentisight**|`v3.3.1`|free|-\n|**nyckel**|`v1.0.0`|free|-\n\n\n
\n\n", "summary": "Search - Delete phase", "tags": ["Search"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagesearchdelete_imageDeleteImageRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imagesearchdelete_imageDeleteImageRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagesearchResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/search/get_image/": {"get": {"operationId": "image_image_search_get_image_retrieve", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**sentisight**|`v3.3.1`|free|-\n|**nyckel**|`v1.0.0`|free|-\n\n\n
\n\n", "summary": "Search - get image", "parameters": [{"in": "query", "name": "attributes_as_list", "schema": {"type": "boolean", "default": false}, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, {"in": "query", "name": "fallback_providers", "schema": {"type": "array", "items": {"type": "string"}, "default": [], "maxItems": 5}, "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n "}, {"in": "query", "name": "image_name", "schema": {"type": "string", "minLength": 1}, "required": true}, {"in": "query", "name": "providers", "schema": {"type": "array", "items": {"type": "string", "minLength": 1}}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)", "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, {"in": "query", "name": "settings", "schema": {"type": "string", "default": {}}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}], "tags": ["Search"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagesearchResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/search/get_images/": {"get": {"operationId": "image_image_search_get_images_retrieve", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**sentisight**|`v3.3.1`|free|-\n|**nyckel**|`v1.0.0`|free|-\n\n\n
\n\n", "summary": "Search - list all images", "parameters": [{"in": "query", "name": "attributes_as_list", "schema": {"type": "boolean", "default": false}, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, {"in": "query", "name": "fallback_providers", "schema": {"type": "array", "items": {"type": "string"}, "default": [], "maxItems": 5}, "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n "}, {"in": "query", "name": "providers", "schema": {"type": "array", "items": {"type": "string", "minLength": 1}}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)", "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, {"in": "query", "name": "settings", "schema": {"type": "string", "default": {}}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}], "tags": ["Search"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagesearchResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/search/launch_similarity/": {"post": {"operationId": "image_image_search_launch_similarity_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**sentisight**|`v3.3.1`|0.75 (per 1000 file)|1 file\n|**nyckel**|`v1.0.0`|1.0 (per 1000 file)|1 file\n\n\n
\n\n", "summary": "Search - launch similarity", "tags": ["Search"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagesearchlaunch_similaritySearchImageRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imagesearchlaunch_similaritySearchImageRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagesearchResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/search/upload_image/": {"post": {"operationId": "image_image_search_upload_image_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**sentisight**|`v3.3.1`|0.75 (per 1000 file)|1 file\n|**nyckel**|`v1.0.0`|0.5 (per 1000 file)|1 file\n\n\n
\n\n", "summary": "Search - Upload Phase", "tags": ["Search"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagesearchupload_imageUploadImageRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imagesearchupload_imageUploadImageRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagesearchResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/info/provider_subfeatures/": {"get": {"operationId": "info_info_provider_subfeatures_list", "description": "List Provider and features relations : You can get a list of *all providers* for a *feature* or *all features* for a *given provider*.\n\nYou can have the detailed information on the **pricing**, **supported languages** as well as the **models** for providers who propose different models (eg: voice models available for a text to speech provider).\n\nExample : If you want the detailed list of all providers that can analyse the sentiment of a text written in french, you'd need to set `feature__name=text`, `subfeature__name=sentiment_analysis` and `languages=fr`.\n\nWhich will look like the following :\n\n\n```bash\ncurl --request GET https://api.edenai.run/v2/info/provider_subfeatures?subfeature__name=sentiment_analysis&feature__name=text&languages=fr\n```", "summary": "List Providers Subfeatures", "parameters": [{"in": "query", "name": "feature__name", "schema": {"type": "string"}}, {"in": "query", "name": "gender", "schema": {"type": "string"}, "description": "Accepts two values: either 'male' or 'female'. Used to filter models voices for the text_to_speech subfeature"}, {"in": "query", "name": "is_working", "schema": {"type": "boolean"}}, {"in": "query", "name": "language", "schema": {"type": "string"}, "description": "languages [icontains]"}, {"in": "query", "name": "phase__name", "schema": {"type": "string"}}, {"in": "query", "name": "provider__name", "schema": {"type": "string"}}, {"in": "query", "name": "subfeature__name", "schema": {"type": "string"}}], "tags": ["Infos"], "responses": {"200": {"content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/ProviderSubfeature"}}}}, "description": ""}}}}, "/llm/chat/": {"post": {"operationId": "llm_llm_chat_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|**amazon.nova-lite-v1:0**|`llmengine (v2)`|0.24 (per 1000000 token)|1 token\n|**amazon**|**amazon.nova-micro-v1:0**|`llmengine (v2)`|0.14 (per 1000000 token)|1 token\n|**amazon**|**amazon.nova-pro-v1:0**|`llmengine (v2)`|3.2 (per 1000000 token)|1 token\n|**anthropic**|**claude-opus-4-6**|`v1`|5e-06 (per 1 token)|1 token\n|**anthropic**|**claude-sonnet-4-20250514**|`v1`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-opus-4-1-20250805**|`v1`|7.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-opus-4-5**|`v1`|2.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-7-sonnet-latest**|`v1`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-5-haiku-20241022**|`v1`|4e-06 (per 1 token)|1 token\n|**anthropic**|**claude-3-5-haiku-latest**|`v1`|5e-06 (per 1 token)|1 token\n|**anthropic**|**claude-haiku-4-5-20251001**|`v1`|5e-06 (per 1 token)|1 token\n|**anthropic**|**claude-haiku-4-5**|`v1`|5e-06 (per 1 token)|1 token\n|**anthropic**|**claude-3-7-sonnet-20250219**|`v1`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-haiku-20240307**|`v1`|1.25e-06 (per 1 token)|1 token\n|**anthropic**|**claude-4-opus-20250514**|`v1`|7.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-4-sonnet-20250514**|`v1`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-sonnet-4-5**|`v1`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-sonnet-4-5-20250929**|`v1`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-opus-4-1**|`v1`|7.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-opus-4-20250514**|`v1`|7.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-opus-4-5-20251101**|`v1`|2.5e-05 (per 1 token)|1 token\n|**cohere**|**command-r7b-12-2024**|`llmengine (v2)`|0.15 (per 1000000 token)|1 token\n|**cohere**|**command-r-08-2024**|`llmengine (v2)`|0.6 (per 1000000 token)|1 token\n|**deepseek**|**deepseek-chat**|`llmengine (v2)`|1.1e-06 (per 1 token)|1 token\n|**deepseek**|**deepseek-reasoner**|`llmengine (v2)`|2.19e-06 (per 1 token)|1 token\n|**deepseek**|**deepseek-coder**|`llmengine (v2)`|2.8e-07 (per 1 token)|1 token\n|**meta**|**meta.llama3-1-405b-instruct-v1:0**|`llmengine (v2)`|2.4 (per 1000000 token)|1 token\n|**meta**|**meta.llama3-1-70b-instruct-v1:0**|`llmengine (v2)`|0.72 (per 1000000 token)|1 token\n|**meta**|**meta.llama3-1-8b-instruct-v1:0**|`llmengine (v2)`|0.22 (per 1000000 token)|1 token\n|**mistral**|**magistral-medium-2506**|`llmengine (v2)`|5e-06 (per 1 token)|1 token\n|**mistral**|**magistral-small-2506**|`llmengine (v2)`|1.5e-06 (per 1 token)|1 token\n|**mistral**|**mistral-medium-latest**|`llmengine (v2)`|2e-06 (per 1 token)|1 token\n|**mistral**|**pixtral-large-latest**|`llmengine (v2)`|6e-06 (per 1 token)|1 token\n|**mistral**|**mistral-small-latest**|`llmengine (v2)`|3e-07 (per 1 token)|1 token\n|**mistral**|**codestral-latest**|`llmengine (v2)`|3e-06 (per 1 token)|1 token\n|**mistral**|**mistral-large-latest**|`llmengine (v2)`|6e-06 (per 1 token)|1 token\n|**mistral**|**codestral-2405**|`llmengine (v2)`|3e-06 (per 1 token)|1 token\n|**mistral**|**codestral-2508**|`llmengine (v2)`|9e-07 (per 1 token)|1 token\n|**mistral**|**devstral-medium-2507**|`llmengine (v2)`|2e-06 (per 1 token)|1 token\n|**mistral**|**devstral-small-2505**|`llmengine (v2)`|3e-07 (per 1 token)|1 token\n|**mistral**|**devstral-small-2507**|`llmengine (v2)`|3e-07 (per 1 token)|1 token\n|**mistral**|**labs-devstral-small-2512**|`llmengine (v2)`|3e-07 (per 1 token)|1 token\n|**mistral**|**devstral-2512**|`llmengine (v2)`|2e-06 (per 1 token)|1 token\n|**mistral**|**magistral-medium-2509**|`llmengine (v2)`|5e-06 (per 1 token)|1 token\n|**mistral**|**magistral-medium-latest**|`llmengine (v2)`|5e-06 (per 1 token)|1 token\n|**mistral**|**magistral-small-latest**|`llmengine (v2)`|1.5e-06 (per 1 token)|1 token\n|**mistral**|**mistral-large-2402**|`llmengine (v2)`|1.2e-05 (per 1 token)|1 token\n|**mistral**|**mistral-large-2407**|`llmengine (v2)`|9e-06 (per 1 token)|1 token\n|**mistral**|**mistral-large-2411**|`llmengine (v2)`|6e-06 (per 1 token)|1 token\n|**mistral**|**mistral-medium**|`llmengine (v2)`|8.1e-06 (per 1 token)|1 token\n|**mistral**|**mistral-medium-2312**|`llmengine (v2)`|8.1e-06 (per 1 token)|1 token\n|**mistral**|**mistral-medium-2505**|`llmengine (v2)`|2e-06 (per 1 token)|1 token\n|**mistral**|**mistral-small**|`llmengine (v2)`|3e-07 (per 1 token)|1 token\n|**mistral**|**mistral-tiny**|`llmengine (v2)`|2.5e-07 (per 1 token)|1 token\n|**mistral**|**open-mistral-7b**|`llmengine (v2)`|2.5e-07 (per 1 token)|1 token\n|**mistral**|**open-mistral-nemo**|`llmengine (v2)`|3e-07 (per 1 token)|1 token\n|**mistral**|**open-mistral-nemo-2407**|`llmengine (v2)`|3e-07 (per 1 token)|1 token\n|**mistral**|**open-mixtral-8x22b**|`llmengine (v2)`|6e-06 (per 1 token)|1 token\n|**mistral**|**open-mixtral-8x7b**|`llmengine (v2)`|7e-07 (per 1 token)|1 token\n|**mistral**|**pixtral-12b-2409**|`llmengine (v2)`|1.5e-07 (per 1 token)|1 token\n|**mistral**|**pixtral-large-2411**|`llmengine (v2)`|6e-06 (per 1 token)|1 token\n|**openai**|**o4-mini**|`llmengine (v2)`|4.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini-2025-04-14**|`llmengine (v2)`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano-2025-04-14**|`llmengine (v2)`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-5.1**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-mini**|`llmengine (v2)`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-nano**|`llmengine (v2)`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-5-chat-latest**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-pro**|`llmengine (v2)`|100.0 (per 1000000 token)|1 token\n|**openai**|**o4-mini-2025-04-16**|`llmengine (v2)`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o3**|`llmengine (v2)`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4**|`llmengine (v2)`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-05-13**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo**|`llmengine (v2)`|3e-05 (per 1 token)|1 token\n|**openai**|**o1-2024-12-17**|`llmengine (v2)`|6e-05 (per 1 token)|1 token\n|**openai**|**o1**|`llmengine (v2)`|6e-05 (per 1 token)|1 token\n|**openai**|**o3-mini**|`llmengine (v2)`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o3-mini-2025-01-31**|`llmengine (v2)`|4.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-08-06**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-2024-07-18**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo**|`llmengine (v2)`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-5.2**|`llmengine (v2)`|1.4e-05 (per 1 token)|1 token\n|**openai**|**chatgpt-4o-latest**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0125**|`llmengine (v2)`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-1106**|`llmengine (v2)`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k**|`llmengine (v2)`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4-0125-preview**|`llmengine (v2)`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0314**|`llmengine (v2)`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0613**|`llmengine (v2)`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-preview**|`llmengine (v2)`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-2024-04-09**|`llmengine (v2)`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-preview**|`llmengine (v2)`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4.1**|`llmengine (v2)`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-2025-04-14**|`llmengine (v2)`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini**|`llmengine (v2)`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano**|`llmengine (v2)`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-11-20**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview-2025-03-11**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview-2025-03-11**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-2025-11-13**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-chat-latest**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-2025-12-11**|`llmengine (v2)`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-chat-latest**|`llmengine (v2)`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-2025-08-07**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-mini-2025-08-07**|`llmengine (v2)`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-nano-2025-08-07**|`llmengine (v2)`|4e-07 (per 1 token)|1 token\n|**openai**|**o3-2025-04-16**|`llmengine (v2)`|8e-06 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen2.5-72B-Instruct-Turbo**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo**|`llmengine (v2)`|1.8e-07 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo**|`llmengine (v2)`|8.8e-07 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen2.5-72B-Instruct-Turbo**|`llmengine (v2)`|1.2 (per 1000000 token)|1 token\n|**together_ai**|**meta-llama/Llama-3.3-70B-Instruct-Turbo**|`llmengine (v2)`|8.8e-07 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Llama-3.3-70B-Instruct-Turbo**|`llmengine (v2)`|8.8e-07 (per 1 token)|1 token\n|**together_ai**|**mistralai/Mixtral-8x7B-Instruct-v0.1**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**together_ai**|**openai/gpt-oss-120b**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen3-235B-A22B-Thinking-2507**|`llmengine (v2)`|3e-06 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen3-235B-A22B-fp8-tput**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8**|`llmengine (v2)`|2e-06 (per 1 token)|1 token\n|**together_ai**|**deepseek-ai/DeepSeek-R1**|`llmengine (v2)`|7e-06 (per 1 token)|1 token\n|**together_ai**|**deepseek-ai/DeepSeek-R1-0528-tput**|`llmengine (v2)`|2.19e-06 (per 1 token)|1 token\n|**together_ai**|**deepseek-ai/DeepSeek-V3**|`llmengine (v2)`|1.25e-06 (per 1 token)|1 token\n|**together_ai**|**deepseek-ai/DeepSeek-V3.1**|`llmengine (v2)`|1.7e-06 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8**|`llmengine (v2)`|8.5e-07 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Llama-4-Scout-17B-16E-Instruct**|`llmengine (v2)`|5.9e-07 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo**|`llmengine (v2)`|3.5e-06 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo**|`llmengine (v2)`|8.8e-07 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo**|`llmengine (v2)`|1.8e-07 (per 1 token)|1 token\n|**together_ai**|**mistralai/Mixtral-8x7B-Instruct-v0.1**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**together_ai**|**moonshotai/Kimi-K2-Instruct**|`llmengine (v2)`|3e-06 (per 1 token)|1 token\n|**together_ai**|**openai/gpt-oss-20b**|`llmengine (v2)`|2e-07 (per 1 token)|1 token\n|**together_ai**|**zai-org/GLM-4.5-Air-FP8**|`llmengine (v2)`|1.1e-06 (per 1 token)|1 token\n|**together_ai**|**zai-org/GLM-4.6**|`llmengine (v2)`|2.2e-06 (per 1 token)|1 token\n|**together_ai**|**moonshotai/Kimi-K2-Instruct-0905**|`llmengine (v2)`|3e-06 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen3-Next-80B-A3B-Instruct**|`llmengine (v2)`|1.5e-06 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen3-Next-80B-A3B-Thinking**|`llmengine (v2)`|1.5e-06 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen3-235B-A22B-Instruct-2507-tput**|`llmengine (v2)`|6e-06 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo**|`llmengine (v2)`|3.5e-06 (per 1 token)|1 token\n|**xai**|**grok-2-vision-1212**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-4-0709**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-0709**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-1212**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-latest**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-latest**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-3**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-beta**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-beta**|`llmengine (v2)`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-latest**|`llmengine (v2)`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-latest**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-mini**|`llmengine (v2)`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-beta**|`llmengine (v2)`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast**|`llmengine (v2)`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-beta**|`llmengine (v2)`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-latest**|`llmengine (v2)`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-latest**|`llmengine (v2)`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-fast-reasoning**|`llmengine (v2)`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-fast-non-reasoning**|`llmengine (v2)`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-latest**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast**|`llmengine (v2)`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning**|`llmengine (v2)`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning-latest**|`llmengine (v2)`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning**|`llmengine (v2)`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning-latest**|`llmengine (v2)`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-code-fast**|`llmengine (v2)`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1**|`llmengine (v2)`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1-0825**|`llmengine (v2)`|1.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash**|`llmengine (v2)`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-3-pro-preview**|`llmengine (v2)`|1.2e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-image-preview**|`llmengine (v2)`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-3.1-pro-preview**|`llmengine (v2)`|1.2e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite**|`llmengine (v2)`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-3-pro-image-preview**|`llmengine (v2)`|12.0 (per 1000000 token)|1 token\n|**google**|**gemini-3-flash-preview**|`llmengine (v2)`|3e-06 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-lite**|`llmengine (v2)`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash**|`llmengine (v2)`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-001**|`llmengine (v2)`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite-preview-09-2025**|`llmengine (v2)`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-09-2025**|`llmengine (v2)`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-flash-latest**|`llmengine (v2)`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-flash-lite-latest**|`llmengine (v2)`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**google**|**gemma-3-27b-it**|`llmengine (v2)`|0.0 (per 1 token)|1 token\n|**groq**|**llama-3.1-8b-instant**|`v1`|8e-08 (per 1 token)|1 token\n|**groq**|**openai/gpt-oss-120b**|`v1`|7.5e-07 (per 1 token)|1 token\n|**groq**|**llama-3.3-70b-versatile**|`v1`|7.9e-07 (per 1 token)|1 token\n|**groq**|**llama-3.3-70b-versatile**|`v1`|7.9e-07 (per 1 token)|1 token\n|**groq**|**llama-3.1-8b-instant**|`v1`|8e-08 (per 1 token)|1 token\n|**groq**|**meta-llama/llama-guard-4-12b**|`v1`|2e-07 (per 1 token)|1 token\n|**groq**|**meta-llama/llama-4-maverick-17b-128e-instruct**|`v1`|6e-07 (per 1 token)|1 token\n|**groq**|**meta-llama/llama-4-scout-17b-16e-instruct**|`v1`|3.4e-07 (per 1 token)|1 token\n|**groq**|**moonshotai/kimi-k2-instruct-0905**|`v1`|3e-06 (per 1 token)|1 token\n|**groq**|**openai/gpt-oss-20b**|`v1`|5e-07 (per 1 token)|1 token\n|**groq**|**qwen/qwen3-32b**|`v1`|5.9e-07 (per 1 token)|1 token\n|**microsoft**|**gpt-4o**|`Azure AI Foundry`|5.0 (per 1000000 token)|1 token\n|**microsoft**|**o3-mini**|`Azure AI Foundry`|4.4 (per 1000000 token)|1 token\n|**microsoft**|**o1-mini**|`Azure AI Foundry`|12.0 (per 1000000 token)|1 token\n|**microsoft**|**gpt-4o-mini**|`Azure AI Foundry`|0.66 (per 1000000 token)|1 token\n|**microsoft**|**gpt-4**|`Azure AI Foundry`|60.0 (per 1000000 token)|1 token\n|**microsoft**|**gpt-35-turbo-16k**|`Azure AI Foundry`|4.0 (per 1000000 token)|1 token\n|**microsoft**|**gpt-35-turbo**|`Azure AI Foundry`|1.5 (per 1000000 token)|1 token\n|**minimax**|**minimax-m1**|`v1`|2.2 (per 1000000 token)|1 token\n|**minimax**|**minimax-text-01**|`v1`|1.1 (per 1000000 token)|1 token\n|**minimax**|**MiniMax-M2.1**|`v1`|1.2e-06 (per 1 token)|1 token\n|**minimax**|**MiniMax-M2.1-lightning**|`v1`|2.4e-06 (per 1 token)|1 token\n|**minimax**|**MiniMax-M2**|`v1`|1.2e-06 (per 1 token)|1 token\n|**bytedance**|**seed-1-6-250915**|`llmengine (v2)`|2.0 (per 1000000 token)|1 token\n|**dashscope**|**qwen3-max**|`v1`|2.5 (per 1000000 token)|1 token\n|**dashscope**|**qwen-max**|`v1`|6.4e-06 (per 1 token)|1 token\n|**dashscope**|**qwen-plus**|`v1`|1.2e-06 (per 1 token)|1 token\n|**dashscope**|**qwen-plus-2025-01-25**|`v1`|1.2e-06 (per 1 token)|1 token\n|**dashscope**|**qwen-plus-2025-04-28**|`v1`|1.2e-06 (per 1 token)|1 token\n|**dashscope**|**qwen-plus-2025-07-14**|`v1`|1.2e-06 (per 1 token)|1 token\n|**dashscope**|**qwen-turbo**|`v1`|2e-07 (per 1 token)|1 token\n|**dashscope**|**qwen-turbo-2024-11-01**|`v1`|2e-07 (per 1 token)|1 token\n|**dashscope**|**qwen-turbo-2025-04-28**|`v1`|2e-07 (per 1 token)|1 token\n|**dashscope**|**qwen-turbo-latest**|`v1`|2e-07 (per 1 token)|1 token\n|**perplexityai**|**sonar**|`llmengine (v2)`|1.0 (per 1000000 token)|1 token\n|**perplexityai**|**sonar**|`llmengine (v2)`|1e-06 (per 1 token)|1 token\n|**perplexityai**|**sonar-pro**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**perplexityai**|**sonar-deep-research**|`llmengine (v2)`|8e-06 (per 1 token)|1 token\n|**perplexityai**|**sonar-pro**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**perplexityai**|**sonar-reasoning-pro**|`llmengine (v2)`|8e-06 (per 1 token)|1 token\n|**deepinfra**|**Gryphe/MythoMax-L2-13b**|`v1`|9e-08 (per 1 token)|1 token\n|**deepinfra**|**NousResearch/Hermes-3-Llama-3.1-405B**|`v1`|1e-06 (per 1 token)|1 token\n|**deepinfra**|**NousResearch/Hermes-3-Llama-3.1-70B**|`v1`|3e-07 (per 1 token)|1 token\n|**deepinfra**|**Qwen/QwQ-32B**|`v1`|4e-07 (per 1 token)|1 token\n|**deepinfra**|**Qwen/Qwen2.5-72B-Instruct**|`v1`|3.9e-07 (per 1 token)|1 token\n|**deepinfra**|**Qwen/Qwen2.5-7B-Instruct**|`v1`|1e-07 (per 1 token)|1 token\n|**deepinfra**|**Qwen/Qwen2.5-VL-32B-Instruct**|`v1`|6e-07 (per 1 token)|1 token\n|**deepinfra**|**Qwen/Qwen3-14B**|`v1`|2.4e-07 (per 1 token)|1 token\n|**deepinfra**|**Qwen/Qwen3-235B-A22B**|`v1`|5.4e-07 (per 1 token)|1 token\n|**deepinfra**|**Qwen/Qwen3-235B-A22B-Instruct-2507**|`v1`|6e-07 (per 1 token)|1 token\n|**deepinfra**|**Qwen/Qwen3-235B-A22B-Thinking-2507**|`v1`|2.9e-06 (per 1 token)|1 token\n|**deepinfra**|**Qwen/Qwen3-30B-A3B**|`v1`|2.9e-07 (per 1 token)|1 token\n|**deepinfra**|**Qwen/Qwen3-32B**|`v1`|2.8e-07 (per 1 token)|1 token\n|**deepinfra**|**Qwen/Qwen3-Coder-480B-A35B-Instruct**|`v1`|1.6e-06 (per 1 token)|1 token\n|**deepinfra**|**Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo**|`v1`|1.2e-06 (per 1 token)|1 token\n|**deepinfra**|**Qwen/Qwen3-Next-80B-A3B-Instruct**|`v1`|1.4e-06 (per 1 token)|1 token\n|**deepinfra**|**Sao10K/L3-8B-Lunaris-v1-Turbo**|`v1`|5e-08 (per 1 token)|1 token\n|**deepinfra**|**Sao10K/L3.1-70B-Euryale-v2.2**|`v1`|7.5e-07 (per 1 token)|1 token\n|**deepinfra**|**Sao10K/L3.3-70B-Euryale-v2.3**|`v1`|7.5e-07 (per 1 token)|1 token\n|**deepinfra**|**anthropic/claude-3-7-sonnet-latest**|`v1`|1.65e-05 (per 1 token)|1 token\n|**deepinfra**|**anthropic/claude-4-opus**|`v1`|8.25e-05 (per 1 token)|1 token\n|**deepinfra**|**anthropic/claude-4-sonnet**|`v1`|1.65e-05 (per 1 token)|1 token\n|**deepinfra**|**deepseek-ai/DeepSeek-R1**|`v1`|2.4e-06 (per 1 token)|1 token\n|**deepinfra**|**nvidia/Llama-3.3-Nemotron-Super-49B-v1.5**|`v1`|4e-07 (per 1 token)|1 token\n|**deepinfra**|**deepseek-ai/DeepSeek-R1-0528**|`v1`|2.15e-06 (per 1 token)|1 token\n|**deepinfra**|**deepseek-ai/DeepSeek-R1-Distill-Llama-70B**|`v1`|6e-07 (per 1 token)|1 token\n|**deepinfra**|**deepseek-ai/DeepSeek-R1-Distill-Qwen-32B**|`v1`|2.7e-07 (per 1 token)|1 token\n|**deepinfra**|**deepseek-ai/DeepSeek-R1-Turbo**|`v1`|3e-06 (per 1 token)|1 token\n|**deepinfra**|**deepseek-ai/DeepSeek-V3**|`v1`|8.9e-07 (per 1 token)|1 token\n|**deepinfra**|**deepseek-ai/DeepSeek-V3-0324**|`v1`|8.8e-07 (per 1 token)|1 token\n|**deepinfra**|**deepseek-ai/DeepSeek-V3.1**|`v1`|1e-06 (per 1 token)|1 token\n|**deepinfra**|**deepseek-ai/DeepSeek-V3.1-Terminus**|`v1`|1e-06 (per 1 token)|1 token\n|**deepinfra**|**google/gemini-2.0-flash-001**|`v1`|4e-07 (per 1 token)|1 token\n|**deepinfra**|**google/gemini-2.5-flash**|`v1`|2.5e-06 (per 1 token)|1 token\n|**deepinfra**|**google/gemini-2.5-pro**|`v1`|1e-05 (per 1 token)|1 token\n|**deepinfra**|**google/gemma-3-12b-it**|`v1`|1e-07 (per 1 token)|1 token\n|**deepinfra**|**google/gemma-3-27b-it**|`v1`|1.6e-07 (per 1 token)|1 token\n|**deepinfra**|**google/gemma-3-4b-it**|`v1`|8e-08 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Llama-3.2-11B-Vision-Instruct**|`v1`|4.9e-08 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Llama-3.2-3B-Instruct**|`v1`|2e-08 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Llama-3.3-70B-Instruct**|`v1`|4e-07 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Llama-3.3-70B-Instruct-Turbo**|`v1`|3.9e-07 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8**|`v1`|6e-07 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Llama-4-Scout-17B-16E-Instruct**|`v1`|3e-07 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Llama-Guard-3-8B**|`v1`|5.5e-08 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Llama-Guard-4-12B**|`v1`|1.8e-07 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Meta-Llama-3-8B-Instruct**|`v1`|6e-08 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Meta-Llama-3.1-70B-Instruct**|`v1`|4e-07 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo**|`v1`|2.8e-07 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Meta-Llama-3.1-8B-Instruct**|`v1`|5e-08 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo**|`v1`|3e-08 (per 1 token)|1 token\n|**deepinfra**|**microsoft/WizardLM-2-8x22B**|`v1`|4.8e-07 (per 1 token)|1 token\n|**deepinfra**|**microsoft/phi-4**|`v1`|1.4e-07 (per 1 token)|1 token\n|**deepinfra**|**mistralai/Mistral-Nemo-Instruct-2407**|`v1`|4e-08 (per 1 token)|1 token\n|**deepinfra**|**mistralai/Mistral-Small-24B-Instruct-2501**|`v1`|8e-08 (per 1 token)|1 token\n|**deepinfra**|**mistralai/Mistral-Small-3.2-24B-Instruct-2506**|`v1`|2e-07 (per 1 token)|1 token\n|**deepinfra**|**mistralai/Mixtral-8x7B-Instruct-v0.1**|`v1`|4e-07 (per 1 token)|1 token\n|**deepinfra**|**moonshotai/Kimi-K2-Instruct**|`v1`|2e-06 (per 1 token)|1 token\n|**deepinfra**|**moonshotai/Kimi-K2-Instruct-0905**|`v1`|2e-06 (per 1 token)|1 token\n|**deepinfra**|**nvidia/Llama-3.1-Nemotron-70B-Instruct**|`v1`|6e-07 (per 1 token)|1 token\n|**deepinfra**|**nvidia/NVIDIA-Nemotron-Nano-9B-v2**|`v1`|1.6e-07 (per 1 token)|1 token\n|**deepinfra**|**openai/gpt-oss-120b**|`v1`|4.5e-07 (per 1 token)|1 token\n|**deepinfra**|**openai/gpt-oss-20b**|`v1`|1.5e-07 (per 1 token)|1 token\n|**deepinfra**|**zai-org/GLM-4.5**|`v1`|1.6e-06 (per 1 token)|1 token\n|**deepinfra**|**lizpreciatior/lzlv_70b_fp16_hf**|`v1`|9e-07 (per 1 token)|1 token\n|**deepinfra**|**Gryphe/MythoMax-L2-13b**|`v1`|2.2e-07 (per 1 token)|1 token\n|**deepinfra**|**mistralai/Mistral-7B-Instruct-v0.1**|`v1`|1.3e-07 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Llama-2-70b-chat-hf**|`v1`|9e-07 (per 1 token)|1 token\n|**deepinfra**|**cognitivecomputations/dolphin-2.6-mixtral-8x7b**|`v1`|2.7e-07 (per 1 token)|1 token\n|**deepinfra**|**Phind/Phind-CodeLlama-34B-v2**|`v1`|6e-07 (per 1 token)|1 token\n|**deepinfra**|**mistralai/Mixtral-8x7B-Instruct-v0.1**|`v1`|2.7e-07 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Llama-2-13b-chat-hf**|`v1`|2.2e-07 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Meta-Llama-3-8B-Instruct**|`v1`|8e-08 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Meta-Llama-3-70B-Instruct**|`v1`|7.9e-07 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Meta-Llama-3.1-405B-Instruct**|`v1`|9e-07 (per 1 token)|1 token\n|**deepinfra**|**openchat/openchat_3.5**|`v1`|1.3e-07 (per 1 token)|1 token\n|**deepinfra**|**deepseek-ai/DeepSeek-R1-0528-Turbo**|`v1`|3e-06 (per 1 token)|1 token\n|**cerebras**|**llama3.1-8b**|`llmengine (v2)`|1e-07 (per 1 token)|1 token\n|**cerebras**|**gpt-oss-120b**|`llmengine (v2)`|6.9e-07 (per 1 token)|1 token\n|**cloudflare**|**@cf/meta/llama-2-7b-chat-fp16**|`llmengine (v2)`|1.923e-06 (per 1 token)|1 token\n|**cloudflare**|**@cf/meta/llama-2-7b-chat-int8**|`llmengine (v2)`|1.923e-06 (per 1 token)|1 token\n|**cloudflare**|**@cf/mistral/mistral-7b-instruct-v0.1**|`llmengine (v2)`|1.923e-06 (per 1 token)|1 token\n|**cloudflare**|**@hf/thebloke/codellama-7b-instruct-awq**|`llmengine (v2)`|1.923e-06 (per 1 token)|1 token\n|**databricks**|**databricks-claude-3-7-sonnet**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**databricks**|**databricks-claude-haiku-4-5**|`llmengine (v2)`|5e-06 (per 1 token)|1 token\n|**databricks**|**databricks-claude-opus-4-1**|`llmengine (v2)`|7.5e-05 (per 1 token)|1 token\n|**databricks**|**databricks-claude-opus-4-5**|`llmengine (v2)`|2.5e-05 (per 1 token)|1 token\n|**databricks**|**databricks-claude-sonnet-4**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**databricks**|**databricks-claude-sonnet-4-5**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**databricks**|**databricks-gemini-2-5-flash**|`llmengine (v2)`|2.5e-06 (per 1 token)|1 token\n|**databricks**|**databricks-gemini-2-5-pro**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**databricks**|**databricks-gemma-3-12b**|`llmengine (v2)`|5e-07 (per 1 token)|1 token\n|**databricks**|**databricks-gpt-5**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**databricks**|**databricks-gpt-5-1**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**databricks**|**databricks-gpt-5-mini**|`llmengine (v2)`|2e-06 (per 1 token)|1 token\n|**databricks**|**databricks-gpt-5-nano**|`llmengine (v2)`|4e-07 (per 1 token)|1 token\n|**databricks**|**databricks-gpt-oss-120b**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**databricks**|**databricks-gpt-oss-20b**|`llmengine (v2)`|3e-07 (per 1 token)|1 token\n|**databricks**|**databricks-llama-4-maverick**|`llmengine (v2)`|1.5e-06 (per 1 token)|1 token\n|**databricks**|**databricks-meta-llama-3-1-405b-instruct**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**databricks**|**databricks-meta-llama-3-1-8b-instruct**|`llmengine (v2)`|4.5e-07 (per 1 token)|1 token\n|**databricks**|**databricks-meta-llama-3-3-70b-instruct**|`llmengine (v2)`|1.5e-06 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/qwen2p5-vl-32b-instruct**|`llmengine (v2)`|9e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/qwen3-235b-a22b**|`llmengine (v2)`|8.8e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/qwen3-235b-a22b-instruct-2507**|`llmengine (v2)`|8.8e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/qwen3-235b-a22b-thinking-2507**|`llmengine (v2)`|8.8e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/qwen3-8b**|`llmengine (v2)`|2e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/qwen3-vl-235b-a22b-instruct**|`llmengine (v2)`|8.8e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/qwen3-vl-235b-a22b-thinking**|`llmengine (v2)`|8.8e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/qwen3-vl-30b-a3b-instruct**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/qwen3-vl-30b-a3b-thinking**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/deepseek-r1-0528**|`llmengine (v2)`|8e-06 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/deepseek-v3-0324**|`llmengine (v2)`|9e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/deepseek-v3p1**|`llmengine (v2)`|1.68e-06 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/deepseek-v3p1-terminus**|`llmengine (v2)`|1.68e-06 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/deepseek-v3p2**|`llmengine (v2)`|1.68e-06 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/glm-4p6**|`llmengine (v2)`|2.19e-06 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/gpt-oss-120b**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/gpt-oss-20b**|`llmengine (v2)`|2e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/kimi-k2-instruct-0905**|`llmengine (v2)`|2.5e-06 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/kimi-k2-thinking**|`llmengine (v2)`|2.5e-06 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/qwen3-coder-480b-a35b-instruct**|`llmengine (v2)`|1.8e-06 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/llama-v3p3-70b-instruct**|`llmengine (v2)`|9e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/minimax-m2**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/mixtral-8x22b-instruct**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token\n|**ovhcloud**|**DeepSeek-R1-Distill-Llama-70B**|`llmengine (v2)`|6.7e-07 (per 1 token)|1 token\n|**ovhcloud**|**Llama-3.1-8B-Instruct**|`llmengine (v2)`|1e-07 (per 1 token)|1 token\n|**ovhcloud**|**Meta-Llama-3_3-70B-Instruct**|`llmengine (v2)`|6.7e-07 (per 1 token)|1 token\n|**ovhcloud**|**Mistral-7B-Instruct-v0.3**|`llmengine (v2)`|1e-07 (per 1 token)|1 token\n|**ovhcloud**|**Mistral-Nemo-Instruct-2407**|`llmengine (v2)`|1.3e-07 (per 1 token)|1 token\n|**ovhcloud**|**Mistral-Small-3.2-24B-Instruct-2506**|`llmengine (v2)`|2.8e-07 (per 1 token)|1 token\n|**ovhcloud**|**Mixtral-8x7B-Instruct-v0.1**|`llmengine (v2)`|6.3e-07 (per 1 token)|1 token\n|**ovhcloud**|**Qwen2.5-Coder-32B-Instruct**|`llmengine (v2)`|8.7e-07 (per 1 token)|1 token\n|**ovhcloud**|**Qwen2.5-VL-72B-Instruct**|`llmengine (v2)`|9.1e-07 (per 1 token)|1 token\n|**ovhcloud**|**Qwen3-32B**|`llmengine (v2)`|2.3e-07 (per 1 token)|1 token\n|**ovhcloud**|**gpt-oss-120b**|`llmengine (v2)`|4e-07 (per 1 token)|1 token\n|**ovhcloud**|**gpt-oss-20b**|`llmengine (v2)`|1.5e-07 (per 1 token)|1 token\n\n\n
\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**amazon**|`amazon.nova-pro-v1:0`|\n|**anthropic**|`claude-3-7-sonnet-latest`|\n|**cohere**|`command-r`|\n|**deepseek**|`deepseek-chat`|\n|**meta**|`meta.llama3-1-70b-instruct-v1:0`|\n|**mistral**|`mistral-large-latest`|\n|**openai**|`gpt-4o`|\n|**together_ai**|`Qwen/Qwen2.5-72B-Instruct-Turbo`|\n|**xai**|`grok-2-latest`|\n|**google**|`gemini-2.0-flash`|\n|**groq**|`llama-3.3-70b-versatile`|\n|**microsoft**|`gpt-4o`|\n|**minimax**|`MiniMax-M1`|\n|**bytedance**|`seed-1-6-250915`|\n|**dashscope**|`qwen3-max`|\n|**perplexityai**|`sonar`|\n|**deepinfra**|`nvidia/Llama-3.3-Nemotron-Super-49B-v1.5`|\n|**cerebras**|`gpt-oss-120b`|\n\n
", "summary": "Chat", "tags": ["Chat"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/llmchatllmchatChatRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/llmchatResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/multimodal/chat/": {"post": {"operationId": "multimodal_multimodal_chat_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**anthropic**|**claude-3-5-haiku-latest**|`bedrock-2023-05-31`|4.0 (per 1000000 token)|1 token\n|**anthropic**|-|`bedrock-2023-05-31`|15.0 (per 1000000 token)|1 token\n|**anthropic**|**claude-3-7-sonnet-20250219**|`bedrock-2023-05-31`|15.0 (per 1000000 token)|1 token\n|**google**|**gemini-1.5-flash**|`v1`|0.6 (per 1000000 token)|1 token\n|**google**|**gemini-1.5-pro**|`v1`|10.0 (per 1000000 token)|1 token\n|**google**|**gemini-1.5-flash-latest**|`v1`|0.6 (per 1000000 token)|1 token\n|**google**|-|`v1`|0.6 (per 1000000 token)|1 token\n|**google**|**gemini-2.0-flash-lite**|`v1`|0.3 (per 1000000 token)|1 token\n|**google**|**gemini-2.5-flash**|`v1`|2.5 (per 1000000 token)|1 token\n|**google**|**gemini-3-pro-preview**|`v1`|18.0 (per 1000000 token)|1 token\n|**google**|**gemini-2.0-flash**|`v1`|0.4 (per 1000000 token)|1 token\n|**google**|**gemini-2.5-pro**|`v1`|15.0 (per 1000000 token)|1 token\n|**google**|**gemini-2.5-pro-preview-03-25**|`v1`|15.0 (per 1000000 token)|1 token\n|**google**|**gemini-1.5-pro-latest**|`v1`|10.0 (per 1000000 token)|1 token\n|**google**|**gemini-2.0-flash-exp**|`v1`|10.0 (per 1000000 token)|1 token\n|**google**|**gemini-2.5-pro-exp-03-25**|`v1`|0.0 (per 1000000 token)|1 token\n|**openai**|**o1**|`v1Beta`|60.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4o**|`v1Beta`|10.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4-turbo**|`v1Beta`|30.0 (per 1000000 token)|1 token\n|**openai**|-|`v1Beta`|10.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4.1-2025-04-14**|`v1Beta`|8.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4.1-mini-2025-04-14**|`v1Beta`|1.6 (per 1000000 token)|1 token\n|**openai**|**gpt-4.1-nano-2025-04-14**|`v1Beta`|0.4 (per 1000000 token)|1 token\n|**openai**|**gpt-4o-mini**|`v1Beta`|0.6 (per 1000000 token)|1 token\n|**openai**|**gpt-5.2**|`v1Beta`|14.0 (per 1000000 token)|1 token\n|**openai**|**gpt-5**|`v1Beta`|10.0 (per 1000000 token)|1 token\n|**openai**|**gpt-5-mini**|`v1Beta`|2.0 (per 1000000 token)|1 token\n|**openai**|**gpt-5-nano**|`v1Beta`|0.4 (per 1000000 token)|1 token\n|**openai**|**gpt-5-chat-latest**|`v1Beta`|10.0 (per 1000000 token)|1 token\n|**openai**|**o1-mini**|`v1Beta`|12.0 (per 1000000 token)|1 token\n|**openai**|**o1-2024-12-17**|`v1Beta`|60.0 (per 1000000 token)|1 token\n|**xai**|-|`v1`|10.0 (per 1000000 token)|1 token\n|**xai**|**grok-2-vision**|`v1`|10.0 (per 1000000 token)|1 token\n|**xai**|**grok-2-vision-latest**|`v1`|10.0 (per 1000000 token)|1 token\n|**xai**|**grok-2-vision-1212**|`v1`|10.0 (per 1000000 token)|1 token\n|**amazon**|-|`boto3 (v1.29.6)`|3.2 (per 1000000 token)|1 token\n|**amazon**|**amazon.nova-pro-v1:0**|`boto3 (v1.29.6)`|3.2 (per 1000000 token)|1 token\n|**mistral**|-|`v0.0.1`|6.0 (per 1000000 token)|1 token\n|**mistral**|**pixtral-large-latest**|`v0.0.1`|6.0 (per 1000000 token)|1 token\n|**microsoft**|**gpt-4o**|`Azure AI Foundry`|15.0 (per 1000000 token)|1 token\n\n\n
\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**anthropic**|`claude-3-5-sonnet-latest`|\n|**google**|`gemini-2.0-flash`|\n|**openai**|`gpt-4o`|\n|**xai**|`grok-2-vision-latest`|\n|**amazon**|`amazon.nova-pro-v1:0`|\n|**mistral**|`pixtral-large-latest`|\n|**microsoft**|`gpt-4o`|\n\n
", "summary": "Chat", "tags": ["Chat"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/multimodalchatChatRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/multimodalchatResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/ocr/anonymization_async/": {"get": {"operationId": "ocr_ocr_anonymization_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Anonymization List Job", "tags": ["Anonymization Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "ocr_ocr_anonymization_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**readyredact**|`v1`|0.05 (per 1 file)|1 file\n|**base64**|`v1`|0.25 (per 1 page)|1 page\n|**privateai**|`v3`|0.01 (per 1 page)|1 page\n\n\n
\n\n", "summary": "Anonymization Launch Job", "tags": ["Anonymization Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AnonymizationAsyncRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AnonymizationAsyncRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "ocr_ocr_anonymization_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Anonymization delete Jobs", "tags": ["Anonymization Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/ocr/anonymization_async/{public_id}/": {"get": {"operationId": "ocr_ocr_anonymization_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Anonymization Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Anonymization Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncocranonymization_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/ocr/bank_check_parsing/": {"post": {"operationId": "ocr_ocr_bank_check_parsing_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**base64**|`latest`|0.25 (per 1 page)|1 page\n|**veryfi**|`v8`|0.16 (per 1 request)|1 request\n|**mindee**|`v1`|0.1 (per 1 page)|1 page\n|**extracta**|`v1`|0.1 (per 1 page)|1 page\n\n\n
\n\n", "summary": "Bank Check Parsing", "tags": ["Bank Check Parsing"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ocrbank_check_parsingBankCheckParsingRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/ocrbank_check_parsingBankCheckParsingRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ocrbank_check_parsingResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/ocr/custom_document_parsing_async/": {"get": {"operationId": "ocr_ocr_custom_document_parsing_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Custom Document Parsing List Job", "tags": ["Custom Document Parsing Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "ocr_ocr_custom_document_parsing_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3 1.26.8`|15.0 (per 1000 page)|1 page\n|**extracta**|`v1`|0.1 (per 1 page)|1 page\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**English**|`en`|\n|**French**|`fr`|\n|**German**|`de`|\n|**Italian**|`it`|\n|**Portuguese**|`pt`|\n|**Spanish**|`es`|\n\n
", "summary": "Custom Document Parsing Launch Job", "tags": ["Custom Document Parsing Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/CustomDocumentParsingAsyncRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/CustomDocumentParsingAsyncRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "ocr_ocr_custom_document_parsing_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Custom Document Parsing delete Jobs", "tags": ["Custom Document Parsing Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/ocr/custom_document_parsing_async/{public_id}/": {"get": {"operationId": "ocr_ocr_custom_document_parsing_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Custom Document Parsing Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Custom Document Parsing Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncocrcustom_document_parsing_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/ocr/data_extraction/": {"post": {"operationId": "ocr_ocr_data_extraction_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3 (v1.15.18)`|0.05 (per 1 page)|1 page\n|**base64**|`latest`|0.25 (per 1 page)|1 page\n\n\n
\n\n", "summary": "Data Extraction", "tags": ["Data Extraction"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ocrdata_extractionDataExtractionRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/ocrdata_extractionDataExtractionRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ocrdata_extractionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/ocr/financial_parser/": {"post": {"operationId": "ocr_ocr_financial_parser_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Document Type|Price|Billing unit|\n|----|----|-------|------|-----|------------|\n|**affinda**|-|`v3`|`invoice`|0.08 (per 1 page)|1 page\n|**affinda**|-|`v3`|`receipt`|0.07 (per 1 page)|1 page\n|**amazon**|-|`boto3 1.26.8`|-|0.01 (per 1 page)|1 page\n|**base64**|-|`latest`|-|0.25 (per 1 page)|1 page\n|**google**|-|`DocumentAI v1 beta3`|`invoice`|0.01 (per 1 page)|10 page\n|**google**|-|`DocumentAI v1 beta3`|`receipt`|0.01 (per 1 page)|10 page\n|**klippa**|-|`v1`|-|0.1 (per 1 file)|1 file\n|**microsoft**|-|`rest API 4.0 (2024-02-29-preview)`|-|0.01 (per 1 page)|1 page\n|**mindee**|-|`v1.2`|-|0.1 (per 1 page)|1 page\n|**tabscanner**|-|`latest`|-|0.08 (per 1 page)|1 page\n|**veryfi**|-|`v8`|`receipt`|0.08 (per 1 file)|1 file\n|**veryfi**|-|`v8`|`invoice`|0.16 (per 1 file)|1 file\n|**eagledoc**|-|`v1`|-|0.03 (per 1 page)|1 page\n|**extracta**|-|`v1`|-|0.1 (per 1 page)|1 page\n|**openai**|**gpt-4o**|`v1.0`|-|0.04 (per 1 page)|1 page\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Albanian**|`sq`|\n|**Amharic**|`am`|\n|**Arabic**|`ar`|\n|**Armenian**|`hy`|\n|**Azerbaijani**|`az`|\n|**Basque**|`eu`|\n|**Belarusian**|`be`|\n|**Bengali**|`bn`|\n|**Bosnian**|`bs`|\n|**Bulgarian**|`bg`|\n|**Burmese**|`my`|\n|**Catalan**|`ca`|\n|**Cebuano**|`ceb`|\n|**Chinese**|`zh`|\n|**Corsican**|`co`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Esperanto**|`eo`|\n|**Estonian**|`et`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**Galician**|`gl`|\n|**Georgian**|`ka`|\n|**German**|`de`|\n|**Gujarati**|`gu`|\n|**Haitian**|`ht`|\n|**Hausa**|`ha`|\n|**Hawaiian**|`haw`|\n|**Hebrew**|`he`|\n|**Hindi**|`hi`|\n|**Hmong**|`hmn`|\n|**Hungarian**|`hu`|\n|**Icelandic**|`is`|\n|**Igbo**|`ig`|\n|**Indonesian**|`id`|\n|**Irish**|`ga`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Javanese**|`jv`|\n|**Kannada**|`kn`|\n|**Kazakh**|`kk`|\n|**Khmer**|`km`|\n|**Kinyarwanda**|`rw`|\n|**Kirghiz**|`ky`|\n|**Korean**|`ko`|\n|**Kurdish**|`ku`|\n|**Lao**|`lo`|\n|**Latin**|`la`|\n|**Latvian**|`lv`|\n|**Lithuanian**|`lt`|\n|**Luxembourgish**|`lb`|\n|**Macedonian**|`mk`|\n|**Malagasy**|`mg`|\n|**Malay (macrolanguage)**|`ms`|\n|**Malayalam**|`ml`|\n|**Maltese**|`mt`|\n|**Maori**|`mi`|\n|**Marathi**|`mr`|\n|**Modern Greek (1453-)**|`el`|\n|**Mongolian**|`mn`|\n|**Nepali (macrolanguage)**|`ne`|\n|**Norwegian**|`no`|\n|**Nyanja**|`ny`|\n|**Oriya (macrolanguage)**|`or`|\n|**Panjabi**|`pa`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Pushto**|`ps`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Samoan**|`sm`|\n|**Scottish Gaelic**|`gd`|\n|**Serbian**|`sr`|\n|**Shona**|`sn`|\n|**Sindhi**|`sd`|\n|**Sinhala**|`si`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Somali**|`so`|\n|**Southern Sotho**|`st`|\n|**Spanish**|`es`|\n|**Sundanese**|`su`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tagalog**|`tl`|\n|**Tajik**|`tg`|\n|**Tamil**|`ta`|\n|**Tatar**|`tt`|\n|**Telugu**|`te`|\n|**Thai**|`th`|\n|**Turkish**|`tr`|\n|**Turkmen**|`tk`|\n|**Uighur**|`ug`|\n|**Ukrainian**|`uk`|\n|**Urdu**|`ur`|\n|**Uzbek**|`uz`|\n|**Vietnamese**|`vi`|\n|**Welsh**|`cy`|\n|**Western Frisian**|`fy`|\n|**Xhosa**|`xh`|\n|**Yiddish**|`yi`|\n|**Yoruba**|`yo`|\n|**Zulu**|`zu`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Catalan (Spain)**|`ca-ES`|\n|**Chinese (China)**|`zh-CN`|\n|**Chinese (China)**|`zh-cn`|\n|**Chinese (Taiwan)**|`zh-TW`|\n|**Chinese (Taiwan)**|`zh-tw`|\n|**Danish (Denmark)**|`da-DK`|\n|**Dutch (Netherlands)**|`nl-NL`|\n|**English (United Kingdom)**|`en-GB`|\n|**English (United States)**|`en-US`|\n|**French (Canada)**|`fr-CA`|\n|**French (France)**|`fr-FR`|\n|**French (Switzerland)**|`fr-CH`|\n|**German (Germany)**|`de-DE`|\n|**German (Switzerland)**|`de-CH`|\n|**Italian (Italy)**|`it-IT`|\n|**Italian (Switzerland)**|`it-CH`|\n|**Portuguese (Portugal)**|`pt-PT`|\n|**Spanish (Spain)**|`es-ES`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n\n
", "summary": "Financial Parser", "tags": ["Financial Parser"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ocrfinancial_parserResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/ocr/identity_parser/": {"post": {"operationId": "ocr_ocr_identity_parser_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|-|`boto3 (v1.15.18)`|0.025 (per 1 page)|1 page\n|**base64**|-|`latest`|0.2 (per 1 page)|1 page\n|**microsoft**|-|`rest API 4.0 (2024-02-29-preview)`|0.01 (per 1 page)|1 page\n|**mindee**|-|`v2`|0.1 (per 1 page)|1 page\n|**klippa**|-|`v1`|0.1 (per 1 file)|1 file\n|**affinda**|-|`v3`|0.07 (per 1 file)|1 file\n|**openai**|**gpt-4o**|`v1`|0.02 (per 1 page)|1 page\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Albanian**|`sq`|\n|**Arabic**|`ar`|\n|**Bengali**|`bn`|\n|**Bulgarian**|`bg`|\n|**Chinese**|`zh`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Estonian**|`et`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**German**|`de`|\n|**Gujarati**|`gu`|\n|**Hebrew**|`he`|\n|**Hindi**|`hi`|\n|**Hungarian**|`hu`|\n|**Indonesian**|`id`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Kannada**|`kn`|\n|**Korean**|`ko`|\n|**Latvian**|`lv`|\n|**Lithuanian**|`lt`|\n|**Macedonian**|`mk`|\n|**Malayalam**|`ml`|\n|**Marathi**|`mr`|\n|**Modern Greek (1453-)**|`el`|\n|**Nepali (macrolanguage)**|`ne`|\n|**Norwegian**|`no`|\n|**Panjabi**|`pa`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Somali**|`so`|\n|**Spanish**|`es`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tagalog**|`tl`|\n|**Tamil**|`ta`|\n|**Telugu**|`te`|\n|**Thai**|`th`|\n|**Turkish**|`tr`|\n|**Ukrainian**|`uk`|\n|**Urdu**|`ur`|\n|**Vietnamese**|`vi`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Chinese (China)**|`zh-cn`|\n|**Chinese (Taiwan)**|`zh-tw`|\n|**English (United States)**|`en-US`|\n|**French (France)**|`fr-FR`|\n|**German (Germany)**|`de-DE`|\n|**Italian (Italy)**|`it-IT`|\n|**Portuguese (Portugal)**|`pt-PT`|\n|**Spanish (Spain)**|`es-ES`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n\n
", "summary": "Identity Parser", "tags": ["Identity Parser"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ocridentity_parserIdentityParserRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/ocridentity_parserIdentityParserRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ocridentity_parserResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/ocr/ocr/": {"post": {"operationId": "ocr_ocr_ocr_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3 (v1.15.18)`|1.5 (per 1000 page)|1 page\n|**google**|`v1`|1.5 (per 1000 page)|1 page\n|**microsoft**|`v3.2`|1.0 (per 1000 page)|1 page\n|**sentisight**|`v3.3.1`|0.75 (per 1000 file)|1 file\n|**api4ai**|`v1.0.0`|3.0 (per 1000 request)|1 request\n|**mistral**|`v1`|1.0 (per 1000 page)|1 page\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Abaza**|`abq`|\n|**Adyghe**|`ady`|\n|**Afrikaans**|`af`|\n|**Albanian**|`sq`|\n|**Angika**|`anp`|\n|**Arabic**|`ar`|\n|**Assamese**|`as`|\n|**Asturian**|`ast`|\n|**Avaric**|`av`|\n|**Awadhi**|`awa`|\n|**Azerbaijani**|`az`|\n|**Bagheli**|`bfy`|\n|**Basque**|`eu`|\n|**Belarusian**|`be`|\n|**Bengali**|`bn`|\n|**Bhojpuri**|`bho`|\n|**Bihari languages**|`bh`|\n|**Bislama**|`bi`|\n|**Bodo (India)**|`brx`|\n|**Bosnian**|`bs`|\n|**Braj**|`bra`|\n|**Breton**|`br`|\n|**Bulgarian**|`bg`|\n|**Bundeli**|`bns`|\n|**Buriat**|`bua`|\n|**Camling**|`rab`|\n|**Catalan**|`ca`|\n|**Cebuano**|`ceb`|\n|**Chamorro**|`ch`|\n|**Chechen**|`ce`|\n|**Chhattisgarhi**|`hne`|\n|**Chinese**|`zh`|\n|**Cornish**|`kw`|\n|**Corsican**|`co`|\n|**Crimean Tatar**|`crh`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dargwa**|`dar`|\n|**Dari**|`prs`|\n|**Dhimal**|`dhi`|\n|**Dogri (macrolanguage)**|`doi`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Erzya**|`myv`|\n|**Estonian**|`et`|\n|**Faroese**|`fo`|\n|**Fijian**|`fj`|\n|**Filipino**|`fil`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**Friulian**|`fur`|\n|**Gagauz**|`gag`|\n|**Galician**|`gl`|\n|**German**|`de`|\n|**Gilbertese**|`gil`|\n|**Goan Konkani**|`gom`|\n|**Gondi**|`gon`|\n|**Gurung**|`gvr`|\n|**Haitian**|`ht`|\n|**Halbi**|`hlb`|\n|**Hani**|`hni`|\n|**Haryanvi**|`bgc`|\n|**Hawaiian**|`haw`|\n|**Hindi**|`hi`|\n|**Hmong Daw**|`mww`|\n|**Ho**|`hoc`|\n|**Hungarian**|`hu`|\n|**Icelandic**|`is`|\n|**Inari Sami**|`smn`|\n|**Indonesian**|`id`|\n|**Ingush**|`inh`|\n|**Interlingua (International Auxiliary Language Association)**|`ia`|\n|**Inuktitut**|`iu`|\n|**Irish**|`ga`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Jaunsari**|`jns`|\n|**Javanese**|`jv`|\n|**K'iche'**|`quc`|\n|**Kabardian**|`kbd`|\n|**Kabuverdianu**|`kea`|\n|**Kachin**|`kac`|\n|**Kalaallisut**|`kl`|\n|**Kangri**|`xnr`|\n|**Kara-Kalpak**|`kaa`|\n|**Karachay-Balkar**|`krc`|\n|**Kashubian**|`csb`|\n|**Kazakh**|`kk`|\n|**Khaling**|`klr`|\n|**Khasi**|`kha`|\n|**Kirghiz**|`ky`|\n|**Korean**|`ko`|\n|**Korku**|`kfq`|\n|**Koryak**|`kpy`|\n|**Kosraean**|`kos`|\n|**Kumarbhag Paharia**|`kmj`|\n|**Kumyk**|`kum`|\n|**Kurdish**|`ku`|\n|**Kurukh**|`kru`|\n|**K\u00f6lsch**|`ksh`|\n|**Lak**|`lbe`|\n|**Lakota**|`lkt`|\n|**Latin**|`la`|\n|**Latvian**|`lv`|\n|**Lezghian**|`lez`|\n|**Lithuanian**|`lt`|\n|**Lower Sorbian**|`dsb`|\n|**Lule Sami**|`smj`|\n|**Luxembourgish**|`lb`|\n|**Mahasu Pahari**|`bfz`|\n|**Maithili**|`mai`|\n|**Malay (macrolanguage)**|`ms`|\n|**Maltese**|`mt`|\n|**Manx**|`gv`|\n|**Maori**|`mi`|\n|**Marathi**|`mr`|\n|**Marshallese**|`mh`|\n|**Mongolian**|`mn`|\n|**Montenegrin**|`cnr`|\n|**Neapolitan**|`nap`|\n|**Nepali (macrolanguage)**|`ne`|\n|**Newari**|`new`|\n|**Niuean**|`niu`|\n|**Nogai**|`nog`|\n|**Northern Sami**|`se`|\n|**Norwegian**|`no`|\n|**Occitan (post 1500)**|`oc`|\n|**Old English (ca. 450-1100)**|`ang`|\n|**Ossetian**|`os`|\n|**Pali**|`pi`|\n|**Panjabi**|`pa`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Pushto**|`ps`|\n|**Romanian**|`ro`|\n|**Romansh**|`rm`|\n|**Russian**|`ru`|\n|**Sadri**|`sck`|\n|**Samoan**|`sm`|\n|**Sanskrit**|`sa`|\n|**Santali**|`sat`|\n|**Scots**|`sco`|\n|**Scottish Gaelic**|`gd`|\n|**Serbian**|`sr`|\n|**Sherpa**|`xsr`|\n|**Sirmauri**|`srx`|\n|**Skolt Sami**|`sms`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Somali**|`so`|\n|**Southern Sami**|`sma`|\n|**Spanish**|`es`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tabassaran**|`tab`|\n|**Tagalog**|`tl`|\n|**Tajik**|`tg`|\n|**Tatar**|`tt`|\n|**Tetum**|`tet`|\n|**Thangmi**|`thf`|\n|**Tonga (Tonga Islands)**|`to`|\n|**Turkish**|`tr`|\n|**Turkmen**|`tk`|\n|**Tuvinian**|`tyv`|\n|**Uighur**|`ug`|\n|**Ukrainian**|`uk`|\n|**Upper Sorbian**|`hsb`|\n|**Urdu**|`ur`|\n|**Uzbek**|`uz`|\n|**Vietnamese**|`vi`|\n|**Volap\u00fck**|`vo`|\n|**Walser**|`wae`|\n|**Welsh**|`cy`|\n|**Western Frisian**|`fy`|\n|**Yucateco**|`yua`|\n|**Zhuang**|`za`|\n|**Zulu**|`zu`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Arabic (Pseudo-Accents)**|`ar-XA`|\n|**Belarusian**|`be-cyrl`|\n|**Belarusian (Latin)**|`be-latn`|\n|**Chinese (China)**|`zh-CN`|\n|**Chinese (Simplified)**|`zh-Hans`|\n|**Chinese (Taiwan)**|`zh-TW`|\n|**Chinese (Traditional)**|`zh-Hant`|\n|**Danish (Denmark)**|`da-DK`|\n|**Dutch (Netherlands)**|`nl-NL`|\n|**English (United States)**|`en-US`|\n|**Finnish (Finland)**|`fi-FI`|\n|**French (France)**|`fr-FR`|\n|**German (Germany)**|`de-DE`|\n|**Hungarian (Hungary)**|`hu-HU`|\n|**Italian (Italy)**|`it-IT`|\n|**Japanese (Japan)**|`ja-JP`|\n|**Kara-Kalpak (Cyrillic)**|`kaa-Cyrl`|\n|**Kazakh**|`kk-cyrl`|\n|**Kazakh (Latin)**|`kk-latn`|\n|**Korean (South Korea)**|`ko-KR`|\n|**Kurdish (Arabic)**|`ku-arab`|\n|**Kurdish (Latin)**|`ku-latn`|\n|**Polish**|`pl-PO`|\n|**Portuguese (Portugal)**|`pt-PT`|\n|**Region: Czechia**|`cz-CZ`|\n|**Region: Greece**|`gr-GR`|\n|**Russian (Russia)**|`ru-RU`|\n|**Serbian (Cyrillic, Montenegro)**|`sr-Cyrl-ME`|\n|**Serbian (Latin)**|`sr-latn`|\n|**Serbian (Latin, Montenegro)**|`sr-Latn-ME`|\n|**Spanish (Spain)**|`es-ES`|\n|**Swedish (Sweden)**|`sv-SE`|\n|**Turkish (T\u00fcrkiye)**|`tr-TR`|\n|**Uzbek (Arabic)**|`uz-arab`|\n|**Uzbek (Cyrillic)**|`uz-cyrl`|\n\n
", "summary": "OCR", "tags": ["Ocr"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ocrocrOcrRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/ocrocrOcrRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ocrocrResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/ocr/ocr_async/": {"get": {"operationId": "ocr_ocr_ocr_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Ocr Async List Job", "tags": ["Ocr Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "ocr_ocr_ocr_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3 (v1.15.18)`|1.5 (per 1000 page)|1 page\n|**microsoft**|`rest API 4.0 (2024-02-29-preview)`|10.0 (per 1000 page)|1 page\n|**mistral**|`v1`|1.0 (per 1000 page)|1 page\n\n\n
\n\n", "summary": "Ocr Async Launch Job", "tags": ["Ocr Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AsyncOcrRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AsyncOcrRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "ocr_ocr_ocr_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Ocr Async delete Jobs", "tags": ["Ocr Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/ocr/ocr_async/{public_id}/": {"get": {"operationId": "ocr_ocr_ocr_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Ocr Async Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Ocr Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncocrocr_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/ocr/ocr_tables_async/": {"get": {"operationId": "ocr_ocr_ocr_tables_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "OCR Tables List Job", "tags": ["Ocr Tables Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "ocr_ocr_ocr_tables_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3 (v1.15.18)`|15.0 (per 1000 page)|1 page\n|**google**|`DocumentAI v1 beta3`|65.0 (per 1000 page)|1 page\n|**microsoft**|`rest API 4.0 (2024-02-29-preview)`|10.0 (per 1000 page)|1 page\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Albanian**|`sq`|\n|**Angika**|`anp`|\n|**Arabic**|`ar`|\n|**Asturian**|`ast`|\n|**Awadhi**|`awa`|\n|**Azerbaijani**|`az`|\n|**Bagheli**|`bfy`|\n|**Basque**|`eu`|\n|**Belarusian**|`be`|\n|**Bhojpuri**|`bho`|\n|**Bislama**|`bi`|\n|**Bodo (India)**|`brx`|\n|**Bosnian**|`bs`|\n|**Braj**|`bra`|\n|**Breton**|`br`|\n|**Bulgarian**|`bg`|\n|**Bundeli**|`bns`|\n|**Buriat**|`bua`|\n|**Camling**|`rab`|\n|**Catalan**|`ca`|\n|**Cebuano**|`ceb`|\n|**Chamorro**|`ch`|\n|**Chhattisgarhi**|`hne`|\n|**Chinese**|`zh`|\n|**Cornish**|`kw`|\n|**Corsican**|`co`|\n|**Crimean Tatar**|`crh`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dari**|`prs`|\n|**Dhimal**|`dhi`|\n|**Dogri (macrolanguage)**|`doi`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Erzya**|`myv`|\n|**Estonian**|`et`|\n|**Faroese**|`fo`|\n|**Fijian**|`fj`|\n|**Filipino**|`fil`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**Friulian**|`fur`|\n|**Gagauz**|`gag`|\n|**Galician**|`gl`|\n|**German**|`de`|\n|**Gilbertese**|`gil`|\n|**Gondi**|`gon`|\n|**Gurung**|`gvr`|\n|**Haitian**|`ht`|\n|**Halbi**|`hlb`|\n|**Hani**|`hni`|\n|**Haryanvi**|`bgc`|\n|**Hawaiian**|`haw`|\n|**Hindi**|`hi`|\n|**Hmong Daw**|`mww`|\n|**Ho**|`hoc`|\n|**Hungarian**|`hu`|\n|**Icelandic**|`is`|\n|**Inari Sami**|`smn`|\n|**Indonesian**|`id`|\n|**Interlingua (International Auxiliary Language Association)**|`ia`|\n|**Inuktitut**|`iu`|\n|**Irish**|`ga`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Jaunsari**|`jns`|\n|**Javanese**|`jv`|\n|**K'iche'**|`quc`|\n|**Kabuverdianu**|`kea`|\n|**Kachin**|`kac`|\n|**Kalaallisut**|`kl`|\n|**Kangri**|`xnr`|\n|**Kara-Kalpak**|`kaa`|\n|**Karachay-Balkar**|`krc`|\n|**Kashubian**|`csb`|\n|**Kazakh**|`kk`|\n|**Khaling**|`klr`|\n|**Khasi**|`kha`|\n|**Kirghiz**|`ky`|\n|**Korean**|`ko`|\n|**Korku**|`kfq`|\n|**Koryak**|`kpy`|\n|**Kosraean**|`kos`|\n|**Kumarbhag Paharia**|`kmj`|\n|**Kumyk**|`kum`|\n|**Kurdish**|`ku`|\n|**Kurukh**|`kru`|\n|**K\u00f6lsch**|`ksh`|\n|**Lakota**|`lkt`|\n|**Latin**|`la`|\n|**Latvian**|`lv`|\n|**Lithuanian**|`lt`|\n|**Lower Sorbian**|`dsb`|\n|**Lule Sami**|`smj`|\n|**Luxembourgish**|`lb`|\n|**Mahasu Pahari**|`bfz`|\n|**Malay (macrolanguage)**|`ms`|\n|**Maltese**|`mt`|\n|**Manx**|`gv`|\n|**Maori**|`mi`|\n|**Marathi**|`mr`|\n|**Mongolian**|`mn`|\n|**Montenegrin**|`cnr`|\n|**Neapolitan**|`nap`|\n|**Nepali (macrolanguage)**|`ne`|\n|**Niuean**|`niu`|\n|**Nogai**|`nog`|\n|**Northern Sami**|`se`|\n|**Norwegian**|`no`|\n|**Occitan (post 1500)**|`oc`|\n|**Ossetian**|`os`|\n|**Panjabi**|`pa`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Pushto**|`ps`|\n|**Romanian**|`ro`|\n|**Romansh**|`rm`|\n|**Russian**|`ru`|\n|**Sadri**|`sck`|\n|**Samoan**|`sm`|\n|**Sanskrit**|`sa`|\n|**Santali**|`sat`|\n|**Scots**|`sco`|\n|**Scottish Gaelic**|`gd`|\n|**Serbian**|`sr`|\n|**Sherpa**|`xsr`|\n|**Sirmauri**|`srx`|\n|**Skolt Sami**|`sms`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Somali**|`so`|\n|**Southern Sami**|`sma`|\n|**Spanish**|`es`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tagalog**|`tl`|\n|**Tajik**|`tg`|\n|**Tatar**|`tt`|\n|**Tetum**|`tet`|\n|**Thangmi**|`thf`|\n|**Tonga (Tonga Islands)**|`to`|\n|**Turkish**|`tr`|\n|**Turkmen**|`tk`|\n|**Tuvinian**|`tyv`|\n|**Uighur**|`ug`|\n|**Upper Sorbian**|`hsb`|\n|**Urdu**|`ur`|\n|**Uzbek**|`uz`|\n|**Vietnamese**|`vi`|\n|**Volap\u00fck**|`vo`|\n|**Walser**|`wae`|\n|**Welsh**|`cy`|\n|**Western Frisian**|`fy`|\n|**Yucateco**|`yua`|\n|**Zhuang**|`za`|\n|**Zulu**|`zu`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Belarusian**|`be-Cyrl`|\n|**Belarusian (Latin)**|`be-Latn`|\n|**Chinese (Simplified)**|`zh-Hans`|\n|**Chinese (Traditional)**|`zh-Hant`|\n|**Kara-Kalpak (Cyrillic)**|`kaa-Cyrl`|\n|**Kazakh**|`kk-Cyrl`|\n|**Kazakh (Latin)**|`kk-Latn`|\n|**Kurdish (Arabic)**|`ku-Arab`|\n|**Kurdish (Latin)**|`ku-Latn`|\n|**Serbian (Cyrillic)**|`sr-Cyrl`|\n|**Serbian (Cyrillic, Montenegro)**|`sr-Cyrl-ME`|\n|**Serbian (Latin)**|`sr-Latn`|\n|**Serbian (Latin, Montenegro)**|`sr-Latn-ME`|\n|**Uzbek (Arabic)**|`uz-Arab`|\n|**Uzbek (Cyrillic)**|`uz-cyrl`|\n\n
", "summary": "OCR Tables Launch Job", "tags": ["Ocr Tables Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/OcrTablesAsyncRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/OcrTablesAsyncRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "ocr_ocr_ocr_tables_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "OCR Tables delete Jobs", "tags": ["Ocr Tables Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/ocr/ocr_tables_async/{public_id}/": {"get": {"operationId": "ocr_ocr_ocr_tables_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "OCR Tables Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Ocr Tables Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncocrocr_tables_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/ocr/resume_parser/": {"post": {"operationId": "ocr_ocr_resume_parser_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**affinda**|-|`v3`|0.07 (per 1 file)|1 file\n|**klippa**|-|`v1`|0.1 (per 1 file)|1 file\n|**senseloaf**|-|`v3`|0.045 (per 1 file)|1 file\n|**extracta**|-|`v1`|0.1 (per 1 page)|1 page\n|**openai**|-|`v1.0`|0.04 (per 1 page)|1 page\n|**openai**|**gpt-4o**|`v1.0`|0.04 (per 1 page)|1 page\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Albanian**|`sq`|\n|**Amharic**|`am`|\n|**Arabic**|`ar`|\n|**Armenian**|`hy`|\n|**Azerbaijani**|`az`|\n|**Basque**|`eu`|\n|**Belarusian**|`be`|\n|**Bengali**|`bn`|\n|**Bosnian**|`bs`|\n|**Bulgarian**|`bg`|\n|**Burmese**|`my`|\n|**Catalan**|`ca`|\n|**Cebuano**|`ceb`|\n|**Chinese**|`zh`|\n|**Corsican**|`co`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Esperanto**|`eo`|\n|**Estonian**|`et`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**Galician**|`gl`|\n|**Georgian**|`ka`|\n|**German**|`de`|\n|**Gujarati**|`gu`|\n|**Haitian**|`ht`|\n|**Hausa**|`ha`|\n|**Hawaiian**|`haw`|\n|**Hebrew**|`he`|\n|**Hindi**|`hi`|\n|**Hmong**|`hmn`|\n|**Hungarian**|`hu`|\n|**Icelandic**|`is`|\n|**Igbo**|`ig`|\n|**Indonesian**|`id`|\n|**Irish**|`ga`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Javanese**|`jv`|\n|**Kannada**|`kn`|\n|**Kazakh**|`kk`|\n|**Khmer**|`km`|\n|**Kinyarwanda**|`rw`|\n|**Kirghiz**|`ky`|\n|**Korean**|`ko`|\n|**Kurdish**|`ku`|\n|**Lao**|`lo`|\n|**Latin**|`la`|\n|**Latvian**|`lv`|\n|**Lithuanian**|`lt`|\n|**Luxembourgish**|`lb`|\n|**Macedonian**|`mk`|\n|**Malagasy**|`mg`|\n|**Malay (macrolanguage)**|`ms`|\n|**Malayalam**|`ml`|\n|**Maltese**|`mt`|\n|**Maori**|`mi`|\n|**Marathi**|`mr`|\n|**Modern Greek (1453-)**|`el`|\n|**Mongolian**|`mn`|\n|**Nepali (macrolanguage)**|`ne`|\n|**Norwegian**|`no`|\n|**Nyanja**|`ny`|\n|**Oriya (macrolanguage)**|`or`|\n|**Panjabi**|`pa`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Pushto**|`ps`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Samoan**|`sm`|\n|**Scottish Gaelic**|`gd`|\n|**Serbian**|`sr`|\n|**Shona**|`sn`|\n|**Sindhi**|`sd`|\n|**Sinhala**|`si`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Somali**|`so`|\n|**Southern Sotho**|`st`|\n|**Spanish**|`es`|\n|**Sundanese**|`su`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tagalog**|`tl`|\n|**Tajik**|`tg`|\n|**Tamil**|`ta`|\n|**Tatar**|`tt`|\n|**Telugu**|`te`|\n|**Thai**|`th`|\n|**Turkish**|`tr`|\n|**Turkmen**|`tk`|\n|**Uighur**|`ug`|\n|**Ukrainian**|`uk`|\n|**Urdu**|`ur`|\n|**Uzbek**|`uz`|\n|**Vietnamese**|`vi`|\n|**Welsh**|`cy`|\n|**Western Frisian**|`fy`|\n|**Xhosa**|`xh`|\n|**Yiddish**|`yi`|\n|**Yoruba**|`yo`|\n|**Zulu**|`zu`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Chinese (China)**|`zh-CN`|\n|**Chinese (China)**|`zh-cn`|\n|**Chinese (Taiwan)**|`zh-TW`|\n|**Chinese (Taiwan)**|`zh-tw`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n\n
", "summary": "Resume Parser", "tags": ["Resume Parser"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ocrresume_parserResumeParserRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/ocrresume_parserResumeParserRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ocrresume_parserResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/prompts/": {"get": {"operationId": "prompts_prompts_list", "summary": "List Prompts", "parameters": [{"name": "page", "required": false, "in": "query", "description": "A page number within the paginated result set.", "schema": {"type": "integer"}}, {"name": "page_size", "required": false, "in": "query", "description": "Number of results to return per page.", "schema": {"type": "integer"}}], "tags": ["Prompts"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PaginatedPromptCreateList"}}}, "description": ""}}}, "post": {"operationId": "prompts_prompts_create", "summary": "Create Prompts", "tags": ["Prompts"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptCreateRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/PromptCreateRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/PromptCreateRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"201": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptCreate"}}}, "description": ""}}}}, "/prompts/{name}/": {"get": {"operationId": "prompts_prompts_retrieve", "summary": "Get Prompt", "parameters": [{"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["Prompts"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptUpdate"}}}, "description": ""}}}, "post": {"operationId": "prompts_prompts_create_2", "description": "Call prompt with your variables in prompt_context. You can override params saved in the prompt and specifiy file urls", "summary": "Call prompt", "parameters": [{"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["Prompts"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptCallRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/PromptCallRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/PromptCallRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptUpdate"}}}, "description": ""}}}, "put": {"operationId": "prompts_prompts_update", "summary": "Update Prompt", "parameters": [{"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["Prompts"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptUpdateRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/PromptUpdateRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/PromptUpdateRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptUpdate"}}}, "description": ""}}}, "patch": {"operationId": "prompts_prompts_partial_update", "summary": "Update Prompt", "parameters": [{"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["Prompts"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PatchedPromptUpdateRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/PatchedPromptUpdateRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/PatchedPromptUpdateRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptUpdate"}}}, "description": ""}}}, "delete": {"operationId": "prompts_prompts_destroy", "summary": "Delete Prompt", "parameters": [{"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["Prompts"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/prompts/{name}/history/": {"get": {"operationId": "prompts_prompts_history_list", "summary": "List Prompt History", "parameters": [{"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}, {"name": "page", "required": false, "in": "query", "description": "A page number within the paginated result set.", "schema": {"type": "integer"}}, {"name": "page_size", "required": false, "in": "query", "description": "Number of results to return per page.", "schema": {"type": "integer"}}], "tags": ["Prompts"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PaginatedPromptHistoryList"}}}, "description": ""}}}, "post": {"operationId": "prompts_prompts_history_create", "summary": "Create Prompt History", "parameters": [{"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["Prompts"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptHistoryRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/PromptHistoryRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/PromptHistoryRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"201": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptHistory"}}}, "description": ""}}}}, "/prompts/{name}/history/{id}/": {"get": {"operationId": "prompts_prompts_history_retrieve", "summary": "Get Prompt History", "parameters": [{"in": "path", "name": "id", "schema": {"type": "integer"}, "required": true}, {"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["Prompts"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptHistory"}}}, "description": ""}}}, "put": {"operationId": "prompts_prompts_history_update", "summary": "Update Prompt History", "parameters": [{"in": "path", "name": "id", "schema": {"type": "integer"}, "required": true}, {"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["Prompts"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptHistoryRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/PromptHistoryRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/PromptHistoryRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptHistory"}}}, "description": ""}}}, "patch": {"operationId": "prompts_prompts_history_partial_update", "summary": "Update Prompt History", "parameters": [{"in": "path", "name": "id", "schema": {"type": "integer"}, "required": true}, {"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["Prompts"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PatchedPromptHistoryRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/PatchedPromptHistoryRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/PatchedPromptHistoryRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptHistory"}}}, "description": ""}}}, "delete": {"operationId": "prompts_prompts_history_destroy", "summary": "Delete Prompt History", "parameters": [{"in": "path", "name": "id", "schema": {"type": "integer"}, "required": true}, {"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["Prompts"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/prompts/{name}/history/{id}/template-variables/": {"get": {"operationId": "prompts_prompts_history_template_variables_retrieve", "summary": "Get Prompt Template Variables", "parameters": [{"in": "path", "name": "id", "schema": {"type": "integer"}, "required": true}, {"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["Prompts"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"description": "No response body"}}}}, "/resources/": {"get": {"operationId": "resources_resources_list", "tags": ["resources"], "security": [{"jwtAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/ResourceList"}}}}, "description": ""}}}, "post": {"operationId": "resources_resources_create", "tags": ["resources"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ResourceCreateRequest"}}}, "required": true}, "security": [{"jwtAuth": []}], "responses": {"201": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ResourceCreate"}}}, "description": ""}}}}, "/resources/{resource}/": {"get": {"operationId": "resources_resources_retrieve", "parameters": [{"in": "path", "name": "resource", "schema": {"type": "string"}, "required": true}], "tags": ["resources"], "security": [{"jwtAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ResourceUpdate"}}}, "description": ""}}}, "put": {"operationId": "resources_resources_update", "parameters": [{"in": "path", "name": "resource", "schema": {"type": "string"}, "required": true}], "tags": ["resources"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ResourceUpdateRequest"}}}, "required": true}, "security": [{"jwtAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ResourceUpdate"}}}, "description": ""}}}, "patch": {"operationId": "resources_resources_partial_update", "parameters": [{"in": "path", "name": "resource", "schema": {"type": "string"}, "required": true}], "tags": ["resources"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PatchedResourceUpdateRequest"}}}}, "security": [{"jwtAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ResourceUpdate"}}}, "description": ""}}}, "delete": {"operationId": "resources_resources_destroy", "parameters": [{"in": "path", "name": "resource", "schema": {"type": "string"}, "required": true}], "tags": ["resources"], "security": [{"jwtAuth": []}], "responses": {"204": {"description": "No response body"}}}}, "/resources/{resource}/asset/": {"post": {"operationId": "resources_resources_asset_create", "parameters": [{"in": "path", "name": "resource", "schema": {"type": "string"}, "required": true}], "tags": ["resources"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AssetCreateRequest"}}}, "required": true}, "security": [{"jwtAuth": []}], "responses": {"201": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AssetCreate"}}}, "description": ""}}}}, "/resources/{resource}/asset/{asset}/": {"get": {"operationId": "resources_resources_asset_retrieve", "parameters": [{"in": "path", "name": "asset", "schema": {"type": "string"}, "required": true}, {"in": "path", "name": "resource", "schema": {"type": "string"}, "required": true}], "tags": ["resources"], "security": [{"jwtAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AssetUpdate"}}}, "description": ""}}}, "put": {"operationId": "resources_resources_asset_update", "parameters": [{"in": "path", "name": "asset", "schema": {"type": "string"}, "required": true}, {"in": "path", "name": "resource", "schema": {"type": "string"}, "required": true}], "tags": ["resources"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AssetUpdateRequest"}}}, "required": true}, "security": [{"jwtAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AssetUpdate"}}}, "description": ""}}}, "patch": {"operationId": "resources_resources_asset_partial_update", "parameters": [{"in": "path", "name": "asset", "schema": {"type": "string"}, "required": true}, {"in": "path", "name": "resource", "schema": {"type": "string"}, "required": true}], "tags": ["resources"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PatchedAssetUpdateRequest"}}}}, "security": [{"jwtAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AssetUpdate"}}}, "description": ""}}}, "delete": {"operationId": "resources_resources_asset_destroy", "parameters": [{"in": "path", "name": "asset", "schema": {"type": "string"}, "required": true}, {"in": "path", "name": "resource", "schema": {"type": "string"}, "required": true}], "tags": ["resources"], "security": [{"jwtAuth": []}], "responses": {"204": {"description": "No response body"}}}}, "/text/ai_detection/": {"post": {"operationId": "text_text_ai_detection_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**sapling**|`v1`|5.0 (per 1000000 char)|1000 char\n|**winstonai**|`v2`|14.0 (per 1000000 char)|1 char\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Chinese**|`zh`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**French**|`fr`|\n|**German**|`de`|\n|**Spanish**|`es`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Chinese (China)**|`zh-CN`|\n\n
", "summary": "AI Content Detection", "tags": ["Ai Detection"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textai_detectionAiDetectionRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textai_detectionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/anonymization/": {"post": {"operationId": "text_text_anonymization_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**openai**|-|`v3.0.0`|20.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**openai**|**chatgpt-4o-latest**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0125**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0301**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0613**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-1106**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k-0613**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4-0125-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0314**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0613**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-vision-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-32k**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0314**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0613**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-2024-04-09**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-vision-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4.1**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-2025-04-14**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini**|`v3.0.0`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini-2025-04-14**|`v3.0.0`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano-2025-04-14**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview**|`v3.0.0`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview-2025-02-27**|`v3.0.0`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-05-13**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-08-06**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-11-20**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-10-01**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-12-17**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2025-06-03**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-2024-07-18**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview-2024-12-17**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview-2024-12-17**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview-2025-03-11**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-10-01**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-12-17**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2025-06-03**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview-2025-03-11**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-2025-11-13**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-chat-latest**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-2025-12-11**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-chat-latest**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-2025-08-07**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat-latest**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-mini**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-mini-2025-08-07**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-nano**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-5-nano-2025-08-07**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-realtime**|`v3.0.0`|1.6e-05 (per 1 token)|1 token\n|**openai**|**gpt-realtime-mini**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-realtime-2025-08-28**|`v3.0.0`|1.6e-05 (per 1 token)|1 token\n|**openai**|**o1**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-2024-12-17**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o1-mini-2024-09-12**|`v3.0.0`|1.2e-05 (per 1 token)|1 token\n|**openai**|**o1-preview**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-preview-2024-09-12**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o3**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-2025-04-16**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o3-mini-2025-01-31**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini-2025-04-16**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**container**|`v3.0.0`|0.0 (per 1 seconde)|1 seconde\n|**amazon**|-|`boto3 (v1.15.18)`|1.0 (per 1000000 char)|300 char\n|**microsoft**|-|`v3.1`|0.25 (per 1000000 char)|1000 char\n|**privateai**|-|`v3`|5.0 (per 1000000 char)|100 char\n|**xai**|**grok-2-latest**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-4**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-2-1212**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-1212**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-latest**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-3**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-beta**|`v1`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-latest**|`v1`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-latest**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-mini**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-beta**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-beta**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-latest**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-fast-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-fast-non-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-0709**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-latest**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-code-fast**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1-0825**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-vision-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Arabic**|`ar`|\n|**Bambara**|`bm`|\n|**Belarusian**|`be`|\n|**Bengali**|`bn`|\n|**Bulgarian**|`bg`|\n|**Burmese**|`my`|\n|**Catalan**|`ca`|\n|**Chinese**|`zh`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Estonian**|`et`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**Georgian**|`ka`|\n|**German**|`de`|\n|**Hebrew**|`he`|\n|**Hindi**|`hi`|\n|**Hungarian**|`hu`|\n|**Icelandic**|`is`|\n|**Indonesian**|`id`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Khmer**|`km`|\n|**Korean**|`ko`|\n|**Latvian**|`lv`|\n|**Lithuanian**|`lt`|\n|**Luxembourgish**|`lb`|\n|**Malay (macrolanguage)**|`ms`|\n|**Modern Greek (1453-)**|`el`|\n|**Norwegian**|`no`|\n|**Norwegian Bokm\u00e5l**|`nb`|\n|**Panjabi**|`pa`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Spanish**|`es`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tagalog**|`tl`|\n|**Tamil**|`ta`|\n|**Thai**|`th`|\n|**Turkish**|`tr`|\n|**Ukrainian**|`uk`|\n|**Vietnamese**|`vi`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Chinese (Simplified)**|`zh-Hans`|\n|**Chinese (Traditional)**|`zh-Hant`|\n|**Portuguese (Brazil)**|`pt-BR`|\n|**Portuguese (Portugal)**|`pt-PT`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n|**xai**|`grok-2-latest`|\n\n
", "summary": "Anonymization", "tags": ["Anonymization"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/texttopic_extractiontextanonymizationtextmoderationtextnamed_entity_recognitiontextkeyword_extractiontextsyntax_analysistextsentiment_analysisTextAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textanonymizationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/chat/": {"post": {"operationId": "text_text_chat_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**openai**|**o3-mini**|`v1Beta`|4.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-2025-04-14**|`v1Beta`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano-2025-04-14**|`v1Beta`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini**|`v1Beta`|6e-07 (per 1 token)|1 token\n|**openai**|-|`v1Beta`|10.0 (per 1000000 token)|1 token\n|**openai**|**o1-preview**|`v1Beta`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-mini**|`v1Beta`|4.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-05-13**|`v1Beta`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-5**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat-latest**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-mini**|`v1Beta`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-nano**|`v1Beta`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo**|`v1Beta`|3e-05 (per 1 token)|1 token\n|**openai**|**o1-2024-12-17**|`v1Beta`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2**|`v1Beta`|1.4e-05 (per 1 token)|1 token\n|**openai**|**chatgpt-4o-latest**|`v1Beta`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo**|`v1Beta`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0125**|`v1Beta`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0301**|`v1Beta`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0613**|`v1Beta`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-1106**|`v1Beta`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k**|`v1Beta`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k-0613**|`v1Beta`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4**|`v1Beta`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0125-preview**|`v1Beta`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0314**|`v1Beta`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0613**|`v1Beta`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-preview**|`v1Beta`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-vision-preview**|`v1Beta`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-32k**|`v1Beta`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0314**|`v1Beta`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0613**|`v1Beta`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-2024-04-09**|`v1Beta`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-preview**|`v1Beta`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-vision-preview**|`v1Beta`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4.1**|`v1Beta`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini**|`v1Beta`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini-2025-04-14**|`v1Beta`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano**|`v1Beta`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview**|`v1Beta`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview-2025-02-27**|`v1Beta`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4o**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-08-06**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-11-20**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-10-01**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-12-17**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2025-06-03**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-2024-07-18**|`v1Beta`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview**|`v1Beta`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview-2024-12-17**|`v1Beta`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview**|`v1Beta`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview-2024-12-17**|`v1Beta`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview**|`v1Beta`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview-2025-03-11**|`v1Beta`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview**|`v1Beta`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-10-01**|`v1Beta`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-12-17**|`v1Beta`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2025-06-03**|`v1Beta`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview-2025-03-11**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-2025-11-13**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-chat-latest**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-2025-12-11**|`v1Beta`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-chat-latest**|`v1Beta`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-2025-08-07**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-mini-2025-08-07**|`v1Beta`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-nano-2025-08-07**|`v1Beta`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-realtime**|`v1Beta`|1.6e-05 (per 1 token)|1 token\n|**openai**|**gpt-realtime-mini**|`v1Beta`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-realtime-2025-08-28**|`v1Beta`|1.6e-05 (per 1 token)|1 token\n|**openai**|**o1**|`v1Beta`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-mini-2024-09-12**|`v1Beta`|1.2e-05 (per 1 token)|1 token\n|**openai**|**o1-preview-2024-09-12**|`v1Beta`|6e-05 (per 1 token)|1 token\n|**openai**|**o3**|`v1Beta`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-2025-04-16**|`v1Beta`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-mini-2025-01-31**|`v1Beta`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini**|`v1Beta`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini-2025-04-16**|`v1Beta`|4.4e-06 (per 1 token)|1 token\n|**openai**|**container**|`v1Beta`|0.0 (per 1 seconde)|1 seconde\n|**google**|**gemini-1.5-flash-8b-latest**|`v1`|0.3 (per 1000000 token)|1 token\n|**google**|-|`v1`|0.6 (per 1000000 token)|1 token\n|**google**|**gemini-3-pro-preview**|`v1`|1.2e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-lite-preview-02-05**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-03-25**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-exp-03-25**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-latest**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-8b**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-live-2.5-flash-preview-native-audio-09-2025**|`v1`|2e-06 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-001**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-002**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-8b-exp-0827**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-8b-exp-0924**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-exp-0827**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-latest**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-001**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-002**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-exp-0801**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-exp-0827**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-001**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-exp**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-lite**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-live-001**|`v1`|1.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-preview-image-generation**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-thinking-exp**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-thinking-exp-01-21**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-pro-exp-02-05**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite-preview-09-2025**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-09-2025**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-flash-latest**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-flash-lite-latest**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite-preview-06-17**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-04-17**|`v1`|6e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-05-20**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-tts**|`v1`|6e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-computer-use-preview-10-2025**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-3-flash-preview**|`v1`|3e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-05-06**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-06-05**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-tts**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-exp-1114**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-exp-1206**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-gemma-2-27b-it**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-gemma-2-9b-it**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-pro**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-pro-vision**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemma-3-27b-it**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**learnlm-1.5-pro-experimental**|`v1`|0.0 (per 1 token)|1 token\n|**cohere**|-|`2022-12-06`|2.0 (per 1000000 token)|1 token\n|**cohere**|**command-light**|`2022-12-06`|0.6 (per 1000000 token)|1 token\n|**cohere**|**command-nightly**|`2022-12-06`|2.0 (per 1000000 token)|1 token\n|**cohere**|**command**|`2022-12-06`|2.0 (per 1000000 token)|1 token\n|**cohere**|**command-light-nightly**|`2022-12-06`|0.6 (per 1000000 token)|1 token\n|**cohere**|**command-r**|`2022-12-06`|1.5 (per 1000000 token)|1 token\n|**cohere**|**command-r7b-12-2024**|`2022-12-06`|0.15 (per 1000000 token)|1 token\n|**meta**|**llama3-1-405b-instruct-v1:0**|`boto3 (v1.35.84)`|2.4 (per 1000000 token)|1 token\n|**meta**|**llama3-1-70b-instruct-v1:0**|`boto3 (v1.35.84)`|0.72 (per 1000000 token)|1 token\n|**meta**|**llama3-1-8b-instruct-v1:0**|`boto3 (v1.35.84)`|0.22 (per 1000000 token)|1 token\n|**meta**|-|`boto3 (v1.35.84)`|0.15 (per 1000000 token)|1 token\n|**mistral**|-|`v0.0.1`|6.0 (per 1000000 token)|1 token\n|**mistral**|**pixtral-large-latest**|`v0.0.1`|6e-06 (per 1 token)|1 token\n|**mistral**|**mistral-saba-latest**|`v0.0.1`|0.6 (per 1000000 token)|1 token\n|**mistral**|**mistral-small-latest**|`v0.0.1`|3e-07 (per 1 token)|1 token\n|**mistral**|**mistral-large-latest**|`v0.0.1`|6e-06 (per 1 token)|1 token\n|**mistral**|**codestral-latest**|`v0.0.1`|3e-06 (per 1 token)|1 token\n|**mistral**|**codestral-2405**|`v0.0.1`|3e-06 (per 1 token)|1 token\n|**mistral**|**codestral-2508**|`v0.0.1`|9e-07 (per 1 token)|1 token\n|**mistral**|**codestral-mamba-latest**|`v0.0.1`|2.5e-07 (per 1 token)|1 token\n|**mistral**|**devstral-medium-2507**|`v0.0.1`|2e-06 (per 1 token)|1 token\n|**mistral**|**devstral-small-2505**|`v0.0.1`|3e-07 (per 1 token)|1 token\n|**mistral**|**devstral-small-2507**|`v0.0.1`|3e-07 (per 1 token)|1 token\n|**mistral**|**labs-devstral-small-2512**|`v0.0.1`|3e-07 (per 1 token)|1 token\n|**mistral**|**devstral-2512**|`v0.0.1`|2e-06 (per 1 token)|1 token\n|**mistral**|**magistral-medium-2506**|`v0.0.1`|5e-06 (per 1 token)|1 token\n|**mistral**|**magistral-medium-2509**|`v0.0.1`|5e-06 (per 1 token)|1 token\n|**mistral**|**magistral-medium-latest**|`v0.0.1`|5e-06 (per 1 token)|1 token\n|**mistral**|**magistral-small-2506**|`v0.0.1`|1.5e-06 (per 1 token)|1 token\n|**mistral**|**magistral-small-latest**|`v0.0.1`|1.5e-06 (per 1 token)|1 token\n|**mistral**|**mistral-large-2402**|`v0.0.1`|1.2e-05 (per 1 token)|1 token\n|**mistral**|**mistral-large-2407**|`v0.0.1`|9e-06 (per 1 token)|1 token\n|**mistral**|**mistral-large-2411**|`v0.0.1`|6e-06 (per 1 token)|1 token\n|**mistral**|**mistral-large-3**|`v0.0.1`|1.5e-06 (per 1 token)|1 token\n|**mistral**|**mistral-medium**|`v0.0.1`|8.1e-06 (per 1 token)|1 token\n|**mistral**|**mistral-medium-2312**|`v0.0.1`|8.1e-06 (per 1 token)|1 token\n|**mistral**|**mistral-medium-2505**|`v0.0.1`|2e-06 (per 1 token)|1 token\n|**mistral**|**mistral-medium-latest**|`v0.0.1`|2e-06 (per 1 token)|1 token\n|**mistral**|**mistral-small**|`v0.0.1`|3e-07 (per 1 token)|1 token\n|**mistral**|**mistral-tiny**|`v0.0.1`|2.5e-07 (per 1 token)|1 token\n|**mistral**|**open-codestral-mamba**|`v0.0.1`|2.5e-07 (per 1 token)|1 token\n|**mistral**|**open-mistral-7b**|`v0.0.1`|2.5e-07 (per 1 token)|1 token\n|**mistral**|**open-mistral-nemo**|`v0.0.1`|3e-07 (per 1 token)|1 token\n|**mistral**|**open-mistral-nemo-2407**|`v0.0.1`|3e-07 (per 1 token)|1 token\n|**mistral**|**open-mixtral-8x22b**|`v0.0.1`|6e-06 (per 1 token)|1 token\n|**mistral**|**open-mixtral-8x7b**|`v0.0.1`|7e-07 (per 1 token)|1 token\n|**mistral**|**pixtral-12b-2409**|`v0.0.1`|1.5e-07 (per 1 token)|1 token\n|**mistral**|**pixtral-large-2411**|`v0.0.1`|6e-06 (per 1 token)|1 token\n|**perplexityai**|-|`v1.0`|2.0 (per 1000000 token)|1 token\n|**perplexityai**|**sonar-pro**|`v1.0`|30.0 (per 1000000 token)|1 token\n|**perplexityai**|**sonar**|`v1.0`|2.0 (per 1000000 token)|1 token\n|**anthropic**|-|`bedrock-2023-05-31`|15.0 (per 1000000 token)|1 token\n|**anthropic**|**claude-3-5-haiku-20241022-v1:0**|`bedrock-2023-05-31`|4e-06 (per 1 token)|1 token\n|**anthropic**|**claude-3-5-sonnet-20240620-v1:0**|`bedrock-2023-05-31`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-5-sonnet-20241022-v2:0**|`bedrock-2023-05-31`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-7-sonnet-20240620-v1:0**|`bedrock-2023-05-31`|1.8e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-haiku-20240307-v1:0**|`bedrock-2023-05-31`|1.25e-06 (per 1 token)|1 token\n|**anthropic**|**claude-3-opus-20240229-v1:0**|`bedrock-2023-05-31`|7.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-sonnet-20240229-v1:0**|`bedrock-2023-05-31`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-instant-v1**|`bedrock-2023-05-31`|2.4e-06 (per 1 token)|1 token\n|**anthropic**|**claude-v1**|`bedrock-2023-05-31`|2.4e-05 (per 1 token)|1 token\n|**anthropic**|**claude-v2:1**|`bedrock-2023-05-31`|2.4e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-5-haiku-20241022**|`bedrock-2023-05-31`|4e-06 (per 1 token)|1 token\n|**anthropic**|**claude-3-5-haiku-latest**|`bedrock-2023-05-31`|5e-06 (per 1 token)|1 token\n|**anthropic**|**claude-haiku-4-5-20251001**|`bedrock-2023-05-31`|5e-06 (per 1 token)|1 token\n|**anthropic**|**claude-haiku-4-5**|`bedrock-2023-05-31`|5e-06 (per 1 token)|1 token\n|**anthropic**|**claude-3-5-sonnet-20240620**|`bedrock-2023-05-31`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-5-sonnet-20241022**|`bedrock-2023-05-31`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-5-sonnet-latest**|`bedrock-2023-05-31`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-7-sonnet-20250219**|`bedrock-2023-05-31`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-7-sonnet-latest**|`bedrock-2023-05-31`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-haiku-20240307**|`bedrock-2023-05-31`|1.25e-06 (per 1 token)|1 token\n|**anthropic**|**claude-3-opus-20240229**|`bedrock-2023-05-31`|7.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-opus-latest**|`bedrock-2023-05-31`|7.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-4-opus-20250514**|`bedrock-2023-05-31`|7.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-4-sonnet-20250514**|`bedrock-2023-05-31`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-sonnet-4-5**|`bedrock-2023-05-31`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-sonnet-4-5-20250929**|`bedrock-2023-05-31`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-opus-4-1**|`bedrock-2023-05-31`|7.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-opus-4-1-20250805**|`bedrock-2023-05-31`|7.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-opus-4-20250514**|`bedrock-2023-05-31`|7.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-opus-4-5-20251101**|`bedrock-2023-05-31`|2.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-opus-4-5**|`bedrock-2023-05-31`|2.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-sonnet-4-20250514**|`bedrock-2023-05-31`|1.5e-05 (per 1 token)|1 token\n|**xai**|-|`v1`|10.0 (per 1000000 token)|1 token\n|**xai**|**grok-2-latest**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-1212**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-1212**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-latest**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-3**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-beta**|`v1`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-latest**|`v1`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-latest**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-mini**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-beta**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-beta**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-latest**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-fast-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-fast-non-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-0709**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-latest**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-code-fast**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1-0825**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-vision-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n|**deepseek**|**deepseek-v3**|`v1`|1.1e-06 (per 1 token)|1 token\n|**deepseek**|-|`v1`|1.25 (per 1000000 token)|1 token\n|**deepseek**|**deepseek-reasoner**|`v1`|2.19e-06 (per 1 token)|1 token\n|**deepseek**|**deepseek-chat**|`v1`|1.1e-06 (per 1 token)|1 token\n|**deepseek**|**deepseek-coder**|`v1`|2.8e-07 (per 1 token)|1 token\n|**deepseek**|**deepseek-r1**|`v1`|2.19e-06 (per 1 token)|1 token\n|**deepseek**|**deepseek-v3.2**|`v1`|4e-07 (per 1 token)|1 token\n|**amazon**|-|`boto3 (v1.29.6)`|0.24 (per 1000000 token)|1 token\n|**amazon**|**amazon.nova-lite-v1:0**|`boto3 (v1.29.6)`|0.24 (per 1000000 token)|1 token\n|**amazon**|**amazon.nova-pro-v1:0**|`boto3 (v1.29.6)`|3.2 (per 1000000 token)|1 token\n|**amazon**|**amazon.nova-micro-v1:0**|`boto3 (v1.29.6)`|0.14 (per 1000000 token)|1 token\n|**together_ai**|-|`v1`|1.2 (per 1000000 token)|1 token\n|**together_ai**|**Qwen/Qwen2.5-72B-Instruct-Turbo**|`v1`|0.0 (per 1 seconde)|1 seconde\n|**together_ai**|**meta-llama/Llama-3.3-70B-Instruct-Turbo**|`v1`|8.8e-07 (per 1 token)|1 token\n|**together_ai**|**together-ai-21.1b-41b**|`v1`|8e-07 (per 1 token)|1 token\n|**together_ai**|**together-ai-4.1b-8b**|`v1`|2e-07 (per 1 token)|1 token\n|**together_ai**|**together-ai-41.1b-80b**|`v1`|9e-07 (per 1 token)|1 token\n|**together_ai**|**together-ai-8.1b-21b**|`v1`|3e-07 (per 1 token)|1 token\n|**together_ai**|**together-ai-81.1b-110b**|`v1`|1.8e-06 (per 1 token)|1 token\n|**together_ai**|**together-ai-up-to-4b**|`v1`|1e-07 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen2.5-7B-Instruct-Turbo**|`v1`|0.0 (per 1 seconde)|1 seconde\n|**together_ai**|**Qwen/Qwen3-235B-A22B-Instruct-2507-tput**|`v1`|6e-06 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen3-235B-A22B-Thinking-2507**|`v1`|3e-06 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen3-235B-A22B-fp8-tput**|`v1`|6e-07 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8**|`v1`|2e-06 (per 1 token)|1 token\n|**together_ai**|**deepseek-ai/DeepSeek-R1**|`v1`|7e-06 (per 1 token)|1 token\n|**together_ai**|**deepseek-ai/DeepSeek-R1-0528-tput**|`v1`|2.19e-06 (per 1 token)|1 token\n|**together_ai**|**deepseek-ai/DeepSeek-V3**|`v1`|1.25e-06 (per 1 token)|1 token\n|**together_ai**|**deepseek-ai/DeepSeek-V3.1**|`v1`|1.7e-06 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Llama-3.2-3B-Instruct-Turbo**|`v1`|0.0 (per 1 seconde)|1 seconde\n|**together_ai**|**meta-llama/Llama-3.3-70B-Instruct-Turbo-Free**|`v1`|0.0 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8**|`v1`|8.5e-07 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Llama-4-Scout-17B-16E-Instruct**|`v1`|5.9e-07 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo**|`v1`|3.5e-06 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo**|`v1`|8.8e-07 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo**|`v1`|1.8e-07 (per 1 token)|1 token\n|**together_ai**|**mistralai/Mistral-7B-Instruct-v0.1**|`v1`|0.0 (per 1 seconde)|1 seconde\n|**together_ai**|**mistralai/Mistral-Small-24B-Instruct-2501**|`v1`|0.0 (per 1 seconde)|1 seconde\n|**together_ai**|**mistralai/Mixtral-8x7B-Instruct-v0.1**|`v1`|6e-07 (per 1 token)|1 token\n|**together_ai**|**moonshotai/Kimi-K2-Instruct**|`v1`|3e-06 (per 1 token)|1 token\n|**together_ai**|**openai/gpt-oss-120b**|`v1`|6e-07 (per 1 token)|1 token\n|**together_ai**|**openai/gpt-oss-20b**|`v1`|2e-07 (per 1 token)|1 token\n|**together_ai**|**togethercomputer/CodeLlama-34b-Instruct**|`v1`|0.0 (per 1 seconde)|1 seconde\n|**together_ai**|**zai-org/GLM-4.5-Air-FP8**|`v1`|1.1e-06 (per 1 token)|1 token\n|**together_ai**|**zai-org/GLM-4.6**|`v1`|2.2e-06 (per 1 token)|1 token\n|**together_ai**|**moonshotai/Kimi-K2-Instruct-0905**|`v1`|3e-06 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen3-Next-80B-A3B-Instruct**|`v1`|1.5e-06 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen3-Next-80B-A3B-Thinking**|`v1`|1.5e-06 (per 1 token)|1 token\n|**microsoft**|**gpt-4o**|`Azure AI Foundry`|15.0 (per 1000000 token)|1 token\n|**groq**|**llama3-70b-8192**|`v1`|0.59 (per 1000000 token)|1 token\n|**groq**|**llama-3.1-8b-instant**|`v1`|8e-08 (per 1 token)|1 token\n|**groq**|**llama-3.3-70b-versatile**|`v1`|7.9e-07 (per 1 token)|1 token\n|**groq**|**gemma-7b-it**|`v1`|8e-08 (per 1 token)|1 token\n|**groq**|**meta-llama/llama-guard-4-12b**|`v1`|2e-07 (per 1 token)|1 token\n|**groq**|**meta-llama/llama-4-maverick-17b-128e-instruct**|`v1`|6e-07 (per 1 token)|1 token\n|**groq**|**meta-llama/llama-4-scout-17b-16e-instruct**|`v1`|3.4e-07 (per 1 token)|1 token\n|**groq**|**moonshotai/kimi-k2-instruct-0905**|`v1`|3e-06 (per 1 token)|1 token\n|**groq**|**openai/gpt-oss-120b**|`v1`|7.5e-07 (per 1 token)|1 token\n|**groq**|**openai/gpt-oss-20b**|`v1`|5e-07 (per 1 token)|1 token\n|**groq**|**qwen/qwen3-32b**|`v1`|5.9e-07 (per 1 token)|1 token\n\n\n
\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n|**google**|`gemini-2.5-flash`|\n|**cohere**|`command`|\n|**meta**|`llama3-1-8b-instruct-v1:0`|\n|**mistral**|`mistral-large-latest`|\n|**perplexityai**|`sonar`|\n|**anthropic**|`claude-3-5-sonnet-latest`|\n|**xai**|`grok-2-latest`|\n|**deepseek**|`deepseek-chat`|\n|**amazon**|`amazon.nova-lite-v1:0`|\n|**together_ai**|`Qwen/Qwen2.5-72B-Instruct-Turbo`|\n|**microsoft**|`gpt-4o`|\n|**groq**|`llama3-70b-8192`|\n\n
", "summary": "Chat", "tags": ["Chat"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textchatChatRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textchatResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/chat/stream/": {"post": {"operationId": "text_text_chat_stream_create", "description": "Streamed version of Chat feature, the raw text will be streamed chunk by chunk.\n\nNOTE: For this feature, you an only request one provider at a time.", "summary": "Chat Stream", "tags": ["Chat"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textchatChatStreamRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"text/plain": {"schema": {"type": "string"}}}, "description": ""}}}}, "/text/code_generation/": {"post": {"operationId": "text_text_code_generation_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**openai**|-|`v1`|10.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4o-2024-05-13**|`v1`|1.5e-05 (per 1 token)|1 token\n|**openai**|**o1-2024-12-17**|`v1`|6e-05 (per 1 token)|1 token\n|**openai**|**o1**|`v1`|6e-05 (per 1 token)|1 token\n|**openai**|**o3-mini**|`v1`|4.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4**|`v1`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini**|`v1`|6e-07 (per 1 token)|1 token\n|**openai**|**o1-preview**|`v1`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-mini**|`v1`|4.4e-06 (per 1 token)|1 token\n|**openai**|**chatgpt-4o-latest**|`v1`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo**|`v1`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0125**|`v1`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0301**|`v1`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0613**|`v1`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-1106**|`v1`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k**|`v1`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k-0613**|`v1`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4-0125-preview**|`v1`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0314**|`v1`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0613**|`v1`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-preview**|`v1`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-vision-preview**|`v1`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-32k**|`v1`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0314**|`v1`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0613**|`v1`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo**|`v1`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-2024-04-09**|`v1`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-preview**|`v1`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-vision-preview**|`v1`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4.1**|`v1`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-2025-04-14**|`v1`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini**|`v1`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini-2025-04-14**|`v1`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano**|`v1`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano-2025-04-14**|`v1`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview**|`v1`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview-2025-02-27**|`v1`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-08-06**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-11-20**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-10-01**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-12-17**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2025-06-03**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-2024-07-18**|`v1`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview**|`v1`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview-2024-12-17**|`v1`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview**|`v1`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview-2024-12-17**|`v1`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview**|`v1`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview-2025-03-11**|`v1`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview**|`v1`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-10-01**|`v1`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-12-17**|`v1`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2025-06-03**|`v1`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview-2025-03-11**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-2025-11-13**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-chat-latest**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2**|`v1`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-2025-12-11**|`v1`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-chat-latest**|`v1`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-2025-08-07**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat-latest**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-mini**|`v1`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-mini-2025-08-07**|`v1`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-nano**|`v1`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-5-nano-2025-08-07**|`v1`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-realtime**|`v1`|1.6e-05 (per 1 token)|1 token\n|**openai**|**gpt-realtime-mini**|`v1`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-realtime-2025-08-28**|`v1`|1.6e-05 (per 1 token)|1 token\n|**openai**|**o1-mini-2024-09-12**|`v1`|1.2e-05 (per 1 token)|1 token\n|**openai**|**o1-preview-2024-09-12**|`v1`|6e-05 (per 1 token)|1 token\n|**openai**|**o3**|`v1`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-2025-04-16**|`v1`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-mini-2025-01-31**|`v1`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini**|`v1`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini-2025-04-16**|`v1`|4.4e-06 (per 1 token)|1 token\n|**openai**|**container**|`v1`|0.0 (per 1 seconde)|1 seconde\n|**google**|-|`v1`|0.6 (per 1000000 token)|1 token\n|**google**|**gemini-1.5-flash-8b**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-8b-latest**|`v1`|0.3 (per 1000000 token)|1 token\n|**google**|**gemini-1.5-flash**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-latest**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-latest**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-live-2.5-flash-preview-native-audio-09-2025**|`v1`|2e-06 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-001**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-002**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-8b-exp-0827**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-8b-exp-0924**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-exp-0827**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-001**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-002**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-exp-0801**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-exp-0827**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-001**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-exp**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-lite**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-lite-preview-02-05**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-live-001**|`v1`|1.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-preview-image-generation**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-thinking-exp**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-thinking-exp-01-21**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-pro-exp-02-05**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite-preview-09-2025**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-09-2025**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-flash-latest**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-flash-lite-latest**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite-preview-06-17**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-04-17**|`v1`|6e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-05-20**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-tts**|`v1`|6e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-computer-use-preview-10-2025**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-3-pro-preview**|`v1`|1.2e-05 (per 1 token)|1 token\n|**google**|**gemini-3-flash-preview**|`v1`|3e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-exp-03-25**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-03-25**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-05-06**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-06-05**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-tts**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-exp-1114**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-exp-1206**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-gemma-2-27b-it**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-gemma-2-9b-it**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-pro**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-pro-vision**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemma-3-27b-it**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**learnlm-1.5-pro-experimental**|`v1`|0.0 (per 1 token)|1 token\n|**xai**|-|`v1`|10.0 (per 1000000 token)|1 token\n|**xai**|**grok-2-latest**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-1212**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-1212**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-latest**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-3**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-beta**|`v1`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-latest**|`v1`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-latest**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-mini**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-beta**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-beta**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-latest**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-fast-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-fast-non-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-0709**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-latest**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-code-fast**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1-0825**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-vision-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n\n\n
\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n|**google**|`gemini-1.5-flash`|\n|**xai**|`grok-2-latest`|\n\n
", "summary": "Code Generation", "tags": ["Code Generation"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textcode_generationCodeGenerationRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textcode_generationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/embeddings/": {"post": {"operationId": "text_text_embeddings_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**openai**|-|`v3.0.0`|0.1 (per 1000000 token)|1 token\n|**openai**|**1536__text-embedding-ada-002**|`v3.0.0`|0.1 (per 1000000 token)|1 token\n|**openai**|**text-embedding-3-large**|`v3.0.0`|0.0 (per 1 token)|1 token\n|**openai**|**text-embedding-3-small**|`v3.0.0`|0.0 (per 1 token)|1 token\n|**openai**|**text-embedding-ada-002**|`v3.0.0`|0.0 (per 1 token)|1 token\n|**openai**|**text-embedding-ada-002-v2**|`v3.0.0`|0.0 (per 1 token)|1 token\n|**google**|**gemini-embedding-001**|`v1`|1.5e-07 (per 1 token)|1 token\n|**cohere**|**embed-english-v3.0**|`v1`|0.0 (per 1 token)|1 token\n|**cohere**|**embed-english-light-v3.0**|`v1`|0.0 (per 1 token)|1 token\n|**cohere**|**embed-multilingual-v3.0**|`v1`|0.0 (per 1 token)|1 token\n|**cohere**|**embed-english-v2.0**|`v1`|0.0 (per 1 token)|1 token\n|**cohere**|**embed-english-light-v2.0**|`v1`|0.0 (per 1 token)|1 token\n|**cohere**|**embed-multilingual-v2.0**|`v1`|0.0 (per 1 token)|1 token\n|**cohere**|**embed-v4.0**|`v1`|0.0 (per 1 token)|1 token\n|**cohere**|**embed-multilingual-light-v3.0**|`v1`|0.0 (per 1 token)|1 token\n|**mistral**|**1024__mistral-embed**|`v0.0.1`|0.1 (per 1000000 token)|1 token\n|**mistral**|-|`v0.0.1`|0.1 (per 1000000 token)|1 token\n|**mistral**|**mistral/mistral-embed**|`v0.0.1`|0.1 (per 1000000 seconde)|1 seconde\n|**mistral**|**mistral-embed**|`v0.0.1`|0.0 (per 1 seconde)|1 seconde\n|**mistral**|**codestral-embed**|`v0.0.1`|0.0 (per 1 seconde)|1 seconde\n|**mistral**|**codestral-embed-2505**|`v0.0.1`|0.0 (per 1 seconde)|1 seconde\n|**jina**|-|`v1`|0.018 (per 1000000 token)|1 token\n|**jina**|**jina-embeddings-v2-base-en**|`v1`|0.018 (per 1000000 token)|1 token\n|**jina**|**jina-embeddings-v3**|`v1`|0.02 (per 1000000 token)|1 token\n\n\n
\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`1536__text-embedding-ada-002`|\n|**google**|`text-multilingual-embedding-002`|\n|**cohere**|`4096__embed-english-v2.0`|\n|**mistral**|`1024__mistral-embed`|\n|**jina**|`jina-embeddings-v3`|\n\n
", "summary": "Embeddings", "tags": ["Embeddings"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textembeddingsEmbeddingsRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textembeddingsResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/emotion_detection/": {"post": {"operationId": "text_text_emotion_detection_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**vernai**|`v1`|2.0 (per 1000 request)|1 request\n\n\n
\n\n", "summary": "Emotion Detection", "tags": ["Emotion Detection"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textemotion_detectionEmotionDetectionRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textemotion_detectionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/entity_sentiment/": {"post": {"operationId": "text_text_entity_sentiment_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|-|`boto3 1.26.8`|1.0 (per 1000000 char)|300 char\n|**google**|**gemini-2.0-flash**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-lite**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-03-25**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-latest**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-latest**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-live-2.5-flash-preview-native-audio-09-2025**|`v1`|2e-06 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-001**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-002**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-8b**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-8b-exp-0827**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-8b-exp-0924**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-exp-0827**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-001**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-002**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-exp-0801**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-exp-0827**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-001**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-exp**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-lite-preview-02-05**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-live-001**|`v1`|1.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-preview-image-generation**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-thinking-exp**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-thinking-exp-01-21**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-pro-exp-02-05**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite-preview-09-2025**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-09-2025**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-flash-latest**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-flash-lite-latest**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite-preview-06-17**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-04-17**|`v1`|6e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-05-20**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-tts**|`v1`|6e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-computer-use-preview-10-2025**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-3-pro-preview**|`v1`|1.2e-05 (per 1 token)|1 token\n|**google**|**gemini-3-flash-preview**|`v1`|3e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-exp-03-25**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-05-06**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-06-05**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-tts**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-exp-1114**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-exp-1206**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-gemma-2-27b-it**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-gemma-2-9b-it**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-pro**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-pro-vision**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemma-3-27b-it**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**learnlm-1.5-pro-experimental**|`v1`|0.0 (per 1 token)|1 token\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**English**|`en`|\n|**Japanese**|`ja`|\n|**Spanish**|`es`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**google**|`gemini-1.5-flash`|\n\n
", "summary": "Entity Sentiment", "tags": ["Entity Sentiment"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textentity_sentimentEntitySentimentRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textentity_sentimentResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/keyword_extraction/": {"post": {"operationId": "text_text_keyword_extraction_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|-|`boto3 (v1.15.18)`|1.0 (per 1000000 char)|300 char\n|**microsoft**|-|`v3.1`|1.0 (per 1000000 char)|1000 char\n|**openai**|-|`v3.0.0`|20.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**openai**|**chatgpt-4o-latest**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0125**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0301**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0613**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-1106**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k-0613**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4-0125-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0314**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0613**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-vision-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-32k**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0314**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0613**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-2024-04-09**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-vision-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4.1**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-2025-04-14**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini**|`v3.0.0`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini-2025-04-14**|`v3.0.0`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano-2025-04-14**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview**|`v3.0.0`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview-2025-02-27**|`v3.0.0`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-05-13**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-08-06**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-11-20**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-10-01**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-12-17**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2025-06-03**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-2024-07-18**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview-2024-12-17**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview-2024-12-17**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview-2025-03-11**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-10-01**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-12-17**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2025-06-03**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview-2025-03-11**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-2025-11-13**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-chat-latest**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-2025-12-11**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-chat-latest**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-2025-08-07**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat-latest**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-mini**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-mini-2025-08-07**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-nano**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-5-nano-2025-08-07**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-realtime**|`v3.0.0`|1.6e-05 (per 1 token)|1 token\n|**openai**|**gpt-realtime-mini**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-realtime-2025-08-28**|`v3.0.0`|1.6e-05 (per 1 token)|1 token\n|**openai**|**o1**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-2024-12-17**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o1-mini-2024-09-12**|`v3.0.0`|1.2e-05 (per 1 token)|1 token\n|**openai**|**o1-preview**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-preview-2024-09-12**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o3**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-2025-04-16**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o3-mini-2025-01-31**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini-2025-04-16**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**container**|`v3.0.0`|0.0 (per 1 seconde)|1 seconde\n|**tenstorrent**|-|`v1.0.0`|0.7 (per 1000000 char)|1000 char\n|**xai**|**grok-2-latest**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-1212**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-1212**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-latest**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-3**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-beta**|`v1`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-latest**|`v1`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-latest**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-mini**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-beta**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-beta**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-latest**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-fast-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-fast-non-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-0709**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-latest**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-code-fast**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1-0825**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-vision-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Arabic**|`ar`|\n|**Bulgarian**|`bg`|\n|**Catalan**|`ca`|\n|**Chinese**|`zh`|\n|**Croatian**|`hr`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Estonian**|`et`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**German**|`de`|\n|**Hindi**|`hi`|\n|**Hungarian**|`hu`|\n|**Indonesian**|`id`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Korean**|`ko`|\n|**Latvian**|`lv`|\n|**Modern Greek (1453-)**|`el`|\n|**Norwegian**|`no`|\n|**Norwegian Bokm\u00e5l**|`nb`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Spanish**|`es`|\n|**Swedish**|`sv`|\n|**Turkish**|`tr`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Chinese (Simplified)**|`zh-Hans`|\n|**Chinese (Taiwan)**|`zh-TW`|\n|**Portuguese (Brazil)**|`pt-BR`|\n|**Portuguese (Portugal)**|`pt-PT`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n|**xai**|`grok-2-latest`|\n\n
", "summary": "Keyword Extraction", "tags": ["Keyword Extraction"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/texttopic_extractiontextanonymizationtextmoderationtextnamed_entity_recognitiontextkeyword_extractiontextsyntax_analysistextsentiment_analysisTextAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textkeyword_extractionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/moderation/": {"post": {"operationId": "text_text_moderation_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**microsoft**|-|`v1.0`|1.0 (per 1000 request)|1 request\n|**openai**|-|`v3.0.0`|free|-\n|**openai**|**text-moderation-stable**|`v3.0.0`|0.0 (per 1 token)|1 token\n|**openai**|**text-moderation-007**|`v3.0.0`|0.0 (per 1 token)|1 token\n|**openai**|**text-moderation-latest**|`v3.0.0`|0.0 (per 1 token)|1 token\n|**google**|-|`v1`|5.0 (per 1000000 char)|100 char\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Albanian**|`sq`|\n|**Amharic**|`am`|\n|**Arabic**|`ar`|\n|**Armenian**|`hy`|\n|**Assamese**|`as`|\n|**Azerbaijani**|`az`|\n|**Basque**|`eu`|\n|**Belarusian**|`be`|\n|**Bengali**|`bn`|\n|**Bosnian**|`bs`|\n|**Breton**|`br`|\n|**Bulgarian**|`bg`|\n|**Catalan**|`ca`|\n|**Central Kurdish**|`ckb`|\n|**Cherokee**|`chr`|\n|**Chinese**|`zh`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Estonian**|`et`|\n|**Filipino**|`fil`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**Fulah**|`ff`|\n|**Galician**|`gl`|\n|**Georgian**|`ka`|\n|**German**|`de`|\n|**Gujarati**|`gu`|\n|**Hausa**|`ha`|\n|**Hebrew**|`he`|\n|**Hindi**|`hi`|\n|**Hungarian**|`hu`|\n|**Icelandic**|`is`|\n|**Igbo**|`ig`|\n|**Indonesian**|`id`|\n|**Inuktitut**|`iu`|\n|**Irish**|`ga`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Kannada**|`kn`|\n|**Kazakh**|`kk`|\n|**Khmer**|`km`|\n|**Kinyarwanda**|`rw`|\n|**Kirghiz**|`ky`|\n|**Konkani (macrolanguage)**|`kok`|\n|**Korean**|`ko`|\n|**Lao**|`lo`|\n|**Latvian**|`lv`|\n|**Lithuanian**|`lt`|\n|**Luxembourgish**|`lb`|\n|**Macedonian**|`mk`|\n|**Malay (macrolanguage)**|`ms`|\n|**Malayalam**|`ml`|\n|**Maltese**|`mt`|\n|**Maori**|`mi`|\n|**Marathi**|`mr`|\n|**Modern Greek (1453-)**|`el`|\n|**Mongolian**|`mn`|\n|**Nepali (macrolanguage)**|`ne`|\n|**Norwegian Bokm\u00e5l**|`nb`|\n|**Norwegian Nynorsk**|`nn`|\n|**Oriya (macrolanguage)**|`or`|\n|**Panjabi**|`pa`|\n|**Pedi**|`nso`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Pushto**|`ps`|\n|**Quechua**|`qu`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Scottish Gaelic**|`gd`|\n|**Serbian**|`sr`|\n|**Sindhi**|`sd`|\n|**Sinhala**|`si`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Southern Sotho**|`st`|\n|**Spanish**|`es`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tajik**|`tg`|\n|**Tamil**|`ta`|\n|**Tatar**|`tt`|\n|**Telugu**|`te`|\n|**Thai**|`th`|\n|**Tigrinya**|`ti`|\n|**Tswana**|`tn`|\n|**Turkish**|`tr`|\n|**Turkmen**|`tk`|\n|**Uighur**|`ug`|\n|**Ukrainian**|`uk`|\n|**Urdu**|`ur`|\n|**Uzbek**|`uz`|\n|**Vietnamese**|`vi`|\n|**Welsh**|`cy`|\n|**Wolof**|`wo`|\n|**Xhosa**|`xh`|\n|**Yoruba**|`yo`|\n|**Zulu**|`zu`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n\n

Supported Models

\n\n", "summary": "Moderation", "tags": ["Moderation"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/texttopic_extractiontextanonymizationtextmoderationtextnamed_entity_recognitiontextkeyword_extractiontextsyntax_analysistextsentiment_analysisTextAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textmoderationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/named_entity_recognition/": {"post": {"operationId": "text_text_named_entity_recognition_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|-|`boto3 (v1.15.18)`|1.0 (per 1000000 char)|300 char\n|**microsoft**|-|`v3.1`|1.0 (per 1000000 char)|1000 char\n|**openai**|-|`v3.0.0`|10.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4o**|`v3.0.0`|10.0 (per 1000000 token)|1 token\n|**tenstorrent**|-|`v1.0.0`|1.0 (per 1000000 char)|1000 char\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Arabic**|`ar`|\n|**Chinese**|`zh`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**German**|`de`|\n|**Hindi**|`hi`|\n|**Hungarian**|`hu`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Korean**|`ko`|\n|**Norwegian**|`no`|\n|**Norwegian Bokm\u00e5l**|`nb`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Russian**|`ru`|\n|**Spanish**|`es`|\n|**Swedish**|`sv`|\n|**Turkish**|`tr`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Chinese (Simplified)**|`zh-Hans`|\n|**Chinese (Taiwan)**|`zh-TW`|\n|**Chinese (Traditional)**|`zh-Hant`|\n|**Portuguese (Brazil)**|`pt-BR`|\n|**Portuguese (Portugal)**|`pt-PT`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n\n
", "summary": "Named Entity Recognition", "tags": ["Named Entity Recognition"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/texttopic_extractiontextanonymizationtextmoderationtextnamed_entity_recognitiontextkeyword_extractiontextsyntax_analysistextsentiment_analysisTextAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textnamed_entity_recognitionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/plagia_detection/": {"post": {"operationId": "text_text_plagia_detection_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**winstonai**|`v2`|14.0 (per 1000000 char)|1 char\n\n\n
\n\n", "summary": "Plagia Detection", "tags": ["Plagia Detection"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textplagia_detectionPlagiaDetectionRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textplagia_detectionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/prompt_optimization/": {"post": {"operationId": "text_text_prompt_optimization_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**openai**|**gpt-4**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**openai**|**chatgpt-4o-latest**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0125**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0301**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0613**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-1106**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k-0613**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4-0125-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0314**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0613**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-vision-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-32k**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0314**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0613**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-2024-04-09**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-vision-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4.1**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-2025-04-14**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini**|`v3.0.0`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini-2025-04-14**|`v3.0.0`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano-2025-04-14**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview**|`v3.0.0`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview-2025-02-27**|`v3.0.0`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-05-13**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-08-06**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-11-20**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-10-01**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-12-17**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2025-06-03**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-2024-07-18**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview-2024-12-17**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview-2024-12-17**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview-2025-03-11**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-10-01**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-12-17**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2025-06-03**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview-2025-03-11**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-2025-11-13**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-chat-latest**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-2025-12-11**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-chat-latest**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-2025-08-07**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat-latest**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-mini**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-mini-2025-08-07**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-nano**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-5-nano-2025-08-07**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-realtime**|`v3.0.0`|1.6e-05 (per 1 token)|1 token\n|**openai**|**gpt-realtime-mini**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-realtime-2025-08-28**|`v3.0.0`|1.6e-05 (per 1 token)|1 token\n|**openai**|**o1**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-2024-12-17**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o1-mini-2024-09-12**|`v3.0.0`|1.2e-05 (per 1 token)|1 token\n|**openai**|**o1-preview**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-preview-2024-09-12**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o3**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-2025-04-16**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o3-mini-2025-01-31**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini-2025-04-16**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**container**|`v3.0.0`|0.0 (per 1 seconde)|1 seconde\n\n\n
\n\n

Supported Models

\n\n", "summary": "Prompt Optimization", "tags": ["Prompt Optimization"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textprompt_optimizationPromptOptimizationRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textprompt_optimizationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/sentiment_analysis/": {"post": {"operationId": "text_text_sentiment_analysis_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|-|`boto3 (v1.15.18)`|1.0 (per 1000000 char)|300 char\n|**google**|**gemini-live-2.5-flash-preview-native-audio-09-2025**|`v1`|2e-06 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-001**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-002**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-latest**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-latest**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-8b**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-8b-exp-0827**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-8b-exp-0924**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-exp-0827**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-001**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-002**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-exp-0801**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-exp-0827**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-001**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-exp**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-lite**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-lite-preview-02-05**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-live-001**|`v1`|1.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-preview-image-generation**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-thinking-exp**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-thinking-exp-01-21**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-pro-exp-02-05**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite-preview-09-2025**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-09-2025**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-flash-latest**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-flash-lite-latest**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite-preview-06-17**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-04-17**|`v1`|6e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-05-20**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-tts**|`v1`|6e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-computer-use-preview-10-2025**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-3-pro-preview**|`v1`|1.2e-05 (per 1 token)|1 token\n|**google**|**gemini-3-flash-preview**|`v1`|3e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-exp-03-25**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-03-25**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-05-06**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-06-05**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-tts**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-exp-1114**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-exp-1206**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-gemma-2-27b-it**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-gemma-2-9b-it**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-pro**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-pro-vision**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemma-3-27b-it**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**learnlm-1.5-pro-experimental**|`v1`|0.0 (per 1 token)|1 token\n|**microsoft**|-|`v3.1`|1.0 (per 1000000 char)|1000 char\n|**openai**|-|`v3.0.0`|20.0 (per 1000000 token)|1 token\n|**openai**|**chatgpt-4o-latest**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-4**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0125**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0301**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0613**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-1106**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k-0613**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4-0125-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0314**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0613**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-vision-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-32k**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0314**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0613**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-2024-04-09**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-vision-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4.1**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-2025-04-14**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini**|`v3.0.0`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini-2025-04-14**|`v3.0.0`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano-2025-04-14**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview**|`v3.0.0`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview-2025-02-27**|`v3.0.0`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-05-13**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-08-06**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-11-20**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-10-01**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-12-17**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2025-06-03**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-2024-07-18**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview-2024-12-17**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview-2024-12-17**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview-2025-03-11**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-10-01**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-12-17**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2025-06-03**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview-2025-03-11**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-2025-11-13**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-chat-latest**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-2025-12-11**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-chat-latest**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-2025-08-07**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat-latest**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-mini**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-mini-2025-08-07**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-nano**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-5-nano-2025-08-07**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-realtime**|`v3.0.0`|1.6e-05 (per 1 token)|1 token\n|**openai**|**gpt-realtime-mini**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-realtime-2025-08-28**|`v3.0.0`|1.6e-05 (per 1 token)|1 token\n|**openai**|**o1**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-2024-12-17**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o1-mini-2024-09-12**|`v3.0.0`|1.2e-05 (per 1 token)|1 token\n|**openai**|**o1-preview**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-preview-2024-09-12**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o3**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-2025-04-16**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o3-mini-2025-01-31**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini-2025-04-16**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**container**|`v3.0.0`|0.0 (per 1 seconde)|1 seconde\n|**tenstorrent**|-|`v1.1.0`|0.7 (per 1000000 char)|1000 char\n|**sapling**|-|`v1`|20.0 (per 1000000 char)|1000 char\n|**xai**|**grok-2-latest**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-1212**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-1212**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-latest**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-3**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-beta**|`v1`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-latest**|`v1`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-latest**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-mini**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-beta**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-beta**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-latest**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-fast-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-fast-non-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-0709**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-latest**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-code-fast**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1-0825**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-vision-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Arabic**|`ar`|\n|**Chinese**|`zh`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**German**|`de`|\n|**Hindi**|`hi`|\n|**Indonesian**|`id`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Korean**|`ko`|\n|**Modern Greek (1453-)**|`el`|\n|**Norwegian**|`no`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Russian**|`ru`|\n|**Spanish**|`es`|\n|**Swedish**|`sv`|\n|**Thai**|`th`|\n|**Turkish**|`tr`|\n|**Vietnamese**|`vi`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Chinese (Simplified)**|`zh-Hans`|\n|**Chinese (Taiwan)**|`zh-TW`|\n|**Chinese (Traditional)**|`zh-Hant`|\n|**Portuguese (Brazil)**|`pt-BR`|\n|**Portuguese (Portugal)**|`pt-PT`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**google**|`gemini-2.5-flash`|\n|**openai**|`gpt-4o`|\n|**xai**|`grok-2-latest`|\n\n
", "summary": "Sentiment Analysis", "tags": ["Sentiment Analysis"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/texttopic_extractiontextanonymizationtextmoderationtextnamed_entity_recognitiontextkeyword_extractiontextsyntax_analysistextsentiment_analysisTextAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textsentiment_analysisResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/spell_check/": {"post": {"operationId": "text_text_spell_check_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**prowritingaid**|`v2`|10.0 (per 1000 request)|1 request\n|**sapling**|`v1`|2.0 (per 1000000 char)|1 char\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Albanian**|`sq`|\n|**Amharic**|`am`|\n|**Arabic**|`ar`|\n|**Armenian**|`hy`|\n|**Azerbaijani**|`az`|\n|**Basque**|`eu`|\n|**Belarusian**|`be`|\n|**Bengali**|`bn`|\n|**Bosnian**|`bs`|\n|**Bulgarian**|`bg`|\n|**Burmese**|`my`|\n|**Catalan**|`ca`|\n|**Cebuano**|`ceb`|\n|**Chinese**|`zh`|\n|**Corsican**|`co`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Esperanto**|`eo`|\n|**Estonian**|`et`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**Galician**|`gl`|\n|**Georgian**|`ka`|\n|**German**|`de`|\n|**Gujarati**|`gu`|\n|**Haitian**|`ht`|\n|**Hausa**|`ha`|\n|**Hawaiian**|`haw`|\n|**Hebrew**|`he`|\n|**Hindi**|`hi`|\n|**Hmong**|`hmn`|\n|**Hungarian**|`hu`|\n|**Icelandic**|`is`|\n|**Igbo**|`ig`|\n|**Indonesian**|`id`|\n|**Irish**|`ga`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Javanese**|`jv`|\n|**Kannada**|`kn`|\n|**Kazakh**|`kk`|\n|**Khmer**|`km`|\n|**Kinyarwanda**|`rw`|\n|**Kirghiz**|`ky`|\n|**Korean**|`ko`|\n|**Kurdish**|`ku`|\n|**Lao**|`lo`|\n|**Latin**|`la`|\n|**Latvian**|`lv`|\n|**Lithuanian**|`lt`|\n|**Luxembourgish**|`lb`|\n|**Macedonian**|`mk`|\n|**Malagasy**|`mg`|\n|**Malay (macrolanguage)**|`ms`|\n|**Malayalam**|`ml`|\n|**Maltese**|`mt`|\n|**Maori**|`mi`|\n|**Marathi**|`mr`|\n|**Modern Greek (1453-)**|`el`|\n|**Mongolian**|`mn`|\n|**Nepali (macrolanguage)**|`ne`|\n|**Norwegian**|`no`|\n|**Norwegian Bokm\u00e5l**|`nb`|\n|**Nyanja**|`ny`|\n|**Oriya (macrolanguage)**|`or`|\n|**Panjabi**|`pa`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Pushto**|`ps`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Samoan**|`sm`|\n|**Scottish Gaelic**|`gd`|\n|**Serbian**|`sr`|\n|**Shona**|`sn`|\n|**Sindhi**|`sd`|\n|**Sinhala**|`si`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Somali**|`so`|\n|**Southern Sotho**|`st`|\n|**Spanish**|`es`|\n|**Sundanese**|`su`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tagalog**|`tl`|\n|**Tajik**|`tg`|\n|**Tamil**|`ta`|\n|**Tatar**|`tt`|\n|**Telugu**|`te`|\n|**Thai**|`th`|\n|**Turkish**|`tr`|\n|**Turkmen**|`tk`|\n|**Uighur**|`ug`|\n|**Ukrainian**|`uk`|\n|**Urdu**|`ur`|\n|**Uzbek**|`uz`|\n|**Vietnamese**|`vi`|\n|**Welsh**|`cy`|\n|**Western Frisian**|`fy`|\n|**Xhosa**|`xh`|\n|**Yiddish**|`yi`|\n|**Yoruba**|`yo`|\n|**Zulu**|`zu`|\n|**jp**|`jp`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Chinese (China)**|`zh-CN`|\n|**Chinese (Simplified)**|`zh-hans`|\n|**Chinese (Taiwan)**|`zh-TW`|\n|**Chinese (Traditional)**|`zh-hant`|\n|**English (United Kingdom)**|`en-gb`|\n|**Portuguese (Brazil)**|`pt-br`|\n|**Portuguese (Portugal)**|`pt-pt`|\n\n
", "summary": "Spell Check", "tags": ["Spell Check"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textspell_checkSpellCheckRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textspell_checkResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/summarize/": {"post": {"operationId": "text_text_summarize_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**microsoft**|-|`v3.1`|2.0 (per 1000000 char)|1000 char\n|**openai**|-|`v3.0.0`|60.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-1106**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0314**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-2024-04-09**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0125**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**chatgpt-4o-latest**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0301**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0613**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k-0613**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4-0125-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0314**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0613**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-vision-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-32k**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0613**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-vision-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4.1**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-2025-04-14**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini**|`v3.0.0`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini-2025-04-14**|`v3.0.0`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano-2025-04-14**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview**|`v3.0.0`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview-2025-02-27**|`v3.0.0`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-05-13**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-08-06**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-11-20**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-10-01**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-12-17**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2025-06-03**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-2024-07-18**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview-2024-12-17**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview-2024-12-17**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview-2025-03-11**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-10-01**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-12-17**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2025-06-03**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview-2025-03-11**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-2025-11-13**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-chat-latest**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-2025-12-11**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-chat-latest**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-2025-08-07**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat-latest**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-mini**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-mini-2025-08-07**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-nano**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-5-nano-2025-08-07**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-realtime**|`v3.0.0`|1.6e-05 (per 1 token)|1 token\n|**openai**|**gpt-realtime-mini**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-realtime-2025-08-28**|`v3.0.0`|1.6e-05 (per 1 token)|1 token\n|**openai**|**o1**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-2024-12-17**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o1-mini-2024-09-12**|`v3.0.0`|1.2e-05 (per 1 token)|1 token\n|**openai**|**o1-preview**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-preview-2024-09-12**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o3**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-2025-04-16**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o3-mini-2025-01-31**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini-2025-04-16**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**container**|`v3.0.0`|0.0 (per 1 seconde)|1 seconde\n|**cohere**|-|`2022-12-06`|2.0 (per 1000000 token)|1 token\n|**cohere**|**summarize-xlarge**|`2022-12-06`|2.0 (per 1000000 token)|1 token\n|**cohere**|**command-nightly**|`2022-12-06`|2.0 (per 1000000 token)|1 token\n|**cohere**|**command-nightly**|`2022-12-06`|2.0 (per 1000000 token)|1 token\n|**xai**|**grok-2-latest**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-1212**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-1212**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-latest**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-3**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-beta**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-beta**|`v3.0.0`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-latest**|`v3.0.0`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-latest**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-mini**|`v3.0.0`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-beta**|`v3.0.0`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-beta**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-latest**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-latest**|`v3.0.0`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-fast-reasoning**|`v3.0.0`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-fast-non-reasoning**|`v3.0.0`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-0709**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-latest**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast**|`v3.0.0`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning**|`v3.0.0`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning-latest**|`v3.0.0`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning**|`v3.0.0`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning-latest**|`v3.0.0`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-beta**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-code-fast**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1-0825**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-vision-beta**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Bulgarian**|`bg`|\n|**Chinese**|`zh`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Estonian**|`et`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**German**|`de`|\n|**Hungarian**|`hu`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Korean**|`ko`|\n|**Latvian**|`lv`|\n|**Modern Greek (1453-)**|`el`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Spanish**|`es`|\n|**Swedish**|`sv`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Chinese (Simplified)**|`zh-Hans`|\n|**Portuguese (Brazil)**|`pt-BR`|\n|**Portuguese (Brazil)**|`pt-br`|\n|**Portuguese (Portugal)**|`pt-PT`|\n|**Portuguese (Portugal)**|`pt-pt`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4`|\n|**cohere**|`summarize-xlarge`|\n|**xai**|`grok-2-latest`|\n\n
", "summary": "Summarize", "tags": ["Summarize"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textsummarizeSummarizeRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textsummarizeResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/topic_extraction/": {"post": {"operationId": "text_text_topic_extraction_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**google**|-|`v1`|0.6 (per 1000000 char)|1 char\n|**openai**|**gpt-4o**|`v1`|10.0 (per 1000000 token)|1 token\n|**openai**|-|`v1`|10.0 (per 1000000 token)|1 token\n|**tenstorrent**|-|`v1.0.0`|2.0 (per 1000000 char)|1000 char\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**English**|`en`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n\n
", "summary": "Topic Extraction", "tags": ["Topic Extraction"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/texttopic_extractiontextanonymizationtextmoderationtextnamed_entity_recognitiontextkeyword_extractiontextsyntax_analysistextsentiment_analysisTextAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/texttopic_extractionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/translation/automatic_translation/": {"post": {"operationId": "translation_translation_automatic_translation_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|-|`boto3 (v1.15.18)`|15.0 (per 1000000 char)|1 char\n|**google**|-|`v3`|20.0 (per 1000000 char)|1 char\n|**microsoft**|-|`v3.0`|10.0 (per 1000000 char)|1 char\n|**deepl**|-|`v2`|20.0 (per 1000000 char)|1 char\n|**modernmt**|-|`1.2.8`|8.0 (per 1000000 char)|1 char\n|**openai**|-|`v1`|20.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4o**|`v1`|20.0 (per 1000000 token)|1 token\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Albanian**|`sq`|\n|**Amharic**|`am`|\n|**Arabic**|`ar`|\n|**Armenian**|`hy`|\n|**Assamese**|`as`|\n|**Azerbaijani**|`az`|\n|**Bashkir**|`ba`|\n|**Basque**|`eu`|\n|**Belarusian**|`be`|\n|**Bengali**|`bn`|\n|**Bosnian**|`bs`|\n|**Bulgarian**|`bg`|\n|**Burmese**|`my`|\n|**Catalan**|`ca`|\n|**Cebuano**|`ceb`|\n|**Chinese**|`zh`|\n|**Corsican**|`co`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dari**|`prs`|\n|**Dhivehi**|`dv`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Esperanto**|`eo`|\n|**Estonian**|`et`|\n|**Faroese**|`fo`|\n|**Fijian**|`fj`|\n|**Filipino**|`fil`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**Galician**|`gl`|\n|**Georgian**|`ka`|\n|**German**|`de`|\n|**Gujarati**|`gu`|\n|**Haitian**|`ht`|\n|**Hausa**|`ha`|\n|**Hawaiian**|`haw`|\n|**Hebrew**|`he`|\n|**Hindi**|`hi`|\n|**Hmong**|`hmn`|\n|**Hmong Daw**|`mww`|\n|**Hungarian**|`hu`|\n|**Icelandic**|`is`|\n|**Igbo**|`ig`|\n|**Indonesian**|`id`|\n|**Inuinnaqtun**|`ikt`|\n|**Inuktitut**|`iu`|\n|**Irish**|`ga`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Javanese**|`jv`|\n|**Kannada**|`kn`|\n|**Kazakh**|`kk`|\n|**Khmer**|`km`|\n|**Kinyarwanda**|`rw`|\n|**Kirghiz**|`ky`|\n|**Klingon**|`tlh`|\n|**Korean**|`ko`|\n|**Kurdish**|`ku`|\n|**Lao**|`lo`|\n|**Latin**|`la`|\n|**Latvian**|`lv`|\n|**Literary Chinese**|`lzh`|\n|**Lithuanian**|`lt`|\n|**Luxembourgish**|`lb`|\n|**Macedonian**|`mk`|\n|**Malagasy**|`mg`|\n|**Malay (macrolanguage)**|`ms`|\n|**Malayalam**|`ml`|\n|**Maltese**|`mt`|\n|**Maori**|`mi`|\n|**Marathi**|`mr`|\n|**Modern Greek (1453-)**|`el`|\n|**Mongolian**|`mn`|\n|**Nepali (macrolanguage)**|`ne`|\n|**Northern Kurdish**|`kmr`|\n|**Norwegian**|`no`|\n|**Norwegian Bokm\u00e5l**|`nb`|\n|**Norwegian Nynorsk**|`nn`|\n|**Nyanja**|`ny`|\n|**Oriya (macrolanguage)**|`or`|\n|**Panjabi**|`pa`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Pushto**|`ps`|\n|**Quer\u00e9taro Otomi**|`otq`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Samoan**|`sm`|\n|**Scottish Gaelic**|`gd`|\n|**Serbian**|`sr`|\n|**Shona**|`sn`|\n|**Sindhi**|`sd`|\n|**Sinhala**|`si`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Somali**|`so`|\n|**Southern Sotho**|`st`|\n|**Spanish**|`es`|\n|**Sundanese**|`su`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tagalog**|`tl`|\n|**Tahitian**|`ty`|\n|**Tajik**|`tg`|\n|**Tamil**|`ta`|\n|**Tatar**|`tt`|\n|**Telugu**|`te`|\n|**Thai**|`th`|\n|**Tibetan**|`bo`|\n|**Tigrinya**|`ti`|\n|**Tonga (Tonga Islands)**|`to`|\n|**Turkish**|`tr`|\n|**Turkmen**|`tk`|\n|**Uighur**|`ug`|\n|**Ukrainian**|`uk`|\n|**Upper Sorbian**|`hsb`|\n|**Urdu**|`ur`|\n|**Uzbek**|`uz`|\n|**Vietnamese**|`vi`|\n|**Welsh**|`cy`|\n|**Western Frisian**|`fy`|\n|**Xhosa**|`xh`|\n|**Yiddish**|`yi`|\n|**Yoruba**|`yo`|\n|**Yucateco**|`yua`|\n|**Yue Chinese**|`yue`|\n|**Zulu**|`zu`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Chinese (China)**|`zh-CN`|\n|**Chinese (Simplified)**|`zh-Hans`|\n|**Chinese (Taiwan)**|`zh-TW`|\n|**Chinese (Traditional)**|`zh-Hant`|\n|**English (United Kingdom)**|`en-GB`|\n|**English (United States)**|`en-US`|\n|**French (Canada)**|`fr-CA`|\n|**Inuktitut (Latin)**|`iu-Latn`|\n|**Klingon (Klingon (KLI pIqaD))**|`tlh-Piqd`|\n|**Klingon (Latin)**|`tlh-Latn`|\n|**Mongolian (Cyrillic)**|`mn-Cyrl`|\n|**Mongolian (Mongolian)**|`mn-Mong`|\n|**Persian (Afghanistan)**|`fa-AF`|\n|**Portuguese (Brazil)**|`pt-BR`|\n|**Portuguese (Portugal)**|`pt-PT`|\n|**Serbian (Cyrillic)**|`sr-Cyrl`|\n|**Serbian (Latin)**|`sr-Latn`|\n|**Spanish (Latin America)**|`es-419`|\n|**Spanish (Mexico)**|`es-MX`|\n|**Spanish (Spain)**|`es-ES`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n\n
", "summary": "Automatic Translation", "tags": ["Automatic Translation"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/translationautomatic_translationAutomaticTranslationRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/translationautomatic_translationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/translation/document_translation/": {"post": {"operationId": "translation_translation_document_translation_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**deepl**|`v2`|2.0 (per 20 page)|20 page\n|**google**|`v3`|0.08 (per 1 page)|1 page\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Albanian**|`sq`|\n|**Amharic**|`am`|\n|**Arabic**|`ar`|\n|**Armenian**|`hy`|\n|**Azerbaijani**|`az`|\n|**Basque**|`eu`|\n|**Belarusian**|`be`|\n|**Bengali**|`bn`|\n|**Bosnian**|`bs`|\n|**Bulgarian**|`bg`|\n|**Burmese**|`my`|\n|**Catalan**|`ca`|\n|**Cebuano**|`ceb`|\n|**Chinese**|`zh`|\n|**Corsican**|`co`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Esperanto**|`eo`|\n|**Estonian**|`et`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**Galician**|`gl`|\n|**Georgian**|`ka`|\n|**German**|`de`|\n|**Gujarati**|`gu`|\n|**Haitian**|`ht`|\n|**Hausa**|`ha`|\n|**Hawaiian**|`haw`|\n|**Hebrew**|`he`|\n|**Hindi**|`hi`|\n|**Hmong**|`hmn`|\n|**Hungarian**|`hu`|\n|**Icelandic**|`is`|\n|**Igbo**|`ig`|\n|**Indonesian**|`id`|\n|**Irish**|`ga`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Javanese**|`jv`|\n|**Kannada**|`kn`|\n|**Kazakh**|`kk`|\n|**Khmer**|`km`|\n|**Kinyarwanda**|`rw`|\n|**Kirghiz**|`ky`|\n|**Korean**|`ko`|\n|**Kurdish**|`ku`|\n|**Lao**|`lo`|\n|**Latin**|`la`|\n|**Latvian**|`lv`|\n|**Lithuanian**|`lt`|\n|**Luxembourgish**|`lb`|\n|**Macedonian**|`mk`|\n|**Malagasy**|`mg`|\n|**Malay (macrolanguage)**|`ms`|\n|**Malayalam**|`ml`|\n|**Maltese**|`mt`|\n|**Maori**|`mi`|\n|**Marathi**|`mr`|\n|**Modern Greek (1453-)**|`el`|\n|**Mongolian**|`mn`|\n|**Nepali (macrolanguage)**|`ne`|\n|**Norwegian**|`no`|\n|**Nyanja**|`ny`|\n|**Oriya (macrolanguage)**|`or`|\n|**Panjabi**|`pa`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Pushto**|`ps`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Samoan**|`sm`|\n|**Scottish Gaelic**|`gd`|\n|**Serbian**|`sr`|\n|**Shona**|`sn`|\n|**Sindhi**|`sd`|\n|**Sinhala**|`si`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Somali**|`so`|\n|**Southern Sotho**|`st`|\n|**Spanish**|`es`|\n|**Sundanese**|`su`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tagalog**|`tl`|\n|**Tajik**|`tg`|\n|**Tamil**|`ta`|\n|**Tatar**|`tt`|\n|**Telugu**|`te`|\n|**Thai**|`th`|\n|**Turkish**|`tr`|\n|**Turkmen**|`tk`|\n|**Uighur**|`ug`|\n|**Ukrainian**|`uk`|\n|**Urdu**|`ur`|\n|**Uzbek**|`uz`|\n|**Vietnamese**|`vi`|\n|**Welsh**|`cy`|\n|**Western Frisian**|`fy`|\n|**Xhosa**|`xh`|\n|**Yiddish**|`yi`|\n|**Yoruba**|`yo`|\n|**Zulu**|`zu`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Chinese (China)**|`zh-CN`|\n|**Chinese (Taiwan)**|`zh-TW`|\n\n
", "summary": "Document Translation", "tags": ["Document Translation"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/translationdocument_translationDocumentTranslationRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/translationdocument_translationDocumentTranslationRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/translationdocument_translationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/translation/language_detection/": {"post": {"operationId": "translation_translation_language_detection_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|-|`boto3 (v1.15.18)`|1.0 (per 1000000 char)|300 char\n|**google**|-|`v1`|20.0 (per 1000000 char)|1 char\n|**microsoft**|-|`v3.1`|1.0 (per 1000000 char)|1000 char\n|**modernmt**|-|`1.1.0`|8.0 (per 1000000 char)|1 char\n|**openai**|-|`v1`|20.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4o**|`v1`|10.0 (per 1000000 token)|1 token\n|**xai**|**grok-2-latest**|`v1`|10.0 (per 1000000 token)|1 token\n|**xai**|**grok-2**|`v1`|10.0 (per 1000000 token)|1 token\n\n\n
\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n|**xai**|`grok-2-latest`|\n\n
", "summary": "Language Detection", "tags": ["Language Detection"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/translationlanguage_detectionLanguageDetectionRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/translationlanguage_detectionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/user/custom_token/": {"get": {"operationId": "user_user_custom_token_list", "summary": "List Tokens", "tags": ["User Management"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/CustomTokensList"}}}}, "description": ""}}}, "post": {"operationId": "user_user_custom_token_create", "summary": "Create new Token", "tags": ["User Management"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/CustomTokensCreateRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"201": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/CustomTokensCreate"}}}, "description": ""}}}}, "/user/custom_token/{name}/": {"get": {"operationId": "user_user_custom_token_retrieve", "summary": "Retrieve Token", "parameters": [{"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["User Management"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/CustomTokensList"}}}, "description": ""}}}, "patch": {"operationId": "user_user_custom_token_partial_update", "summary": "Update Token", "parameters": [{"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["User Management"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PatchedCustomTokenUpdateRequest"}}}}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/CustomTokenUpdate"}}}, "description": ""}}}, "delete": {"operationId": "user_user_custom_token_destroy", "summary": "Delete Token", "parameters": [{"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["User Management"], "security": [{"FeatureApiAuth": []}], "responses": {"204": {"description": "No response body"}}}}, "/video/deepfake_detection_async/": {"get": {"operationId": "video_video_deepfake_detection_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Deepfake Detection List Jobs", "tags": ["Deepfake Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "video_video_deepfake_detection_async_create", "description": "No Provider Available\n\n\n\n", "summary": "Deepfake Detection Launch Job", "tags": ["Deepfake Detection Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "video_video_deepfake_detection_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Deepfake Detection delete Jobs", "tags": ["Deepfake Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/video/deepfake_detection_async/{public_id}/": {"get": {"operationId": "video_video_deepfake_detection_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Deepfake Detection Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Deepfake Detection Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncvideodeepfake_detection_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/video/explicit_content_detection_async/": {"get": {"operationId": "video_video_explicit_content_detection_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Video Explicit Content Detection List Jobs", "tags": ["Explicit Content Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "video_video_explicit_content_detection_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3`|0.1 (per 60 seconde)|60 seconde\n|**google**|`Video intelligence v1`|0.1 (per 60 seconde)|1 seconde\n\n\n
\n\n", "summary": "Video Explicit Content Detection Launch Job", "tags": ["Explicit Content Detection Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "video_video_explicit_content_detection_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Video Explicit Content delete Jobs", "tags": ["Explicit Content Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/video/explicit_content_detection_async/{public_id}/": {"get": {"operationId": "video_video_explicit_content_detection_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Video Explicit Content Detection Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Explicit Content Detection Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncvideoexplicit_content_detection_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/video/face_detection_async/": {"get": {"operationId": "video_video_face_detection_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Face Detection List Jobs", "tags": ["Face Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "video_video_face_detection_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3`|0.1 (per 60 seconde)|60 seconde\n|**google**|`Video intelligence v1`|0.1 (per 60 seconde)|1 seconde\n\n\n
\n\n", "summary": "Face Detection Launch Job", "tags": ["Face Detection Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "video_video_face_detection_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Face Detection delete Jobs", "tags": ["Face Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/video/face_detection_async/{public_id}/": {"get": {"operationId": "video_video_face_detection_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Face Detection Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Face Detection Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncvideoface_detection_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/video/generation_async/": {"get": {"operationId": "video_video_generation_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Generation List Jobs", "tags": ["Generation Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "video_video_generation_async_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|**amazon.nova-reel-v1:1**|`boto3`|0.08 (per 1 seconde)|1 seconde\n|**amazon**|**amazon.nova-reel-v1:0**|`boto3`|0.08 (per 1 seconde)|1 seconde\n|**amazon**|-|`boto3`|0.5 (per 1 request)|1 request\n|**minimax**|**MiniMax-Hailuo-2.3**|`v1`|0.28 (per 1 request)|1 request\n|**minimax**|**MiniMax-Hailuo-02**|`v1`|0.28 (per 1 request)|1 request\n|**minimax**|-|`v1`|0.56 (per 1 request)|1 request\n|**minimax**|**S2V-01**|`v1`|0.65 (per 1 request)|1 request\n|**minimax**|**T2V/I2V-01-Director**|`v1`|0.43 (per 1 request)|1 request\n|**bytedance**|**seedance-1-0-pro-250528**|`v3`|0.62 (per 1 request)|1 request\n|**bytedance**|-|`v3`|1.8 (per 1000000 token)|1 token\n|**bytedance**|**seedance-1-0-lite-t2v-250428**|`v3`|1.8 (per 1000000 token)|1 token\n|**google**|**veo-3.1-generate-preview**|`v1Beta`|0.4 (per 1 seconde)|1 seconde\n|**google**|**veo-3.0-generate-001**|`v1Beta`|0.4 (per 1 seconde)|1 seconde\n|**google**|**veo-3.0-fast-generate-001**|`v1Beta`|0.15 (per 1 seconde)|1 seconde\n|**google**|-|`v1Beta`|3.6 (per 1 request)|1 request\n|**openai**|-|`v1`|5.0 (per 1 request)|1 request\n|**openai**|**sora-2**|`v1`|0.1 (per 1 seconde)|1 seconde\n\n\n
\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**amazon**|`amazon.nova-reel-v1:1`|\n|**minimax**|`MiniMax-Hailuo-2.3`|\n|**bytedance**|`seedance-1-0-pro-250528`|\n|**google**|`veo-3.1-generate-preview`|\n|**openai**|`sora-2`|\n\n
", "summary": "Generation Launch Job", "tags": ["Generation Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/GenerationAsyncRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/GenerationAsyncRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "video_video_generation_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Generation delete Jobs", "tags": ["Generation Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/video/generation_async/{public_id}/": {"get": {"operationId": "video_video_generation_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Generation Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Generation Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncvideogeneration_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/video/label_detection_async/": {"get": {"operationId": "video_video_label_detection_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Label Detection List Jobs", "tags": ["Label Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "video_video_label_detection_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3`|0.1 (per 60 seconde)|60 seconde\n|**google**|`Video intelligence v1`|0.1 (per 60 seconde)|1 seconde\n\n\n
\n\n", "summary": "Label Detection Launch Job", "tags": ["Label Detection Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "video_video_label_detection_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Label Detection delete Jobs", "tags": ["Label Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/video/label_detection_async/{public_id}/": {"get": {"operationId": "video_video_label_detection_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Label Detection Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Label Detection Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncvideolabel_detection_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/video/logo_detection_async/": {"get": {"operationId": "video_video_logo_detection_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Video Logo Detection List Jobs", "tags": ["Logo Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "video_video_logo_detection_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**google**|`Video intelligence v1`|0.15 (per 60 seconde)|1 seconde\n|**twelvelabs**|`v1.1.2`|0.1 (per 60 seconde)|60 seconde\n\n\n
\n\n", "summary": "Video Logo Detection Launch Job", "tags": ["Logo Detection Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "video_video_logo_detection_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Video Logo Detection delete Jobs", "tags": ["Logo Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/video/logo_detection_async/{public_id}/": {"get": {"operationId": "video_video_logo_detection_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Video Logo Detection Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Logo Detection Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncvideologo_detection_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/video/object_tracking_async/": {"get": {"operationId": "video_video_object_tracking_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Video Object Tracking List Jobs", "tags": ["Object Tracking Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "video_video_object_tracking_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**google**|`Video intelligence v1`|0.15 (per 60 seconde)|1 seconde\n\n\n
\n\n", "summary": "Video Object Tracking Launch Job", "tags": ["Object Tracking Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "video_video_object_tracking_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Video Object Tracking delete Jobs", "tags": ["Object Tracking Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/video/object_tracking_async/{public_id}/": {"get": {"operationId": "video_video_object_tracking_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Video Object Tracking Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Object Tracking Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncvideoobject_tracking_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/video/person_tracking_async/": {"get": {"operationId": "video_video_person_tracking_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Person Tracking List Jobs", "tags": ["Person Tracking Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "video_video_person_tracking_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3`|0.1 (per 60 seconde)|60 seconde\n|**google**|`Video intelligence v1`|0.1 (per 60 seconde)|1 seconde\n\n\n
\n\n", "summary": "Person Tracking Launch Job", "tags": ["Person Tracking Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "video_video_person_tracking_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Person Tracking delete Jobs", "tags": ["Person Tracking Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/video/person_tracking_async/{public_id}/": {"get": {"operationId": "video_video_person_tracking_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Person Tracking Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Person Tracking Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncvideoperson_tracking_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/video/question_answer/": {"post": {"operationId": "video_video_question_answer_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**google**|**gemini-3-flash-preview**|`v1Beta`|3e-06 (per 1 token)|1 token\n|**google**|**gemini-3-pro-preview**|`v1Beta`|1.2e-05 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash**|`v1Beta`|0.4 (per 1000000 token)|1 token\n|**google**|-|`v1Beta`|0.6 (per 1000000 token)|1 token\n|**google**|**gemini-2.0-flash-lite-preview**|`v1Beta`|0.3 (per 1000000 token)|1 token\n|**google**|**gemini-3.1-pro-preview**|`v1Beta`|1.2e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite**|`v1Beta`|0.4 (per 1000000 token)|1 token\n|**google**|**gemini-2.5-pro**|`v1Beta`|15.0 (per 1000000 token)|1 token\n|**google**|**gemini-2.5-flash**|`v1Beta`|2.5 (per 1000000 token)|1 token\n|**google**|**gemini-3.1-flash-lite-preview**|`v1Beta`|1.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-03-25**|`v1Beta`|15.0 (per 1000000 token)|1 token\n|**google**|**gemini-2.0-flash-lite**|`v1Beta`|0.3 (per 1000000 token)|1 token\n|**amazon**|-|`boto3 (v1.29.6)`|3.2 (per 1000000 token)|1 token\n|**amazon**|**amazon.nova-pro-v1:0**|`boto3 (v1.29.6)`|3.2 (per 1000000 token)|1 token\n\n\n
\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**google**|`gemini-2.5-flash`|\n|**amazon**|`amazon.nova-pro-v1:0`|\n\n
", "summary": "Question Answer", "tags": ["Question Answer"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/videoquestion_answerQuestionAnswerRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/videoquestion_answerQuestionAnswerRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/videoquestion_answerResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/video/question_answer_async/": {"get": {"operationId": "video_video_question_answer_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Question Answer List Jobs", "tags": ["Question Answer Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "video_video_question_answer_async_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**google**|**gemini-3-pro-preview**|`v1Beta`|1.2e-05 (per 1 token)|1 token\n|**google**|**gemini-3-flash-preview**|`v1Beta`|3e-06 (per 1 token)|1 token\n|**google**|-|`v1Beta`|0.6 (per 1000000 token)|1 token\n|**google**|**gemini-2.0-flash**|`v1Beta`|0.4 (per 1000000 token)|1 token\n|**google**|**gemini-2.0-flash-lite-preview**|`v1Beta`|0.3 (per 1000000 token)|1 token\n|**google**|**gemini-2.5-flash-lite**|`v1Beta`|0.4 (per 1000000 token)|1 token\n|**google**|**gemini-3.1-pro-preview**|`v1Beta`|1.2e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro**|`v1Beta`|15.0 (per 1000000 token)|1 token\n|**google**|**gemini-2.5-flash**|`v1Beta`|2.5 (per 1000000 token)|1 token\n|**google**|**gemini-3.1-flash-lite-preview**|`v1Beta`|1.5e-06 (per 1 token)|None token\n|**google**|**gemini-2.5-pro-preview-03-25**|`v1Beta`|15.0 (per 1000000 token)|1 token\n|**google**|**gemini-2.0-flash-lite**|`v1Beta`|0.3 (per 1000000 token)|1 token\n\n\n
\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**google**|`gemini-2.5-flash`|\n\n
", "summary": "Question Answer Launch Job", "tags": ["Question Answer Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/QuestionAnswerAsyncRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/QuestionAnswerAsyncRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "video_video_question_answer_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Question Answer delete Jobs", "tags": ["Question Answer Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/video/question_answer_async/{public_id}/": {"get": {"operationId": "video_video_question_answer_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Question Answer Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Question Answer Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncvideoquestion_answer_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/video/shot_change_detection_async/": {"get": {"operationId": "video_video_shot_change_detection_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Video Shot Change Detection List Jobs", "tags": ["Shot Change Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "video_video_shot_change_detection_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**google**|`Video intelligence v1`|0.05 (per 1 minute)|1 minute\n\n\n
\n\n", "summary": "Shot Change Detection Launch Job", "tags": ["Shot Change Detection Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "video_video_shot_change_detection_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Video Shot Change Detection delete Jobs", "tags": ["Shot Change Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/video/shot_change_detection_async/{public_id}/": {"get": {"operationId": "video_video_shot_change_detection_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Video Shot Change Detection Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Shot Change Detection Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncvideoshot_change_detection_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/video/text_detection_async/": {"get": {"operationId": "video_video_text_detection_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Text Detection List Jobs", "tags": ["Text Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "video_video_text_detection_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3`|0.1 (per 60 seconde)|60 seconde\n|**google**|`Video intelligence v1`|0.15 (per 60 seconde)|1 seconde\n|**twelvelabs**|`v1.1.2`|0.067 (per 60 seconde)|60 seconde\n\n\n
\n\n", "summary": "Text Detection Launch Job", "tags": ["Text Detection Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "video_video_text_detection_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Text Detection delete Jobs", "tags": ["Text Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/video/text_detection_async/{public_id}/": {"get": {"operationId": "video_video_text_detection_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Text Detection Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Text Detection Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncvideotext_detection_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/workflow/": {"get": {"operationId": "workflow_workflow_list", "description": "List all created workflows. \n\nNOTE: you can only create a workflow through our app", "summary": "List Workflows", "tags": ["Workflows"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/Workflow"}}}}, "description": ""}}}}, "/workflow/{workflow_id}/": {"get": {"operationId": "workflow_workflow_retrieve", "description": "Get workflow Content (JSON representation)", "summary": "Retrieve a Workflow", "parameters": [{"in": "path", "name": "workflow_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Workflows"], "security": [{"WorkflowShareApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Workflow"}}}, "description": ""}}}, "delete": {"operationId": "workflow_workflow_destroy", "summary": "Delete a Workflow", "parameters": [{"in": "path", "name": "workflow_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Workflows"], "security": [{"WorkflowShareApiAuth": []}], "responses": {"204": {"description": "No response body"}}}}, "/workflow/{workflow_id}/execution/": {"get": {"operationId": "workflow_workflow_execution_list", "summary": "List Executions", "parameters": [{"name": "page", "required": false, "in": "query", "description": "A page number within the paginated result set.", "schema": {"type": "integer"}}, {"name": "page_size", "required": false, "in": "query", "description": "Number of results to return per page.", "schema": {"type": "integer"}}, {"in": "path", "name": "workflow_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Executions"], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PaginatedExecutionListList"}}}, "description": ""}}}, "post": {"operationId": "workflow_workflow_execution_create", "description": "\nLaunch a workflow Execution.\nif you set `input` in your workflow, you will need to launch the execution with these inputs as parameters\nFor example if you set a file_url as input with name \"my_invoice\", your request body will look like this:\n\n { my_invoice: \"https://example.com/public/invoice_123.pdf\" }\n ", "summary": "Create an Execution", "parameters": [{"in": "path", "name": "workflow_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Executions"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ExecutionFakeCreateRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/ExecutionFakeCreateRequest"}}}}, "responses": {"201": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ExecutionExampleSuccessCreate"}}}, "description": ""}}}}, "/workflow/{workflow_id}/execution/{execution_id}/": {"get": {"operationId": "workflow_workflow_execution_retrieve", "description": "An Execution represents the process of running a workflow with specific input data. It tracks the workflow's progress, providing a unique id, a status (e.g., pending, running, completed), and a result once the execution is finished. You can retrieve an Execution by its id to monitor its status or access its result after completion", "summary": "Get an Execution by ID", "parameters": [{"in": "path", "name": "execution_id", "schema": {"type": "string", "format": "uuid"}, "required": true}, {"in": "path", "name": "workflow_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Executions"], "security": [{"WorkflowShareApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ExecutionExampleSuccessCreate"}}}, "description": ""}}}}, "/workflow/{workflow_id}/webhook/": {"put": {"operationId": "workflow_workflow_webhook_update", "summary": "Update workflow webhook URL", "parameters": [{"in": "path", "name": "workflow_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Webhook"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/WebhookParametersRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/WebhookParametersRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/WebhookParametersRequest"}}}}, "security": [{"WorkflowShareApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/WebhookParameters"}}}, "description": ""}}}, "patch": {"operationId": "workflow_workflow_webhook_partial_update", "summary": "Update workflow webhook URL", "parameters": [{"in": "path", "name": "workflow_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Webhook"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PatchedWebhookParametersRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/PatchedWebhookParametersRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/PatchedWebhookParametersRequest"}}}}, "security": [{"WorkflowShareApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/WebhookParameters"}}}, "description": ""}}}}}, "components": {"schemas": {"AIProject": {"type": "object", "properties": {"project_id": {"type": "string", "format": "uuid", "readOnly": true}, "project_name": {"type": "string", "maxLength": 100}, "project_type": {"$ref": "#/components/schemas/ProjectTypeEnum"}, "created_at": {"type": "string", "format": "date-time", "readOnly": true}, "user": {"type": "string", "format": "uuid"}}, "required": ["created_at", "project_id", "project_name", "project_type", "user"]}, "AddFileRequest": {"type": "object", "properties": {"data_type": {"$ref": "#/components/schemas/DataTypeEnum"}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:pdf|csv|amr|flac|wav|ogg|mp3|mp4|webm|xml)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "metadata": {"type": "string", "minLength": 1, "description": "Optional parameter: Attach metadata to the uploaded file data in your database. Provide a stringified JSON with key-value pairs. Useful in `filter_document` when querying the language model, it allows you to filter data with your Chatbot by considering only documents that have the specified metadata."}, "provider": {"type": "string", "nullable": true, "minLength": 1, "description": "Select a provider to use, only for audio (speech-to-text) & pdf (ocr-async) files."}}, "required": ["data_type"]}, "AddImageRequest": {"type": "object", "properties": {"metadata": {"type": "string", "minLength": 1, "description": "Optional parameter: Attach metadata to the uploaded data in your database. Provide a stringified JSON with key-value pairs. Useful in `filter_document` when querying the language model, it allows you to filter data with your Chatbot by considering only documents that have the specified metadata. Key 'collection_name' is not allowed."}, "model": {"type": "string", "nullable": true, "minLength": 1, "default": "gemini-2.0-flash", "description": "Optional. Select the Language Model provider (e.g., `google/gemini-2.0-flash`, `openai/gpt-4-vision-preview`) to use for describing the uploaded content. This model will analyze the content and generate a text description, which will be stored in the RAG database. If left blank, a default model is used."}, "prompt": {"type": "string", "nullable": true, "minLength": 1, "description": "Optional. Specify a custom prompt to guide the Language Model in generating the description for the content. If no prompt is provided, a default prompt will be used to describe what's in the image/video. This allows for more specific or targeted analysis."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|png|webp|heic|heif)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}}, "AddTextRequest": {"type": "object", "properties": {"texts": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "LLM Query"}, "metadata": {"type": "array", "items": {"type": "object", "additionalProperties": {}}, "default": []}}, "required": ["texts"]}, "AddUrlRequest": {"type": "object", "properties": {"urls": {"type": "array", "items": {"type": "string", "format": "uri", "minLength": 1}, "description": "Add multiple urls into the database, it loads all the text from HTML webpages into a document format."}, "js_render": {"type": "array", "items": {"type": "boolean"}, "description": "Enable JavaScript rendering for the provided URLs."}, "metadata": {"type": "array", "items": {"type": "object", "additionalProperties": {}}}}, "required": ["urls"]}, "AddVideoRequest": {"type": "object", "properties": {"metadata": {"type": "string", "minLength": 1, "description": "Optional parameter: Attach metadata to the uploaded data in your database. Provide a stringified JSON with key-value pairs. Useful in `filter_document` when querying the language model, it allows you to filter data with your Chatbot by considering only documents that have the specified metadata. Key 'collection_name' is not allowed."}, "model": {"type": "string", "nullable": true, "minLength": 1, "default": "gemini-2.0-flash", "description": "Optional. Select the Language Model provider (e.g., `google/gemini-2.0-flash`, `openai/gpt-4-vision-preview`) to use for describing the uploaded content. This model will analyze the content and generate a text description, which will be stored in the RAG database. If left blank, a default model is used."}, "prompt": {"type": "string", "nullable": true, "minLength": 1, "description": "Optional. Specify a custom prompt to guide the Language Model in generating the description for the content. If no prompt is provided, a default prompt will be used to describe what's in the image/video. This allows for more specific or targeted analysis."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:mov|mp4|mpeg|avi|x\\-flv|mpg|webm|wmv|3gpp)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}}, "AiDetectionItem": {"properties": {"text": {"title": "Text", "type": "string"}, "prediction": {"title": "Prediction", "type": "string"}, "ai_score": {"title": "Ai Score", "type": "integer"}, "ai_score_detail": {"title": "Ai Score Detail", "type": "integer"}}, "required": ["text", "prediction", "ai_score", "ai_score_detail"], "title": "AiDetectionItem", "type": "object"}, "AiProductFile": {"type": "object", "properties": {"file_id": {"type": "string", "format": "uuid", "readOnly": true}, "user": {"type": "string", "readOnly": true}, "project": {"type": "string", "readOnly": true}, "file_type": {"type": "string", "maxLength": 255}, "created_at": {"type": "string", "format": "date-time", "readOnly": true}, "status": {"nullable": true, "oneOf": [{"$ref": "#/components/schemas/Status889Enum"}, {"$ref": "#/components/schemas/NullEnum"}]}, "error": {"type": "string", "nullable": true}, "task_id": {"type": "string", "nullable": true, "maxLength": 100}, "task_started_at": {"type": "string", "format": "date-time", "nullable": true}, "file_path": {"type": "string", "nullable": true}, "file_name": {"type": "string", "nullable": true, "maxLength": 1500}}, "required": ["created_at", "file_id", "file_type", "project", "user"]}, "AnonymizationAsyncRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "show_base_64": {"type": "boolean", "default": true}, "provider_params": {"type": "string", "description": "\nParameters specific to the provider that you want to send along the request.\n\nit should take a *provider* name as key and an object of parameters as value.\n\nExample:\n\n {\n \"deepgram\": {\n \"filler_words\": true,\n \"smart_format\": true,\n \"callback\": \"https://webhook.site/0000\"\n },\n \"assembly\": {\n \"webhook_url\": \"https://webhook.site/0000\"\n }\n }\n\nPlease refer to the documentation of each provider to see which parameters to send.\n"}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "file_password": {"type": "string", "nullable": true, "description": "If your PDF file has a password, you can pass it here!", "maxLength": 200}}, "required": ["providers"]}, "AnonymizationBoundingBox": {"properties": {"x_min": {"title": "X Min", "type": "integer"}, "x_max": {"title": "X Max", "type": "integer"}, "y_min": {"title": "Y Min", "type": "integer"}, "y_max": {"title": "Y Max", "type": "integer"}}, "required": ["x_min", "x_max", "y_min", "y_max"], "title": "AnonymizationBoundingBox", "type": "object"}, "AnonymizationEntity": {"description": "This model represents an entity extracted from the text.\n\nAttributes:\n offset (int): The offset of the entity in the text.\n length (int): The lenght of the entity in the text.\n category (CategoryType): The category of the entity.\n subcategory (SubCategoryType): The subcategory of the entity.\n original_label (str): The original label of the entity.\n content (str): The content of the entity.", "properties": {"offset": {"minimum": 0, "title": "Offset", "type": "integer"}, "length": {"exclusiveMinimum": true, "title": "Length", "type": "integer"}, "category": {"$ref": "#/components/schemas/CategoryType"}, "subcategory": {"$ref": "#/components/schemas/SubCategoryType"}, "original_label": {"minLength": 1, "title": "Original Label", "type": "string"}, "content": {"minLength": 1, "title": "Content", "type": "string"}, "confidence_score": {"maximum": 1, "minimum": 0, "title": "Confidence Score", "type": "integer"}}, "required": ["offset", "length", "category", "subcategory", "original_label", "content", "confidence_score"], "title": "AnonymizationEntity", "type": "object"}, "AnonymizationItem": {"properties": {"kind": {"title": "Kind", "type": "string"}, "confidence": {"title": "Confidence", "type": "integer"}, "bounding_boxes": {"$ref": "#/components/schemas/AnonymizationBoundingBox"}}, "required": ["kind", "confidence", "bounding_boxes"], "title": "AnonymizationItem", "type": "object"}, "AskLLMRequest": {"type": "object", "properties": {"query": {"type": "string", "minLength": 1, "description": "Enter your question or query about the data. The large language model (LLM) will provide a response."}, "llm_provider": {"type": "string", "minLength": 1, "description": "Select a provider for the large language model for processing. Leave empty for default."}, "llm_model": {"type": "string", "minLength": 1, "description": "Specify the model to use for language processing. Leave empty for default."}, "k": {"type": "integer", "minimum": 1, "default": 3, "description": "How many results chunk you want to return"}, "history": {"type": "array", "items": {"type": "object", "additionalProperties": {}, "description": "A dictionary representing a single conversation in the previous history. Must contain 'user' and 'assistant' fields."}, "default": [], "description": "A list containing all the previous conversations between the user and the chatbot AI. Each item in the list should be a dictionary with two keys: 'user' and 'assistant'."}, "chatbot_global_action": {"type": "string", "minLength": 1, "description": "A system message that helps set the behavior of the assistant."}, "filter_documents": {"type": "object", "additionalProperties": {}, "default": {}, "description": "Filter uploaded documents based on their metadata. Specify key-value pairs where the key represents the metadata field and the value is the desired metadata value. Please ensure that the provided metadata keys are available in your database."}, "min_score": {"type": "number", "format": "double", "default": 0.0, "description": "A minimum score threshold for the model to consider a chunk as a valid response. Higher values mean the model will be more conservative and only return chunks that are more similar to the query. Lower values mean the model will be more open to returning chunks that are less similar to the query."}, "temperature": {"type": "number", "format": "double", "maximum": 2, "minimum": 0, "default": 0.0, "description": "Higher values mean the model will take more risks and value 0 (argmax sampling) works better for scenarios with a well-defined answer."}, "max_tokens": {"type": "integer", "minimum": 1, "default": 1024, "description": "The maximum number of tokens to generate in the completion. The token count of your prompt plus max_tokens cannot exceed the model's context length."}, "conversation_id": {"type": "string", "format": "uuid"}, "use_reranking": {"type": "boolean", "default": false, "description": "Activate/deactivate the reranking. This is experimental."}, "top_n": {"type": "integer", "default": 3, "description": "The number of documents returned by the reranker (experimental)"}}, "required": ["query"]}, "AskYodaProjectUpdate": {"type": "object", "properties": {"ocr_provider": {"type": "string", "default": "amazon"}, "speech_to_text_provider": {"type": "string", "default": "openai"}, "llm_provider": {"type": "string", "description": "Select a default LLM provider to use in your project."}, "llm_model": {"type": "string", "description": "Select a default Model for LLM provider to use in your project"}, "chunk_size": {"type": "integer", "maximum": 10000, "minimum": 1, "nullable": true}, "chunk_separators": {"type": "array", "items": {"type": "string"}, "nullable": true}}}, "AskYourDataProjectRequest": {"type": "object", "properties": {"credential": {"type": "string", "nullable": true, "description": "The credential resource name", "maxLength": 255}, "asset": {"type": "string", "nullable": true, "description": "The asset sub_resource name", "maxLength": 255}, "ocr_provider": {"type": "string", "minLength": 1, "default": "amazon"}, "speech_to_text_provider": {"type": "string", "minLength": 1, "default": "openai"}, "llm_provider": {"type": "string", "minLength": 1, "description": "Select a default LLM provider to use in your project."}, "llm_model": {"type": "string", "minLength": 1, "description": "Select a default Model for LLM provider to use in your project"}, "chunk_size": {"type": "integer", "maximum": 10000, "minimum": 1, "nullable": true}, "chunk_separators": {"type": "array", "items": {"type": "string"}, "nullable": true}, "project_name": {"type": "string", "minLength": 1, "description": "Project name"}, "collection_name": {"type": "string", "minLength": 1, "description": "Database Collection Name"}, "db_provider": {"allOf": [{"$ref": "#/components/schemas/DbProviderEnum"}], "default": "qdrant", "description": "Database Provider\n\n* `qdrant` - qdrant\n* `supabase` - supabase"}, "embeddings_provider": {"allOf": [{"$ref": "#/components/schemas/EmbeddingsProviderEnum"}], "description": "Select an embedding provider to use in your search database. Leave empty for default.\n\n* `openai` - openai\n* `cohere` - cohere\n* `google` - google\n* `mistral` - mistral\n* `jina` - jina"}}, "required": ["collection_name", "embeddings_provider", "project_name"]}, "AssetCreate": {"type": "object", "properties": {"sub_resource": {"type": "string", "maxLength": 255}, "data": {"type": "object", "additionalProperties": {}}}, "required": ["data", "sub_resource"]}, "AssetCreateRequest": {"type": "object", "properties": {"sub_resource": {"type": "string", "minLength": 1, "maxLength": 255}, "data": {"type": "object", "additionalProperties": {}}}, "required": ["data", "sub_resource"]}, "AssetList": {"type": "object", "properties": {"sub_resource": {"type": "string", "maxLength": 255}, "data": {"type": "string", "format": "byte", "readOnly": true}}, "required": ["data", "sub_resource"]}, "AssetListRequest": {"type": "object", "properties": {"sub_resource": {"type": "string", "minLength": 1, "maxLength": 255}}, "required": ["sub_resource"]}, "AssetUpdate": {"type": "object", "properties": {"sub_resource": {"type": "string", "maxLength": 255}, "data": {"type": "object", "additionalProperties": {}}}, "required": ["data", "sub_resource"]}, "AssetUpdateRequest": {"type": "object", "properties": {"sub_resource": {"type": "string", "minLength": 1, "maxLength": 255}, "data": {"type": "object", "additionalProperties": {}}}, "required": ["data", "sub_resource"]}, "AsyncJobList": {"type": "object", "properties": {"providers": {"type": "string"}, "nb": {"type": "integer"}, "nb_ok": {"type": "integer"}, "public_id": {"type": "string", "format": "uuid"}, "state": {"$ref": "#/components/schemas/StateEnum"}, "created_at": {"type": "string", "format": "date-time"}}, "required": ["created_at", "nb", "nb_ok", "providers", "public_id", "state"]}, "AsyncOcrRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "show_base_64": {"type": "boolean", "default": true}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "file_password": {"type": "string", "nullable": true, "description": "If your PDF file has a password, you can pass it here!", "maxLength": 200}}, "required": ["providers"]}, "AsyncVideoAnalysisRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "show_base_64": {"type": "boolean", "default": true}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:mov|mp4|avi)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}, "required": ["providers"]}, "AutomlClassificationListProjectsResponse": {"properties": {"projects": {"items": {"$ref": "#/components/schemas/AutomlClassificationProject"}, "title": "Projects", "type": "array"}}, "required": ["projects"], "title": "AutomlClassificationListProjectsResponse", "type": "object"}, "AutomlClassificationPredictRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "show_base_64": {"type": "boolean", "default": true}, "project_id": {"type": "string", "minLength": 1, "description": "The id of project", "maxLength": 250}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}, "required": ["project_id", "providers"]}, "AutomlClassificationProject": {"properties": {"project_id": {"format": "uuid", "title": "Project Id", "type": "string"}, "name": {"title": "Name", "type": "string"}, "provider": {"title": "Provider", "type": "string"}}, "required": ["project_id", "name", "provider"], "title": "AutomlClassificationProject", "type": "object"}, "AutomlClassificationTrainRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "show_base_64": {"type": "boolean", "default": true}, "project_id": {"type": "string", "minLength": 1, "description": "The id of project", "maxLength": 250}}, "required": ["project_id", "providers"]}, "AutomlClassificationUploadDataRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "show_base_64": {"type": "boolean", "default": true}, "project_id": {"type": "string", "minLength": 1, "description": "The id of project", "maxLength": 250}, "label": {"type": "string", "minLength": 1, "description": "Label of the image", "maxLength": 200}, "type_of_data": {"allOf": [{"$ref": "#/components/schemas/TypeOfDataEnum"}], "description": "Type of data : TRAINING or TEST\n\n* `TRAINING` - TRAINING\n* `TEST` - TEST"}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}, "required": ["label", "project_id", "providers", "type_of_data"]}, "BadRequest": {"type": "object", "properties": {"error": {"$ref": "#/components/schemas/NestedBadRequest"}}, "required": ["error"]}, "BatchLaunchFailedRequest": {"properties": {"name": {"description": "Request name, if any were given", "title": "Name", "type": "string"}, "public_id": {"description": "Request ID", "title": "Public Id", "type": "integer"}, "body": {"additionalProperties": true, "description": "Parameters passed to the request", "title": "Body", "type": "object"}, "errors": {"additionalProperties": true, "description": "Error received from the request validator", "title": "Errors", "type": "object"}}, "required": ["name", "public_id", "body", "errors"], "title": "BatchLaunchFailedRequest", "type": "object"}, "BatchLaunchResponse": {"properties": {"job_id": {"description": "Job ID/name", "title": "Job Id", "type": "string"}, "nb_launched": {"description": "Number of successfully launched requests", "title": "Nb Launched", "type": "integer"}, "nb_failed": {"description": "Number of failed_requests", "title": "Nb Failed", "type": "integer"}, "total": {"description": "Total number of requests sent", "title": "Total", "type": "integer"}, "failed_requests": {"description": "if any requests failed, they will be shown in this list", "items": {"$ref": "#/components/schemas/BatchLaunchFailedRequest"}, "title": "Failed Requests", "type": "array"}}, "required": ["job_id", "nb_launched", "nb_failed", "total", "failed_requests"], "title": "BatchLaunchResponse", "type": "object"}, "BatchList": {"type": "object", "properties": {"name": {"type": "string", "maxLength": 1023}, "status": {"$ref": "#/components/schemas/Status889Enum"}, "feature": {"type": "string", "readOnly": true}, "subfeature": {"type": "string", "readOnly": true}, "total_requests": {"type": "integer", "readOnly": true}, "nb_processing": {"type": "integer", "readOnly": true}, "nb_succeeded": {"type": "integer", "readOnly": true}, "nb_failed": {"type": "integer", "readOnly": true}, "get_response_url": {"type": "string", "readOnly": true}}, "required": ["feature", "get_response_url", "nb_failed", "nb_processing", "nb_succeeded", "subfeature", "total_requests"]}, "BatchRequest": {"type": "object", "properties": {"webhook_receiver": {"type": "string", "format": "uri", "minLength": 1}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "requests": {"type": "array", "items": {"type": "object", "additionalProperties": {}}}}, "required": ["requests"]}, "BatchResponseRequest": {"type": "object", "properties": {"public_id": {"type": "integer", "readOnly": true}, "status": {"$ref": "#/components/schemas/Status889Enum"}, "name": {"type": "string", "nullable": true, "maxLength": 1023}, "errors": {"nullable": true}, "response": {"nullable": true}}, "required": ["public_id"]}, "BlankEnum": {"enum": [""]}, "BoundingBox": {"description": "Bounding box of a word in the image\n\nAttributes:\n left (float): Left coordinate of the bounding box\n top (float): Top coordinate of the bounding box\n width (float): Width of the bounding box\n height (float): Height of the bounding box\n text (str): Text detected in the bounding box\n\nConstructor:\n from_json (classmethod): Create a new instance of BoundingBox from a JSON object\n from_normalized_vertices (classmethod): Create a new instance of BoundingBox from normalized vertices\n unknown (classmethod): Return a invalid bouding_box with all field filled with `-1`", "properties": {"left": {"description": "Left coordinate of the bounding box", "title": "Left", "type": "integer"}, "top": {"description": "Top coordinate of the bounding box", "title": "Top", "type": "integer"}, "width": {"description": "Width of the bounding box", "title": "Width", "type": "integer"}, "height": {"description": "Height of the bounding box", "title": "Height", "type": "integer"}}, "required": ["left", "top", "width", "height"], "title": "BoundingBox", "type": "object"}, "Bounding_box": {"properties": {"text": {"title": "Text", "type": "string"}, "left": {"title": "Left", "type": "integer"}, "top": {"title": "Top", "type": "integer"}, "width": {"title": "Width", "type": "integer"}, "height": {"title": "Height", "type": "integer"}}, "required": ["text", "left", "top", "width", "height"], "title": "Bounding_box", "type": "object"}, "BoundixBoxOCRTable": {"properties": {"left": {"title": "Left", "type": "integer"}, "top": {"title": "Top", "type": "integer"}, "width": {"title": "Width", "type": "integer"}, "height": {"title": "Height", "type": "integer"}}, "required": ["left", "top", "width", "height"], "title": "BoundixBoxOCRTable", "type": "object"}, "CategoryType": {"description": "This enum are used to categorize the explicit content extracted from the text", "enum": ["Toxic", "Content", "Sexual", "Violence", "DrugAndAlcohol", "Finance", "HateAndExtremism", "Safe", "Other"], "title": "CategoryType", "type": "string"}, "Cell": {"properties": {"text": {"title": "Text", "type": "string"}, "row_index": {"title": "Row Index", "type": "integer"}, "col_index": {"title": "Col Index", "type": "integer"}, "row_span": {"title": "Row Span", "type": "integer"}, "col_span": {"title": "Col Span", "type": "integer"}, "confidence": {"title": "Confidence", "type": "integer"}, "bounding_box": {"$ref": "#/components/schemas/BoundixBoxOCRTable"}, "is_header": {"default": false, "title": "Is Header", "type": "boolean"}}, "required": ["text", "row_index", "col_index", "row_span", "col_span", "confidence", "bounding_box"], "title": "Cell", "type": "object"}, "ChatAvailableToolsRequest": {"type": "object", "properties": {"name": {"type": "string", "minLength": 1, "description": "The name of your tool/function"}, "description": {"type": "string"}, "parameters": {"description": "The tool's parameters are specified using a JSON Schema object. Detailed format documentation is available in the [JSON Schema reference](https://json-schema.org/understanding-json-schema/).\n\n**Make sure to well describe each parameter for best results.**\n\n\nExample for a weather tool:\n\n {\n \"type\": \"object\",\n \"properties\": {\n \"location\": {\n \"type\": \"string\"\n \"description\": \"The geographical location for which weather data is requested.\"\n },\n \"unit\": {\n \"type\": \"string\", \"enum\": [\"Celsius\", \"Fahrenheit\"]\n \"description\": \"The unit of measurement for temperature.\"\n }\n },\n \"required\": [\"location\"]\n }\n "}}}, "ChatCompletionChoice": {"properties": {"index": {"description": "The index of this completion choice", "title": "Index", "type": "integer"}, "message": {"$ref": "#/components/schemas/ChatMessage", "description": "The chat completion message"}, "finish_reason": {"description": "The reason the completion finished: 'stop', 'length', 'tool_calls', 'content_filter', or 'function_call'", "title": "Finish Reason", "type": "string"}}, "required": ["index", "message", "finish_reason"], "title": "ChatCompletionChoice", "type": "object"}, "ChatCompletionUsage": {"properties": {"completion_tokens_details": {"$ref": "#/components/schemas/UsageTokensDetails", "description": "Number of tokens in the generated completion"}, "prompt_tokens_details": {"$ref": "#/components/schemas/UsageTokensDetails", "description": "Number of tokens in the prompt"}, "total_tokens": {"description": "Total number of tokens used (prompt + completion)", "title": "Total Tokens", "type": "integer"}}, "required": ["completion_tokens_details", "prompt_tokens_details", "total_tokens"], "title": "ChatCompletionUsage", "type": "object"}, "ChatMessage": {"properties": {"role": {"$ref": "#/components/schemas/ChatRole", "description": "The role of the message author"}, "content": {"default": null, "description": "The content of the message", "title": "Content", "type": "string"}, "name": {"default": null, "description": "The name of the author of this message", "title": "Name", "type": "string"}, "function_call": {"additionalProperties": true, "default": null, "description": "The function call information", "title": "Function Call", "type": "object"}, "tool_calls": {"default": null, "description": "The tool call information", "items": {"additionalProperties": true, "type": "object"}, "title": "Tool Calls", "type": "array"}}, "required": ["role"], "title": "ChatMessage", "type": "object"}, "ChatMessageContent": {"properties": {"media_url": {"default": null, "title": "Media Url", "type": "string"}, "media_base64": {"default": null, "title": "Media Base64", "type": "string"}, "text": {"default": null, "title": "Text", "type": "string"}, "media_type": {"default": null, "title": "Media Type", "type": "string"}}, "title": "ChatMessageContent", "type": "object"}, "ChatMessageDataClass": {"properties": {"role": {"title": "Role", "type": "string"}, "content": {"items": {"$ref": "#/components/schemas/ChatMessage"}, "title": "Content", "type": "array"}}, "required": ["role"], "title": "ChatMessageDataClass", "type": "object"}, "ChatMessageRequest": {"type": "object", "properties": {"role": {"type": "string", "minLength": 1}, "message": {}, "tools": {"type": "array", "items": {"$ref": "#/components/schemas/ChatAvailableToolsRequest"}, "nullable": true}, "tool_calls": {"type": "array", "items": {"$ref": "#/components/schemas/ChatToolCallsRequest"}, "nullable": true}}, "required": ["message", "role"]}, "ChatRole": {"enum": ["system", "user", "assistant", "function", "tool"], "title": "ChatRole", "type": "string"}, "ChatToolCallsRequest": {"type": "object", "properties": {"id": {"type": "string", "minLength": 1}, "name": {"type": "string", "minLength": 1}, "arguments": {"type": "string", "minLength": 1}}, "required": ["arguments", "id", "name"]}, "ChatToolResultRequest": {"type": "object", "properties": {"id": {"type": "string", "minLength": 1, "description": "the id of the `tool_call` used to generate result"}, "result": {"type": "string", "minLength": 1, "description": "the result of your function"}}, "required": ["id", "result"]}, "ContentNSFW": {"properties": {"timestamp": {"title": "Timestamp", "type": "integer"}, "confidence": {"title": "Confidence", "type": "integer"}, "category": {"title": "Category", "type": "string"}}, "required": ["timestamp", "confidence", "category"], "title": "ContentNSFW", "type": "object"}, "Conversation": {"type": "object", "properties": {"id": {"type": "string", "format": "uuid", "readOnly": true}, "name": {"type": "string", "nullable": true, "maxLength": 255}}, "required": ["id"]}, "ConversationDetail": {"type": "object", "properties": {"id": {"type": "string", "format": "uuid", "readOnly": true}, "name": {"type": "string", "nullable": true, "maxLength": 255}, "messages": {"type": "array", "items": {"$ref": "#/components/schemas/Message"}, "readOnly": true}}, "required": ["id", "messages"]}, "ConversationDetailRequest": {"type": "object", "properties": {"name": {"type": "string", "nullable": true, "maxLength": 255}}}, "ConversationRequest": {"type": "object", "properties": {"name": {"type": "string", "nullable": true, "maxLength": 255}}}, "CostMonitoringResponse": {"properties": {"response": {"items": {"$ref": "#/components/schemas/TokenData"}, "title": "Response", "type": "array"}}, "required": ["response"], "title": "CostMonitoringResponse", "type": "object"}, "Country": {"properties": {"name": {"title": "Name", "type": "string"}, "alpha2": {"title": "Alpha2", "type": "string"}, "alpha3": {"title": "Alpha3", "type": "string"}, "confidence": {"default": null, "title": "Confidence", "type": "integer"}}, "required": ["name", "alpha2", "alpha3"], "title": "Country", "type": "object"}, "CustomDocumentParsingAsyncBoundingBox": {"properties": {"left": {"title": "Left", "type": "integer"}, "top": {"title": "Top", "type": "integer"}, "width": {"title": "Width", "type": "integer"}, "height": {"title": "Height", "type": "integer"}}, "required": ["left", "top", "width", "height"], "title": "CustomDocumentParsingAsyncBoundingBox", "type": "object"}, "CustomDocumentParsingAsyncItem": {"properties": {"confidence": {"title": "Confidence", "type": "integer"}, "value": {"title": "Value", "type": "string"}, "query": {"title": "Query", "type": "string"}, "bounding_box": {"$ref": "#/components/schemas/CustomDocumentParsingAsyncBoundingBox"}, "page": {"title": "Page", "type": "integer"}}, "required": ["confidence", "value", "query", "bounding_box", "page"], "title": "CustomDocumentParsingAsyncItem", "type": "object"}, "CustomDocumentParsingAsyncRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "show_base_64": {"type": "boolean", "default": true}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "file_password": {"type": "string", "nullable": true, "description": "If your PDF file has a password, you can pass it here!", "maxLength": 200}, "queries": {"type": "string", "minLength": 1, "description": "Your queries need to be a list of dict containing the questions you want answered and the page to look for the information in : '[{'query':'your query','pages':'your pages'},{'query':'your query','pages':'your pages'}]'"}, "convert_to_pdf": {"type": "boolean", "nullable": true, "default": false, "description": "Boolean value to specify weather to convert the doc/docx files to pdf format to be accepted by a majority of the providers"}}, "required": ["providers", "queries"]}, "CustomTokenUpdate": {"type": "object", "properties": {"name": {"type": "string", "readOnly": true, "description": "The token name"}, "token_type": {"allOf": [{"$ref": "#/components/schemas/TokenTypeEnum"}], "readOnly": true}, "balance": {"type": "number", "format": "double", "maximum": 100000, "minimum": -100000, "exclusiveMaximum": true, "exclusiveMinimum": true, "description": "Optional remaining credits balance for this Token, if `active_balance` is set to True and the balance reaches 0, this token will become unusable"}, "expire_time": {"type": "string", "format": "date-time", "nullable": true}, "active_balance": {"type": "boolean", "description": "Weither to use the balance field or not."}}, "required": ["name", "token_type"]}, "CustomTokensCreate": {"type": "object", "properties": {"name": {"type": "string", "description": "The token name", "maxLength": 200}, "token_type": {"$ref": "#/components/schemas/TokenTypeEnum"}, "balance": {"type": "string", "format": "decimal", "pattern": "^-?\\d{0,5}(?:\\.\\d{0,9})?$", "description": "Optional remaining credits balance for this Token, if `active_balance` is set to True and the balance reaches 0, this token will become unusable"}, "expire_time": {"type": "string", "format": "date-time", "nullable": true}, "active_balance": {"type": "boolean", "description": "Weither to use the balance field or not."}}, "required": ["name"]}, "CustomTokensCreateRequest": {"type": "object", "properties": {"name": {"type": "string", "minLength": 1, "description": "The token name", "maxLength": 200}, "token_type": {"$ref": "#/components/schemas/TokenTypeEnum"}, "balance": {"type": "string", "format": "decimal", "pattern": "^-?\\d{0,5}(?:\\.\\d{0,9})?$", "description": "Optional remaining credits balance for this Token, if `active_balance` is set to True and the balance reaches 0, this token will become unusable"}, "expire_time": {"type": "string", "format": "date-time", "nullable": true}, "active_balance": {"type": "boolean", "description": "Weither to use the balance field or not."}}, "required": ["name"]}, "CustomTokensList": {"type": "object", "properties": {"name": {"type": "string", "description": "The token name", "maxLength": 200}, "token": {"type": "string", "nullable": true, "maxLength": 2000}, "token_type": {"$ref": "#/components/schemas/TokenTypeEnum"}, "balance": {"type": "number", "format": "double", "maximum": 100000, "minimum": -100000, "exclusiveMaximum": true, "exclusiveMinimum": true, "description": "Optional remaining credits balance for this Token, if `active_balance` is set to True and the balance reaches 0, this token will become unusable"}, "active_balance": {"type": "boolean", "description": "Weither to use the balance field or not."}, "expire_time": {"type": "string", "format": "date-time", "nullable": true}}, "required": ["name"]}, "DataTypeEnum": {"enum": ["pdf", "audio", "csv", "xml"], "type": "string", "description": "* `pdf` - pdf\n* `audio` - audio\n* `csv` - csv\n* `xml` - xml"}, "DbProviderEnum": {"enum": ["qdrant", "supabase"], "type": "string", "description": "* `qdrant` - qdrant\n* `supabase` - supabase"}, "DetailPerFrame": {"properties": {"position": {"title": "Position", "type": "integer"}, "score": {"maximum": 1, "minimum": 0, "title": "Score", "type": "integer"}, "prediction": {"allOf": [{"$ref": "#/components/schemas/PredictionB20Enum"}], "title": "Prediction"}}, "required": ["position", "score", "prediction"], "title": "DetailPerFrame", "type": "object"}, "DetailTypeEnum": {"enum": ["resolution", "document_type"], "type": "string", "description": "* `resolution` - Resolution\n* `document_type` - Document Type"}, "Details": {"properties": {"total_cost": {"title": "Total Cost", "type": "integer"}, "details": {"title": "Details", "type": "integer"}, "cost_per_provider": {"additionalProperties": {"type": "integer"}, "title": "Cost Per Provider", "type": "object"}}, "required": ["total_cost", "details", "cost_per_provider"], "title": "Details", "type": "object"}, "DocumentTypeEnum": {"enum": ["auto-detect", "invoice", "receipt"], "type": "string", "description": "* `auto-detect` - auto-detect\n* `invoice` - invoice\n* `receipt` - receipt"}, "EmbeddingDataClass": {"properties": {"embedding": {"items": {"type": "integer"}, "title": "Embedding", "type": "array"}}, "required": ["embedding"], "title": "EmbeddingDataClass", "type": "object"}, "EmbeddingsProviderEnum": {"enum": ["openai", "cohere", "google", "mistral", "jina"], "type": "string", "description": "* `openai` - openai\n* `cohere` - cohere\n* `google` - google\n* `mistral` - mistral\n* `jina` - jina"}, "EmotionItem": {"description": "This class is used in EmotionAnalysisDataClass to list emotion analysed.\nArgs:\n - emotion (EmotionEnum): emotion of the text\n - emotion_score (float): score of the emotion", "properties": {"emotion": {"title": "Emotion", "type": "string"}, "emotion_score": {"maximum": 100, "minimum": 0, "title": "Emotion Score", "type": "integer"}}, "required": ["emotion", "emotion_score"], "title": "EmotionItem", "type": "object"}, "Entity": {"properties": {"type": {"description": "Recognized Entity type", "title": "Type", "type": "string"}, "text": {"description": "Text corresponding to the entity", "title": "Text", "type": "string"}, "sentiment": {"allOf": [{"$ref": "#/components/schemas/EntitySentimentEnum"}], "title": "Sentiment"}, "begin_offset": {"default": null, "title": "Begin Offset", "type": "integer"}, "end_offset": {"default": null, "title": "End Offset", "type": "integer"}}, "required": ["type", "text", "sentiment"], "title": "Entity", "type": "object"}, "EntitySentimentEnum": {"enum": ["Positive", "Negative", "Neutral", "Mixed"], "type": "string"}, "Error": {"type": "object", "properties": {"error": {"$ref": "#/components/schemas/NestedError"}}, "required": ["error"]}, "ExecutionContentCreate": {"type": "object", "properties": {"status": {"$ref": "#/components/schemas/ExecutionContentCreateStatusEnum"}, "results": {}, "last_node_executed": {"type": "string"}}, "required": ["last_node_executed", "results", "status"]}, "ExecutionContentCreateStatusEnum": {"enum": ["success", "failed", "processing"], "type": "string", "description": "* `success` - Success\n* `failed` - Failed\n* `processing` - Processing"}, "ExecutionExampleSuccessCreate": {"type": "object", "properties": {"webhook_receiver": {"type": "string", "format": "uri", "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "id": {"type": "string"}, "content": {"$ref": "#/components/schemas/ExecutionContentCreate"}, "created_at": {"type": "string", "format": "date-time"}, "updated_at": {"type": "string", "format": "date-time"}}, "required": ["content", "created_at", "id", "updated_at"]}, "ExecutionFakeCreateRequest": {"type": "object", "properties": {"webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "my_invoice": {"type": "string", "minLength": 1, "default": "https://example.com/public/invoice_123.pdf", "description": "An example of an input parameter specified in the input node"}}}, "ExecutionList": {"type": "object", "properties": {"id": {"type": "string", "format": "uuid", "readOnly": true}, "status": {"type": "string", "nullable": true, "maxLength": 30}, "created_at": {"type": "string", "format": "date-time", "readOnly": true, "nullable": true}, "updated_at": {"type": "string", "format": "date-time", "readOnly": true, "nullable": true}}, "required": ["created_at", "id", "updated_at"]}, "ExplicitItem": {"properties": {"label": {"description": "", "title": "Label", "type": "string"}, "likelihood": {"description": "", "title": "Likelihood", "type": "integer"}, "likelihood_score": {"description": "", "title": "Likelihood Score", "type": "integer"}, "category": {"$ref": "#/components/schemas/CategoryType", "description": "The category of the detected content. Possible values include: 'Toxic', 'Content', 'Sexual', 'Violence', 'DrugAndAlcohol', 'Finance', 'HateAndExtremism', 'Safe', 'Other'."}, "subcategory": {"description": "The subcategory of content. Possible values:\n\nToxic Subcategories:\n- Insult\n- Obscene\n- Derogatory\n- Profanity\n- Threat\n- Toxic\n\nContent Subcategories:\n- MiddleFinger\n- PublicSafety\n- Health\n- Explicit\n- QRCode\n- Medical\n- Politics\n- Legal\n\nSexual Subcategories:\n- SexualActivity\n- SexualSituations\n- Nudity\n- PartialNudity\n- Suggestive\n- AdultToys\n- RevealingClothes\n- Sexual\n\nViolence Subcategories:\n- GraphicViolenceOrGore\n- PhysicalViolence\n- WeaponViolence\n- Violence\n\nDrug and Alcohol Subcategories:\n- DrugProducts\n- DrugUse\n- Tobacco\n- Smoking\n- Alcohol\n- Drinking\n\nFinance Subcategories:\n- Gambling\n- Finance\n- MoneyContent\n\nHate and Extremism Subcategories:\n- Hate\n- Harassment\n- Threatening\n- Extremist\n- Racy\n\nSafe Subcategories:\n- Safe\n- NotSafe\n\nOther Subcategories:\n- Spoof\n- Religion\n- Offensive\n- Other", "title": "Subcategory", "type": "string"}}, "required": ["label", "likelihood", "likelihood_score", "category", "subcategory"], "title": "ExplicitItem", "type": "object"}, "ExtractedTopic": {"properties": {"category": {"title": "Category", "type": "string"}, "importance": {"title": "Importance", "type": "integer"}}, "required": ["category", "importance"], "title": "ExtractedTopic", "type": "object"}, "FaceAccessories": {"properties": {"sunglasses": {"title": "Sunglasses", "type": "integer"}, "reading_glasses": {"title": "Reading Glasses", "type": "integer"}, "swimming_goggles": {"title": "Swimming Goggles", "type": "integer"}, "face_mask": {"title": "Face Mask", "type": "integer"}, "eyeglasses": {"title": "Eyeglasses", "type": "integer"}, "headwear": {"title": "Headwear", "type": "integer"}}, "required": ["sunglasses", "reading_glasses", "swimming_goggles", "face_mask", "eyeglasses", "headwear"], "title": "FaceAccessories", "type": "object"}, "FaceAttributes": {"properties": {"headwear": {"title": "Headwear", "type": "integer"}, "frontal_gaze": {"title": "Frontal Gaze", "type": "integer"}, "eyes_visible": {"title": "Eyes Visible", "type": "integer"}, "glasses": {"title": "Glasses", "type": "integer"}, "mouth_open": {"title": "Mouth Open", "type": "integer"}, "smiling": {"title": "Smiling", "type": "integer"}, "brightness": {"title": "Brightness", "type": "integer"}, "sharpness": {"title": "Sharpness", "type": "integer"}, "pose": {"$ref": "#/components/schemas/VideoFacePoses"}}, "required": ["headwear", "frontal_gaze", "eyes_visible", "glasses", "mouth_open", "smiling", "brightness", "sharpness", "pose"], "title": "FaceAttributes", "type": "object"}, "FaceBoundingBox": {"properties": {"x_min": {"title": "X Min", "type": "integer"}, "x_max": {"title": "X Max", "type": "integer"}, "y_min": {"title": "Y Min", "type": "integer"}, "y_max": {"title": "Y Max", "type": "integer"}}, "required": ["x_min", "x_max", "y_min", "y_max"], "title": "FaceBoundingBox", "type": "object"}, "FaceCompareBoundingBox": {"properties": {"top": {"title": "Top", "type": "integer"}, "left": {"title": "Left", "type": "integer"}, "height": {"title": "Height", "type": "integer"}, "width": {"title": "Width", "type": "integer"}}, "required": ["top", "left", "height", "width"], "title": "FaceCompareBoundingBox", "type": "object"}, "FaceEmotions": {"properties": {"joy": {"title": "Joy", "type": "integer"}, "sorrow": {"title": "Sorrow", "type": "integer"}, "anger": {"title": "Anger", "type": "integer"}, "surprise": {"title": "Surprise", "type": "integer"}, "disgust": {"title": "Disgust", "type": "integer"}, "fear": {"title": "Fear", "type": "integer"}, "confusion": {"title": "Confusion", "type": "integer"}, "calm": {"title": "Calm", "type": "integer"}, "unknown": {"title": "Unknown", "type": "integer"}, "neutral": {"title": "Neutral", "type": "integer"}, "contempt": {"title": "Contempt", "type": "integer"}}, "required": ["joy", "sorrow", "anger", "surprise", "disgust", "fear", "confusion", "calm", "unknown", "neutral", "contempt"], "title": "FaceEmotions", "type": "object"}, "FaceFacialHair": {"properties": {"moustache": {"title": "Moustache", "type": "integer"}, "beard": {"title": "Beard", "type": "integer"}, "sideburns": {"title": "Sideburns", "type": "integer"}}, "required": ["moustache", "beard", "sideburns"], "title": "FaceFacialHair", "type": "object"}, "FaceFeatures": {"properties": {"eyes_open": {"title": "Eyes Open", "type": "integer"}, "smile": {"title": "Smile", "type": "integer"}, "mouth_open": {"title": "Mouth Open", "type": "integer"}}, "required": ["eyes_open", "smile", "mouth_open"], "title": "FaceFeatures", "type": "object"}, "FaceHair": {"properties": {"hair_color": {"items": {"$ref": "#/components/schemas/FaceHairColor"}, "title": "Hair Color", "type": "array"}, "bald": {"title": "Bald", "type": "integer"}, "invisible": {"title": "Invisible", "type": "boolean"}}, "required": ["bald", "invisible"], "title": "FaceHair", "type": "object"}, "FaceHairColor": {"properties": {"color": {"title": "Color", "type": "string"}, "confidence": {"title": "Confidence", "type": "integer"}}, "required": ["color", "confidence"], "title": "FaceHairColor", "type": "object"}, "FaceItem": {"properties": {"confidence": {"title": "Confidence", "type": "integer"}, "landmarks": {"$ref": "#/components/schemas/FaceLandmarks"}, "emotions": {"$ref": "#/components/schemas/FaceEmotions"}, "poses": {"$ref": "#/components/schemas/FacePoses"}, "age": {"title": "Age", "type": "integer"}, "gender": {"title": "Gender", "type": "string"}, "bounding_box": {"$ref": "#/components/schemas/FaceBoundingBox"}, "hair": {"$ref": "#/components/schemas/FaceHair"}, "facial_hair": {"$ref": "#/components/schemas/FaceFacialHair"}, "quality": {"$ref": "#/components/schemas/FaceQuality"}, "makeup": {"$ref": "#/components/schemas/FaceMakeup"}, "accessories": {"$ref": "#/components/schemas/FaceAccessories"}, "occlusions": {"$ref": "#/components/schemas/FaceOcclusions"}, "features": {"$ref": "#/components/schemas/FaceFeatures"}}, "required": ["confidence", "landmarks", "emotions", "poses", "age", "gender", "bounding_box", "hair", "facial_hair", "quality", "makeup", "accessories", "occlusions", "features"], "title": "FaceItem", "type": "object"}, "FaceLandmarks": {"properties": {"left_eye": {"items": {"type": "integer"}, "title": "Left Eye", "type": "array"}, "left_eye_top": {"items": {"type": "integer"}, "title": "Left Eye Top", "type": "array"}, "left_eye_right": {"items": {"type": "integer"}, "title": "Left Eye Right", "type": "array"}, "left_eye_bottom": {"items": {"type": "integer"}, "title": "Left Eye Bottom", "type": "array"}, "left_eye_left": {"items": {"type": "integer"}, "title": "Left Eye Left", "type": "array"}, "right_eye": {"items": {"type": "integer"}, "title": "Right Eye", "type": "array"}, "right_eye_top": {"items": {"type": "integer"}, "title": "Right Eye Top", "type": "array"}, "right_eye_right": {"items": {"type": "integer"}, "title": "Right Eye Right", "type": "array"}, "right_eye_bottom": {"items": {"type": "integer"}, "title": "Right Eye Bottom", "type": "array"}, "right_eye_left": {"items": {"type": "integer"}, "title": "Right Eye Left", "type": "array"}, "left_eyebrow_left": {"items": {"type": "integer"}, "title": "Left Eyebrow Left", "type": "array"}, "left_eyebrow_right": {"items": {"type": "integer"}, "title": "Left Eyebrow Right", "type": "array"}, "left_eyebrow_top": {"items": {"type": "integer"}, "title": "Left Eyebrow Top", "type": "array"}, "right_eyebrow_left": {"items": {"type": "integer"}, "title": "Right Eyebrow Left", "type": "array"}, "right_eyebrow_right": {"items": {"type": "integer"}, "title": "Right Eyebrow Right", "type": "array"}, "left_pupil": {"items": {"type": "integer"}, "title": "Left Pupil", "type": "array"}, "right_pupil": {"items": {"type": "integer"}, "title": "Right Pupil", "type": "array"}, "nose_tip": {"items": {"type": "integer"}, "title": "Nose Tip", "type": "array"}, "nose_bottom_right": {"items": {"type": "integer"}, "title": "Nose Bottom Right", "type": "array"}, "nose_bottom_left": {"items": {"type": "integer"}, "title": "Nose Bottom Left", "type": "array"}, "mouth_left": {"items": {"type": "integer"}, "title": "Mouth Left", "type": "array"}, "mouth_right": {"items": {"type": "integer"}, "title": "Mouth Right", "type": "array"}, "right_eyebrow_top": {"items": {"type": "integer"}, "title": "Right Eyebrow Top", "type": "array"}, "midpoint_between_eyes": {"items": {"type": "integer"}, "title": "Midpoint Between Eyes", "type": "array"}, "nose_bottom_center": {"items": {"type": "integer"}, "title": "Nose Bottom Center", "type": "array"}, "nose_left_alar_out_tip": {"items": {"type": "integer"}, "title": "Nose Left Alar Out Tip", "type": "array"}, "nose_left_alar_top": {"items": {"type": "integer"}, "title": "Nose Left Alar Top", "type": "array"}, "nose_right_alar_out_tip": {"items": {"type": "integer"}, "title": "Nose Right Alar Out Tip", "type": "array"}, "nose_right_alar_top": {"items": {"type": "integer"}, "title": "Nose Right Alar Top", "type": "array"}, "nose_root_left": {"items": {"type": "integer"}, "title": "Nose Root Left", "type": "array"}, "nose_root_right": {"items": {"type": "integer"}, "title": "Nose Root Right", "type": "array"}, "upper_lip": {"items": {"type": "integer"}, "title": "Upper Lip", "type": "array"}, "under_lip": {"items": {"type": "integer"}, "title": "Under Lip", "type": "array"}, "under_lip_bottom": {"items": {"type": "integer"}, "title": "Under Lip Bottom", "type": "array"}, "under_lip_top": {"items": {"type": "integer"}, "title": "Under Lip Top", "type": "array"}, "upper_lip_bottom": {"items": {"type": "integer"}, "title": "Upper Lip Bottom", "type": "array"}, "upper_lip_top": {"items": {"type": "integer"}, "title": "Upper Lip Top", "type": "array"}, "mouth_center": {"items": {"type": "integer"}, "title": "Mouth Center", "type": "array"}, "mouth_top": {"items": {"type": "integer"}, "title": "Mouth Top", "type": "array"}, "mouth_bottom": {"items": {"type": "integer"}, "title": "Mouth Bottom", "type": "array"}, "left_ear_tragion": {"items": {"type": "integer"}, "title": "Left Ear Tragion", "type": "array"}, "right_ear_tragion": {"items": {"type": "integer"}, "title": "Right Ear Tragion", "type": "array"}, "forehead_glabella": {"items": {"type": "integer"}, "title": "Forehead Glabella", "type": "array"}, "chin_gnathion": {"items": {"type": "integer"}, "title": "Chin Gnathion", "type": "array"}, "chin_left_gonion": {"items": {"type": "integer"}, "title": "Chin Left Gonion", "type": "array"}, "chin_right_gonion": {"items": {"type": "integer"}, "title": "Chin Right Gonion", "type": "array"}, "upper_jawline_left": {"items": {"type": "integer"}, "title": "Upper Jawline Left", "type": "array"}, "mid_jawline_left": {"items": {"type": "integer"}, "title": "Mid Jawline Left", "type": "array"}, "mid_jawline_right": {"items": {"type": "integer"}, "title": "Mid Jawline Right", "type": "array"}, "upper_jawline_right": {"items": {"type": "integer"}, "title": "Upper Jawline Right", "type": "array"}, "left_cheek_center": {"items": {"type": "integer"}, "title": "Left Cheek Center", "type": "array"}, "right_cheek_center": {"items": {"type": "integer"}, "title": "Right Cheek Center", "type": "array"}}, "title": "FaceLandmarks", "type": "object"}, "FaceMakeup": {"properties": {"eye_make": {"title": "Eye Make", "type": "boolean"}, "lip_make": {"title": "Lip Make", "type": "boolean"}}, "required": ["eye_make", "lip_make"], "title": "FaceMakeup", "type": "object"}, "FaceMatch": {"properties": {"confidence": {"title": "Confidence", "type": "integer"}, "bounding_box": {"$ref": "#/components/schemas/FaceCompareBoundingBox"}}, "required": ["confidence", "bounding_box"], "title": "FaceMatch", "type": "object"}, "FaceOcclusions": {"properties": {"eye_occluded": {"title": "Eye Occluded", "type": "boolean"}, "forehead_occluded": {"title": "Forehead Occluded", "type": "boolean"}, "mouth_occluded": {"title": "Mouth Occluded", "type": "boolean"}}, "required": ["eye_occluded", "forehead_occluded", "mouth_occluded"], "title": "FaceOcclusions", "type": "object"}, "FacePoses": {"properties": {"pitch": {"title": "Pitch", "type": "integer"}, "roll": {"title": "Roll", "type": "integer"}, "yaw": {"title": "Yaw", "type": "integer"}}, "required": ["pitch", "roll", "yaw"], "title": "FacePoses", "type": "object"}, "FaceQuality": {"properties": {"noise": {"title": "Noise", "type": "integer"}, "exposure": {"title": "Exposure", "type": "integer"}, "blur": {"title": "Blur", "type": "integer"}, "brightness": {"title": "Brightness", "type": "integer"}, "sharpness": {"title": "Sharpness", "type": "integer"}}, "required": ["noise", "exposure", "blur", "brightness", "sharpness"], "title": "FaceQuality", "type": "object"}, "FallbackTypeEnum": {"enum": ["rerun", "continue"], "type": "string", "description": "* `rerun` - Rerun\n* `continue` - Continue"}, "Feature": {"type": "object", "properties": {"name": {"type": "string", "maxLength": 255}, "fullname": {"type": "string", "nullable": true, "maxLength": 255}, "description": {"type": "string", "nullable": true, "maxLength": 1000}}, "required": ["name"]}, "FieldError": {"type": "object", "properties": {"": {"type": "array", "items": {"type": "string"}}}, "required": [""]}, "FinalStatusEnum": {"enum": ["sucess", "fail"], "type": "string"}, "FinancialBankInformation": {"properties": {"iban": {"default": null, "description": "International Bank Account Number.", "title": "Iban", "type": "string"}, "swift": {"default": null, "description": "Society for Worldwide Interbank Financial Telecommunication code.", "title": "Swift", "type": "string"}, "bsb": {"default": null, "description": "Bank State Branch code (Australia).", "title": "Bsb", "type": "string"}, "sort_code": {"default": null, "description": "Sort code for UK banks.", "title": "Sort Code", "type": "string"}, "account_number": {"default": null, "description": "Bank account number.", "title": "Account Number", "type": "string"}, "routing_number": {"default": null, "description": "Routing number for banks in the United States.", "title": "Routing Number", "type": "string"}, "bic": {"default": null, "description": "Bank Identifier Code.", "title": "Bic", "type": "string"}}, "title": "FinancialBankInformation", "type": "object"}, "FinancialBarcode": {"properties": {"value": {"title": "Value", "type": "string"}, "type": {"title": "Type", "type": "string"}}, "required": ["value", "type"], "title": "FinancialBarcode", "type": "object"}, "FinancialCustomerInformation": {"properties": {"name": {"default": null, "description": "The name of the invoiced customer.", "title": "Name", "type": "string"}, "id_reference": {"default": null, "description": "Unique reference ID for the customer.", "title": "Id Reference", "type": "string"}, "mailling_address": {"default": null, "description": "The mailing address of the customer.", "title": "Mailling Address", "type": "string"}, "billing_address": {"default": null, "description": "The explicit billing address for the customer.", "title": "Billing Address", "type": "string"}, "shipping_address": {"default": null, "description": "The shipping address for the customer.", "title": "Shipping Address", "type": "string"}, "service_address": {"default": null, "description": "The service address associated with the customer.", "title": "Service Address", "type": "string"}, "remittance_address": {"default": null, "description": "The address to which payments should be remitted.", "title": "Remittance Address", "type": "string"}, "email": {"default": null, "description": "The email address of the customer.", "title": "Email", "type": "string"}, "phone": {"default": null, "description": "The phone number associated with the customer.", "title": "Phone", "type": "string"}, "vat_number": {"default": null, "description": "VAT (Value Added Tax) number of the customer.", "title": "Vat Number", "type": "string"}, "abn_number": {"default": null, "description": "ABN (Australian Business Number) of the customer.", "title": "Abn Number", "type": "string"}, "gst_number": {"default": null, "description": "GST (Goods and Services Tax) number of the customer.", "title": "Gst Number", "type": "string"}, "pan_number": {"default": null, "description": "PAN (Permanent Account Number) of the customer.", "title": "Pan Number", "type": "string"}, "business_number": {"default": null, "description": "Business registration number of the customer.", "title": "Business Number", "type": "string"}, "siret_number": {"default": null, "description": "SIRET (Syst\u00e8me d'Identification du R\u00e9pertoire des Entreprises et de leurs \u00c9tablissements) number of the customer.", "title": "Siret Number", "type": "string"}, "siren_number": {"default": null, "description": "SIREN (Syst\u00e8me d'Identification du R\u00e9pertoire des Entreprises) number of the customer.", "title": "Siren Number", "type": "string"}, "customer_number": {"default": null, "description": "Customer identification number.", "title": "Customer Number", "type": "string"}, "coc_number": {"default": null, "description": "Chamber of Commerce registration number.", "title": "Coc Number", "type": "string"}, "fiscal_number": {"default": null, "description": "Fiscal identification number of the customer.", "title": "Fiscal Number", "type": "string"}, "registration_number": {"default": null, "description": "Official registration number of the customer.", "title": "Registration Number", "type": "string"}, "tax_id": {"default": null, "description": "Tax identification number of the customer.", "title": "Tax Id", "type": "string"}, "website": {"default": null, "description": "The website associated with the customer.", "title": "Website", "type": "string"}, "remit_to_name": {"default": null, "description": "The name associated with the customer's remittance address.", "title": "Remit To Name", "type": "string"}, "city": {"default": null, "description": "The city associated with the customer's address.", "title": "City", "type": "string"}, "country": {"default": null, "description": "The country associated with the customer's address.", "title": "Country", "type": "string"}, "house_number": {"default": null, "description": "The house number associated with the customer's address.", "title": "House Number", "type": "string"}, "province": {"default": null, "description": "The province associated with the customer's address.", "title": "Province", "type": "string"}, "street_name": {"default": null, "description": "The street name associated with the customer's address.", "title": "Street Name", "type": "string"}, "zip_code": {"default": null, "description": "The ZIP code associated with the customer's address.", "title": "Zip Code", "type": "string"}, "municipality": {"default": null, "description": "The municipality associated with the customer's address.", "title": "Municipality", "type": "string"}}, "title": "FinancialCustomerInformation", "type": "object"}, "FinancialDocumentInformation": {"properties": {"invoice_receipt_id": {"default": null, "description": "Identifier for the invoice.", "title": "Invoice Receipt Id", "type": "string"}, "purchase_order": {"default": null, "description": "Purchase order related to the document.", "title": "Purchase Order", "type": "string"}, "invoice_date": {"default": null, "description": "Date of the invoice.", "title": "Invoice Date", "type": "string"}, "time": {"default": null, "description": "Time associated with the document.", "title": "Time", "type": "string"}, "invoice_due_date": {"default": null, "description": "Due date for the invoice.", "title": "Invoice Due Date", "type": "string"}, "service_start_date": {"default": null, "description": "Start date of the service associated with the document.", "title": "Service Start Date", "type": "string"}, "service_end_date": {"default": null, "description": "End date of the service associated with the document.", "title": "Service End Date", "type": "string"}, "reference": {"default": null, "description": "Reference number associated with the document.", "title": "Reference", "type": "string"}, "biller_code": {"default": null, "description": "Biller code associated with the document.", "title": "Biller Code", "type": "string"}, "order_date": {"default": null, "description": "Date of the order associated with the document.", "title": "Order Date", "type": "string"}, "tracking_number": {"default": null, "description": "Tracking number associated with the document.", "title": "Tracking Number", "type": "string"}, "barcodes": {"description": "List of barcodes associated with the document.", "items": {"$ref": "#/components/schemas/FinancialBarcode"}, "title": "Barcodes", "type": "array"}}, "title": "FinancialDocumentInformation", "type": "object"}, "FinancialDocumentMetadata": {"properties": {"document_index": {"default": null, "description": "Index of the detected document.", "title": "Document Index", "type": "integer"}, "document_page_number": {"default": null, "description": "Page number within the document.", "title": "Document Page Number", "type": "integer"}, "document_type": {"default": null, "description": "Type or category of the document.", "title": "Document Type", "type": "string"}}, "title": "FinancialDocumentMetadata", "type": "object"}, "FinancialLineItem": {"properties": {"tax": {"default": null, "description": "Tax amount for the line item.", "title": "Tax", "type": "integer"}, "amount_line": {"default": null, "description": "Total amount for the line item.", "title": "Amount Line", "type": "integer"}, "description": {"default": null, "description": "Description of the line item.", "title": "Description", "type": "string"}, "quantity": {"default": null, "description": "Quantity of units for the line item.", "title": "Quantity", "type": "integer"}, "unit_price": {"default": null, "description": "Unit price for each unit in the line item.", "title": "Unit Price", "type": "integer"}, "unit_type": {"default": null, "description": "Type of unit (e.g., hours, items).", "title": "Unit Type", "type": "string"}, "date": {"default": null, "description": "Date associated with the line item.", "title": "Date", "type": "string"}, "product_code": {"default": null, "description": "Product code or identifier for the line item.", "title": "Product Code", "type": "string"}, "purchase_order": {"default": null, "description": "Purchase order related to the line item.", "title": "Purchase Order", "type": "string"}, "tax_rate": {"default": null, "description": "Tax rate applied to the line item.", "title": "Tax Rate", "type": "integer"}, "base_total": {"default": null, "description": "Base total amount before any discounts or taxes.", "title": "Base Total", "type": "integer"}, "sub_total": {"default": null, "description": "Subtotal amount for the line item.", "title": "Sub Total", "type": "integer"}, "discount_amount": {"default": null, "description": "Amount of discount applied to the line item.", "title": "Discount Amount", "type": "integer"}, "discount_rate": {"default": null, "description": "Rate of discount applied to the line item.", "title": "Discount Rate", "type": "integer"}, "discount_code": {"default": null, "description": "Code associated with any discount applied to the line item.", "title": "Discount Code", "type": "string"}, "order_number": {"default": null, "description": "Order number associated with the line item.", "title": "Order Number", "type": "string"}, "title": {"default": null, "description": "Title or name of the line item.", "title": "Title", "type": "string"}}, "title": "FinancialLineItem", "type": "object"}, "FinancialLocalInformation": {"properties": {"currency": {"default": null, "description": "Currency used in financial transactions.", "title": "Currency", "type": "string"}, "currency_code": {"default": null, "description": "Currency code (e.g., USD, EUR).", "title": "Currency Code", "type": "string"}, "currency_exchange_rate": {"default": null, "description": "Exchange rate for the specified currency.", "title": "Currency Exchange Rate", "type": "string"}, "country": {"default": null, "description": "Country associated with the local financial information.", "title": "Country", "type": "string"}, "language": {"default": null, "description": "Language used in financial transactions.", "title": "Language", "type": "string"}}, "title": "FinancialLocalInformation", "type": "object"}, "FinancialMerchantInformation": {"properties": {"name": {"default": null, "description": "Name of the merchant.", "title": "Name", "type": "string"}, "address": {"default": null, "description": "Address of the merchant.", "title": "Address", "type": "string"}, "phone": {"default": null, "description": "Phone number of the merchant.", "title": "Phone", "type": "string"}, "tax_id": {"default": null, "description": "Tax identification number of the merchant.", "title": "Tax Id", "type": "string"}, "id_reference": {"default": null, "description": "Unique reference ID for the merchant.", "title": "Id Reference", "type": "string"}, "vat_number": {"default": null, "description": "VAT (Value Added Tax) number of the merchant.", "title": "Vat Number", "type": "string"}, "abn_number": {"default": null, "description": "ABN (Australian Business Number) of the merchant.", "title": "Abn Number", "type": "string"}, "gst_number": {"default": null, "description": "GST (Goods and Services Tax) number of the merchant.", "title": "Gst Number", "type": "string"}, "business_number": {"default": null, "description": "Business registration number of the merchant.", "title": "Business Number", "type": "string"}, "siret_number": {"default": null, "description": "SIRET (Syst\u00e8me d'Identification du R\u00e9pertoire des Entreprises et de leurs \u00c9tablissements) number of the merchant.", "title": "Siret Number", "type": "string"}, "siren_number": {"default": null, "description": "SIREN (Syst\u00e8me d'Identification du R\u00e9pertoire des Entreprises) number of the merchant.", "title": "Siren Number", "type": "string"}, "pan_number": {"default": null, "description": "PAN (Permanent Account Number) of the merchant.", "title": "Pan Number", "type": "string"}, "coc_number": {"default": null, "description": "Chamber of Commerce registration number of the merchant.", "title": "Coc Number", "type": "string"}, "fiscal_number": {"default": null, "description": "Fiscal identification number of the merchant.", "title": "Fiscal Number", "type": "string"}, "email": {"default": null, "description": "Email address of the merchant.", "title": "Email", "type": "string"}, "fax": {"default": null, "description": "Fax number of the merchant.", "title": "Fax", "type": "string"}, "website": {"default": null, "description": "Website of the merchant.", "title": "Website", "type": "string"}, "registration": {"default": null, "description": "Official registration information of the merchant.", "title": "Registration", "type": "string"}, "city": {"default": null, "description": "City associated with the merchant's address.", "title": "City", "type": "string"}, "country": {"default": null, "description": "Country associated with the merchant's address.", "title": "Country", "type": "string"}, "house_number": {"default": null, "description": "House number associated with the merchant's address.", "title": "House Number", "type": "string"}, "province": {"default": null, "description": "Province associated with the merchant's address.", "title": "Province", "type": "string"}, "street_name": {"default": null, "description": "Street name associated with the merchant's address.", "title": "Street Name", "type": "string"}, "zip_code": {"default": null, "description": "ZIP code associated with the merchant's address.", "title": "Zip Code", "type": "string"}, "country_code": {"default": null, "description": "Country code associated with the merchant's location.", "title": "Country Code", "type": "string"}}, "title": "FinancialMerchantInformation", "type": "object"}, "FinancialParserObjectDataClass": {"properties": {"customer_information": {"$ref": "#/components/schemas/FinancialCustomerInformation"}, "merchant_information": {"$ref": "#/components/schemas/FinancialMerchantInformation"}, "payment_information": {"$ref": "#/components/schemas/FinancialPaymentInformation"}, "financial_document_information": {"$ref": "#/components/schemas/FinancialDocumentInformation"}, "local": {"$ref": "#/components/schemas/FinancialLocalInformation"}, "bank": {"$ref": "#/components/schemas/FinancialBankInformation"}, "item_lines": {"description": "List of line items associated with the document.", "items": {"$ref": "#/components/schemas/FinancialLineItem"}, "title": "Item Lines", "type": "array"}, "document_metadata": {"$ref": "#/components/schemas/FinancialDocumentMetadata"}}, "required": ["customer_information", "merchant_information", "payment_information", "financial_document_information", "local", "bank", "document_metadata"], "title": "FinancialParserObjectDataClass", "type": "object"}, "FinancialPaymentInformation": {"properties": {"amount_due": {"default": null, "description": "Amount due for payment.", "title": "Amount Due", "type": "integer"}, "amount_tip": {"default": null, "description": "Tip amount in a financial transaction.", "title": "Amount Tip", "type": "integer"}, "amount_shipping": {"default": null, "description": "Shipping cost in a financial transaction.", "title": "Amount Shipping", "type": "integer"}, "amount_change": {"default": null, "description": "Change amount in a financial transaction.", "title": "Amount Change", "type": "integer"}, "amount_paid": {"default": null, "description": "Amount already paid in a financial transaction.", "title": "Amount Paid", "type": "integer"}, "total": {"default": null, "description": "Total amount in the invoice.", "title": "Total", "type": "integer"}, "subtotal": {"default": null, "description": "Subtotal amount in a financial transaction.", "title": "Subtotal", "type": "integer"}, "total_tax": {"default": null, "description": "Total tax amount in a financial transaction.", "title": "Total Tax", "type": "integer"}, "tax_rate": {"default": null, "description": "Tax rate applied in a financial transaction.", "title": "Tax Rate", "type": "integer"}, "discount": {"default": null, "description": "Discount amount applied in a financial transaction.", "title": "Discount", "type": "integer"}, "gratuity": {"default": null, "description": "Gratuity amount in a financial transaction.", "title": "Gratuity", "type": "integer"}, "service_charge": {"default": null, "description": "Service charge in a financial transaction.", "title": "Service Charge", "type": "integer"}, "previous_unpaid_balance": {"default": null, "description": "Previous unpaid balance in a financial transaction.", "title": "Previous Unpaid Balance", "type": "integer"}, "prior_balance": {"default": null, "description": "Prior balance before the current financial transaction.", "title": "Prior Balance", "type": "integer"}, "payment_terms": {"default": null, "description": "Terms and conditions for payment.", "title": "Payment Terms", "type": "string"}, "payment_method": {"default": null, "description": "Payment method used in the financial transaction.", "title": "Payment Method", "type": "string"}, "payment_card_number": {"default": null, "description": "Card number used in the payment.", "title": "Payment Card Number", "type": "string"}, "payment_auth_code": {"default": null, "description": "Authorization code for the payment.", "title": "Payment Auth Code", "type": "string"}, "shipping_handling_charge": {"default": null, "description": "Charge for shipping and handling in a financial transaction.", "title": "Shipping Handling Charge", "type": "integer"}, "transaction_number": {"default": null, "description": "Unique identifier for the financial transaction.", "title": "Transaction Number", "type": "string"}, "transaction_reference": {"default": null, "description": "Reference number for the financial transaction.", "title": "Transaction Reference", "type": "string"}}, "title": "FinancialPaymentInformation", "type": "object"}, "GeneralSentimentEnum": {"enum": ["Positive", "Negative", "Neutral"], "type": "string"}, "GenerateRequest": {"type": "object", "properties": {"messages": {"type": "array", "items": {"type": "object", "additionalProperties": {}}, "description": "A list containing all the conversations between the user and the assistant.\nEach item in the list should be a dictionary with two keys: 'role' and 'message'.\n\n**role**: Specifies the role of the speaker and can have the values 'user', 'system', 'assistant' or 'tool'.\nThe system role instructs the way the model should answer, e.g. 'You are a helpful assistant'. The user\nrole specifies the user query and assistant is the model's response. The tool role is for external tools that\ncan be used in the conversation.\n\n**message**: A list of dictionaries. Each dictionary in the 'message' list must contain the keys 'type' and 'content'.\n\n#### Structure\n- **type**: Specifies the type of content and can be 'image_url' or 'text'.\n- **content**: A dictionary with the actual content based on the 'type':\n - If 'type' is 'image_url', 'content' must contain 'image_url' and must not contain 'text'.\n - If 'type' is 'text', 'content' must contain 'text' and must not contain 'image_url'.\n\n#### Example\n```json\n[\n {\n \"role\": \"user\",\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"Describe this image\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg\"\n }\n }\n ]\n }\n]\n```"}, "model": {"type": "string", "minLength": 1, "description": "The OpenAI model to use for the chat completion. \nThis field is required and specifies which language model will process the conversation. \n\n**Example values**: 'gpt-3.5-turbo', 'gpt-4', 'gpt-4-turbo'"}, "reasoning_effort": {"allOf": [{"$ref": "#/components/schemas/ReasoningEffortEnum"}], "description": "Optional parameter to control the model's reasoning depth. \nAllows specifying the level of analytical effort in generating responses. \n\n**Choices**:\n- 'low': Minimal reasoning, quick responses\n- 'medium': Balanced reasoning approach\n- 'high': In-depth, comprehensive reasoning\n\n**Example**: 'high' for complex problem-solving tasks\n\n* `low` - low\n* `medium` - medium\n* `high` - high"}, "metadata": {"type": "array", "items": {"$ref": "#/components/schemas/MetadataRequest"}, "description": "Optional list of metadata associated with the chat request. \nCan be used to provide additional context or tracking information. \n\n**Example**:\n```json\n{\n \"metadata\": [\n {\"key\": \"conversation_id\", \"value\": \"chat_12345\"},\n {\"key\": \"source\", \"value\": \"customer_support\"}\n ]\n}\n```"}, "frequency_penalty": {"type": "number", "format": "double", "maximum": 2.0, "minimum": -2.0, "description": "Controls repetitiveness of model responses by penalizing frequent tokens. \nRanges from -2.0 to 2.0. \n\n**Values**:\n- Positive values: Reduce token repetition\n- Negative values: Encourage repetition\n- 0.0: Default behavior\n\n**Example**: 1.5 to significantly reduce repeated phrases"}, "logit_bias": {"type": "object", "additionalProperties": {"type": "number", "format": "double"}, "description": "Modify the likelihood of specific tokens appearing in the response. \nA dictionary where keys are token IDs and values are bias scores. \n\n**Example**:\n```json\n{\n \"logit_bias\": {\n \"50256\": -100, # Reduce probability of end-of-text token\n \"15\": 5 # Slightly increase probability of a specific token\n }\n}\n```"}, "logprobs": {"type": "boolean", "description": "If set to True, returns log probabilities of the most likely tokens. \nUseful for advanced token probability analysis. \n\n**Example**: True to get detailed token likelihood information"}, "top_logprobs": {"type": "integer", "maximum": 20, "minimum": 0, "description": "Number of top log probabilities to return with each token. \nMust be between 0 and 20. \n\n**Example**: 5 to get top 5 most likely tokens for each position"}, "max_completion_tokens": {"type": "integer", "minimum": 1, "description": "Maximum number of tokens to generate in the completion. \nMust be at least 1. \n\n**Example**: 150 to limit response to approximately 100-150 words"}, "n": {"type": "integer", "minimum": 1, "description": "Number of chat completion choices to generate.\n\n **Example**: 3 to generate multiple alternative responses"}, "modalities": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "List of supported input/output modalities for the chat. \n\n**Example**:\n```json\n{\n \"modalities\": [\"text\", \"image\", \"audio\"]\n}\n```"}, "prediction": {"type": "object", "additionalProperties": {}, "description": "Optional field for storing prediction-related information. \nFlexible dictionary to capture model's predictive metadata. \n\n**Example**:\n```json\n{\n \"prediction\": {\n \"confidence_score\": 0.85,\n \"top_prediction\": \"response_category\"\n }\n}\n```"}, "audio": {"type": "object", "additionalProperties": {}, "description": "Optional dictionary for audio-related parameters or metadata. \n\n**Example**:\n```json\n{\n \"audio\": {\n \"language\": \"en-US\",\n \"transcription_format\": \"srt\"\n }\n}\n```"}, "presence_penalty": {"type": "number", "format": "double", "maximum": 2.0, "minimum": -2.0, "description": "Adjusts likelihood of discussing new topics by penalizing existing tokens. \nRanges from -2.0 to 2.0. \n\n**Values**:\n- Positive values: Encourage more diverse topics\n- Negative values: Keep discussion more focused\n- 0.0: Default behavior\n\n**Example**: 1.0 to promote topic diversity"}, "response_format": {"type": "object", "additionalProperties": {}, "description": "Specify the desired response format for the completion. \n\n**Example**:\n```json\n{\n \"response_format\": {\n \"type\": \"json_object\",\n \"schema\": {...}\n }\n}\n```"}, "seed": {"type": "integer", "description": "Set a seed for deterministic sampling to reproduce consistent results. \n\n**Example**: 42 for a reproducible random generation process"}, "service_tier": {"allOf": [{"$ref": "#/components/schemas/ServiceTierEnum"}], "description": "Select the service tier for the API request. \n\n**Choices**:\n- 'auto': Automatically select appropriate tier\n- 'default': Use default service configuration\n\n* `auto` - auto\n* `default` - default"}, "stop": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "List of strings that will cause the model to stop generating. \n\n**Example**:\n```json\n{\n \"stop\": [\"\\n\", \"Human:\", \"AI:\"]\n}\n```"}, "stream": {"type": "boolean", "default": false, "description": "If True, returns tokens as they are generated in a streaming format. \nDefault is False. \n\n**Example**: True for real-time token streaming"}, "stream_options": {"type": "object", "additionalProperties": {}, "description": "Additional configuration for streaming responses. \n\n**Example**:\n```json\n{\n \"stream_options\": {\n \"include_usage\": true\n }\n}\n```"}, "temperature": {"type": "number", "format": "double", "maximum": 2, "minimum": 0, "description": "Controls randomness in token selection. \nRanges from 0.0 to 2.0. \n\n**Values**:\n- 0.0: Most deterministic, focused responses\n- 1.0: Balanced randomness\n- 2.0: Most creative, unpredictable responses\n\n**Example**: 0.7 for a good balance of creativity and focus"}, "top_p": {"type": "number", "format": "double", "maximum": 1, "minimum": 0, "description": "Nucleus sampling threshold for token selection. \nRanges from 0.0 to 1.0. Default is 1.0. \n\n**Values**:\n- 1.0: Consider all tokens\n- Lower values: More focused, deterministic sampling\n\n**Example**: 0.9 to select from top 90% most probable tokens"}, "tools": {"type": "array", "items": {}, "description": "List of tools or function definitions available to the model. \n\n**Example**:\n```json\n{\n \"tools\": [\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"get_weather\",\n \"description\": \"Retrieve current weather\"\n }\n }\n ]\n}\n```"}, "tool_choice": {"type": "string", "minLength": 1, "description": "Specify how tools should be used in the completion. \n\n**Example values**:\n- 'auto': Model decides when to use tools\n- 'none': Disable tool usage\n- Specific tool name to always use a particular tool"}, "parallel_tool_calls": {"type": "boolean", "description": "Allow the model to make multiple tool calls in parallel. \n\n**Example**: True to enable concurrent tool invocations"}, "user": {"type": "string", "minLength": 1, "description": "Optional identifier for the end-user to help track and monitor API usage. \n\n**Example**: 'user_123456'"}, "function_call": {"type": "string", "minLength": 1, "description": "Control how function calls are handled. \n\n**Example values**:\n- 'auto': Default behavior\n- 'none': Disable function calls\n- Specific function name to force its execution"}, "functions": {"type": "array", "items": {"type": "object", "additionalProperties": {}}, "description": "List of function definitions available to the model. \n\n**Example**:\n```json\n{\n \"functions\": [\n {\n \"name\": \"get_current_weather\",\n \"description\": \"Get the current weather for a location\",\n \"parameters\": {...}\n }\n ]\n}\n```"}, "thinking": {"allOf": [{"$ref": "#/components/schemas/ThinkingRequest"}], "description": "Configuration for enabling Claude's extended thinking. When enabled, responses include thinking content blocks showing Claude's thinking process before the final answer. Requires a minimum budget of 1,024 tokens and counts towards your max_tokens limit.\n\n**Example**:\n```json\n{\n 'thinking': {\n 'type': 'enabled'\n 'budget_tokens': '1024' }\n}\n```"}, "web_search_options": {"type": "object", "additionalProperties": {}, "description": "Options for web search integration. \n **Example**:\n ```json\n web_search_options={\n \"search_context_size\": \"medium\" # Options: \"low\", \"medium\", \"high\"\n }\n ```"}, "filter_documents": {"type": "object", "additionalProperties": {}, "default": {}, "description": "Filter uploaded documents based on their metadata. Specify key-value pairs where the key represents the metadata field and the value is the desired metadata value. Please ensure that the provided metadata keys are available in your database."}, "min_score": {"type": "number", "format": "double", "default": 0.0, "description": "A minimum score threshold for the model to consider a chunk as a valid response. Higher values mean the model will be more conservative and only return chunks that are more similar to the query. Lower values mean the model will be more open to returning chunks that are less similar to the query."}, "k": {"type": "integer", "minimum": 1, "default": 3, "description": "How many results chunk you want to return"}, "max_tokens": {"type": "integer", "maximum": 16385, "minimum": 1, "default": 100, "description": "The maximum number of tokens to generate in the completion. The token count of your prompt plus max_tokens cannot exceed the model's context length."}, "conversation_id": {"type": "string", "format": "uuid"}}, "required": ["messages", "model"]}, "GeneratedImageDataClass": {"properties": {"image": {"title": "Image", "type": "string"}, "image_resource_url": {"title": "Image Resource Url", "type": "string"}}, "required": ["image", "image_resource_url"], "title": "GeneratedImageDataClass", "type": "object"}, "GenerationAsyncRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "show_base_64": {"type": "boolean", "default": true}, "text": {"type": "string", "minLength": 1, "description": "The text prompt that describes the content and style of the video you want to generate. Be specific and detailed to guide the AI in creating your desired video."}, "file": {"type": "string", "format": "binary", "description": "Initial keyframe image for the video. Upload a single JPEG or PNG file that will serve as the starting point for video generation. This image will influence the style, composition, and initial scene of the generated video.", "pattern": "(?:png|jpg)$"}, "duration": {"type": "integer", "minimum": 1, "default": 6, "description": "Length of the generated video in seconds. Minimum duration is 1 second. If not specified, the video will default to 6 seconds."}, "fps": {"type": "integer", "minimum": 1, "default": 24, "description": "Frames per second (FPS) of the generated video. Determines the smoothness of the video motion. Default is 24 FPS, which is standard for most video content. Minimum value is 1 FPS."}, "dimension": {"type": "string", "minLength": 1, "default": "1280x720", "description": "Video resolution in the format 'width x height' (e.g., '1280x720'). Default resolution is 1280x720 (720p). Ensure the format is exactly 'width x height' with a lowercase 'x'."}, "seed": {"type": "integer", "default": 12, "description": "Random seed value that initializes the noise for the generation process. Use this to create consistent or unique variations of your video:\n- Range: 0 to 2,147,483,646\n- Default: 12\n- Changing the seed while keeping other parameters constant will produce a different video that still matches your prompt\n- Useful for exploring multiple creative variations of the same concept"}}, "required": ["providers", "text"]}, "ImageaiDetectionAiDetectionDataClassPredictionEnum": {"enum": ["ai-generated", "original"], "type": "string"}, "InfosIdentityParserDataClass": {"properties": {"last_name": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "given_names": {"items": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "title": "Given Names", "type": "array"}, "birth_place": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "birth_date": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "issuance_date": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "expire_date": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "document_id": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "issuing_state": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "address": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "age": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "country": {"$ref": "#/components/schemas/Country"}, "document_type": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "gender": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "image_id": {"items": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "title": "Image Id", "type": "array"}, "image_signature": {"items": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "title": "Image Signature", "type": "array"}, "mrz": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "nationality": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}}, "required": ["last_name", "birth_place", "birth_date", "issuance_date", "expire_date", "document_id", "issuing_state", "address", "age", "country", "document_type", "gender", "mrz", "nationality"], "title": "InfosIdentityParserDataClass", "type": "object"}, "InfosKeywordExtractionDataClass": {"properties": {"keyword": {"title": "Keyword", "type": "string"}, "importance": {"title": "Importance", "type": "integer"}}, "required": ["keyword", "importance"], "title": "InfosKeywordExtractionDataClass", "type": "object"}, "InfosLanguageDetectionDataClass": {"properties": {"language": {"title": "Language", "type": "string"}, "display_name": {"title": "Display Name", "type": "string"}, "confidence": {"title": "Confidence", "type": "integer"}}, "required": ["language", "display_name", "confidence"], "title": "InfosLanguageDetectionDataClass", "type": "object"}, "InfosNamedEntityRecognitionDataClass": {"properties": {"entity": {"title": "Entity", "type": "string"}, "category": {"title": "Category", "type": "string"}, "importance": {"title": "Importance", "type": "integer"}}, "required": ["entity", "category", "importance"], "title": "InfosNamedEntityRecognitionDataClass", "type": "object"}, "ItemBankCheckParsingDataClass": {"properties": {"amount": {"title": "Amount", "type": "integer"}, "amount_text": {"title": "Amount Text", "type": "string"}, "bank_address": {"title": "Bank Address", "type": "string"}, "bank_name": {"title": "Bank Name", "type": "string"}, "date": {"title": "Date", "type": "string"}, "memo": {"title": "Memo", "type": "string"}, "payer_address": {"title": "Payer Address", "type": "string"}, "payer_name": {"title": "Payer Name", "type": "string"}, "receiver_address": {"title": "Receiver Address", "type": "string"}, "receiver_name": {"title": "Receiver Name", "type": "string"}, "currency": {"title": "Currency", "type": "string"}, "micr": {"$ref": "#/components/schemas/MicrModel"}}, "required": ["amount", "amount_text", "bank_address", "bank_name", "date", "memo", "payer_address", "payer_name", "receiver_address", "receiver_name", "currency", "micr"], "title": "ItemBankCheckParsingDataClass", "type": "object"}, "ItemDataExtraction": {"properties": {"key": {"title": "Key", "type": "string"}, "value": {"title": "Value"}, "bounding_box": {"$ref": "#/components/schemas/BoundingBox"}, "confidence_score": {"maximum": 1, "minimum": 0, "title": "Confidence Score", "type": "integer"}}, "required": ["key", "value", "bounding_box", "confidence_score"], "title": "ItemDataExtraction", "type": "object"}, "ItemIdentityParserDataClass": {"properties": {"value": {"default": null, "title": "Value", "type": "string"}, "confidence": {"default": null, "title": "Confidence", "type": "integer"}}, "title": "ItemIdentityParserDataClass", "type": "object"}, "LandmarkItem": {"properties": {"description": {"title": "Description", "type": "string"}, "confidence": {"title": "Confidence", "type": "integer"}, "bounding_box": {"items": {"$ref": "#/components/schemas/LandmarkVertice"}, "title": "Bounding Box", "type": "array"}, "locations": {"items": {"$ref": "#/components/schemas/LandmarkLocation"}, "title": "Locations", "type": "array"}}, "required": ["description", "confidence"], "title": "LandmarkItem", "type": "object"}, "LandmarkLatLng": {"properties": {"latitude": {"title": "Latitude", "type": "integer"}, "longitude": {"title": "Longitude", "type": "integer"}}, "required": ["latitude", "longitude"], "title": "LandmarkLatLng", "type": "object"}, "LandmarkLocation": {"properties": {"lat_lng": {"$ref": "#/components/schemas/LandmarkLatLng"}}, "required": ["lat_lng"], "title": "LandmarkLocation", "type": "object"}, "LandmarkVertice": {"properties": {"x": {"title": "X", "type": "integer"}, "y": {"title": "Y", "type": "integer"}}, "required": ["x", "y"], "title": "LandmarkVertice", "type": "object"}, "LandmarksVideo": {"properties": {"eye_left": {"items": {"type": "integer"}, "title": "Eye Left", "type": "array"}, "eye_right": {"items": {"type": "integer"}, "title": "Eye Right", "type": "array"}, "nose": {"items": {"type": "integer"}, "title": "Nose", "type": "array"}, "mouth_left": {"items": {"type": "integer"}, "title": "Mouth Left", "type": "array"}, "mouth_right": {"items": {"type": "integer"}, "title": "Mouth Right", "type": "array"}}, "title": "LandmarksVideo", "type": "object"}, "LaunchAsyncJobResponse": {"type": "object", "properties": {"public_id": {"type": "string", "format": "uuid"}}, "required": ["public_id"]}, "Line": {"description": "Line of a document\n\nAttributes:\n text (str): Text detected in the line\n bounding_boxes (Sequence[BoundingBox]): Bounding boxes of the words in the line\n words (Sequence[Word]): List of words of the line\n confidence (float): Confidence of the line", "properties": {"text": {"description": "Text detected in the line", "title": "Text", "type": "string"}, "words": {"description": "List of words", "items": {"$ref": "#/components/schemas/Word"}, "title": "Words", "type": "array"}, "bounding_box": {"$ref": "#/components/schemas/BoundingBox", "default": null, "description": "Bounding box of the line, can be None"}, "confidence": {"description": "Confidence of the line", "title": "Confidence", "type": "integer"}}, "required": ["text", "confidence"], "title": "Line", "type": "object"}, "ListAsyncJobResponse": {"type": "object", "properties": {"jobs": {"type": "array", "items": {"$ref": "#/components/schemas/AsyncJobList"}}}, "required": ["jobs"]}, "ListChunkRequest": {"type": "object", "properties": {"filter_documents": {"type": "object", "additionalProperties": {}, "default": {}, "description": "Filter uploaded documents based on their metadata. Specify key-value pairs where the key represents the metadata field and the value is the desired metadata value. Please ensure that the provided metadata keys are available in your database."}, "limit": {"type": "integer", "minimum": 1, "default": 10, "description": "Specifies the maximum number of chunk IDs to return. Defaults to 10 if not provided."}, "with_payload": {"type": "boolean", "default": false, "description": "If set to True, includes the full payload of each chunk in the response. By default, only chunk IDs are returned."}}}, "LogoBoundingPoly": {"properties": {"vertices": {"description": "Vertices of the logos in the image", "items": {"$ref": "#/components/schemas/LogoVertice"}, "title": "Vertices", "type": "array"}}, "title": "LogoBoundingPoly", "type": "object"}, "LogoItem": {"properties": {"bounding_poly": {"$ref": "#/components/schemas/LogoBoundingPoly", "default": {"vertices": []}}, "description": {"description": "Name of the logo", "title": "Description", "type": "string"}, "score": {"description": "Confidence score how sure it's this is a real logo.", "title": "Score", "type": "integer"}}, "required": ["description", "score"], "title": "LogoItem", "type": "object"}, "LogoTrack": {"properties": {"description": {"title": "Description", "type": "string"}, "tracking": {"items": {"$ref": "#/components/schemas/VideoLogo"}, "title": "Tracking", "type": "array"}}, "required": ["description"], "title": "LogoTrack", "type": "object"}, "LogoVertice": {"properties": {"x": {"description": "The x-coordinate of the vertex.", "title": "X", "type": "integer"}, "y": {"description": "The y-coordinate of the vertex.", "title": "Y", "type": "integer"}}, "required": ["x", "y"], "title": "LogoVertice", "type": "object"}, "LowerCloth": {"properties": {"value": {"title": "Value", "type": "string"}, "confidence": {"title": "Confidence", "type": "integer"}}, "required": ["value", "confidence"], "title": "LowerCloth", "type": "object"}, "Message": {"type": "object", "properties": {"user_text": {"type": "string"}, "assistant_text": {"type": "string", "nullable": true}}, "required": ["user_text"]}, "MessageRequest": {"type": "object", "properties": {"user_text": {"type": "string", "minLength": 1}, "assistant_text": {"type": "string", "nullable": true}}, "required": ["user_text"]}, "MetadataRequest": {"type": "object", "properties": {"key": {"type": "string", "minLength": 1, "maxLength": 64}, "value": {"type": "string", "minLength": 1, "maxLength": 512}}, "required": ["key", "value"]}, "MicrModel": {"properties": {"raw": {"title": "Raw", "type": "string"}, "account_number": {"title": "Account Number", "type": "string"}, "routing_number": {"title": "Routing Number", "type": "string"}, "serial_number": {"title": "Serial Number", "type": "string"}, "check_number": {"title": "Check Number", "type": "string"}}, "required": ["raw", "account_number", "routing_number", "serial_number", "check_number"], "title": "MicrModel", "type": "object"}, "NestedBadRequest": {"type": "object", "properties": {"type": {"type": "string"}, "message": {"$ref": "#/components/schemas/FieldError"}}, "required": ["message", "type"]}, "NestedError": {"type": "object", "properties": {"type": {"type": "string"}, "message": {"type": "string"}}, "required": ["message", "type"]}, "NotFoundResponse": {"type": "object", "properties": {"details": {"type": "string", "default": "Not Found"}}}, "NullEnum": {"enum": [null]}, "ObjectFrame": {"properties": {"timestamp": {"title": "Timestamp", "type": "integer"}, "bounding_box": {"$ref": "#/components/schemas/VideoObjectBoundingBox"}}, "required": ["timestamp", "bounding_box"], "title": "ObjectFrame", "type": "object"}, "ObjectItem": {"properties": {"label": {"title": "Label", "type": "string"}, "confidence": {"title": "Confidence", "type": "integer"}, "x_min": {"title": "X Min", "type": "integer"}, "x_max": {"title": "X Max", "type": "integer"}, "y_min": {"title": "Y Min", "type": "integer"}, "y_max": {"title": "Y Max", "type": "integer"}}, "required": ["label", "confidence", "x_min", "x_max", "y_min", "y_max"], "title": "ObjectItem", "type": "object"}, "ObjectTrack": {"properties": {"description": {"title": "Description", "type": "string"}, "confidence": {"title": "Confidence", "type": "integer"}, "frames": {"items": {"$ref": "#/components/schemas/ObjectFrame"}, "title": "Frames", "type": "array"}}, "required": ["description", "confidence"], "title": "ObjectTrack", "type": "object"}, "OcrTablesAsyncRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "show_base_64": {"type": "boolean", "default": true}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "file_password": {"type": "string", "nullable": true, "description": "If your PDF file has a password, you can pass it here!", "maxLength": 200}, "language": {"type": "string", "nullable": true, "description": "Language code of the language the document is written in (ex: fr (French), en (English), es (Spanish))"}}, "required": ["providers"]}, "OptionEnum": {"enum": ["FEMALE", "MALE"], "type": "string", "description": "* `FEMALE` - Female\n* `MALE` - Male"}, "Page": {"description": "Page of a document\n\nAttributes:\n lines (Sequence[Line]): List of lines of the page", "properties": {"lines": {"description": "List of lines", "items": {"$ref": "#/components/schemas/Line"}, "title": "Lines", "type": "array"}}, "title": "Page", "type": "object"}, "PaginatedBatchResponse": {"type": "object", "properties": {"total": {"type": "integer", "description": "Total requests made"}, "current_page": {"type": "integer", "description": "Current page number"}, "last_page": {"type": "integer"}, "per_page": {"type": "integer", "description": "Number of requests per page"}, "From": {"type": "integer"}, "to": {"type": "integer"}, "prev_page_url": {"type": "string", "format": "uri"}, "next_page_url": {"type": "string", "format": "uri"}, "requests": {"type": "array", "items": {"$ref": "#/components/schemas/BatchResponseRequest"}}, "status": {"$ref": "#/components/schemas/Status889Enum"}, "created": {"type": "string", "format": "date-time", "readOnly": true}, "updated": {"type": "string", "format": "date-time", "readOnly": true}}, "required": ["From", "created", "current_page", "last_page", "per_page", "requests", "to", "total", "updated"]}, "PaginatedExecutionListList": {"type": "object", "required": ["count", "results"], "properties": {"count": {"type": "integer"}, "next": {"type": "string", "nullable": true, "format": "uri"}, "previous": {"type": "string", "nullable": true, "format": "uri"}, "results": {"type": "array", "items": {"$ref": "#/components/schemas/ExecutionList"}}}}, "PaginatedPromptCreateList": {"type": "object", "required": ["count", "results"], "properties": {"count": {"type": "integer"}, "next": {"type": "string", "nullable": true, "format": "uri"}, "previous": {"type": "string", "nullable": true, "format": "uri"}, "results": {"type": "array", "items": {"$ref": "#/components/schemas/PromptCreate"}}}}, "PaginatedPromptHistoryList": {"type": "object", "required": ["count", "results"], "properties": {"count": {"type": "integer"}, "next": {"type": "string", "nullable": true, "format": "uri"}, "previous": {"type": "string", "nullable": true, "format": "uri"}, "results": {"type": "array", "items": {"$ref": "#/components/schemas/PromptHistory"}}}}, "PatchedAskYodaProjectUpdateRequest": {"type": "object", "properties": {"ocr_provider": {"type": "string", "minLength": 1, "default": "amazon"}, "speech_to_text_provider": {"type": "string", "minLength": 1, "default": "openai"}, "llm_provider": {"type": "string", "minLength": 1, "description": "Select a default LLM provider to use in your project."}, "llm_model": {"type": "string", "minLength": 1, "description": "Select a default Model for LLM provider to use in your project"}, "chunk_size": {"type": "integer", "maximum": 10000, "minimum": 1, "nullable": true}, "chunk_separators": {"type": "array", "items": {"type": "string"}, "nullable": true}}}, "PatchedAssetUpdateRequest": {"type": "object", "properties": {"sub_resource": {"type": "string", "minLength": 1, "maxLength": 255}, "data": {"type": "object", "additionalProperties": {}}}}, "PatchedConversationDetailRequest": {"type": "object", "properties": {"name": {"type": "string", "nullable": true, "maxLength": 255}}}, "PatchedCustomTokenUpdateRequest": {"type": "object", "properties": {"balance": {"type": "number", "format": "double", "maximum": 100000, "minimum": -100000, "exclusiveMaximum": true, "exclusiveMinimum": true, "description": "Optional remaining credits balance for this Token, if `active_balance` is set to True and the balance reaches 0, this token will become unusable"}, "expire_time": {"type": "string", "format": "date-time", "nullable": true}, "active_balance": {"type": "boolean", "description": "Weither to use the balance field or not."}}}, "PatchedPromptHistoryRequest": {"type": "object", "properties": {"text": {"type": "string", "minLength": 1, "description": "The text used for the prompt\n\nYou can include prompt variables with {{ my_variable }}. These variables are injected when you later call your prompt.\n\nThe template language is compatible with jinja2\n\n#### Example\n```bash\nTranslate this word to {{ language }}: {{ word }}\n```"}, "model": {"type": "string", "minLength": 1, "description": "The model used to call the prompt. E.g. openai/gpt-4o"}, "params": {"description": "Params that are passed on to the llm request. See llm chat docs for more details.\n\n#### Example\n```json\n{\n \"temperature\": 0.7,\n \"max_tokens\": 100\n}\n```"}, "file_urls": {"type": "array", "items": {"type": "string", "format": "uri", "minLength": 1, "maxLength": 1000}, "description": "Optional list of URLs to images or other files that should be included with the prompt for multimodal models. Files are not supported by all models."}, "system_prompt": {"type": "string", "minLength": 1, "description": "Specify a system prompt for the LLM"}}}, "PatchedPromptUpdateRequest": {"type": "object", "properties": {"name": {"type": "string", "minLength": 1, "description": "The unique identifier for the prompt. Must contain only alphanumeric characters, underscores (_) and hyphens (-). No spaces allowed."}, "text": {"type": "string", "minLength": 1, "description": "The text used for the prompt\n\nYou can include prompt variables with {{ my_variable }}. These variables are injected when you later call your prompt.\n\nThe template language is compatible with jinja2\n\n#### Example\n```bash\nTranslate this word to {{ language }}: {{ word }}\n```"}, "model": {"type": "string", "minLength": 1, "description": "The model used to call the prompt. E.g. openai/gpt-4o"}, "params": {"description": "Params that are passed on to the llm request. See llm chat docs for more details.\n\n#### Example\n```json\n{\n \"temperature\": 0.7,\n \"max_tokens\": 100\n}\n```"}, "current_version": {"type": "integer", "description": "The production version of the prompt, that is used by default when you call the prompt"}, "file_urls": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "Optional list of URLs to images or other files that should be included with the prompt for multimodal models. Files are not supported by all models."}, "system_prompt": {"type": "string", "nullable": true, "minLength": 1, "description": "Specify a system prompt for the LLM"}}}, "PatchedResourceUpdateRequest": {"type": "object", "properties": {"resource": {"type": "string", "minLength": 1, "maxLength": 255}, "data": {"type": "object", "additionalProperties": {}}, "type": {"$ref": "#/components/schemas/TypeDe8Enum"}, "provider": {"type": "string", "minLength": 1, "maxLength": 100}}}, "PatchedWebhookParametersRequest": {"type": "object", "properties": {"webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}}}, "PersonAttributes": {"properties": {"upper_cloths": {"items": {"$ref": "#/components/schemas/UpperCloth"}, "title": "Upper Cloths", "type": "array"}, "lower_cloths": {"items": {"$ref": "#/components/schemas/LowerCloth"}, "title": "Lower Cloths", "type": "array"}}, "title": "PersonAttributes", "type": "object"}, "PersonLandmarks": {"properties": {"eye_left": {"items": {"type": "integer"}, "title": "Eye Left", "type": "array"}, "eye_right": {"items": {"type": "integer"}, "title": "Eye Right", "type": "array"}, "nose": {"items": {"type": "integer"}, "title": "Nose", "type": "array"}, "ear_left": {"items": {"type": "integer"}, "title": "Ear Left", "type": "array"}, "ear_right": {"items": {"type": "integer"}, "title": "Ear Right", "type": "array"}, "shoulder_left": {"items": {"type": "integer"}, "title": "Shoulder Left", "type": "array"}, "shoulder_right": {"items": {"type": "integer"}, "title": "Shoulder Right", "type": "array"}, "elbow_left": {"items": {"type": "integer"}, "title": "Elbow Left", "type": "array"}, "elbow_right": {"items": {"type": "integer"}, "title": "Elbow Right", "type": "array"}, "wrist_left": {"items": {"type": "integer"}, "title": "Wrist Left", "type": "array"}, "wrist_right": {"items": {"type": "integer"}, "title": "Wrist Right", "type": "array"}, "hip_left": {"items": {"type": "integer"}, "title": "Hip Left", "type": "array"}, "hip_right": {"items": {"type": "integer"}, "title": "Hip Right", "type": "array"}, "knee_left": {"items": {"type": "integer"}, "title": "Knee Left", "type": "array"}, "knee_right": {"items": {"type": "integer"}, "title": "Knee Right", "type": "array"}, "ankle_left": {"items": {"type": "integer"}, "title": "Ankle Left", "type": "array"}, "ankle_right": {"items": {"type": "integer"}, "title": "Ankle Right", "type": "array"}, "mouth_left": {"items": {"type": "integer"}, "title": "Mouth Left", "type": "array"}, "mouth_right": {"items": {"type": "integer"}, "title": "Mouth Right", "type": "array"}}, "title": "PersonLandmarks", "type": "object"}, "PersonTracking": {"properties": {"offset": {"title": "Offset", "type": "integer"}, "attributes": {"$ref": "#/components/schemas/PersonAttributes"}, "landmarks": {"$ref": "#/components/schemas/PersonLandmarks"}, "poses": {"$ref": "#/components/schemas/VideoPersonPoses"}, "quality": {"$ref": "#/components/schemas/VideoPersonQuality"}, "bounding_box": {"$ref": "#/components/schemas/VideoTrackingBoundingBox"}}, "required": ["offset", "bounding_box"], "title": "PersonTracking", "type": "object"}, "PlagiaDetectionCandidate": {"properties": {"url": {"title": "Url", "type": "string"}, "plagia_score": {"title": "Plagia Score", "type": "integer"}, "prediction": {"title": "Prediction", "type": "string"}, "plagiarized_text": {"title": "Plagiarized Text", "type": "string"}}, "required": ["url", "plagia_score", "prediction", "plagiarized_text"], "title": "PlagiaDetectionCandidate", "type": "object"}, "PlagiaDetectionItem": {"properties": {"text": {"title": "Text", "type": "string"}, "candidates": {"items": {"$ref": "#/components/schemas/PlagiaDetectionCandidate"}, "title": "Candidates", "type": "array"}}, "required": ["text"], "title": "PlagiaDetectionItem", "type": "object"}, "PredictionB20Enum": {"enum": ["deepfake", "original"], "type": "string"}, "PriceUnitTypeEnum": {"enum": ["file", "image", "page", "size", "request", "seconde", "minute", "free", "hour", "char", "token", "exec_time", "unknown"], "type": "string", "description": "* `file` - File\n* `image` - Image\n* `page` - Page\n* `size` - Size\n* `request` - Request\n* `seconde` - Second\n* `minute` - Minute\n* `free` - Free\n* `hour` - Hour\n* `char` - Characters\n* `token` - Token\n* `exec_time` - Execution Time\n* `unknown` - Unknown"}, "PricingSerialzier": {"type": "object", "properties": {"model_name": {"type": "string", "description": "Model name, default to 'default' if no models to chose from", "maxLength": 255}, "price": {"type": "string", "format": "decimal", "pattern": "^-?\\d{0,6}(?:\\.\\d{0,9})?$"}, "price_unit_quantity": {"type": "integer", "maximum": 2147483647, "minimum": 0}, "min_price_quantity": {"type": "integer", "maximum": 2147483647, "minimum": 0, "nullable": true}, "price_unit_type": {"$ref": "#/components/schemas/PriceUnitTypeEnum"}, "detail_type": {"nullable": true, "description": "(Optional) type of extra value, MUST be the same name as the feature parameter name. eg: resolution\n\n* `resolution` - Resolution\n* `document_type` - Document Type", "oneOf": [{"$ref": "#/components/schemas/DetailTypeEnum"}, {"$ref": "#/components/schemas/BlankEnum"}, {"$ref": "#/components/schemas/NullEnum"}]}, "detail_value": {"type": "string", "nullable": true, "description": "(Optional) extra value for detailed pricing, eg: 250x250 for resolution", "maxLength": 255}, "get_detail_type_display": {"type": "string", "readOnly": true}, "is_post_call": {"type": "boolean"}}, "required": ["get_detail_type_display"]}, "ProjectTypeEnum": {"enum": ["AskYoDa", "Translathor", "X-Merge"], "type": "string", "description": "* `AskYoDa` - Askyoda\n* `Translathor` - Translathor\n* `X-Merge` - X Merge"}, "PromptCallRequest": {"type": "object", "properties": {"model": {"type": "string", "nullable": true, "minLength": 1, "description": "Optional model override (e.g., 'openai/gpt-4o'). If not provided, the model specified in the prompt will be used."}, "prompt_context": {"type": "object", "additionalProperties": {}, "nullable": true, "default": {}, "description": "Variables to inject into the prompt template.\n#### Example\n```json\n{\n \"my_variable\": \"some_value\",\n}\n```"}, "params": {"type": "object", "additionalProperties": {}, "nullable": true, "default": {}, "description": "Optional params override. If not provided, the default params in the prompt will be used\n\nParams that are passed on to the llm request. See llm chat docs for more details.\n\n#### Example\n```json\n{\n \"temperature\": 0.7,\n \"max_tokens\": 100\n}\n```"}, "file_urls": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "Optional list of URLs to images or other files that should be included with the prompt for multimodal models. Files are not supported by all models. Overrides the file urls set on the prompt."}}}, "PromptCreate": {"type": "object", "properties": {"id": {"type": "integer", "readOnly": true}, "name": {"type": "string", "description": "The unique identifier for the prompt. Must contain only alphanumeric characters, underscores (_) and hyphens (-). No spaces allowed."}, "current_version": {"type": "integer", "readOnly": true, "nullable": true}, "created_at": {"type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"type": "string", "format": "date-time", "readOnly": true}, "history_count": {"type": "integer", "readOnly": true}}, "required": ["created_at", "current_version", "history_count", "id", "name", "updated_at"]}, "PromptCreateRequest": {"type": "object", "properties": {"name": {"type": "string", "minLength": 1, "description": "The unique identifier for the prompt. Must contain only alphanumeric characters, underscores (_) and hyphens (-). No spaces allowed."}, "text": {"type": "string", "writeOnly": true, "minLength": 1, "description": "The text used for the prompt\n\nYou can include prompt variables with {{ my_variable }}. These variables are injected when you later call your prompt.\n\nThe template language is compatible with jinja2\n\n#### Example\n```bash\nTranslate this word to {{ language }}: {{ word }}\n```"}, "model": {"type": "string", "writeOnly": true, "minLength": 1, "description": "The model used to call the prompt. E.g. openai/gpt-4o"}, "params": {"writeOnly": true, "description": "Params that are passed on to the llm request. See llm chat docs for more details.\n\n#### Example\n```json\n{\n \"temperature\": 0.7,\n \"max_tokens\": 100\n}\n```"}, "file_urls": {"type": "array", "items": {"type": "string", "format": "uri", "minLength": 1, "maxLength": 1000}, "writeOnly": true, "description": "Optional list of URLs to images or other files that should be included with the prompt for multimodal models. Files are not supported by all models."}, "system_prompt": {"type": "string", "writeOnly": true, "minLength": 1, "description": "Specify a system prompt for the LLM"}}, "required": ["model", "name", "text"]}, "PromptDataClass": {"properties": {"text": {"title": "Text", "type": "string"}}, "required": ["text"], "title": "PromptDataClass", "type": "object"}, "PromptHistory": {"type": "object", "properties": {"id": {"type": "integer", "readOnly": true}, "version": {"type": "integer", "readOnly": true}, "text": {"type": "string", "description": "The text used for the prompt\n\nYou can include prompt variables with {{ my_variable }}. These variables are injected when you later call your prompt.\n\nThe template language is compatible with jinja2\n\n#### Example\n```bash\nTranslate this word to {{ language }}: {{ word }}\n```"}, "model": {"type": "string", "description": "The model used to call the prompt. E.g. openai/gpt-4o"}, "name": {"type": "string", "readOnly": true}, "params": {"description": "Params that are passed on to the llm request. See llm chat docs for more details.\n\n#### Example\n```json\n{\n \"temperature\": 0.7,\n \"max_tokens\": 100\n}\n```"}, "file_urls": {"type": "array", "items": {"type": "string", "format": "uri", "maxLength": 1000}, "description": "Optional list of URLs to images or other files that should be included with the prompt for multimodal models. Files are not supported by all models."}, "system_prompt": {"type": "string", "description": "Specify a system prompt for the LLM"}, "created_at": {"type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"type": "string", "format": "date-time", "readOnly": true}}, "required": ["created_at", "id", "name", "updated_at", "version"]}, "PromptHistoryRequest": {"type": "object", "properties": {"text": {"type": "string", "minLength": 1, "description": "The text used for the prompt\n\nYou can include prompt variables with {{ my_variable }}. These variables are injected when you later call your prompt.\n\nThe template language is compatible with jinja2\n\n#### Example\n```bash\nTranslate this word to {{ language }}: {{ word }}\n```"}, "model": {"type": "string", "minLength": 1, "description": "The model used to call the prompt. E.g. openai/gpt-4o"}, "params": {"description": "Params that are passed on to the llm request. See llm chat docs for more details.\n\n#### Example\n```json\n{\n \"temperature\": 0.7,\n \"max_tokens\": 100\n}\n```"}, "file_urls": {"type": "array", "items": {"type": "string", "format": "uri", "minLength": 1, "maxLength": 1000}, "description": "Optional list of URLs to images or other files that should be included with the prompt for multimodal models. Files are not supported by all models."}, "system_prompt": {"type": "string", "minLength": 1, "description": "Specify a system prompt for the LLM"}}}, "PromptUpdate": {"type": "object", "properties": {"id": {"type": "integer", "readOnly": true}, "name": {"type": "string", "description": "The unique identifier for the prompt. Must contain only alphanumeric characters, underscores (_) and hyphens (-). No spaces allowed."}, "text": {"type": "string", "description": "The text used for the prompt\n\nYou can include prompt variables with {{ my_variable }}. These variables are injected when you later call your prompt.\n\nThe template language is compatible with jinja2\n\n#### Example\n```bash\nTranslate this word to {{ language }}: {{ word }}\n```"}, "model": {"type": "string", "description": "The model used to call the prompt. E.g. openai/gpt-4o"}, "params": {"description": "Params that are passed on to the llm request. See llm chat docs for more details.\n\n#### Example\n```json\n{\n \"temperature\": 0.7,\n \"max_tokens\": 100\n}\n```"}, "current_version": {"type": "integer", "description": "The production version of the prompt, that is used by default when you call the prompt"}, "created_at": {"type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"type": "string", "format": "date-time", "readOnly": true}, "file_urls": {"type": "array", "items": {"type": "string"}, "description": "Optional list of URLs to images or other files that should be included with the prompt for multimodal models. Files are not supported by all models."}, "system_prompt": {"type": "string", "nullable": true, "description": "Specify a system prompt for the LLM"}}, "required": ["created_at", "id", "updated_at"]}, "PromptUpdateRequest": {"type": "object", "properties": {"name": {"type": "string", "minLength": 1, "description": "The unique identifier for the prompt. Must contain only alphanumeric characters, underscores (_) and hyphens (-). No spaces allowed."}, "text": {"type": "string", "minLength": 1, "description": "The text used for the prompt\n\nYou can include prompt variables with {{ my_variable }}. These variables are injected when you later call your prompt.\n\nThe template language is compatible with jinja2\n\n#### Example\n```bash\nTranslate this word to {{ language }}: {{ word }}\n```"}, "model": {"type": "string", "minLength": 1, "description": "The model used to call the prompt. E.g. openai/gpt-4o"}, "params": {"description": "Params that are passed on to the llm request. See llm chat docs for more details.\n\n#### Example\n```json\n{\n \"temperature\": 0.7,\n \"max_tokens\": 100\n}\n```"}, "current_version": {"type": "integer", "description": "The production version of the prompt, that is used by default when you call the prompt"}, "file_urls": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "Optional list of URLs to images or other files that should be included with the prompt for multimodal models. Files are not supported by all models."}, "system_prompt": {"type": "string", "nullable": true, "minLength": 1, "description": "Specify a system prompt for the LLM"}}}, "Provider": {"type": "object", "properties": {"name": {"type": "string", "maxLength": 255}, "fullname": {"type": "string", "nullable": true, "maxLength": 255}, "description": {"type": "string", "nullable": true, "maxLength": 1000}}, "required": ["name"]}, "ProviderSubfeature": {"type": "object", "properties": {"name": {"type": "string", "readOnly": true}, "version": {"type": "string", "readOnly": true}, "pricings": {"type": "array", "items": {"$ref": "#/components/schemas/PricingSerialzier"}}, "is_working": {"type": "boolean"}, "description_title": {"type": "string", "nullable": true, "maxLength": 100}, "description_content": {"type": "string", "nullable": true, "maxLength": 1000}, "provider": {"$ref": "#/components/schemas/Provider"}, "feature": {"$ref": "#/components/schemas/Feature"}, "subfeature": {"$ref": "#/components/schemas/Subfeature"}, "constraints": {"type": "object", "additionalProperties": {}, "readOnly": true}, "models": {"type": "object", "additionalProperties": {}, "readOnly": true}, "tts_models": {"type": "object", "additionalProperties": {}, "readOnly": true}, "llm_details": {"type": "object", "additionalProperties": {}, "readOnly": true}, "languages": {"type": "array", "items": {"type": "object", "properties": {"language_name": {"type": "string"}, "language_code": {"type": "string"}}, "required": ["language_code", "language_name"]}, "readOnly": true}, "phase": {"type": "string", "readOnly": true}, "regions": {"type": "array", "items": {"type": "string", "description": "2-letter ISO 3166-1 alpha-2 country code (e.g., 'us', 'eu', 'fr')"}, "readOnly": true}}, "required": ["constraints", "feature", "languages", "llm_details", "models", "name", "phase", "pricings", "provider", "regions", "subfeature", "tts_models", "version"]}, "QuestionAnswerAsyncRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "show_base_64": {"type": "boolean", "default": true}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:mp4|mpeg|mov|avi|x\\-flx|mpg|webm|wmv|3gpp)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "temperature": {"type": "number", "format": "double", "maximum": 1, "minimum": 0, "default": 0.0, "description": "Higher values mean the model will take more risks and value 0 (argmax sampling) works better for scenarios with a well-defined answer."}, "max_tokens": {"type": "integer", "maximum": 3000000, "minimum": 1, "description": "The maximum number of tokens to generate in the completion. This value, combined with the token count of your prompt, cannot exceed the model's context length."}, "text": {"type": "string", "minLength": 1, "description": "Question about the video"}}, "required": ["providers", "text"]}, "ReasoningEffortEnum": {"enum": ["low", "medium", "high"], "type": "string", "description": "**Choices**:\n- 'low': Minimal reasoning, quick responses\n- 'medium': Balanced reasoning approach\n- 'high': In-depth, comprehensive reasoning\n\n**Example**: 'high' for complex problem-solving tasks\n\n* `low` - low\n* `medium` - medium\n* `high` - high"}, "RepresentationEnum": {"enum": ["document", "query", "symetric"], "type": "string", "description": "* `document` - document\n* `query` - query\n* `symetric` - symetric"}, "ResourceCreate": {"type": "object", "properties": {"resource": {"type": "string", "maxLength": 255}, "data": {"type": "object", "additionalProperties": {}}, "type": {"$ref": "#/components/schemas/TypeDe8Enum"}, "provider": {"type": "string", "maxLength": 100}}, "required": ["data", "provider", "resource", "type"]}, "ResourceCreateRequest": {"type": "object", "properties": {"resource": {"type": "string", "minLength": 1, "maxLength": 255}, "data": {"type": "object", "additionalProperties": {}}, "type": {"$ref": "#/components/schemas/TypeDe8Enum"}, "provider": {"type": "string", "minLength": 1, "maxLength": 100}}, "required": ["data", "provider", "resource", "type"]}, "ResourceList": {"type": "object", "properties": {"resource": {"type": "string", "maxLength": 255}, "data": {"type": "string", "format": "byte", "readOnly": true, "nullable": true}, "type": {"$ref": "#/components/schemas/TypeDe8Enum"}, "provider": {"type": "string", "maxLength": 100}, "assets": {"type": "array", "items": {"$ref": "#/components/schemas/AssetList"}}}, "required": ["assets", "data", "provider", "resource", "type"]}, "ResourceUpdate": {"type": "object", "properties": {"resource": {"type": "string", "maxLength": 255}, "data": {"type": "object", "additionalProperties": {}}, "type": {"$ref": "#/components/schemas/TypeDe8Enum"}, "provider": {"type": "string", "maxLength": 100}, "assets": {"type": "array", "items": {"$ref": "#/components/schemas/AssetList"}, "readOnly": true}}, "required": ["assets", "data", "provider", "resource", "type"]}, "ResourceUpdateRequest": {"type": "object", "properties": {"resource": {"type": "string", "minLength": 1, "maxLength": 255}, "data": {"type": "object", "additionalProperties": {}}, "type": {"$ref": "#/components/schemas/TypeDe8Enum"}, "provider": {"type": "string", "minLength": 1, "maxLength": 100}}, "required": ["data", "provider", "resource", "type"]}, "ResumeEducation": {"properties": {"total_years_education": {"title": "Total Years Education", "type": "integer"}, "entries": {"items": {"$ref": "#/components/schemas/ResumeEducationEntry"}, "title": "Entries", "type": "array"}}, "required": ["total_years_education"], "title": "ResumeEducation", "type": "object"}, "ResumeEducationEntry": {"properties": {"title": {"title": "Title", "type": "string"}, "start_date": {"title": "Start Date", "type": "string"}, "end_date": {"title": "End Date", "type": "string"}, "location": {"$ref": "#/components/schemas/ResumeLocation"}, "establishment": {"title": "Establishment", "type": "string"}, "description": {"title": "Description", "type": "string"}, "gpa": {"title": "Gpa", "type": "string"}, "accreditation": {"title": "Accreditation", "type": "string"}}, "required": ["title", "start_date", "end_date", "location", "establishment", "description", "gpa", "accreditation"], "title": "ResumeEducationEntry", "type": "object"}, "ResumeExtractedData": {"properties": {"personal_infos": {"$ref": "#/components/schemas/ResumePersonalInfo"}, "education": {"$ref": "#/components/schemas/ResumeEducation"}, "work_experience": {"$ref": "#/components/schemas/ResumeWorkExp"}, "languages": {"items": {"$ref": "#/components/schemas/ResumeLang"}, "title": "Languages", "type": "array"}, "skills": {"items": {"$ref": "#/components/schemas/ResumeSkill"}, "title": "Skills", "type": "array"}, "certifications": {"items": {"$ref": "#/components/schemas/ResumeSkill"}, "title": "Certifications", "type": "array"}, "courses": {"items": {"$ref": "#/components/schemas/ResumeSkill"}, "title": "Courses", "type": "array"}, "publications": {"items": {"$ref": "#/components/schemas/ResumeSkill"}, "title": "Publications", "type": "array"}, "interests": {"items": {"$ref": "#/components/schemas/ResumeSkill"}, "title": "Interests", "type": "array"}}, "required": ["personal_infos", "education", "work_experience"], "title": "ResumeExtractedData", "type": "object"}, "ResumeLang": {"properties": {"name": {"title": "Name", "type": "string"}, "code": {"title": "Code", "type": "string"}}, "required": ["name", "code"], "title": "ResumeLang", "type": "object"}, "ResumeLocation": {"properties": {"formatted_location": {"title": "Formatted Location", "type": "string"}, "postal_code": {"title": "Postal Code", "type": "string"}, "region": {"title": "Region", "type": "string"}, "country": {"title": "Country", "type": "string"}, "country_code": {"title": "Country Code", "type": "string"}, "raw_input_location": {"title": "Raw Input Location", "type": "string"}, "street": {"title": "Street", "type": "string"}, "street_number": {"title": "Street Number", "type": "string"}, "appartment_number": {"title": "Appartment Number", "type": "string"}, "city": {"title": "City", "type": "string"}}, "required": ["formatted_location", "postal_code", "region", "country", "country_code", "raw_input_location", "street", "street_number", "appartment_number", "city"], "title": "ResumeLocation", "type": "object"}, "ResumePersonalInfo": {"properties": {"name": {"$ref": "#/components/schemas/ResumePersonalName"}, "address": {"$ref": "#/components/schemas/ResumeLocation"}, "self_summary": {"title": "Self Summary", "type": "string"}, "objective": {"title": "Objective", "type": "string"}, "date_of_birth": {"title": "Date Of Birth", "type": "string"}, "place_of_birth": {"title": "Place Of Birth", "type": "string"}, "phones": {"items": {"type": "string"}, "title": "Phones", "type": "array"}, "mails": {"items": {"type": "string"}, "title": "Mails", "type": "array"}, "urls": {"items": {"type": "string"}, "title": "Urls", "type": "array"}, "fax": {"items": {"type": "string"}, "title": "Fax", "type": "array"}, "current_profession": {"title": "Current Profession", "type": "string"}, "gender": {"title": "Gender", "type": "string"}, "nationality": {"title": "Nationality", "type": "string"}, "martial_status": {"title": "Martial Status", "type": "string"}, "current_salary": {"title": "Current Salary", "type": "string"}, "availability": {"default": null, "title": "Availability", "type": "string"}}, "required": ["name", "address", "self_summary", "objective", "date_of_birth", "place_of_birth", "current_profession", "gender", "nationality", "martial_status", "current_salary"], "title": "ResumePersonalInfo", "type": "object"}, "ResumePersonalName": {"properties": {"first_name": {"title": "First Name", "type": "string"}, "last_name": {"title": "Last Name", "type": "string"}, "raw_name": {"title": "Raw Name", "type": "string"}, "middle": {"title": "Middle", "type": "string"}, "title": {"title": "Title", "type": "string"}, "prefix": {"title": "Prefix", "type": "string"}, "sufix": {"title": "Sufix", "type": "string"}}, "required": ["first_name", "last_name", "raw_name", "middle", "title", "prefix", "sufix"], "title": "ResumePersonalName", "type": "object"}, "ResumeSkill": {"properties": {"name": {"title": "Name", "type": "string"}, "type": {"title": "Type", "type": "string"}}, "required": ["name", "type"], "title": "ResumeSkill", "type": "object"}, "ResumeWorkExp": {"properties": {"total_years_experience": {"title": "Total Years Experience", "type": "string"}, "entries": {"items": {"$ref": "#/components/schemas/ResumeWorkExpEntry"}, "title": "Entries", "type": "array"}}, "required": ["total_years_experience"], "title": "ResumeWorkExp", "type": "object"}, "ResumeWorkExpEntry": {"properties": {"title": {"title": "Title", "type": "string"}, "start_date": {"title": "Start Date", "type": "string"}, "end_date": {"title": "End Date", "type": "string"}, "company": {"title": "Company", "type": "string"}, "location": {"$ref": "#/components/schemas/ResumeLocation"}, "description": {"title": "Description", "type": "string"}, "type": {"default": null, "title": "Type", "type": "string"}, "industry": {"title": "Industry", "type": "string"}}, "required": ["title", "start_date", "end_date", "company", "location", "description", "industry"], "title": "ResumeWorkExpEntry", "type": "object"}, "Row": {"properties": {"cells": {"items": {"$ref": "#/components/schemas/Cell"}, "title": "Cells", "type": "array"}}, "title": "Row", "type": "object"}, "SegmentSentimentAnalysisDataClass": {"description": "This class is used in SentimentAnalysisDataClass to describe each segment analyzed.\n\nArgs:\n - segment (str): The segment analyzed\n - sentiment (Literal['Positve', 'Negative', 'Neutral']) (Case is ignore): Sentiment of segment\n - sentiment_rate (float between 0 and 1): Rate of sentiment", "properties": {"segment": {"title": "Segment", "type": "string"}, "sentiment": {"allOf": [{"$ref": "#/components/schemas/SentimentEbfEnum"}], "title": "Sentiment"}, "sentiment_rate": {"maximum": 1, "minimum": 0, "title": "Sentiment Rate", "type": "integer"}}, "required": ["segment", "sentiment", "sentiment_rate"], "title": "SegmentSentimentAnalysisDataClass", "type": "object"}, "SentimentEbfEnum": {"enum": ["Positive", "Negative", "Neutral"], "type": "string"}, "ServiceTierEnum": {"enum": ["auto", "default"], "type": "string", "description": "**Choices**:\n- 'auto': Automatically select appropriate tier\n- 'default': Use default service configuration\n\n* `auto` - auto\n* `default` - default"}, "ShotFrame": {"properties": {"startTimeOffset": {"title": "Starttimeoffset", "type": "integer"}, "endTimeOffset": {"title": "Endtimeoffset", "type": "integer"}}, "required": ["startTimeOffset", "endTimeOffset"], "title": "ShotFrame", "type": "object"}, "SpeechDiarization": {"properties": {"total_speakers": {"title": "Total Speakers", "type": "integer"}, "entries": {"items": {"$ref": "#/components/schemas/SpeechDiarizationEntry"}, "title": "Entries", "type": "array"}, "error_message": {"default": null, "title": "Error Message", "type": "string"}}, "required": ["total_speakers"], "title": "SpeechDiarization", "type": "object"}, "SpeechDiarizationEntry": {"properties": {"segment": {"title": "Segment", "type": "string"}, "start_time": {"title": "Start Time", "type": "string"}, "end_time": {"title": "End Time", "type": "string"}, "speaker": {"title": "Speaker", "type": "integer"}, "confidence": {"title": "Confidence", "type": "integer"}}, "required": ["segment", "start_time", "end_time", "speaker", "confidence"], "title": "SpeechDiarizationEntry", "type": "object"}, "SpeechToTextAsyncRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "show_base_64": {"type": "boolean", "default": true}, "provider_params": {"type": "string", "description": "\nParameters specific to the provider that you want to send along the request.\n\nit should take a *provider* name as key and an object of parameters as value.\n\nExample:\n\n {\n \"deepgram\": {\n \"filler_words\": true,\n \"smart_format\": true,\n \"callback\": \"https://webhook.site/0000\"\n },\n \"assembly\": {\n \"webhook_url\": \"https://webhook.site/0000\"\n }\n }\n\nPlease refer to the documentation of each provider to see which parameters to send.\n"}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "language": {"type": "string", "nullable": true, "description": "Language code expected (ex: en, fr)"}, "speakers": {"type": "integer", "nullable": true, "default": 2, "description": "Number of speakers in the file audio"}, "profanity_filter": {"type": "boolean", "nullable": true, "default": false, "description": "Boolean value to specify weather or not the service will filter profanity and replace inappropriate words with a series of asterisks"}, "custom_vocabulary": {"type": "string", "default": "", "description": "List of words or composed words to be detected by the speech to text engine. (Ex: Word, Mike, Draw, Los Angeles,...)"}, "convert_to_wav": {"type": "boolean", "nullable": true, "default": false, "description": "Boolean value to specify weather to convert the audio/video file to wav format to be accepted by a majority of the providers"}}, "required": ["providers"]}, "SpellCheckItem": {"description": "Represents a spell check item with suggestions.\n\nArgs:\n text (str): The text to spell check.\n type (str, optional): The type of the text.\n offset (int): The offset of the text.\n length (int): The length of the text.\n suggestions (Sequence[SuggestionItem], optional): The list of suggestions for the misspelled text.\n\nRaises:\n ValueError: If the offset or length is not positive.\n\nReturns:\n SpellCheckItem: An instance of the SpellCheckItem class.", "properties": {"text": {"title": "Text", "type": "string"}, "type": {"title": "Type", "type": "string"}, "offset": {"minimum": 0, "title": "Offset", "type": "integer"}, "length": {"minimum": 0, "title": "Length", "type": "integer"}, "suggestions": {"items": {"$ref": "#/components/schemas/SuggestionItem"}, "title": "Suggestions", "type": "array"}}, "required": ["text", "type", "offset", "length"], "title": "SpellCheckItem", "type": "object"}, "StateEnum": {"enum": ["finished", "failed", "Timeout error", "processing"], "type": "string", "description": "* `finished` - finished\n* `failed` - failed\n* `Timeout error` - Timeout error\n* `processing` - processing"}, "Status549Enum": {"enum": ["sucess", "fail"], "type": "string"}, "Status889Enum": {"enum": ["succeeded", "failed", "finished", "processing"], "type": "string", "description": "* `succeeded` - Status Succeeded\n* `failed` - Status Failed\n* `finished` - Status Finished\n* `processing` - Status Processing"}, "SubCategoryType": {"enum": ["CreditCard", "CardExpiry", "BankAccountNumber", "BankRoutingNumber", "SwiftCode", "TaxIdentificationNumber", "Name", "Age", "Email", "Phone", "PersonType", "Gender", "SocialSecurityNumber", "NationalIdentificationNumber", "NationalHealthService", "ResidentRegistrationNumber", "DriverLicenseNumber", "PassportNumber", "URL", "IP", "MAC", "VehicleIdentificationNumber", "LicensePlate", "VoterNumber", "AWSKeys", "AzureKeys", "Password", "CompanyName", "CompanyNumber", "BuisnessNumber", "Date", "Time", "DateTime", "Duration", "Address", "Location", "Other", "Anonymized", "Nerd", "Wsd", "Unknown"], "title": "SubCategoryType", "type": "string"}, "Subfeature": {"type": "object", "properties": {"name": {"type": "string", "maxLength": 255}, "fullname": {"type": "string", "nullable": true, "maxLength": 255}, "description": {"type": "string", "nullable": true, "maxLength": 1000}}, "required": ["name"]}, "SuggestionItem": {"description": "Represents a suggestion for a misspelled word.\n\nArgs:\n suggestion (str): The suggested text.\n score (float, optional): The score of the suggested text (between 0 and 1).\n\nRaises:\n ValueError: If the score is not between 0 and 1.\n\nReturns:\n SuggestionItem: An instance of the SuggestionItem class.", "properties": {"suggestion": {"title": "Suggestion", "type": "string"}, "score": {"maximum": 1, "minimum": 0, "title": "Score", "type": "integer"}}, "required": ["suggestion", "score"], "title": "SuggestionItem", "type": "object"}, "Table": {"properties": {"rows": {"items": {"$ref": "#/components/schemas/Row"}, "title": "Rows", "type": "array"}, "num_rows": {"title": "Num Rows", "type": "integer"}, "num_cols": {"title": "Num Cols", "type": "integer"}}, "required": ["num_rows", "num_cols"], "title": "Table", "type": "object"}, "TextModerationItem": {"properties": {"label": {"title": "Label", "type": "string"}, "likelihood": {"title": "Likelihood", "type": "integer"}, "category": {"$ref": "#/components/schemas/CategoryType"}, "subcategory": {"$ref": "#/components/schemas/SubCategoryType"}, "likelihood_score": {"title": "Likelihood Score", "type": "integer"}}, "required": ["label", "likelihood", "category", "subcategory", "likelihood_score"], "title": "TextModerationItem", "type": "object"}, "TextToSpeechAsyncRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "minLength": 1, "description": "Text to analyze"}, "language": {"type": "string", "nullable": true, "default": "", "description": "Language code expected (ex: en, fr)"}, "option": {"default": "", "oneOf": [{"$ref": "#/components/schemas/OptionEnum"}, {"$ref": "#/components/schemas/BlankEnum"}]}, "rate": {"type": "integer", "maximum": 100, "minimum": -100, "nullable": true, "default": 0, "description": "Increase or decrease the speaking rate by expressing a positif or negatif number ranging between 100 and -100 (a relative value as percentage varying from -100% to 100%)"}, "pitch": {"type": "integer", "maximum": 100, "minimum": -100, "nullable": true, "default": 0, "description": "Increase or decrease the speaking pitch by expressing a positif or negatif number ranging between 100 and -100 (a relative value as percentage varying from -100% to 100%)"}, "volume": {"type": "integer", "maximum": 100, "minimum": -100, "nullable": true, "default": 0, "description": "Increase or decrease the audio volume by expressing a positif or negatif number ranging between 100 and -100 (a relative value as percentage varying from -100% to 100%)"}, "audio_format": {"type": "string", "nullable": true, "default": "", "description": "Optional parameter to specify the audio format in which the audio will be generated. By default, audios are encoded in MP3, except for lovoai which use the wav container."}, "sampling_rate": {"type": "integer", "maximum": 200000, "minimum": 0, "nullable": true, "default": 0, "description": "Optional. The synthesis sample rate (in hertz) for this audio. When this is specified, the audio will be converted either to the right passed value, or to a the nearest value acceptable by the provider"}, "webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}}, "required": ["providers", "text"]}, "ThinkingRequest": {"type": "object", "properties": {"type": {"$ref": "#/components/schemas/ThinkingTypeEnum"}, "budget_tokens": {"type": "integer", "minimum": 1024}}, "required": ["budget_tokens", "type"]}, "ThinkingTypeEnum": {"enum": ["enabled", "disabled"], "type": "string", "description": "* `enabled` - enabled\n* `disabled` - disabled"}, "TokenData": {"properties": {"token": {"title": "Token", "type": "string"}, "data": {"additionalProperties": {"additionalProperties": {"$ref": "#/components/schemas/Details"}, "type": "object"}, "title": "Data", "type": "object"}}, "required": ["token", "data"], "title": "TokenData", "type": "object"}, "TokenTypeEnum": {"enum": ["sandbox_api_token", "api_token"], "type": "string", "description": "* `sandbox_api_token` - Sandbox\n* `api_token` - Back"}, "ToolCall": {"properties": {"id": {"title": "Id", "type": "string"}, "name": {"title": "Name", "type": "string"}, "arguments": {"title": "Arguments", "type": "string"}}, "required": ["id", "name", "arguments"], "title": "ToolCall", "type": "object"}, "ToolChoiceEnum": {"enum": ["auto", "required", "none"], "type": "string", "description": "* `auto` - auto\n* `required` - required\n* `none` - none"}, "TypeDe8Enum": {"enum": ["db", "bucket", "db_vector", "ai"], "type": "string", "description": "* `db` - Db\n* `bucket` - Bucket\n* `db_vector` - Db Vector\n* `ai` - Ai"}, "TypeOfDataEnum": {"enum": ["TRAINING", "TEST"], "type": "string", "description": "* `TRAINING` - TRAINING\n* `TEST` - TEST"}, "UpperCloth": {"properties": {"value": {"title": "Value", "type": "string"}, "confidence": {"title": "Confidence", "type": "integer"}}, "required": ["value", "confidence"], "title": "UpperCloth", "type": "object"}, "UsageTokensDetails": {"properties": {"audio_tokens": {"description": "Number of audio tokens in the prompt", "title": "Audio Tokens", "type": "integer"}, "cached_tokens": {"description": "Number of cached tokens in the prompt", "title": "Cached Tokens", "type": "integer"}, "prompt_tokens": {"description": "Number of tokens in the prompt", "title": "Prompt Tokens", "type": "integer"}, "completion_tokens": {"description": "Number of tokens in the generated completion", "title": "Completion Tokens", "type": "integer"}, "total_tokens": {"description": "Total number of tokens used (prompt + completion)", "title": "Total Tokens", "type": "integer"}, "accepted_prediction_tokens": {"description": "Number of accepted tokens in the prompt", "title": "Accepted Prediction Tokens", "type": "integer"}, "reasoning_tokens": {"description": "Number of reasoning tokens in the prompt", "title": "Reasoning Tokens", "type": "integer"}, "rejected_prediction_tokens": {"description": "Number of rejected tokens in the prompt", "title": "Rejected Prediction Tokens", "type": "integer"}}, "required": ["audio_tokens", "cached_tokens", "prompt_tokens", "completion_tokens", "total_tokens", "accepted_prediction_tokens", "reasoning_tokens", "rejected_prediction_tokens"], "title": "UsageTokensDetails", "type": "object"}, "VideoBoundingBox": {"properties": {"top": {"title": "Top", "type": "integer"}, "left": {"title": "Left", "type": "integer"}, "height": {"title": "Height", "type": "integer"}, "width": {"title": "Width", "type": "integer"}}, "required": ["top", "left", "height", "width"], "title": "VideoBoundingBox", "type": "object"}, "VideoFace": {"properties": {"offset": {"title": "Offset", "type": "integer"}, "bounding_box": {"$ref": "#/components/schemas/VideoBoundingBox"}, "attributes": {"$ref": "#/components/schemas/FaceAttributes"}, "landmarks": {"$ref": "#/components/schemas/LandmarksVideo"}}, "required": ["offset", "bounding_box", "attributes", "landmarks"], "title": "VideoFace", "type": "object"}, "VideoFacePoses": {"properties": {"pitch": {"title": "Pitch", "type": "integer"}, "roll": {"title": "Roll", "type": "integer"}, "yawn": {"title": "Yawn", "type": "integer"}}, "required": ["pitch", "roll", "yawn"], "title": "VideoFacePoses", "type": "object"}, "VideoLabel": {"properties": {"name": {"title": "Name", "type": "string"}, "confidence": {"title": "Confidence", "type": "integer"}, "timestamp": {"items": {"$ref": "#/components/schemas/VideoLabelTimeStamp"}, "title": "Timestamp", "type": "array"}, "category": {"items": {"type": "string"}, "title": "Category", "type": "array"}, "bounding_box": {"items": {"$ref": "#/components/schemas/VideoLabelBoundingBox"}, "title": "Bounding Box", "type": "array"}}, "required": ["name", "confidence"], "title": "VideoLabel", "type": "object"}, "VideoLabelBoundingBox": {"properties": {"top": {"title": "Top", "type": "integer"}, "left": {"title": "Left", "type": "integer"}, "height": {"title": "Height", "type": "integer"}, "width": {"title": "Width", "type": "integer"}}, "required": ["top", "left", "height", "width"], "title": "VideoLabelBoundingBox", "type": "object"}, "VideoLabelTimeStamp": {"properties": {"start": {"title": "Start", "type": "integer"}, "end": {"title": "End", "type": "integer"}}, "required": ["start", "end"], "title": "VideoLabelTimeStamp", "type": "object"}, "VideoLogo": {"properties": {"timestamp": {"title": "Timestamp", "type": "integer"}, "bounding_box": {"$ref": "#/components/schemas/VideoLogoBoundingBox"}, "confidence": {"title": "Confidence", "type": "integer"}}, "required": ["timestamp", "bounding_box", "confidence"], "title": "VideoLogo", "type": "object"}, "VideoLogoBoundingBox": {"properties": {"top": {"title": "Top", "type": "integer"}, "left": {"title": "Left", "type": "integer"}, "height": {"title": "Height", "type": "integer"}, "width": {"title": "Width", "type": "integer"}}, "required": ["top", "left", "height", "width"], "title": "VideoLogoBoundingBox", "type": "object"}, "VideoObjectBoundingBox": {"properties": {"top": {"title": "Top", "type": "integer"}, "left": {"title": "Left", "type": "integer"}, "height": {"title": "Height", "type": "integer"}, "width": {"title": "Width", "type": "integer"}}, "required": ["top", "left", "height", "width"], "title": "VideoObjectBoundingBox", "type": "object"}, "VideoPersonPoses": {"properties": {"pitch": {"title": "Pitch", "type": "integer"}, "roll": {"title": "Roll", "type": "integer"}, "yaw": {"title": "Yaw", "type": "integer"}}, "required": ["pitch", "roll", "yaw"], "title": "VideoPersonPoses", "type": "object"}, "VideoPersonQuality": {"properties": {"brightness": {"title": "Brightness", "type": "integer"}, "sharpness": {"title": "Sharpness", "type": "integer"}}, "required": ["brightness", "sharpness"], "title": "VideoPersonQuality", "type": "object"}, "VideoText": {"properties": {"text": {"title": "Text", "type": "string"}, "frames": {"items": {"$ref": "#/components/schemas/VideoTextFrames"}, "title": "Frames", "type": "array"}}, "required": ["text"], "title": "VideoText", "type": "object"}, "VideoTextBoundingBox": {"properties": {"top": {"title": "Top", "type": "integer"}, "left": {"title": "Left", "type": "integer"}, "height": {"title": "Height", "type": "integer"}, "width": {"title": "Width", "type": "integer"}}, "required": ["top", "left", "height", "width"], "title": "VideoTextBoundingBox", "type": "object"}, "VideoTextFrames": {"properties": {"confidence": {"title": "Confidence", "type": "integer"}, "timestamp": {"title": "Timestamp", "type": "integer"}, "bounding_box": {"$ref": "#/components/schemas/VideoTextBoundingBox"}}, "required": ["confidence", "timestamp", "bounding_box"], "title": "VideoTextFrames", "type": "object"}, "VideoTrackingBoundingBox": {"properties": {"top": {"title": "Top", "type": "integer"}, "left": {"title": "Left", "type": "integer"}, "height": {"title": "Height", "type": "integer"}, "width": {"title": "Width", "type": "integer"}}, "required": ["top", "left", "height", "width"], "title": "VideoTrackingBoundingBox", "type": "object"}, "VideoTrackingPerson": {"properties": {"tracked": {"items": {"$ref": "#/components/schemas/PersonTracking"}, "title": "Tracked", "type": "array"}}, "title": "VideoTrackingPerson", "type": "object"}, "WebhookParameters": {"type": "object", "properties": {"webhook_receiver": {"type": "string", "format": "uri", "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}}}, "WebhookParametersRequest": {"type": "object", "properties": {"webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}}}, "Word": {"description": "Word of a document\n\nAttributes:\n text (str): Text detected in the word\n bounding_boxes (Sequence[BoundingBox]): Bounding boxes of the words in the word\n confidence (float): Confidence score of the word", "properties": {"text": {"description": "Text detected in the word", "title": "Text", "type": "string"}, "bounding_box": {"$ref": "#/components/schemas/BoundingBox", "description": "Bounding boxes of the words in the word"}, "confidence": {"description": "Confidence score of the word", "title": "Confidence", "type": "integer"}}, "required": ["text", "bounding_box", "confidence"], "title": "Word", "type": "object"}, "Workflow": {"type": "object", "properties": {"id": {"type": "string", "format": "uuid", "readOnly": true}, "name": {"type": "string", "nullable": true, "maxLength": 255}, "description": {"type": "string", "nullable": true}, "content": {"type": "array", "items": {"type": "object", "additionalProperties": {}}}, "created_at": {"type": "string", "format": "date-time", "readOnly": true, "nullable": true}, "updated_at": {"type": "string", "format": "date-time", "readOnly": true, "nullable": true}, "output_node": {"type": "string", "nullable": true, "maxLength": 200}, "is_empty": {"type": "boolean", "readOnly": true}, "template": {"type": "integer", "nullable": true}, "code": {"type": "object", "additionalProperties": {}}, "webhook": {"type": "string", "readOnly": true}}, "required": ["created_at", "id", "is_empty", "updated_at", "webhook"]}, "YodaAskLlmResponse": {"properties": {"result": {"title": "Result", "type": "string"}, "llm_provider": {"title": "Llm Provider", "type": "string"}, "llm_model": {"title": "Llm Model", "type": "string"}}, "required": ["result", "llm_provider", "llm_model"], "title": "YodaAskLlmResponse", "type": "object"}, "YodaCreateProjectResponse": {"properties": {"project_id": {"format": "uuid", "title": "Project Id", "type": "string"}}, "required": ["project_id"], "title": "YodaCreateProjectResponse", "type": "object"}, "YodaDeleteResponse": {"properties": {"result": {"default": "Done!", "title": "Result", "type": "string"}}, "title": "YodaDeleteResponse", "type": "object"}, "YodaInfoResponse": {"properties": {"db_provider": {"title": "Db Provider", "type": "string"}, "embeddings_provider": {"title": "Embeddings Provider", "type": "string"}, "llm_provider": {"title": "Llm Provider", "type": "string"}, "llm_model": {"title": "Llm Model", "type": "string"}, "collection_size": {"title": "Collection Size", "type": "integer"}}, "required": ["db_provider", "embeddings_provider", "llm_provider", "llm_model", "collection_size"], "title": "YodaInfoResponse", "type": "object"}, "YodaListChunksIdsResponse": {"properties": {"chunks_ids": {"items": {"type": "string"}, "title": "Chunks Ids", "type": "array"}}, "required": ["chunks_ids"], "title": "YodaListChunksIdsResponse", "type": "object"}, "YodaQueryResponse": {"properties": {"result": {"items": {"$ref": "#/components/schemas/YodaQueryResponseItem"}, "title": "Result", "type": "array"}}, "required": ["result"], "title": "YodaQueryResponse", "type": "object"}, "YodaQueryResponseItem": {"properties": {"id": {"format": "uuid", "title": "Id", "type": "string"}, "version": {"title": "Version", "type": "integer"}, "score": {"title": "Score", "type": "integer"}, "payload": {"$ref": "#/components/schemas/YodaQueryResponsePayload"}, "vector": {"title": "Vector"}}, "required": ["id", "version", "score", "payload", "vector"], "title": "YodaQueryResponseItem", "type": "object"}, "YodaQueryResponsePayload": {"properties": {"metadata": {"additionalProperties": true, "title": "Metadata", "type": "object"}, "page_content": {"title": "Page Content", "type": "string"}}, "required": ["metadata", "page_content"], "title": "YodaQueryResponsePayload", "type": "object"}, "asyncaudiospeech_to_text_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/audiospeech_to_text_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncaudiospeech_to_text_asyncResponseModel", "type": "object"}, "asyncaudiotext_to_speech_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/audiotext_to_speech_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncaudiotext_to_speech_asyncResponseModel", "type": "object"}, "asyncocranonymization_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/ocranonymization_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncocranonymization_asyncResponseModel", "type": "object"}, "asyncocrcustom_document_parsing_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/ocrcustom_document_parsing_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncocrcustom_document_parsing_asyncResponseModel", "type": "object"}, "asyncocrocr_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/ocrocr_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncocrocr_asyncResponseModel", "type": "object"}, "asyncocrocr_tables_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/ocrocr_tables_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncocrocr_tables_asyncResponseModel", "type": "object"}, "asyncvideodeepfake_detection_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/videodeepfake_detection_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncvideodeepfake_detection_asyncResponseModel", "type": "object"}, "asyncvideoexplicit_content_detection_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/videoexplicit_content_detection_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncvideoexplicit_content_detection_asyncResponseModel", "type": "object"}, "asyncvideoface_detection_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/videoface_detection_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncvideoface_detection_asyncResponseModel", "type": "object"}, "asyncvideogeneration_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/videogeneration_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncvideogeneration_asyncResponseModel", "type": "object"}, "asyncvideolabel_detection_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/videolabel_detection_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncvideolabel_detection_asyncResponseModel", "type": "object"}, "asyncvideologo_detection_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/videologo_detection_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncvideologo_detection_asyncResponseModel", "type": "object"}, "asyncvideoobject_tracking_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/videoobject_tracking_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncvideoobject_tracking_asyncResponseModel", "type": "object"}, "asyncvideoperson_tracking_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/videoperson_tracking_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncvideoperson_tracking_asyncResponseModel", "type": "object"}, "asyncvideoquestion_answer_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/videoquestion_answer_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncvideoquestion_answer_asyncResponseModel", "type": "object"}, "asyncvideoshot_change_detection_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/videoshot_change_detection_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncvideoshot_change_detection_asyncResponseModel", "type": "object"}, "asyncvideotext_detection_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/videotext_detection_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncvideotext_detection_asyncResponseModel", "type": "object"}, "audiospeech_to_text_asyncModel": {"properties": {"faker": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}, "assembly": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}, "deepgram": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}, "gladia": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}, "oneai": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}, "symbl": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}, "voxist": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}, "google": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}, "voci": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}, "speechmatics": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}}, "title": "audiospeech_to_text_asyncModel", "type": "object"}, "audiospeech_to_text_asyncSpeechToTextAsyncDataClass": {"properties": {"text": {"title": "Text", "type": "string"}, "diarization": {"$ref": "#/components/schemas/SpeechDiarization"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["text", "diarization", "id", "final_status"], "title": "audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "type": "object"}, "audiotext_to_speechResponseModel": {"properties": {"lovoai": {"$ref": "#/components/schemas/audiotext_to_speechTextToSpeechDataClass", "default": null}, "elevenlabs": {"$ref": "#/components/schemas/audiotext_to_speechTextToSpeechDataClass", "default": null}, "deepgram": {"$ref": "#/components/schemas/audiotext_to_speechTextToSpeechDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/audiotext_to_speechTextToSpeechDataClass", "default": null}, "google": {"$ref": "#/components/schemas/audiotext_to_speechTextToSpeechDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/audiotext_to_speechTextToSpeechDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/audiotext_to_speechTextToSpeechDataClass", "default": null}}, "title": "audiotext_to_speechResponseModel", "type": "object"}, "audiotext_to_speechTextToSpeechDataClass": {"properties": {"audio": {"title": "Audio", "type": "string"}, "voice_type": {"title": "Voice Type", "type": "integer"}, "audio_resource_url": {"title": "Audio Resource Url", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["audio", "voice_type", "audio_resource_url", "status"], "title": "audiotext_to_speechTextToSpeechDataClass", "type": "object"}, "audiotext_to_speechTextToSpeechRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "minLength": 1, "description": "Text to analyze"}, "language": {"type": "string", "nullable": true, "default": "", "description": "Language code expected (ex: en, fr)"}, "option": {"default": "", "oneOf": [{"$ref": "#/components/schemas/OptionEnum"}, {"$ref": "#/components/schemas/BlankEnum"}]}, "rate": {"type": "integer", "maximum": 100, "minimum": -100, "nullable": true, "default": 0, "description": "Increase or decrease the speaking rate by expressing a positif or negatif number ranging between 100 and -100 (a relative value as percentage varying from -100% to 100%)"}, "pitch": {"type": "integer", "maximum": 100, "minimum": -100, "nullable": true, "default": 0, "description": "Increase or decrease the speaking pitch by expressing a positif or negatif number ranging between 100 and -100 (a relative value as percentage varying from -100% to 100%)"}, "volume": {"type": "integer", "maximum": 100, "minimum": -100, "nullable": true, "default": 0, "description": "Increase or decrease the audio volume by expressing a positif or negatif number ranging between 100 and -100 (a relative value as percentage varying from -100% to 100%)"}, "audio_format": {"type": "string", "nullable": true, "default": "", "description": "Optional parameter to specify the audio format in which the audio will be generated. By default, audios are encoded in MP3, except for lovoai which use the wav container."}, "sampling_rate": {"type": "integer", "maximum": 200000, "minimum": 0, "nullable": true, "default": 0, "description": "Optional. The synthesis sample rate (in hertz) for this audio. When this is specified, the audio will be converted either to the right passed value, or to a the nearest value acceptable by the provider"}}, "required": ["providers", "text"]}, "audiotext_to_speech_asyncModel": {"properties": {"lovoai": {"$ref": "#/components/schemas/audiotext_to_speech_asyncTextToSpeechAsyncDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/audiotext_to_speech_asyncTextToSpeechAsyncDataClass", "default": null}}, "title": "audiotext_to_speech_asyncModel", "type": "object"}, "audiotext_to_speech_asyncTextToSpeechAsyncDataClass": {"properties": {"audio": {"title": "Audio", "type": "string"}, "voice_type": {"title": "Voice Type", "type": "integer"}, "audio_resource_url": {"title": "Audio Resource Url", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["audio", "voice_type", "audio_resource_url", "id", "final_status"], "title": "audiotext_to_speech_asyncTextToSpeechAsyncDataClass", "type": "object"}, "credits_serializer": {"type": "object", "properties": {"credits": {"type": "number", "format": "double"}}, "required": ["credits"]}, "imageai_detectionAiDetectionDataClass": {"properties": {"ai_score": {"maximum": 1, "minimum": 0, "title": "Ai Score", "type": "integer"}, "prediction": {"allOf": [{"$ref": "#/components/schemas/ImageaiDetectionAiDetectionDataClassPredictionEnum"}], "title": "Prediction"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["ai_score", "prediction", "status"], "title": "imageai_detectionAiDetectionDataClass", "type": "object"}, "imageai_detectionAiDetectionRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}, "required": ["providers"]}, "imageai_detectionResponseModel": {"properties": {"winstonai": {"$ref": "#/components/schemas/imageai_detectionAiDetectionDataClass", "default": null}}, "title": "imageai_detectionResponseModel", "type": "object"}, "imageanonymizationAnonymizationDataClass": {"properties": {"image": {"title": "Image", "type": "string"}, "image_resource_url": {"title": "Image Resource Url", "type": "string"}, "items": {"items": {"$ref": "#/components/schemas/AnonymizationItem"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["image", "image_resource_url", "status"], "title": "imageanonymizationAnonymizationDataClass", "type": "object"}, "imageanonymizationResponseModel": {"properties": {"api4ai": {"$ref": "#/components/schemas/imageanonymizationAnonymizationDataClass", "default": null}}, "title": "imageanonymizationResponseModel", "type": "object"}, "imageanonymizationimagelandmark_detectionimageexplicit_contentimagedeepfake_detectionImageRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}, "required": ["providers"]}, "imageautoml_classificationAutomlClassificationCreateProjectDataClass": {"properties": {"name": {"title": "Name", "type": "string"}, "project_id": {"title": "Project Id", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["name", "project_id", "status"], "title": "imageautoml_classificationAutomlClassificationCreateProjectDataClass", "type": "object"}, "imageautoml_classificationResponseModel": {"properties": {"nyckel": {"$ref": "#/components/schemas/imageautoml_classificationAutomlClassificationCreateProjectDataClass", "default": null}}, "title": "imageautoml_classificationResponseModel", "type": "object"}, "imageautoml_classificationcreate_projectAutomlClassificationCreateProjectRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "name": {"type": "string", "minLength": 1, "description": "Name of your project", "maxLength": 250}}, "required": ["providers"]}, "imageautoml_classificationdelete_projectAutomlClassificationDeleteRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "project_id": {"type": "string", "minLength": 1, "description": "The id of project", "maxLength": 250}}, "required": ["project_id", "providers"]}, "imagebackground_removalBackgroundRemovalDataClass": {"properties": {"image_b64": {"description": "The image in base64 format.", "title": "Image B64", "type": "string"}, "image_resource_url": {"description": "The image url.", "title": "Image Resource Url", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["image_b64", "image_resource_url", "status"], "title": "imagebackground_removalBackgroundRemovalDataClass", "type": "object"}, "imagebackground_removalBackgroundRemovalRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "provider_params": {"type": "string", "default": {}, "description": "Provider specific parameters"}}, "required": ["providers"]}, "imagebackground_removalResponseModel": {"properties": {"picsart": {"$ref": "#/components/schemas/imagebackground_removalBackgroundRemovalDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/imagebackground_removalBackgroundRemovalDataClass", "default": null}, "sentisight": {"$ref": "#/components/schemas/imagebackground_removalBackgroundRemovalDataClass", "default": null}, "api4ai": {"$ref": "#/components/schemas/imagebackground_removalBackgroundRemovalDataClass", "default": null}, "stabilityai": {"$ref": "#/components/schemas/imagebackground_removalBackgroundRemovalDataClass", "default": null}, "clipdrop": {"$ref": "#/components/schemas/imagebackground_removalBackgroundRemovalDataClass", "default": null}, "photoroom": {"$ref": "#/components/schemas/imagebackground_removalBackgroundRemovalDataClass", "default": null}}, "title": "imagebackground_removalResponseModel", "type": "object"}, "imagedeepfake_detectionDeepfakeDetectionDataClass": {"properties": {"deepfake_score": {"maximum": 1, "minimum": 0, "title": "Deepfake Score", "type": "integer"}, "prediction": {"allOf": [{"$ref": "#/components/schemas/PredictionB20Enum"}], "title": "Prediction"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["deepfake_score", "prediction", "status"], "title": "imagedeepfake_detectionDeepfakeDetectionDataClass", "type": "object"}, "imagedeepfake_detectionResponseModel": {"properties": {"sightengine": {"$ref": "#/components/schemas/imagedeepfake_detectionDeepfakeDetectionDataClass", "default": null}}, "title": "imagedeepfake_detectionResponseModel", "type": "object"}, "imageembeddingsEmbeddingsDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/EmbeddingDataClass"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "imageembeddingsEmbeddingsDataClass", "type": "object"}, "imageembeddingsEmbeddingsRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "representation": {"allOf": [{"$ref": "#/components/schemas/RepresentationEnum"}], "description": "The type of embedding representation to embed the image with\n\n* `document` - document\n* `query` - query\n* `symetric` - symetric"}}, "required": ["providers", "representation"]}, "imageembeddingsResponseModel": {"properties": {"google": {"$ref": "#/components/schemas/imageembeddingsEmbeddingsDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/imageembeddingsEmbeddingsDataClass", "default": null}, "alephalpha": {"$ref": "#/components/schemas/imageembeddingsEmbeddingsDataClass", "default": null}}, "title": "imageembeddingsResponseModel", "type": "object"}, "imageexplicit_contentExplicitContentDataClass": {"properties": {"nsfw_likelihood": {"description": "An integer representing the likelihood of NSFW content. Higher values indicate a higher likelihood.", "title": "Nsfw Likelihood", "type": "integer"}, "nsfw_likelihood_score": {"description": "A floating-point score representing the confidence level of the NSFW likelihood assessment. This is typically a value between 0.0 and 1.0.", "title": "Nsfw Likelihood Score", "type": "integer"}, "items": {"description": "A list of items identified as potentially explicit. Each item contains details of the explicit content detected.", "items": {"$ref": "#/components/schemas/ExplicitItem"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["nsfw_likelihood", "nsfw_likelihood_score", "status"], "title": "imageexplicit_contentExplicitContentDataClass", "type": "object"}, "imageexplicit_contentResponseModel": {"properties": {"clarifai": {"$ref": "#/components/schemas/imageexplicit_contentExplicitContentDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/imageexplicit_contentExplicitContentDataClass", "default": null}, "sentisight": {"$ref": "#/components/schemas/imageexplicit_contentExplicitContentDataClass", "default": null}, "google": {"$ref": "#/components/schemas/imageexplicit_contentExplicitContentDataClass", "default": null}, "api4ai": {"$ref": "#/components/schemas/imageexplicit_contentExplicitContentDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/imageexplicit_contentExplicitContentDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/imageexplicit_contentExplicitContentDataClass", "default": null}}, "title": "imageexplicit_contentResponseModel", "type": "object"}, "imageface_compareFaceCompareDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/FaceMatch"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "imageface_compareFaceCompareDataClass", "type": "object"}, "imageface_compareFaceCompareRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file1": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file1_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "file2": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file2_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}, "required": ["providers"]}, "imageface_compareResponseModel": {"properties": {"amazon": {"$ref": "#/components/schemas/imageface_compareFaceCompareDataClass", "default": null}, "facepp": {"$ref": "#/components/schemas/imageface_compareFaceCompareDataClass", "default": null}, "base64": {"$ref": "#/components/schemas/imageface_compareFaceCompareDataClass", "default": null}}, "title": "imageface_compareResponseModel", "type": "object"}, "imageface_detectionFaceDetectionDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/FaceItem"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "imageface_detectionFaceDetectionDataClass", "type": "object"}, "imageface_detectionFaceDetectionRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}, "required": ["providers"]}, "imageface_detectionResponseModel": {"properties": {"clarifai": {"$ref": "#/components/schemas/imageface_detectionFaceDetectionDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/imageface_detectionFaceDetectionDataClass", "default": null}, "google": {"$ref": "#/components/schemas/imageface_detectionFaceDetectionDataClass", "default": null}, "api4ai": {"$ref": "#/components/schemas/imageface_detectionFaceDetectionDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/imageface_detectionFaceDetectionDataClass", "default": null}}, "title": "imageface_detectionResponseModel", "type": "object"}, "imageface_recognitionFaceRecognitionAddFaceDataClass": {"properties": {"face_ids": {"items": {"type": "string"}, "title": "Face Ids", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["face_ids", "status"], "title": "imageface_recognitionFaceRecognitionAddFaceDataClass", "type": "object"}, "imageface_recognitionResponseModel": {"properties": {"microsoft": {"$ref": "#/components/schemas/imageface_recognitionFaceRecognitionAddFaceDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/imageface_recognitionFaceRecognitionAddFaceDataClass", "default": null}, "facepp": {"$ref": "#/components/schemas/imageface_recognitionFaceRecognitionAddFaceDataClass", "default": null}}, "title": "imageface_recognitionResponseModel", "type": "object"}, "imageface_recognitionadd_faceFaceRecognitionAddFaceRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|bmp)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}, "required": ["providers"]}, "imageface_recognitiondelete_faceFaceRecognitionDeleteFaceRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "face_id": {"type": "string", "minLength": 1, "description": "ID of face to delete"}}, "required": ["face_id", "providers"]}, "imageface_recognitionrecognizeFaceRecognitionDetectFaceRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|bmp)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}, "required": ["providers"]}, "imagegenerationGenerationDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/GeneratedImageDataClass"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "imagegenerationGenerationDataClass", "type": "object"}, "imagegenerationGenerationRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "minLength": 1, "description": "Description of the desired image(s)."}, "resolution": {"type": "string", "minLength": 1, "description": "The image resolution (ex: 512x512, 1024x1024)", "maxLength": 50}, "num_images": {"type": "integer", "maximum": 10, "minimum": 1, "default": 1, "description": "The number of images to generate. Must be between 1 and 10."}}, "required": ["providers", "resolution", "text"]}, "imagegenerationResponseModel": {"properties": {"stabilityai": {"$ref": "#/components/schemas/imagegenerationGenerationDataClass", "default": null}, "deepai": {"$ref": "#/components/schemas/imagegenerationGenerationDataClass", "default": null}, "google": {"$ref": "#/components/schemas/imagegenerationGenerationDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/imagegenerationGenerationDataClass", "default": null}, "replicate": {"$ref": "#/components/schemas/imagegenerationGenerationDataClass", "default": null}, "leonardo": {"$ref": "#/components/schemas/imagegenerationGenerationDataClass", "default": null}, "minimax": {"$ref": "#/components/schemas/imagegenerationGenerationDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/imagegenerationGenerationDataClass", "default": null}, "bytedance": {"$ref": "#/components/schemas/imagegenerationGenerationDataClass", "default": null}}, "title": "imagegenerationResponseModel", "type": "object"}, "imagelandmark_detectionLandmarkDetectionDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/LandmarkItem"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "imagelandmark_detectionLandmarkDetectionDataClass", "type": "object"}, "imagelandmark_detectionResponseModel": {"properties": {"microsoft": {"$ref": "#/components/schemas/imagelandmark_detectionLandmarkDetectionDataClass", "default": null}, "google": {"$ref": "#/components/schemas/imagelandmark_detectionLandmarkDetectionDataClass", "default": null}}, "title": "imagelandmark_detectionResponseModel", "type": "object"}, "imagelogo_detectionLogoDetectionDataClass": {"properties": {"items": {"description": "List of the detected brands logo from the image.", "items": {"$ref": "#/components/schemas/LogoItem"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "imagelogo_detectionLogoDetectionDataClass", "type": "object"}, "imagelogo_detectionLogoDetectionRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}, "required": ["providers"]}, "imagelogo_detectionResponseModel": {"properties": {"clarifai": {"$ref": "#/components/schemas/imagelogo_detectionLogoDetectionDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/imagelogo_detectionLogoDetectionDataClass", "default": null}, "smartclick": {"$ref": "#/components/schemas/imagelogo_detectionLogoDetectionDataClass", "default": null}, "google": {"$ref": "#/components/schemas/imagelogo_detectionLogoDetectionDataClass", "default": null}, "api4ai": {"$ref": "#/components/schemas/imagelogo_detectionLogoDetectionDataClass", "default": null}, "anthropic": {"$ref": "#/components/schemas/imagelogo_detectionLogoDetectionDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/imagelogo_detectionLogoDetectionDataClass", "default": null}}, "title": "imagelogo_detectionResponseModel", "type": "object"}, "imageobject_detectionObjectDetectionDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/ObjectItem"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "imageobject_detectionObjectDetectionDataClass", "type": "object"}, "imageobject_detectionObjectDetectionRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}, "required": ["providers"]}, "imageobject_detectionResponseModel": {"properties": {"clarifai": {"$ref": "#/components/schemas/imageobject_detectionObjectDetectionDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/imageobject_detectionObjectDetectionDataClass", "default": null}, "sentisight": {"$ref": "#/components/schemas/imageobject_detectionObjectDetectionDataClass", "default": null}, "google": {"$ref": "#/components/schemas/imageobject_detectionObjectDetectionDataClass", "default": null}, "api4ai": {"$ref": "#/components/schemas/imageobject_detectionObjectDetectionDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/imageobject_detectionObjectDetectionDataClass", "default": null}}, "title": "imageobject_detectionResponseModel", "type": "object"}, "imagequestion_answerQuestionAnswerDataClass": {"properties": {"answers": {"items": {"type": "string"}, "title": "Answers", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "imagequestion_answerQuestionAnswerDataClass", "type": "object"}, "imagequestion_answerQuestionAnswerRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "temperature": {"type": "number", "format": "double", "maximum": 1, "minimum": 0, "default": 0.0, "description": "Higher values mean the model will take more risks and value 0 (argmax sampling) works better for scenarios with a well-defined answer."}, "question": {"type": "string", "minLength": 1, "description": "Question about the image"}, "max_tokens": {"type": "integer", "maximum": 2048, "minimum": 1, "default": 1000, "description": "The maximum number of tokens to generate in the completion. The token count of your prompt plus max_tokens cannot exceed the model's context length."}}, "required": ["providers"]}, "imagequestion_answerResponseModel": {"properties": {"openai": {"$ref": "#/components/schemas/imagequestion_answerQuestionAnswerDataClass", "default": null}, "google": {"$ref": "#/components/schemas/imagequestion_answerQuestionAnswerDataClass", "default": null}, "alephalpha": {"$ref": "#/components/schemas/imagequestion_answerQuestionAnswerDataClass", "default": null}}, "title": "imagequestion_answerResponseModel", "type": "object"}, "imagesearchResponseModel": {"properties": {"sentisight": {"$ref": "#/components/schemas/imagesearchSearchDeleteImageDataClass", "default": null}, "nyckel": {"$ref": "#/components/schemas/imagesearchSearchDeleteImageDataClass", "default": null}}, "title": "imagesearchResponseModel", "type": "object"}, "imagesearchSearchDeleteImageDataClass": {"properties": {"status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}}, "required": ["status"], "title": "imagesearchSearchDeleteImageDataClass", "type": "object"}, "imagesearchdelete_imageDeleteImageRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "image_name": {"type": "string", "minLength": 1}}, "required": ["image_name", "providers"]}, "imagesearchlaunch_similaritySearchImageRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "n": {"type": "integer", "minimum": 1, "default": 10, "description": "The `n` parameter specifies the number of images you want to be returned in the response. It determines the count of the most similar images to the input image that will be included in the response. By default, it is set to 10."}}, "required": ["providers"]}, "imagesearchupload_imageUploadImageRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "image_name": {"type": "string", "minLength": 1, "description": "The image name need to have the extension of the file."}}, "required": ["image_name", "providers"]}, "llmchatChatDataClass": {"properties": {"id": {"description": "Unique identifier for this completion", "title": "Id", "type": "string"}, "object": {"description": "Object type, always 'chat.completion'", "title": "Object", "type": "string"}, "created": {"description": "Unix timestamp for when the completion was created", "title": "Created", "type": "integer"}, "model": {"description": "The model used for completion", "title": "Model", "type": "string"}, "choices": {"description": "List of chat completion choices generated by the model", "items": {"$ref": "#/components/schemas/ChatCompletionChoice"}, "title": "Choices", "type": "array"}, "usage": {"$ref": "#/components/schemas/ChatCompletionUsage", "description": "Usage statistics for the completion request"}, "system_fingerprint": {"default": null, "description": "Identifier for the system version that processed the request", "title": "System Fingerprint", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["id", "object", "created", "model", "choices", "usage", "status"], "title": "llmchatChatDataClass", "type": "object"}, "llmchatResponseModel": {"properties": {"together_ai": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "huggingface": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "fireworks_ai": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "deepinfra": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "iointelligence": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "databricks": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "google": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "deepseek": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "dashscope": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "anthropic": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "bytedance": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "nebius": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "tenstorrent": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "perplexityai": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "mistral": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "meta": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "ovhcloud": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "replicate": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "minimax": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "cerebras": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "cohere": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "groq": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "cloudflare": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}}, "title": "llmchatResponseModel", "type": "object"}, "llmchatllmchatChatRequest": {"type": "object", "properties": {"messages": {"type": "array", "items": {"type": "object", "additionalProperties": {}}, "description": "A list containing all the conversations between the user and the assistant.\nEach item in the list should be a dictionary with two keys: 'role' and 'message'.\n\n**role**: Specifies the role of the speaker and can have the values 'user', 'system', 'assistant' or 'tool'.\nThe system role instructs the way the model should answer, e.g. 'You are a helpful assistant'. The user\nrole specifies the user query and assistant is the model's response. The tool role is for external tools that\ncan be used in the conversation.\n\n**message**: A list of dictionaries. Each dictionary in the 'message' list must contain the keys 'type' and 'content'.\n\n#### Structure\n- **type**: Specifies the type of content and can be 'image_url' or 'text'.\n- **content**: A dictionary with the actual content based on the 'type':\n - If 'type' is 'image_url', 'content' must contain 'image_url' and must not contain 'text'.\n - If 'type' is 'text', 'content' must contain 'text' and must not contain 'image_url'.\n\n#### Example\n```json\n[\n {\n \"role\": \"user\",\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"Describe this image\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg\"\n }\n }\n ]\n }\n]\n```"}, "model": {"type": "string", "minLength": 1, "description": "The OpenAI model to use for the chat completion. \nThis field is required and specifies which language model will process the conversation. \n\n**Example values**: 'gpt-3.5-turbo', 'gpt-4', 'gpt-4-turbo'"}, "reasoning_effort": {"allOf": [{"$ref": "#/components/schemas/ReasoningEffortEnum"}], "description": "Optional parameter to control the model's reasoning depth. \nAllows specifying the level of analytical effort in generating responses. \n\n**Choices**:\n- 'low': Minimal reasoning, quick responses\n- 'medium': Balanced reasoning approach\n- 'high': In-depth, comprehensive reasoning\n\n**Example**: 'high' for complex problem-solving tasks\n\n* `low` - low\n* `medium` - medium\n* `high` - high"}, "metadata": {"type": "array", "items": {"$ref": "#/components/schemas/MetadataRequest"}, "description": "Optional list of metadata associated with the chat request. \nCan be used to provide additional context or tracking information. \n\n**Example**:\n```json\n{\n \"metadata\": [\n {\"key\": \"conversation_id\", \"value\": \"chat_12345\"},\n {\"key\": \"source\", \"value\": \"customer_support\"}\n ]\n}\n```"}, "frequency_penalty": {"type": "number", "format": "double", "maximum": 2.0, "minimum": -2.0, "description": "Controls repetitiveness of model responses by penalizing frequent tokens. \nRanges from -2.0 to 2.0. \n\n**Values**:\n- Positive values: Reduce token repetition\n- Negative values: Encourage repetition\n- 0.0: Default behavior\n\n**Example**: 1.5 to significantly reduce repeated phrases"}, "logit_bias": {"type": "object", "additionalProperties": {"type": "number", "format": "double"}, "description": "Modify the likelihood of specific tokens appearing in the response. \nA dictionary where keys are token IDs and values are bias scores. \n\n**Example**:\n```json\n{\n \"logit_bias\": {\n \"50256\": -100, # Reduce probability of end-of-text token\n \"15\": 5 # Slightly increase probability of a specific token\n }\n}\n```"}, "logprobs": {"type": "boolean", "description": "If set to True, returns log probabilities of the most likely tokens. \nUseful for advanced token probability analysis. \n\n**Example**: True to get detailed token likelihood information"}, "top_logprobs": {"type": "integer", "maximum": 20, "minimum": 0, "description": "Number of top log probabilities to return with each token. \nMust be between 0 and 20. \n\n**Example**: 5 to get top 5 most likely tokens for each position"}, "max_completion_tokens": {"type": "integer", "minimum": 1, "description": "Maximum number of tokens to generate in the completion. \nMust be at least 1. \n\n**Example**: 150 to limit response to approximately 100-150 words"}, "n": {"type": "integer", "minimum": 1, "description": "Number of chat completion choices to generate.\n\n **Example**: 3 to generate multiple alternative responses"}, "modalities": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "List of supported input/output modalities for the chat. \n\n**Example**:\n```json\n{\n \"modalities\": [\"text\", \"image\", \"audio\"]\n}\n```"}, "prediction": {"type": "object", "additionalProperties": {}, "description": "Optional field for storing prediction-related information. \nFlexible dictionary to capture model's predictive metadata. \n\n**Example**:\n```json\n{\n \"prediction\": {\n \"confidence_score\": 0.85,\n \"top_prediction\": \"response_category\"\n }\n}\n```"}, "audio": {"type": "object", "additionalProperties": {}, "description": "Optional dictionary for audio-related parameters or metadata. \n\n**Example**:\n```json\n{\n \"audio\": {\n \"language\": \"en-US\",\n \"transcription_format\": \"srt\"\n }\n}\n```"}, "presence_penalty": {"type": "number", "format": "double", "maximum": 2.0, "minimum": -2.0, "description": "Adjusts likelihood of discussing new topics by penalizing existing tokens. \nRanges from -2.0 to 2.0. \n\n**Values**:\n- Positive values: Encourage more diverse topics\n- Negative values: Keep discussion more focused\n- 0.0: Default behavior\n\n**Example**: 1.0 to promote topic diversity"}, "response_format": {"type": "object", "additionalProperties": {}, "description": "Specify the desired response format for the completion. \n\n**Example**:\n```json\n{\n \"response_format\": {\n \"type\": \"json_object\",\n \"schema\": {...}\n }\n}\n```"}, "seed": {"type": "integer", "description": "Set a seed for deterministic sampling to reproduce consistent results. \n\n**Example**: 42 for a reproducible random generation process"}, "service_tier": {"allOf": [{"$ref": "#/components/schemas/ServiceTierEnum"}], "description": "Select the service tier for the API request. \n\n**Choices**:\n- 'auto': Automatically select appropriate tier\n- 'default': Use default service configuration\n\n* `auto` - auto\n* `default` - default"}, "stop": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "List of strings that will cause the model to stop generating. \n\n**Example**:\n```json\n{\n \"stop\": [\"\\n\", \"Human:\", \"AI:\"]\n}\n```"}, "stream": {"type": "boolean", "default": false, "description": "If True, returns tokens as they are generated in a streaming format. \nDefault is False. \n\n**Example**: True for real-time token streaming"}, "stream_options": {"type": "object", "additionalProperties": {}, "description": "Additional configuration for streaming responses. \n\n**Example**:\n```json\n{\n \"stream_options\": {\n \"include_usage\": true\n }\n}\n```"}, "temperature": {"type": "number", "format": "double", "maximum": 2, "minimum": 0, "description": "Controls randomness in token selection. \nRanges from 0.0 to 2.0. \n\n**Values**:\n- 0.0: Most deterministic, focused responses\n- 1.0: Balanced randomness\n- 2.0: Most creative, unpredictable responses\n\n**Example**: 0.7 for a good balance of creativity and focus"}, "top_p": {"type": "number", "format": "double", "maximum": 1, "minimum": 0, "description": "Nucleus sampling threshold for token selection. \nRanges from 0.0 to 1.0. Default is 1.0. \n\n**Values**:\n- 1.0: Consider all tokens\n- Lower values: More focused, deterministic sampling\n\n**Example**: 0.9 to select from top 90% most probable tokens"}, "tools": {"type": "array", "items": {}, "description": "List of tools or function definitions available to the model. \n\n**Example**:\n```json\n{\n \"tools\": [\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"get_weather\",\n \"description\": \"Retrieve current weather\"\n }\n }\n ]\n}\n```"}, "tool_choice": {"type": "string", "minLength": 1, "description": "Specify how tools should be used in the completion. \n\n**Example values**:\n- 'auto': Model decides when to use tools\n- 'none': Disable tool usage\n- Specific tool name to always use a particular tool"}, "parallel_tool_calls": {"type": "boolean", "description": "Allow the model to make multiple tool calls in parallel. \n\n**Example**: True to enable concurrent tool invocations"}, "user": {"type": "string", "minLength": 1, "description": "Optional identifier for the end-user to help track and monitor API usage. \n\n**Example**: 'user_123456'"}, "function_call": {"type": "string", "minLength": 1, "description": "Control how function calls are handled. \n\n**Example values**:\n- 'auto': Default behavior\n- 'none': Disable function calls\n- Specific function name to force its execution"}, "functions": {"type": "array", "items": {"type": "object", "additionalProperties": {}}, "description": "List of function definitions available to the model. \n\n**Example**:\n```json\n{\n \"functions\": [\n {\n \"name\": \"get_current_weather\",\n \"description\": \"Get the current weather for a location\",\n \"parameters\": {...}\n }\n ]\n}\n```"}, "thinking": {"allOf": [{"$ref": "#/components/schemas/ThinkingRequest"}], "description": "Configuration for enabling Claude's extended thinking. When enabled, responses include thinking content blocks showing Claude's thinking process before the final answer. Requires a minimum budget of 1,024 tokens and counts towards your max_tokens limit.\n\n**Example**:\n```json\n{\n 'thinking': {\n 'type': 'enabled'\n 'budget_tokens': '1024' }\n}\n```"}, "web_search_options": {"type": "object", "additionalProperties": {}, "description": "Options for web search integration. \n **Example**:\n ```json\n web_search_options={\n \"search_context_size\": \"medium\" # Options: \"low\", \"medium\", \"high\"\n }\n ```"}}, "required": ["messages", "model"]}, "multimodalchatChatDataClass": {"properties": {"generated_text": {"title": "Generated Text", "type": "string"}, "messages": {"items": {"$ref": "#/components/schemas/ChatMessageDataClass"}, "title": "Messages", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["generated_text", "status"], "title": "multimodalchatChatDataClass", "type": "object"}, "multimodalchatChatRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "messages": {"type": "array", "items": {"type": "object", "additionalProperties": {}}, "description": "A list containing all the conversations between the user and the assistant. Each item in the list should be a dictionary with two keys: 'role' and 'message'.\n\n**role**: Specifies the role of the speaker and can have the values 'user' or 'assistant'.\n\n**message**: A list of dictionaries. Each dictionary in the 'message' list must contain the keys 'type' and 'content'.\n\n#### Structure\n- **type**: Specifies the type of content and can be 'media_url', 'media_base64', or 'text'.\n- **content**: A dictionary with the actual content based on the 'type':\n - If 'type' is 'media_url', 'content' must contain 'media_url' and must not contain 'media_base64' or 'text'.\n - If 'type' is 'media_base64', 'content' must contain 'media_base64' and must not contain 'media_url' or 'text'.\n - If 'type' is 'text', 'content' must contain 'text' and must not contain 'media_url' or 'media_base64'.\n\n#### Example\n```json\n[\n {\n 'role': 'user',\n 'content': [\n {\n 'type': 'text',\n 'content': {'text': 'Describe this image'}\n },\n {\n 'type': 'media_url',\n 'content': {\n 'media_url': 'https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg',\n 'media_type': 'image/jpeg'}\n },\n ]\n }\n]\n```"}, "chatbot_global_action": {"type": "string", "nullable": true, "description": "A system message that helps set the behavior of the assistant. For example, 'You are a helpful assistant'."}, "temperature": {"type": "number", "format": "double", "maximum": 2, "minimum": 0, "default": 0.0, "description": "Controls the creativity of the model's responses. Higher values (up to 2) make the output more random, while lower values make it more focused and deterministic. A value of 0 (argmax sampling) is useful for scenarios requiring precise answers."}, "max_tokens": {"type": "integer", "maximum": 300000, "minimum": 1, "default": 2048, "description": "The maximum number of tokens to generate in the completion. This value, combined with the token count of your prompt, cannot exceed the model's context length."}, "stop_sequences": {"type": "array", "items": {"type": "string"}, "default": [], "description": "A list of sequences where the model will stop generating further tokens. Useful for controlling response length and format."}, "top_k": {"type": "integer", "maximum": 500, "minimum": 0, "description": "Limits the sampling pool to the top K options for each token. Setting this to a lower value can make the output more focused and deterministic."}, "top_p": {"type": "number", "format": "double", "maximum": 1, "minimum": 0, "description": "Enables nucleus sampling, where the model considers the smallest number of tokens whose cumulative probability is at least top_p. This allows for a dynamic selection of tokens based on probability, offering a balance between focus and creativity."}, "reasoning_effort": {"allOf": [{"$ref": "#/components/schemas/ReasoningEffortEnum"}], "description": "Optional parameter to control the model's reasoning depth. \nAllows specifying the level of analytical effort in generating responses. \n\n**Choices**:\n- 'low': Minimal reasoning, quick responses\n- 'medium': Balanced reasoning approach\n- 'high': In-depth, comprehensive reasoning\n\n**Example**: 'high' for complex problem-solving tasks\n\n* `low` - low\n* `medium` - medium\n* `high` - high"}}, "required": ["messages", "providers"]}, "multimodalchatResponseModel": {"properties": {"amazon": {"$ref": "#/components/schemas/multimodalchatChatDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/multimodalchatChatDataClass", "default": null}, "google": {"$ref": "#/components/schemas/multimodalchatChatDataClass", "default": null}, "mistral": {"$ref": "#/components/schemas/multimodalchatChatDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/multimodalchatChatDataClass", "default": null}, "anthropic": {"$ref": "#/components/schemas/multimodalchatChatDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/multimodalchatChatDataClass", "default": null}}, "title": "multimodalchatResponseModel", "type": "object"}, "ocranonymization_asyncAnonymizationAsyncDataClass": {"properties": {"document": {"title": "Document", "type": "string"}, "document_url": {"title": "Document Url", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["document", "document_url", "id", "final_status"], "title": "ocranonymization_asyncAnonymizationAsyncDataClass", "type": "object"}, "ocranonymization_asyncModel": {"properties": {"privateai": {"$ref": "#/components/schemas/ocranonymization_asyncAnonymizationAsyncDataClass", "default": null}, "base64": {"$ref": "#/components/schemas/ocranonymization_asyncAnonymizationAsyncDataClass", "default": null}, "readyredact": {"$ref": "#/components/schemas/ocranonymization_asyncAnonymizationAsyncDataClass", "default": null}}, "title": "ocranonymization_asyncModel", "type": "object"}, "ocrbank_check_parsingBankCheckParsingDataClass": {"properties": {"extracted_data": {"items": {"$ref": "#/components/schemas/ItemBankCheckParsingDataClass"}, "title": "Extracted Data", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "ocrbank_check_parsingBankCheckParsingDataClass", "type": "object"}, "ocrbank_check_parsingBankCheckParsingRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "file_password": {"type": "string", "nullable": true, "description": "If your PDF file has a password, you can pass it here!", "maxLength": 200}, "convert_to_pdf": {"type": "boolean", "nullable": true, "default": false, "description": "Boolean value to specify weather to convert the doc/docx files to pdf format to be accepted by a majority of the providers"}}, "required": ["providers"]}, "ocrbank_check_parsingResponseModel": {"properties": {"veryfi": {"$ref": "#/components/schemas/ocrbank_check_parsingBankCheckParsingDataClass", "default": null}, "mindee": {"$ref": "#/components/schemas/ocrbank_check_parsingBankCheckParsingDataClass", "default": null}, "extracta": {"$ref": "#/components/schemas/ocrbank_check_parsingBankCheckParsingDataClass", "default": null}, "base64": {"$ref": "#/components/schemas/ocrbank_check_parsingBankCheckParsingDataClass", "default": null}}, "title": "ocrbank_check_parsingResponseModel", "type": "object"}, "ocrcustom_document_parsing_asyncCustomDocumentParsingAsyncDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/CustomDocumentParsingAsyncItem"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["id", "final_status"], "title": "ocrcustom_document_parsing_asyncCustomDocumentParsingAsyncDataClass", "type": "object"}, "ocrcustom_document_parsing_asyncModel": {"properties": {"amazon": {"$ref": "#/components/schemas/ocrcustom_document_parsing_asyncCustomDocumentParsingAsyncDataClass", "default": null}, "extracta": {"$ref": "#/components/schemas/ocrcustom_document_parsing_asyncCustomDocumentParsingAsyncDataClass", "default": null}}, "title": "ocrcustom_document_parsing_asyncModel", "type": "object"}, "ocrdata_extractionDataExtractionDataClass": {"properties": {"fields": {"items": {"$ref": "#/components/schemas/ItemDataExtraction"}, "title": "Fields", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "ocrdata_extractionDataExtractionDataClass", "type": "object"}, "ocrdata_extractionDataExtractionRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "file_password": {"type": "string", "nullable": true, "description": "If your PDF file has a password, you can pass it here!", "maxLength": 200}, "convert_to_pdf": {"type": "boolean", "nullable": true, "default": false, "description": "Boolean value to specify weather to convert the doc/docx files to pdf format to be accepted by a majority of the providers"}}, "required": ["providers"]}, "ocrdata_extractionResponseModel": {"properties": {"amazon": {"$ref": "#/components/schemas/ocrdata_extractionDataExtractionDataClass", "default": null}, "base64": {"$ref": "#/components/schemas/ocrdata_extractionDataExtractionDataClass", "default": null}}, "title": "ocrdata_extractionResponseModel", "type": "object"}, "ocrfinancial_parserFinancialParserDataClass": {"properties": {"extracted_data": {"description": "List of parsed financial data objects (per page).", "items": {"$ref": "#/components/schemas/FinancialParserObjectDataClass"}, "title": "Extracted Data", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "ocrfinancial_parserFinancialParserDataClass", "type": "object"}, "ocrfinancial_parserFinancialParserRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "file_password": {"type": "string", "nullable": true, "description": "If your PDF file has a password, you can pass it here!", "maxLength": 200}, "language": {"type": "string", "nullable": true, "description": "Language code of the language the document is written in (ex: fr (French), en (English), es (Spanish))"}, "document_type": {"allOf": [{"$ref": "#/components/schemas/DocumentTypeEnum"}], "default": "invoice", "description": "Specify the type of your document. Can be Set to 'auto-detect' for automatic detection if the provider supports it. Otherwise, the default is 'invoice'.\n\n* `auto-detect` - auto-detect\n* `invoice` - invoice\n* `receipt` - receipt"}, "convert_to_pdf": {"type": "boolean", "nullable": true, "default": false, "description": "Boolean value to specify weather to convert the doc/docx files to pdf format to be accepted by a majority of the providers"}}, "required": ["providers"]}, "ocrfinancial_parserResponseModel": {"properties": {"dataleon": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}, "veryfi": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}, "mindee": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}, "extracta": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}, "base64": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}, "google": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}, "tabscanner": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}, "eagledoc": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}, "affinda": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}, "klippa": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}}, "title": "ocrfinancial_parserResponseModel", "type": "object"}, "ocridentity_parserIdentityParserDataClass": {"properties": {"extracted_data": {"items": {"$ref": "#/components/schemas/InfosIdentityParserDataClass"}, "title": "Extracted Data", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "ocridentity_parserIdentityParserDataClass", "type": "object"}, "ocridentity_parserIdentityParserRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "file_password": {"type": "string", "nullable": true, "description": "If your PDF file has a password, you can pass it here!", "maxLength": 200}, "convert_to_pdf": {"type": "boolean", "nullable": true, "default": false, "description": "Boolean value to specify weather to convert the doc/docx files to pdf format to be accepted by a majority of the providers"}}, "required": ["providers"]}, "ocridentity_parserResponseModel": {"properties": {"microsoft": {"$ref": "#/components/schemas/ocridentity_parserIdentityParserDataClass", "default": null}, "mindee": {"$ref": "#/components/schemas/ocridentity_parserIdentityParserDataClass", "default": null}, "base64": {"$ref": "#/components/schemas/ocridentity_parserIdentityParserDataClass", "default": null}, "affinda": {"$ref": "#/components/schemas/ocridentity_parserIdentityParserDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/ocridentity_parserIdentityParserDataClass", "default": null}, "klippa": {"$ref": "#/components/schemas/ocridentity_parserIdentityParserDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/ocridentity_parserIdentityParserDataClass", "default": null}}, "title": "ocridentity_parserResponseModel", "type": "object"}, "ocrocrOcrDataClass": {"properties": {"text": {"title": "Text", "type": "string"}, "bounding_boxes": {"items": {"$ref": "#/components/schemas/Bounding_box"}, "title": "Bounding Boxes", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["text", "status"], "title": "ocrocrOcrDataClass", "type": "object"}, "ocrocrOcrRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "file_password": {"type": "string", "nullable": true, "description": "If your PDF file has a password, you can pass it here!", "maxLength": 200}, "language": {"type": "string", "nullable": true, "description": "Language code of the language the document is written in (ex: fr (French), en (English), es (Spanish))"}}, "required": ["providers"]}, "ocrocrResponseModel": {"properties": {"clarifai": {"$ref": "#/components/schemas/ocrocrOcrDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/ocrocrOcrDataClass", "default": null}, "sentisight": {"$ref": "#/components/schemas/ocrocrOcrDataClass", "default": null}, "base64": {"$ref": "#/components/schemas/ocrocrOcrDataClass", "default": null}, "google": {"$ref": "#/components/schemas/ocrocrOcrDataClass", "default": null}, "mistral": {"$ref": "#/components/schemas/ocrocrOcrDataClass", "default": null}, "api4ai": {"$ref": "#/components/schemas/ocrocrOcrDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/ocrocrOcrDataClass", "default": null}}, "title": "ocrocrResponseModel", "type": "object"}, "ocrocr_asyncModel": {"properties": {"oneai": {"$ref": "#/components/schemas/ocrocr_asyncOcrAsyncDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/ocrocr_asyncOcrAsyncDataClass", "default": null}, "google": {"$ref": "#/components/schemas/ocrocr_asyncOcrAsyncDataClass", "default": null}, "mistral": {"$ref": "#/components/schemas/ocrocr_asyncOcrAsyncDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/ocrocr_asyncOcrAsyncDataClass", "default": null}}, "title": "ocrocr_asyncModel", "type": "object"}, "ocrocr_asyncOcrAsyncDataClass": {"properties": {"raw_text": {"title": "Raw Text", "type": "string"}, "pages": {"description": "List of pages", "items": {"$ref": "#/components/schemas/Page"}, "title": "Pages", "type": "array"}, "number_of_pages": {"description": "Number of pages in the document", "title": "Number Of Pages", "type": "integer"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["raw_text", "number_of_pages", "id", "final_status"], "title": "ocrocr_asyncOcrAsyncDataClass", "type": "object"}, "ocrocr_tables_asyncModel": {"properties": {"microsoft": {"$ref": "#/components/schemas/ocrocr_tables_asyncOcrTablesAsyncDataClass", "default": null}, "google": {"$ref": "#/components/schemas/ocrocr_tables_asyncOcrTablesAsyncDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/ocrocr_tables_asyncOcrTablesAsyncDataClass", "default": null}}, "title": "ocrocr_tables_asyncModel", "type": "object"}, "ocrocr_tables_asyncOcrTablesAsyncDataClass": {"properties": {"pages": {"items": {"$ref": "#/components/schemas/Page"}, "title": "Pages", "type": "array"}, "num_pages": {"title": "Num Pages", "type": "integer"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["num_pages", "id", "final_status"], "title": "ocrocr_tables_asyncOcrTablesAsyncDataClass", "type": "object"}, "ocrresume_parserResponseModel": {"properties": {"senseloaf": {"$ref": "#/components/schemas/ocrresume_parserResumeParserDataClass", "default": null}, "extracta": {"$ref": "#/components/schemas/ocrresume_parserResumeParserDataClass", "default": null}, "hireability": {"$ref": "#/components/schemas/ocrresume_parserResumeParserDataClass", "default": null}, "affinda": {"$ref": "#/components/schemas/ocrresume_parserResumeParserDataClass", "default": null}, "klippa": {"$ref": "#/components/schemas/ocrresume_parserResumeParserDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/ocrresume_parserResumeParserDataClass", "default": null}}, "title": "ocrresume_parserResponseModel", "type": "object"}, "ocrresume_parserResumeParserDataClass": {"properties": {"extracted_data": {"$ref": "#/components/schemas/ResumeExtractedData"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["extracted_data", "status"], "title": "ocrresume_parserResumeParserDataClass", "type": "object"}, "ocrresume_parserResumeParserRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "file_password": {"type": "string", "nullable": true, "description": "If your PDF file has a password, you can pass it here!", "maxLength": 200}, "convert_to_pdf": {"type": "boolean", "nullable": true, "default": false, "description": "Boolean value to specify weather to convert the doc/docx files to pdf format to be accepted by a majority of the providers"}}, "required": ["providers"]}, "textai_detectionAiDetectionDataClass": {"properties": {"ai_score": {"title": "Ai Score", "type": "integer"}, "items": {"items": {"$ref": "#/components/schemas/AiDetectionItem"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["ai_score", "status"], "title": "textai_detectionAiDetectionDataClass", "type": "object"}, "textai_detectionAiDetectionRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "provider_params": {"type": "string", "description": "\nParameters specific to the provider that you want to send along the request.\n\nit should take a *provider* name as key and an object of parameters as value.\n\nExample:\n\n {\n \"deepgram\": {\n \"filler_words\": true,\n \"smart_format\": true,\n \"callback\": \"https://webhook.site/0000\"\n },\n \"assembly\": {\n \"webhook_url\": \"https://webhook.site/0000\"\n }\n }\n\nPlease refer to the documentation of each provider to see which parameters to send.\n"}, "text": {"type": "string", "minLength": 1, "description": "Text to analyze"}}, "required": ["providers", "text"]}, "textai_detectionResponseModel": {"properties": {"sapling": {"$ref": "#/components/schemas/textai_detectionAiDetectionDataClass", "default": null}, "winstonai": {"$ref": "#/components/schemas/textai_detectionAiDetectionDataClass", "default": null}, "originalityai": {"$ref": "#/components/schemas/textai_detectionAiDetectionDataClass", "default": null}}, "title": "textai_detectionResponseModel", "type": "object"}, "textanonymizationAnonymizationDataClass": {"properties": {"result": {"title": "Result", "type": "string"}, "entities": {"items": {"$ref": "#/components/schemas/AnonymizationEntity"}, "title": "Entities", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["result", "status"], "title": "textanonymizationAnonymizationDataClass", "type": "object"}, "textanonymizationResponseModel": {"properties": {"privateai": {"$ref": "#/components/schemas/textanonymizationAnonymizationDataClass", "default": null}, "oneai": {"$ref": "#/components/schemas/textanonymizationAnonymizationDataClass", "default": null}, "emvista": {"$ref": "#/components/schemas/textanonymizationAnonymizationDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/textanonymizationAnonymizationDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/textanonymizationAnonymizationDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/textanonymizationAnonymizationDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/textanonymizationAnonymizationDataClass", "default": null}}, "title": "textanonymizationResponseModel", "type": "object"}, "textchatChatDataClass": {"properties": {"generated_text": {"title": "Generated Text", "type": "string"}, "message": {"items": {"$ref": "#/components/schemas/ChatMessageDataClass"}, "title": "Message", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["generated_text", "status"], "title": "textchatChatDataClass", "type": "object"}, "textchatChatRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "nullable": true, "default": "", "description": "Start your conversation here..."}, "chatbot_global_action": {"type": "string", "nullable": true, "default": "", "description": "A system message that helps set the behavior of the assistant. For example, 'You are a helpful assistant'."}, "previous_history": {"type": "array", "items": {"$ref": "#/components/schemas/ChatMessageRequest"}, "description": "A list containing all the previous conversations between the user and the chatbot AI. Each item in the list should be a dictionary with two keys: 'role' and 'message'. The 'role' key specifies the role of the speaker and can have the values 'user' or 'assistant'. The 'message' key contains the text of the conversation from the respective role. For example: [{'role': 'user', 'message': 'Hello'}, {'role': 'assistant', 'message': 'Hi, how can I help you?'}, ...]. This format allows easy identification of the speaker's role and their corresponding message."}, "temperature": {"type": "number", "format": "double", "maximum": 2, "minimum": 0, "default": 0.0, "description": "Higher values mean the model will take more risks and value 0 (argmax sampling) works better for scenarios with a well-defined answer."}, "max_tokens": {"type": "integer", "minimum": 1, "default": 4096, "description": "The maximum number of tokens to generate in the completion. The token count of your prompt plus max_tokens cannot exceed the model's context length."}, "tool_choice": {"allOf": [{"$ref": "#/components/schemas/ToolChoiceEnum"}], "default": "auto", "description": "`auto`: the model will choose to use tools if needed, `required`: force model to use any of the available tools, `none`: force model to not select a tool\n\n* `auto` - auto\n* `required` - required\n* `none` - none"}, "available_tools": {"type": "array", "items": {"$ref": "#/components/schemas/ChatAvailableToolsRequest"}, "description": "A list of tools the model may generate the right arguments for."}, "tool_results": {"type": "array", "items": {"$ref": "#/components/schemas/ChatToolResultRequest"}, "description": "List of results obtained from applying the tool_call arguments to your own tool."}, "reasoning_effort": {"allOf": [{"$ref": "#/components/schemas/ReasoningEffortEnum"}], "description": "Optional parameter to control the model's reasoning depth. \nAllows specifying the level of analytical effort in generating responses. \n\n**Choices**:\n- 'low': Minimal reasoning, quick responses\n- 'medium': Balanced reasoning approach\n- 'high': In-depth, comprehensive reasoning\n\n**Example**: 'high' for complex problem-solving tasks\n\n* `low` - low\n* `medium` - medium\n* `high` - high"}}, "required": ["providers"]}, "textchatChatStreamRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "nullable": true, "default": "", "description": "Start your conversation here..."}, "chatbot_global_action": {"type": "string", "nullable": true, "default": "", "description": "A system message that helps set the behavior of the assistant. For example, 'You are a helpful assistant'."}, "previous_history": {"type": "array", "items": {"$ref": "#/components/schemas/ChatMessageRequest"}, "description": "A list containing all the previous conversations between the user and the chatbot AI. Each item in the list should be a dictionary with two keys: 'role' and 'message'. The 'role' key specifies the role of the speaker and can have the values 'user' or 'assistant'. The 'message' key contains the text of the conversation from the respective role. For example: [{'role': 'user', 'message': 'Hello'}, {'role': 'assistant', 'message': 'Hi, how can I help you?'}, ...]. This format allows easy identification of the speaker's role and their corresponding message."}, "temperature": {"type": "number", "format": "double", "maximum": 2, "minimum": 0, "default": 0.0, "description": "Higher values mean the model will take more risks and value 0 (argmax sampling) works better for scenarios with a well-defined answer."}, "max_tokens": {"type": "integer", "minimum": 1, "default": 4096, "description": "The maximum number of tokens to generate in the completion. The token count of your prompt plus max_tokens cannot exceed the model's context length."}, "tool_choice": {"allOf": [{"$ref": "#/components/schemas/ToolChoiceEnum"}], "default": "auto", "description": "`auto`: the model will choose to use tools if needed, `required`: force model to use any of the available tools, `none`: force model to not select a tool\n\n* `auto` - auto\n* `required` - required\n* `none` - none"}, "available_tools": {"type": "array", "items": {"$ref": "#/components/schemas/ChatAvailableToolsRequest"}, "description": "A list of tools the model may generate the right arguments for."}, "tool_results": {"type": "array", "items": {"$ref": "#/components/schemas/ChatToolResultRequest"}, "description": "List of results obtained from applying the tool_call arguments to your own tool."}, "reasoning_effort": {"allOf": [{"$ref": "#/components/schemas/ReasoningEffortEnum"}], "description": "Optional parameter to control the model's reasoning depth. \nAllows specifying the level of analytical effort in generating responses. \n\n**Choices**:\n- 'low': Minimal reasoning, quick responses\n- 'medium': Balanced reasoning approach\n- 'high': In-depth, comprehensive reasoning\n\n**Example**: 'high' for complex problem-solving tasks\n\n* `low` - low\n* `medium` - medium\n* `high` - high"}, "fallback_type": {"allOf": [{"$ref": "#/components/schemas/FallbackTypeEnum"}], "default": "continue"}}, "required": ["providers"]}, "textchatResponseModel": {"properties": {"together_ai": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "groq": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "perplexityai": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "google": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "mistral": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "meta": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "deepseek": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "replicate": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "anthropic": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "cohere": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}}, "title": "textchatResponseModel", "type": "object"}, "textcode_generationCodeGenerationDataClass": {"properties": {"generated_text": {"title": "Generated Text", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["generated_text", "status"], "title": "textcode_generationCodeGenerationDataClass", "type": "object"}, "textcode_generationCodeGenerationRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "prompt": {"type": "string", "nullable": true, "default": "", "description": "Entrer the source code that will be used as a context."}, "instruction": {"type": "string", "minLength": 1, "description": "Entrer the instruction you want to be followed."}, "temperature": {"type": "number", "format": "double", "maximum": 1, "minimum": 0, "default": 0.0, "description": "Higher values mean the model will take more risks and value 0 (argmax sampling) works better for scenarios with a well-defined answer."}, "max_tokens": {"type": "integer", "minimum": 1, "default": 1000, "description": "The maximum number of tokens to generate in the completion. The token count of your prompt plus max_tokens cannot exceed the model's context length."}}, "required": ["instruction", "providers"]}, "textcode_generationResponseModel": {"properties": {"google": {"$ref": "#/components/schemas/textcode_generationCodeGenerationDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/textcode_generationCodeGenerationDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/textcode_generationCodeGenerationDataClass", "default": null}}, "title": "textcode_generationResponseModel", "type": "object"}, "textembeddingsEmbeddingsDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/EmbeddingDataClass"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "textembeddingsEmbeddingsDataClass", "type": "object"}, "textembeddingsEmbeddingsRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "texts": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "List of texts to transform into embeddings."}, "dimensions": {"type": "integer", "minimum": 1, "nullable": true, "description": " parameter to control the size of the output embedding vecto"}}, "required": ["providers", "texts"]}, "textembeddingsResponseModel": {"properties": {"ai21labs": {"$ref": "#/components/schemas/textembeddingsEmbeddingsDataClass", "default": null}, "iointelligence": {"$ref": "#/components/schemas/textembeddingsEmbeddingsDataClass", "default": null}, "google": {"$ref": "#/components/schemas/textembeddingsEmbeddingsDataClass", "default": null}, "mistral": {"$ref": "#/components/schemas/textembeddingsEmbeddingsDataClass", "default": null}, "jina": {"$ref": "#/components/schemas/textembeddingsEmbeddingsDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/textembeddingsEmbeddingsDataClass", "default": null}, "cohere": {"$ref": "#/components/schemas/textembeddingsEmbeddingsDataClass", "default": null}}, "title": "textembeddingsResponseModel", "type": "object"}, "textemotion_detectionEmotionDetectionDataClass": {"properties": {"text": {"title": "Text", "type": "string"}, "items": {"items": {"$ref": "#/components/schemas/EmotionItem"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["text", "status"], "title": "textemotion_detectionEmotionDetectionDataClass", "type": "object"}, "textemotion_detectionEmotionDetectionRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "minLength": 1, "description": "Text to analyze"}}, "required": ["providers", "text"]}, "textemotion_detectionResponseModel": {"properties": {"vernai": {"$ref": "#/components/schemas/textemotion_detectionEmotionDetectionDataClass", "default": null}}, "title": "textemotion_detectionResponseModel", "type": "object"}, "textentity_sentimentEntitySentimentDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/Entity"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["items", "status"], "title": "textentity_sentimentEntitySentimentDataClass", "type": "object"}, "textentity_sentimentEntitySentimentRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "minLength": 1, "description": "Text to analyze"}, "language": {"type": "string", "nullable": true, "description": "Language code for the language the input text is written in (eg: en, fr)."}}, "required": ["providers", "text"]}, "textentity_sentimentResponseModel": {"properties": {"google": {"$ref": "#/components/schemas/textentity_sentimentEntitySentimentDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/textentity_sentimentEntitySentimentDataClass", "default": null}}, "title": "textentity_sentimentResponseModel", "type": "object"}, "textkeyword_extractionKeywordExtractionDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/InfosKeywordExtractionDataClass"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "textkeyword_extractionKeywordExtractionDataClass", "type": "object"}, "textkeyword_extractionResponseModel": {"properties": {"oneai": {"$ref": "#/components/schemas/textkeyword_extractionKeywordExtractionDataClass", "default": null}, "emvista": {"$ref": "#/components/schemas/textkeyword_extractionKeywordExtractionDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/textkeyword_extractionKeywordExtractionDataClass", "default": null}, "tenstorrent": {"$ref": "#/components/schemas/textkeyword_extractionKeywordExtractionDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/textkeyword_extractionKeywordExtractionDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/textkeyword_extractionKeywordExtractionDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/textkeyword_extractionKeywordExtractionDataClass", "default": null}, "corticalio": {"$ref": "#/components/schemas/textkeyword_extractionKeywordExtractionDataClass", "default": null}}, "title": "textkeyword_extractionResponseModel", "type": "object"}, "textmoderationModerationDataClass": {"properties": {"nsfw_likelihood": {"title": "Nsfw Likelihood", "type": "integer"}, "items": {"items": {"$ref": "#/components/schemas/TextModerationItem"}, "title": "Items", "type": "array"}, "nsfw_likelihood_score": {"title": "Nsfw Likelihood Score", "type": "integer"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["nsfw_likelihood", "nsfw_likelihood_score", "status"], "title": "textmoderationModerationDataClass", "type": "object"}, "textmoderationResponseModel": {"properties": {"microsoft": {"$ref": "#/components/schemas/textmoderationModerationDataClass", "default": null}, "google": {"$ref": "#/components/schemas/textmoderationModerationDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/textmoderationModerationDataClass", "default": null}}, "title": "textmoderationResponseModel", "type": "object"}, "textnamed_entity_recognitionNamedEntityRecognitionDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/InfosNamedEntityRecognitionDataClass"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "textnamed_entity_recognitionNamedEntityRecognitionDataClass", "type": "object"}, "textnamed_entity_recognitionResponseModel": {"properties": {"oneai": {"$ref": "#/components/schemas/textnamed_entity_recognitionNamedEntityRecognitionDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/textnamed_entity_recognitionNamedEntityRecognitionDataClass", "default": null}, "tenstorrent": {"$ref": "#/components/schemas/textnamed_entity_recognitionNamedEntityRecognitionDataClass", "default": null}, "google": {"$ref": "#/components/schemas/textnamed_entity_recognitionNamedEntityRecognitionDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/textnamed_entity_recognitionNamedEntityRecognitionDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/textnamed_entity_recognitionNamedEntityRecognitionDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/textnamed_entity_recognitionNamedEntityRecognitionDataClass", "default": null}}, "title": "textnamed_entity_recognitionResponseModel", "type": "object"}, "textplagia_detectionPlagiaDetectionDataClass": {"properties": {"plagia_score": {"title": "Plagia Score", "type": "integer"}, "items": {"items": {"$ref": "#/components/schemas/PlagiaDetectionItem"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["plagia_score", "status"], "title": "textplagia_detectionPlagiaDetectionDataClass", "type": "object"}, "textplagia_detectionPlagiaDetectionRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "minLength": 1, "description": "A text content on which a plagiarism detection analysis will be run"}, "title": {"type": "string", "nullable": true, "default": "", "description": "Content title"}}, "required": ["providers", "text"]}, "textplagia_detectionResponseModel": {"properties": {"winstonai": {"$ref": "#/components/schemas/textplagia_detectionPlagiaDetectionDataClass", "default": null}, "originalityai": {"$ref": "#/components/schemas/textplagia_detectionPlagiaDetectionDataClass", "default": null}}, "title": "textplagia_detectionResponseModel", "type": "object"}, "textprompt_optimizationPromptOptimizationDataClass": {"properties": {"missing_information": {"title": "Missing Information", "type": "string"}, "items": {"items": {"$ref": "#/components/schemas/PromptDataClass"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["missing_information", "status"], "title": "textprompt_optimizationPromptOptimizationDataClass", "type": "object"}, "textprompt_optimizationPromptOptimizationRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "minLength": 1, "description": "Description of the desired prompt."}, "target_provider": {"type": "string", "minLength": 1, "description": "Select the provider for the prompt optimization"}}, "required": ["providers", "target_provider", "text"]}, "textprompt_optimizationResponseModel": {"properties": {"openai": {"$ref": "#/components/schemas/textprompt_optimizationPromptOptimizationDataClass", "default": null}}, "title": "textprompt_optimizationResponseModel", "type": "object"}, "textsentiment_analysisResponseModel": {"properties": {"emvista": {"$ref": "#/components/schemas/textsentiment_analysisSentimentAnalysisDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/textsentiment_analysisSentimentAnalysisDataClass", "default": null}, "oneai": {"$ref": "#/components/schemas/textsentiment_analysisSentimentAnalysisDataClass", "default": null}, "tenstorrent": {"$ref": "#/components/schemas/textsentiment_analysisSentimentAnalysisDataClass", "default": null}, "google": {"$ref": "#/components/schemas/textsentiment_analysisSentimentAnalysisDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/textsentiment_analysisSentimentAnalysisDataClass", "default": null}, "sapling": {"$ref": "#/components/schemas/textsentiment_analysisSentimentAnalysisDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/textsentiment_analysisSentimentAnalysisDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/textsentiment_analysisSentimentAnalysisDataClass", "default": null}, "ibm": {"$ref": "#/components/schemas/textsentiment_analysisSentimentAnalysisDataClass", "default": null}}, "title": "textsentiment_analysisResponseModel", "type": "object"}, "textsentiment_analysisSentimentAnalysisDataClass": {"properties": {"general_sentiment": {"allOf": [{"$ref": "#/components/schemas/GeneralSentimentEnum"}], "title": "General Sentiment"}, "general_sentiment_rate": {"maximum": 1, "minimum": 0, "title": "General Sentiment Rate", "type": "integer"}, "items": {"items": {"$ref": "#/components/schemas/SegmentSentimentAnalysisDataClass"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["general_sentiment", "general_sentiment_rate", "status"], "title": "textsentiment_analysisSentimentAnalysisDataClass", "type": "object"}, "textspell_checkResponseModel": {"properties": {"microsoft": {"$ref": "#/components/schemas/textspell_checkSpellCheckDataClass", "default": null}, "prowritingaid": {"$ref": "#/components/schemas/textspell_checkSpellCheckDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/textspell_checkSpellCheckDataClass", "default": null}, "sapling": {"$ref": "#/components/schemas/textspell_checkSpellCheckDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/textspell_checkSpellCheckDataClass", "default": null}, "cohere": {"$ref": "#/components/schemas/textspell_checkSpellCheckDataClass", "default": null}}, "title": "textspell_checkResponseModel", "type": "object"}, "textspell_checkSpellCheckDataClass": {"properties": {"text": {"title": "Text", "type": "string"}, "items": {"items": {"$ref": "#/components/schemas/SpellCheckItem"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["text", "status"], "title": "textspell_checkSpellCheckDataClass", "type": "object"}, "textspell_checkSpellCheckRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "minLength": 1, "description": "Text to analyze"}, "language": {"type": "string", "nullable": true, "description": "Language code for the language the input text is written in (eg: en, fr)."}}, "required": ["providers", "text"]}, "textsummarizeResponseModel": {"properties": {"writesonic": {"$ref": "#/components/schemas/textsummarizeSummarizeDataClass", "default": null}, "emvista": {"$ref": "#/components/schemas/textsummarizeSummarizeDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/textsummarizeSummarizeDataClass", "default": null}, "meaningcloud": {"$ref": "#/components/schemas/textsummarizeSummarizeDataClass", "default": null}, "oneai": {"$ref": "#/components/schemas/textsummarizeSummarizeDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/textsummarizeSummarizeDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/textsummarizeSummarizeDataClass", "default": null}, "anthropic": {"$ref": "#/components/schemas/textsummarizeSummarizeDataClass", "default": null}, "alephalpha": {"$ref": "#/components/schemas/textsummarizeSummarizeDataClass", "default": null}, "cohere": {"$ref": "#/components/schemas/textsummarizeSummarizeDataClass", "default": null}}, "title": "textsummarizeResponseModel", "type": "object"}, "textsummarizeSummarizeDataClass": {"properties": {"result": {"title": "Result", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["result", "status"], "title": "textsummarizeSummarizeDataClass", "type": "object"}, "textsummarizeSummarizeRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "minLength": 1, "description": "Text to analyze"}, "language": {"type": "string", "nullable": true, "description": "Language code for the language the input text is written in (eg: en, fr)."}, "output_sentences": {"type": "integer", "minimum": 1, "default": 1}}, "required": ["providers", "text"]}, "texttopic_extractionResponseModel": {"properties": {"xai": {"$ref": "#/components/schemas/texttopic_extractionTopicExtractionDataClass", "default": null}, "google": {"$ref": "#/components/schemas/texttopic_extractionTopicExtractionDataClass", "default": null}, "tenstorrent": {"$ref": "#/components/schemas/texttopic_extractionTopicExtractionDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/texttopic_extractionTopicExtractionDataClass", "default": null}}, "title": "texttopic_extractionResponseModel", "type": "object"}, "texttopic_extractionTopicExtractionDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/ExtractedTopic"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "texttopic_extractionTopicExtractionDataClass", "type": "object"}, "texttopic_extractiontextanonymizationtextmoderationtextnamed_entity_recognitiontextkeyword_extractiontextsyntax_analysistextsentiment_analysisTextAnalysisRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "minLength": 1, "description": "Text to analyze"}, "language": {"type": "string", "nullable": true, "description": "Language code for the language the input text is written in (eg: en, fr)."}}, "required": ["providers", "text"]}, "translationautomatic_translationAutomaticTranslationDataClass": {"properties": {"text": {"title": "Text", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["text", "status"], "title": "translationautomatic_translationAutomaticTranslationDataClass", "type": "object"}, "translationautomatic_translationAutomaticTranslationRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "minLength": 1, "description": "Text to analyze"}, "source_language": {"type": "string", "nullable": true, "description": "Source language code (ex: en, fr)"}, "target_language": {"type": "string", "minLength": 1, "description": "Target language code (ex: en, fr)"}}, "required": ["providers", "target_language", "text"]}, "translationautomatic_translationResponseModel": {"properties": {"deepl": {"$ref": "#/components/schemas/translationautomatic_translationAutomaticTranslationDataClass", "default": null}, "modernmt": {"$ref": "#/components/schemas/translationautomatic_translationAutomaticTranslationDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/translationautomatic_translationAutomaticTranslationDataClass", "default": null}, "google": {"$ref": "#/components/schemas/translationautomatic_translationAutomaticTranslationDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/translationautomatic_translationAutomaticTranslationDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/translationautomatic_translationAutomaticTranslationDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/translationautomatic_translationAutomaticTranslationDataClass", "default": null}}, "title": "translationautomatic_translationResponseModel", "type": "object"}, "translationdocument_translationDocumentTranslationDataClass": {"properties": {"file": {"title": "File", "type": "string"}, "document_resource_url": {"title": "Document Resource Url", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["file", "document_resource_url", "status"], "title": "translationdocument_translationDocumentTranslationDataClass", "type": "object"}, "translationdocument_translationDocumentTranslationRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "file_password": {"type": "string", "nullable": true, "description": "If your PDF file has a password, you can pass it here!", "maxLength": 200}, "source_language": {"type": "string", "nullable": true, "description": "Source language code (ex: en, fr)"}, "target_language": {"type": "string", "minLength": 1, "description": "Target language code (ex: en, fr)"}}, "required": ["providers", "target_language"]}, "translationdocument_translationResponseModel": {"properties": {"deepl": {"$ref": "#/components/schemas/translationdocument_translationDocumentTranslationDataClass", "default": null}, "google": {"$ref": "#/components/schemas/translationdocument_translationDocumentTranslationDataClass", "default": null}}, "title": "translationdocument_translationResponseModel", "type": "object"}, "translationlanguage_detectionLanguageDetectionDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/InfosLanguageDetectionDataClass"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "translationlanguage_detectionLanguageDetectionDataClass", "type": "object"}, "translationlanguage_detectionLanguageDetectionRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "minLength": 1, "description": "Text to analyze"}}, "required": ["providers", "text"]}, "translationlanguage_detectionResponseModel": {"properties": {"modernmt": {"$ref": "#/components/schemas/translationlanguage_detectionLanguageDetectionDataClass", "default": null}, "oneai": {"$ref": "#/components/schemas/translationlanguage_detectionLanguageDetectionDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/translationlanguage_detectionLanguageDetectionDataClass", "default": null}, "google": {"$ref": "#/components/schemas/translationlanguage_detectionLanguageDetectionDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/translationlanguage_detectionLanguageDetectionDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/translationlanguage_detectionLanguageDetectionDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/translationlanguage_detectionLanguageDetectionDataClass", "default": null}}, "title": "translationlanguage_detectionResponseModel", "type": "object"}, "videodeepfake_detection_asyncDeepfakeDetectionAsyncDataClass": {"properties": {"average_score": {"maximum": 1, "minimum": 0, "title": "Average Score", "type": "integer"}, "prediction": {"allOf": [{"$ref": "#/components/schemas/PredictionB20Enum"}], "title": "Prediction"}, "details_per_frame": {"items": {"$ref": "#/components/schemas/DetailPerFrame"}, "title": "Details Per Frame", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["average_score", "prediction", "id", "final_status"], "title": "videodeepfake_detection_asyncDeepfakeDetectionAsyncDataClass", "type": "object"}, "videodeepfake_detection_asyncModel": {"properties": {"sightengine": {"$ref": "#/components/schemas/videodeepfake_detection_asyncDeepfakeDetectionAsyncDataClass", "default": null}}, "title": "videodeepfake_detection_asyncModel", "type": "object"}, "videoexplicit_content_detection_asyncExplicitContentDetectionAsyncDataClass": {"properties": {"moderation": {"items": {"$ref": "#/components/schemas/ContentNSFW"}, "title": "Moderation", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["id", "final_status"], "title": "videoexplicit_content_detection_asyncExplicitContentDetectionAsyncDataClass", "type": "object"}, "videoexplicit_content_detection_asyncModel": {"properties": {"google": {"$ref": "#/components/schemas/videoexplicit_content_detection_asyncExplicitContentDetectionAsyncDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/videoexplicit_content_detection_asyncExplicitContentDetectionAsyncDataClass", "default": null}}, "title": "videoexplicit_content_detection_asyncModel", "type": "object"}, "videoface_detection_asyncFaceDetectionAsyncDataClass": {"properties": {"faces": {"items": {"$ref": "#/components/schemas/VideoFace"}, "title": "Faces", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["id", "final_status"], "title": "videoface_detection_asyncFaceDetectionAsyncDataClass", "type": "object"}, "videoface_detection_asyncModel": {"properties": {"google": {"$ref": "#/components/schemas/videoface_detection_asyncFaceDetectionAsyncDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/videoface_detection_asyncFaceDetectionAsyncDataClass", "default": null}}, "title": "videoface_detection_asyncModel", "type": "object"}, "videogeneration_asyncGenerationAsyncDataClass": {"properties": {"video": {"title": "Video", "type": "string"}, "video_resource_url": {"title": "Video Resource Url", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["video", "video_resource_url", "id", "final_status"], "title": "videogeneration_asyncGenerationAsyncDataClass", "type": "object"}, "videogeneration_asyncModel": {"properties": {"microsoft": {"$ref": "#/components/schemas/videogeneration_asyncGenerationAsyncDataClass", "default": null}, "google": {"$ref": "#/components/schemas/videogeneration_asyncGenerationAsyncDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/videogeneration_asyncGenerationAsyncDataClass", "default": null}, "minimax": {"$ref": "#/components/schemas/videogeneration_asyncGenerationAsyncDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/videogeneration_asyncGenerationAsyncDataClass", "default": null}, "bytedance": {"$ref": "#/components/schemas/videogeneration_asyncGenerationAsyncDataClass", "default": null}}, "title": "videogeneration_asyncModel", "type": "object"}, "videolabel_detection_asyncLabelDetectionAsyncDataClass": {"properties": {"labels": {"items": {"$ref": "#/components/schemas/VideoLabel"}, "title": "Labels", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["id", "final_status"], "title": "videolabel_detection_asyncLabelDetectionAsyncDataClass", "type": "object"}, "videolabel_detection_asyncModel": {"properties": {"google": {"$ref": "#/components/schemas/videolabel_detection_asyncLabelDetectionAsyncDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/videolabel_detection_asyncLabelDetectionAsyncDataClass", "default": null}}, "title": "videolabel_detection_asyncModel", "type": "object"}, "videologo_detection_asyncLogoDetectionAsyncDataClass": {"properties": {"logos": {"items": {"$ref": "#/components/schemas/LogoTrack"}, "title": "Logos", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["id", "final_status"], "title": "videologo_detection_asyncLogoDetectionAsyncDataClass", "type": "object"}, "videologo_detection_asyncModel": {"properties": {"twelvelabs": {"$ref": "#/components/schemas/videologo_detection_asyncLogoDetectionAsyncDataClass", "default": null}, "google": {"$ref": "#/components/schemas/videologo_detection_asyncLogoDetectionAsyncDataClass", "default": null}}, "title": "videologo_detection_asyncModel", "type": "object"}, "videoobject_tracking_asyncModel": {"properties": {"google": {"$ref": "#/components/schemas/videoobject_tracking_asyncObjectTrackingAsyncDataClass", "default": null}}, "title": "videoobject_tracking_asyncModel", "type": "object"}, "videoobject_tracking_asyncObjectTrackingAsyncDataClass": {"properties": {"objects": {"items": {"$ref": "#/components/schemas/ObjectTrack"}, "title": "Objects", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["id", "final_status"], "title": "videoobject_tracking_asyncObjectTrackingAsyncDataClass", "type": "object"}, "videoperson_tracking_asyncModel": {"properties": {"google": {"$ref": "#/components/schemas/videoperson_tracking_asyncPersonTrackingAsyncDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/videoperson_tracking_asyncPersonTrackingAsyncDataClass", "default": null}}, "title": "videoperson_tracking_asyncModel", "type": "object"}, "videoperson_tracking_asyncPersonTrackingAsyncDataClass": {"properties": {"persons": {"items": {"$ref": "#/components/schemas/VideoTrackingPerson"}, "title": "Persons", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["id", "final_status"], "title": "videoperson_tracking_asyncPersonTrackingAsyncDataClass", "type": "object"}, "videoquestion_answerQuestionAnswerDataClass": {"properties": {"answer": {"title": "Answer", "type": "string"}, "finish_reason": {"title": "Finish Reason", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["answer", "finish_reason", "status"], "title": "videoquestion_answerQuestionAnswerDataClass", "type": "object"}, "videoquestion_answerQuestionAnswerRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:mp4|mpeg|mov|avi|x\\-flx|mpg|webm|wmv|3gpp)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "temperature": {"type": "number", "format": "double", "maximum": 1, "minimum": 0, "default": 0.0, "description": "Higher values mean the model will take more risks and value 0 (argmax sampling) works better for scenarios with a well-defined answer."}, "max_tokens": {"type": "integer", "maximum": 3000000, "minimum": 1, "description": "The maximum number of tokens to generate in the completion. This value, combined with the token count of your prompt, cannot exceed the model's context length."}, "text": {"type": "string", "minLength": 1, "description": "Question about the video"}}, "required": ["providers", "text"]}, "videoquestion_answerResponseModel": {"properties": {"google": {"$ref": "#/components/schemas/videoquestion_answerQuestionAnswerDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/videoquestion_answerQuestionAnswerDataClass", "default": null}}, "title": "videoquestion_answerResponseModel", "type": "object"}, "videoquestion_answer_asyncModel": {"properties": {"google": {"$ref": "#/components/schemas/videoquestion_answer_asyncQuestionAnswerAsyncDataClass", "default": null}}, "title": "videoquestion_answer_asyncModel", "type": "object"}, "videoquestion_answer_asyncQuestionAnswerAsyncDataClass": {"properties": {"answer": {"title": "Answer", "type": "string"}, "finish_reason": {"title": "Finish Reason", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["answer", "finish_reason", "id", "final_status"], "title": "videoquestion_answer_asyncQuestionAnswerAsyncDataClass", "type": "object"}, "videoshot_change_detection_asyncModel": {"properties": {"google": {"$ref": "#/components/schemas/videoshot_change_detection_asyncShotChangeDetectionAsyncDataClass", "default": null}}, "title": "videoshot_change_detection_asyncModel", "type": "object"}, "videoshot_change_detection_asyncShotChangeDetectionAsyncDataClass": {"properties": {"shotAnnotations": {"items": {"$ref": "#/components/schemas/ShotFrame"}, "title": "Shotannotations", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["id", "final_status"], "title": "videoshot_change_detection_asyncShotChangeDetectionAsyncDataClass", "type": "object"}, "videotext_detection_asyncModel": {"properties": {"twelvelabs": {"$ref": "#/components/schemas/videotext_detection_asyncTextDetectionAsyncDataClass", "default": null}, "google": {"$ref": "#/components/schemas/videotext_detection_asyncTextDetectionAsyncDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/videotext_detection_asyncTextDetectionAsyncDataClass", "default": null}}, "title": "videotext_detection_asyncModel", "type": "object"}, "videotext_detection_asyncTextDetectionAsyncDataClass": {"properties": {"texts": {"items": {"$ref": "#/components/schemas/VideoText"}, "title": "Texts", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["id", "final_status"], "title": "videotext_detection_asyncTextDetectionAsyncDataClass", "type": "object"}}, "securitySchemes": {"FeatureApiAuth": {"type": "http", "scheme": "bearer", "bearerFormat": "JWT"}, "WorkflowShareApiAuth": {"type": "http", "scheme": "bearer", "bearerFormat": "JWT"}, "jwtAuth": {"type": "http", "scheme": "bearer", "bearerFormat": "JWT"}}}, "servers": [{"url": "https://api.edenai.run/v2"}], "security": [{"FeatureApiAuth": []}]} \ No newline at end of file +{"openapi": "3.0.3", "info": {"title": "Eden AI", "version": "2.0", "description": "Your project description"}, "paths": {"/{feature}/{subfeature}/batch/{name}/": {"get": {"operationId": "feature_batch_retrieve", "description": "Return paginated response of requests with their status and their\nresponses if the request succeeded or errror if failed", "summary": "Get Batch Job Result", "parameters": [{"in": "path", "name": "feature", "schema": {"type": "string"}, "required": true}, {"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "name", "schema": {"type": "string", "minLength": 1}}, {"in": "query", "name": "page", "schema": {"type": "integer", "minimum": 0}}, {"in": "query", "name": "public_id", "schema": {"type": "integer", "minimum": 0}}, {"in": "query", "name": "status", "schema": {"enum": ["succeeded", "failed", "finished", "processing"], "type": "string", "minLength": 1}, "description": "* `succeeded` - Status Succeeded\n* `failed` - Status Failed\n* `finished` - Status Finished\n* `processing` - Status Processing"}, {"in": "path", "name": "subfeature", "schema": {"type": "string"}, "required": true}], "tags": ["Batch"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PaginatedBatchResponse"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}, "post": {"operationId": "feature_batch_create", "description": "\nLaunch a async Batch job, given a job name that will be used as its id.\n\nEach request should have the same parameters as you would normally pass to a feature.\n\n\nYou can also pass an optional paramater `name` to help better identify each requests you send.\n\n\nExample with `text`/`sentiment_analysis`:\n\n```json\n\"requests\": [\n {\n \"text\": \"It's -25 outside and I am so hot.\",\n \"language\": \"en\",\n \"providers\": \"google,amazon\"\n },\n {\n \"name\": \"mixed\",\n \"text\": \"Overall I am satisfied with my experience at Amazon, but two areas of major improvement needed.\",\n \"language\": \"en\",\n \"providers\": \"google\"\n },\n ...\n]\n```\n\n\n### Limitations:\nYou can have up to `5` concurrent running Jobs & input up to `500` requests per Batch\n \n\n
Available Features\n\n\n\n|Feature Name|Subfeature Name|\n|------------|---------------|\n|`translation`|`language_detection`|\n|`image`|`face_detection`|\n|`text`|`chat`|\n|`ocr`|`receipt_parser`|\n|`image`|`anonymization`|\n|`audio`|`text_to_speech`|\n|`translation`|`document_translation`|\n|`image`|`logo_detection`|\n|`image`|`landmark_detection`|\n|`image`|`background_removal`|\n|`text`|`topic_extraction`|\n|`text`|`embeddings`|\n|`text`|`custom_classification`|\n|`text`|`anonymization`|\n|`text`|`summarize`|\n|`text`|`custom_named_entity_recognition`|\n|`text`|`generation`|\n|`text`|`code_generation`|\n|`text`|`moderation`|\n|`image`|`generation`|\n|`translation`|`automatic_translation`|\n|`text`|`search`|\n|`text`|`spell_check`|\n|`image`|`object_detection`|\n|`ocr`|`identity_parser`|\n|`image`|`explicit_content`|\n|`ocr`|`invoice_parser`|\n|`ocr`|`resume_parser`|\n|`audio`|`speech_to_text_async`|\n|`ocr`|`ocr_tables_async`|\n|`video`|`text_detection_async`|\n|`text`|`question_answer`|\n|`text`|`keyword_extraction`|\n|`text`|`named_entity_recognition`|\n|`text`|`syntax_analysis`|\n|`text`|`sentiment_analysis`|\n\n
\n\n", "summary": "Launch Batch Job", "parameters": [{"in": "path", "name": "feature", "schema": {"type": "string"}, "required": true}, {"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}, {"in": "path", "name": "subfeature", "schema": {"type": "string"}, "required": true}], "tags": ["Batch"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BatchRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BatchLaunchResponse"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}, "delete": {"operationId": "feature_batch_destroy", "description": "Api view with custom pagination method to return paginated response from any queryset", "summary": "Delete Batch Job", "parameters": [{"in": "path", "name": "feature", "schema": {"type": "string"}, "required": true}, {"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}, {"in": "path", "name": "subfeature", "schema": {"type": "string"}, "required": true}], "tags": ["Batch"], "security": [{"FeatureApiAuth": []}], "responses": {"204": {"description": "No response body"}}}}, "/aiproducts/": {"get": {"operationId": "aiproducts_aiproducts_list", "summary": "List Projects", "parameters": [{"in": "query", "name": "project_type", "schema": {"type": "string"}}], "tags": ["Custom Chatbot (Info operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/AIProject"}}}}, "description": ""}}}}, "/aiproducts/{project_id}/": {"get": {"operationId": "aiproducts_aiproducts_retrieve", "summary": "Retrieve Project", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Info operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AIProject"}}}, "description": ""}, "404": {"description": "No response body"}}}}, "/aiproducts/askyoda/v2/": {"post": {"operationId": "aiproducts_aiproducts_askyoda_v2_create", "description": "Allows you to create a new Ask YODA project with specified details.\n\n
Default Embedding Models\n\n|Name|Value|\n|----|-----|\n|**openai**|`text-embedding-3-large`|\n|**cohere**|`embed-multilingual-v3.0`|\n|**google**|`text-multilingual-embedding-002`|\n|**mistral**|`mistral-embed`|\n|**jina**|`jina-embeddings-v3`|\n\n
", "summary": "Create Project", "tags": ["Custom Chatbot (Create operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AskYourDataProjectRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/YodaCreateProjectResponse"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/aiproducts/askyoda/v2/{project_id}/{prompt_name}/": {"patch": {"operationId": "aiproducts_aiproducts_askyoda_v2_partial_update", "description": "Update the bot prompt for your RAG project using an existing prompt.\nThis endpoint allows you to change the current bot prompt to a different existing prompt.", "summary": "Update Bot Prompt", "parameters": [{"in": "query", "name": "file_urls", "schema": {"type": "array", "items": {"type": "string", "format": "uri", "minLength": 1, "maxLength": 1000}}, "description": "Optional list of URLs to images or other files that should be included with the prompt for multimodal models. Files are not supported by all models."}, {"in": "query", "name": "model", "schema": {"type": "string", "minLength": 1}, "description": "The model used to call the prompt. E.g. openai/gpt-4o", "required": true}, {"in": "query", "name": "name", "schema": {"type": "string", "minLength": 1}, "description": "The unique identifier for the prompt. Must contain only alphanumeric characters, underscores (_) and hyphens (-). No spaces allowed.", "required": true}, {"in": "query", "name": "params", "schema": {}, "description": "Params that are passed on to the llm request. See llm chat docs for more details.\n\n#### Example\n```json\n{\n \"temperature\": 0.7,\n \"max_tokens\": 100\n}\n```"}, {"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}, {"in": "path", "name": "prompt_name", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "system_prompt", "schema": {"type": "string", "minLength": 1}, "description": "Specify a system prompt for the LLM"}, {"in": "query", "name": "text", "schema": {"type": "string", "minLength": 1}, "description": "The text used for the prompt\n\nYou can include prompt variables with {{ my_variable }}. These variables are injected when you later call your prompt.\n\nThe template language is compatible with jinja2\n\n#### Example\n```bash\nTranslate this word to {{ language }}: {{ word }}\n```", "required": true}], "tags": ["Custom Chatbot (Update operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/aiproducts/askyoda/v2/{project_id}/add_file/": {"post": {"operationId": "aiproducts_aiproducts_askyoda_v2_add_file_create", "description": "This endpoint enables you to upload files (**CSV**, **AUDIO**, **PDF**, or **XML**) into your project.
Upon upload, the file will be processed and stored as text embeddings within the project's database.
\n\n### Supported File Types\n- **CSV**: Comma-separated values files.\n- **Audio**: Supported audio formats for transcription to text.\n- **PDF**: Portable Document Format files.\n- **XML**: Extensible Markup Language files.\n\n### OCR Processing and Speech-to-Text\nIf the uploaded file is a PDF, it will undergo Optical Character Recognition (OCR) processing using the default provider chosen during the project creation step.
\nSimilarly, audio files will be converted to text using Speech-to-Text, also utilizing the default provider configured during project setup.\n\n### Accepted File Extensions\n- **PDF**\n- **CSV**\n- **AMR**\n- **FLAC**\n- **WAV**\n- **OGG**\n- **MP3**\n- **MP4**\n- **WEBM**\n- **XML**\n\n\n", "summary": "Add File", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Upload operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AddFileRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/AddFileRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/AddFileRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"201": {"description": "No response body"}}}}, "/aiproducts/askyoda/v2/{project_id}/add_image/": {"post": {"operationId": "aiproducts_aiproducts_askyoda_v2_add_image_create", "description": "\nThis endpoint enables you to upload images into your project.
Upon upload, the file will be processed and stored as text embeddings within the project's database.\n", "summary": "Add Image", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Upload operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AddImageRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/AddImageRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"201": {"description": "No response body"}}}}, "/aiproducts/askyoda/v2/{project_id}/add_text/": {"post": {"operationId": "aiproducts_aiproducts_askyoda_v2_add_text_create", "description": "Add text data in your project, which will be stored as embeddings\nwithin your chosen database provider.", "summary": "Add Texts", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Upload operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AddTextRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"201": {"description": "No response body"}}}}, "/aiproducts/askyoda/v2/{project_id}/add_url/": {"post": {"operationId": "aiproducts_aiproducts_askyoda_v2_add_url_create", "description": "Add a list of URLs into your projects,\nthey will be processed and stored as text embeddings within your project.", "summary": "Add Urls", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Upload operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AddUrlRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"201": {"description": "No response body"}}}}, "/aiproducts/askyoda/v2/{project_id}/add_video/": {"post": {"operationId": "aiproducts_aiproducts_askyoda_v2_add_video_create", "description": "\nThis endpoint enables you to upload videos into your project.
Upon upload, the file will be processed and stored as text embeddings within the project's database.\n", "summary": "Add Video", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Upload operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AddVideoRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/AddVideoRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"201": {"description": "No response body"}}}}, "/aiproducts/askyoda/v2/{project_id}/ask_llm/": {"post": {"operationId": "aiproducts_aiproducts_askyoda_v2_ask_llm_create", "description": "Retrieve a list of search query responses and compare them to your\ninput. Provide a query, and in return, receive scores for the most relevant items from your project,\nranked by their proximity to your query.", "summary": "Ask LLM", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Query operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AskLLMRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/YodaQueryResponse"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/aiproducts/askyoda/v2/{project_id}/conversations/": {"get": {"operationId": "aiproducts_aiproducts_askyoda_v2_conversations_list", "summary": "List Conversations", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Info operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/Conversation"}}}}, "description": ""}}}, "post": {"operationId": "aiproducts_aiproducts_askyoda_v2_conversations_create", "summary": "Create Conversation", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Create operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ConversationRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/ConversationRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/ConversationRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"201": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Conversation"}}}, "description": ""}}}}, "/aiproducts/askyoda/v2/{project_id}/conversations/{conversation_id}/": {"get": {"operationId": "aiproducts_aiproducts_askyoda_v2_conversations_retrieve", "summary": "Retrieve Conversation Details", "parameters": [{"in": "path", "name": "conversation_id", "schema": {"type": "string", "format": "uuid"}, "required": true}, {"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Info operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ConversationDetail"}}}, "description": ""}}}, "put": {"operationId": "aiproducts_aiproducts_askyoda_v2_conversations_update", "summary": "Update Conversation Name", "parameters": [{"in": "path", "name": "conversation_id", "schema": {"type": "string", "format": "uuid"}, "required": true}, {"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Update operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ConversationDetailRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/ConversationDetailRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/ConversationDetailRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ConversationDetail"}}}, "description": ""}}}, "patch": {"operationId": "aiproducts_aiproducts_askyoda_v2_conversations_partial_update", "summary": "Update Conversation Name", "parameters": [{"in": "path", "name": "conversation_id", "schema": {"type": "string", "format": "uuid"}, "required": true}, {"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Update operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PatchedConversationDetailRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/PatchedConversationDetailRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/PatchedConversationDetailRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ConversationDetail"}}}, "description": ""}}}, "delete": {"operationId": "aiproducts_aiproducts_askyoda_v2_conversations_destroy", "summary": "Delete Conversation", "parameters": [{"in": "path", "name": "conversation_id", "schema": {"type": "string", "format": "uuid"}, "required": true}, {"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Delete operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/aiproducts/askyoda/v2/{project_id}/create_bot_prompt/": {"post": {"operationId": "aiproducts_aiproducts_askyoda_v2_create_bot_prompt_create", "description": "Create a default bot prompt for your RAG project.\nThe bot prompt serves as the default system message or personality definition for your RAG-powered chatbot. This prompt helps define how your bot should interact with users and what context it should consider when processing queries.", "summary": "Create Bot Profile", "parameters": [{"in": "query", "name": "file_urls", "schema": {"type": "array", "items": {"type": "string", "format": "uri", "minLength": 1, "maxLength": 1000}}, "description": "Optional list of URLs to images or other files that should be included with the prompt for multimodal models. Files are not supported by all models."}, {"in": "query", "name": "model", "schema": {"type": "string", "minLength": 1}, "description": "The model used to call the prompt. E.g. openai/gpt-4o", "required": true}, {"in": "query", "name": "name", "schema": {"type": "string", "minLength": 1}, "description": "The unique identifier for the prompt. Must contain only alphanumeric characters, underscores (_) and hyphens (-). No spaces allowed.", "required": true}, {"in": "query", "name": "params", "schema": {}, "description": "Params that are passed on to the llm request. See llm chat docs for more details.\n\n#### Example\n```json\n{\n \"temperature\": 0.7,\n \"max_tokens\": 100\n}\n```"}, {"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}, {"in": "query", "name": "system_prompt", "schema": {"type": "string", "minLength": 1}, "description": "Specify a system prompt for the LLM"}, {"in": "query", "name": "text", "schema": {"type": "string", "minLength": 1}, "description": "The text used for the prompt\n\nYou can include prompt variables with {{ my_variable }}. These variables are injected when you later call your prompt.\n\nThe template language is compatible with jinja2\n\n#### Example\n```bash\nTranslate this word to {{ language }}: {{ word }}\n```", "required": true}], "tags": ["Custom Chatbot (Create operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"201": {"description": "No response body"}}}}, "/aiproducts/askyoda/v2/{project_id}/delete_all_chunks/": {"delete": {"operationId": "aiproducts_aiproducts_askyoda_v2_delete_all_chunks_destroy", "description": "Delete all chunks from your project.\nThis action is irreversible and will remove all data stored in your project.", "summary": "Delete All Chunks", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Delete operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/YodaDeleteResponse"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/aiproducts/askyoda/v2/{project_id}/delete_chunk/": {"delete": {"operationId": "aiproducts_aiproducts_askyoda_v2_delete_chunk_destroy", "description": "Delete one or multiple chunks from your project. \nYou can delete a single chunk by providing it ID either as a query parameter or in the request body. \nFor bulk deletion, provide a list of chunk IDs in the request body.\n\nExamples:\n- Single chunk deletion (query parameter): DELETE /chunks?id=chunk123\n- Single chunk deletion (body): {\"id\": \"chunk123\"}\n- Bulk deletion: {\"ids\": [\"chunk123\", \"chunk456\", \"chunk789\"]}", "summary": "Delete Chunk", "parameters": [{"in": "query", "name": "chunk_ids", "schema": {"type": "array", "items": {"type": "string", "minLength": 1, "description": "chunk_id"}}, "description": "List of chunk_ids to delete"}, {"in": "query", "name": "id", "schema": {"type": "string", "minLength": 1}, "description": "chunk_id"}, {"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Delete operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/YodaDeleteResponse"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/aiproducts/askyoda/v2/{project_id}/files/": {"get": {"operationId": "aiproducts_aiproducts_askyoda_v2_files_list", "summary": "List Files", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Info operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/AiProductFile"}}}}, "description": ""}}}}, "/aiproducts/askyoda/v2/{project_id}/files/{file_id}/": {"get": {"operationId": "aiproducts_aiproducts_askyoda_v2_files_retrieve", "summary": "Get File", "parameters": [{"in": "path", "name": "file_id", "schema": {"type": "string", "format": "uuid"}, "required": true}, {"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Info operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AiProductFile"}}}, "description": ""}}}, "delete": {"operationId": "aiproducts_aiproducts_askyoda_v2_files_destroy", "summary": "Delete File", "parameters": [{"in": "path", "name": "file_id", "schema": {"type": "string", "format": "uuid"}, "required": true}, {"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Delete operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/aiproducts/askyoda/v2/{project_id}/generate/": {"post": {"operationId": "aiproducts_aiproducts_askyoda_v2_generate_create", "description": "Interact with different LLM providers, this endpoint is based on the structure of the\nLLM API.", "summary": "Generate", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Query operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/GenerateRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/YodaQueryResponse"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/aiproducts/askyoda/v2/{project_id}/info/": {"get": {"operationId": "aiproducts_aiproducts_askyoda_v2_info_retrieve", "description": "Retrieve details about your project within your Ask YODA project,\nincluding the total number of items stored in your project collection and default models", "summary": "Get info", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Info operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/YodaInfoResponse"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/aiproducts/askyoda/v2/{project_id}/list_chunks_ids/": {"post": {"operationId": "aiproducts_aiproducts_askyoda_v2_list_chunks_ids_create", "description": "Retrieve a list of all chunk IDs stored in your project.", "summary": "List Check IDs", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Info operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListChunkRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/YodaListChunksIdsResponse"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/aiproducts/askyoda/v2/{project_id}/query/": {"post": {"operationId": "aiproducts_aiproducts_askyoda_v2_query_create", "description": "Interact with your data by selecting your preferred Language Model \nprovider. The chosen provider will then respond to queries based on the data you have added\nto your collection", "summary": "Query", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Query operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AskLLMRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/YodaAskLlmResponse"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/aiproducts/askyoda/v2/{project_id}/remove_bot_prompt/": {"delete": {"operationId": "aiproducts_aiproducts_askyoda_v2_remove_bot_prompt_destroy", "description": "Remove the bot prompt from your RAG project.\n This endpoint removes the custom bot prompt from your project, effectively resetting the bot's personality to system defaults. This action cannot be undone, but you can always set a new bot prompt later.", "summary": "Remove Bot Prompt", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Delete operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/aiproducts/askyoda/v2/{project_id}/update_project/": {"patch": {"operationId": "aiproducts_aiproducts_askyoda_v2_update_project_partial_update", "description": "Update the default settings of the Yoda project.\nIt allows you to modify the project's default settings,\nspecifically changing the llm_provider (language model provider),\nllm_model (language model), ocr_provider (upload pdf), speech_to_text provider (upload audio)\nand the default chunks parameter associated with the default project.", "summary": "Update Project", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Update operations)"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PatchedAskYodaProjectUpdateRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AskYodaProjectUpdate"}}}, "description": ""}}}}, "/aiproducts/delete/{project_id}/": {"delete": {"operationId": "aiproducts_aiproducts_delete_destroy", "description": "View to delete an AI project.", "summary": "Delete Project", "parameters": [{"in": "path", "name": "project_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Custom Chatbot (Delete operations)"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/audio/speech_to_text_async/": {"get": {"operationId": "audio_audio_speech_to_text_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Speech to Text List Jobs", "tags": ["Speech To Text Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "audio_audio_speech_to_text_async_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|-|`boto3 (v1.15.18)`|0.024 (per 60 seconde)|15 seconde\n|**google**|-|`v1p1beta1`|0.024 (per 60 seconde)|1 seconde\n|**microsoft**|-|`v1.0`|0.0168 (per 60 seconde)|1 seconde\n|**assembly**|-|`v2`|0.011 (per 60 seconde)|1 seconde\n|**deepgram**|**nova-3**|`v1`|0.0052 (per 60 seconde)|1 seconde\n|**deepgram**|**enhanced**|`v1`|0.0189 (per 60 seconde)|1 seconde\n|**deepgram**|-|`v1`|0.0189 (per 60 seconde)|1 seconde\n|**deepgram**|**base**|`v1`|0.0169 (per 60 seconde)|1 seconde\n|**openai**|-|`boto3 (v1.15.18)`|0.006 (per 60 seconde)|1 seconde\n|**gladia**|-|`v1`|0.0102 (per 60 seconde)|1 seconde\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Albanian**|`sq`|\n|**Amharic**|`am`|\n|**Arabic**|`ar`|\n|**Armenian**|`hy`|\n|**Azerbaijani**|`az`|\n|**Bashkir**|`ba`|\n|**Basque**|`eu`|\n|**Belarusian**|`be`|\n|**Bengali**|`bn`|\n|**Bosnian**|`bs`|\n|**Breton**|`br`|\n|**Bulgarian**|`bg`|\n|**Burmese**|`my`|\n|**Catalan**|`ca`|\n|**Chinese**|`zh`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Esperanto**|`eo`|\n|**Estonian**|`et`|\n|**Filipino**|`fil`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**Galician**|`gl`|\n|**Georgian**|`ka`|\n|**German**|`de`|\n|**Gujarati**|`gu`|\n|**Haitian**|`ht`|\n|**Hausa**|`ha`|\n|**Hebrew**|`he`|\n|**Hebrew**|`iw`|\n|**Hindi**|`hi`|\n|**Hungarian**|`hu`|\n|**Icelandic**|`is`|\n|**Indonesian**|`id`|\n|**Interlingua (International Auxiliary Language Association)**|`ia`|\n|**Irish**|`ga`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Javanese**|`jv`|\n|**Kannada**|`kn`|\n|**Kazakh**|`kk`|\n|**Khmer**|`km`|\n|**Korean**|`ko`|\n|**Lao**|`lo`|\n|**Latvian**|`lv`|\n|**Lingala**|`ln`|\n|**Lithuanian**|`lt`|\n|**Luxembourgish**|`lb`|\n|**Macedonian**|`mk`|\n|**Malagasy**|`mg`|\n|**Malay (macrolanguage)**|`ms`|\n|**Malayalam**|`ml`|\n|**Maltese**|`mt`|\n|**Mandarin Chinese**|`cmn`|\n|**Maori**|`mi`|\n|**Marathi**|`mr`|\n|**Modern Greek (1453-)**|`el`|\n|**Mongolian**|`mn`|\n|**Nepali (macrolanguage)**|`ne`|\n|**Norwegian**|`no`|\n|**Norwegian Bokm\u00e5l**|`nb`|\n|**Occitan (post 1500)**|`oc`|\n|**Panjabi**|`pa`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Pushto**|`ps`|\n|**Romanian**|`mo`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Serbian**|`sr`|\n|**Sindhi**|`sd`|\n|**Sinhala**|`si`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Somali**|`so`|\n|**Spanish**|`es`|\n|**Sundanese**|`su`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tagalog**|`tl`|\n|**Tamil**|`ta`|\n|**Telugu**|`te`|\n|**Thai**|`th`|\n|**Turkish**|`tr`|\n|**Uighur**|`ug`|\n|**Ukrainian**|`uk`|\n|**Urdu**|`ur`|\n|**Uzbek**|`uz`|\n|**Vietnamese**|`vi`|\n|**Welsh**|`cy`|\n|**Wu Chinese**|`wuu`|\n|**Yiddish**|`yi`|\n|**Yoruba**|`yo`|\n|**Yue Chinese**|`yue`|\n|**Zulu**|`zu`|\n|**at**|`at`|\n|**jp**|`jp`|\n|**mymr**|`mymr`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Afrikaans (South Africa)**|`af-ZA`|\n|**Albanian (Albania)**|`sq-AL`|\n|**Amharic (Ethiopia)**|`am-ET`|\n|**Arabic (Algeria)**|`ar-DZ`|\n|**Arabic (Bahrain)**|`ar-BH`|\n|**Arabic (Egypt)**|`ar-EG`|\n|**Arabic (Iraq)**|`ar-IQ`|\n|**Arabic (Israel)**|`ar-IL`|\n|**Arabic (Jordan)**|`ar-JO`|\n|**Arabic (Kuwait)**|`ar-KW`|\n|**Arabic (Lebanon)**|`ar-LB`|\n|**Arabic (Libya)**|`ar-LY`|\n|**Arabic (Mauritania)**|`ar-MR`|\n|**Arabic (Morocco)**|`ar-MA`|\n|**Arabic (Oman)**|`ar-OM`|\n|**Arabic (Palestinian Territories)**|`ar-PS`|\n|**Arabic (Qatar)**|`ar-QA`|\n|**Arabic (Saudi Arabia)**|`ar-SA`|\n|**Arabic (Syria)**|`ar-SY`|\n|**Arabic (Tunisia)**|`ar-TN`|\n|**Arabic (United Arab Emirates)**|`ar-AE`|\n|**Arabic (Yemen)**|`ar-YE`|\n|**Armenian (Armenia)**|`hy-AM`|\n|**Azerbaijani (Azerbaijan)**|`az-AZ`|\n|**Bangla (Bangladesh)**|`bn-BD`|\n|**Bangla (India)**|`bn-IN`|\n|**Basque (Spain)**|`eu-ES`|\n|**Bosnian (Bosnia & Herzegovina)**|`bs-BA`|\n|**Bulgarian (Bulgaria)**|`bg-BG`|\n|**Burmese (Myanmar (Burma))**|`my-MM`|\n|**Cantonese (China)**|`yue-CN`|\n|**Cantonese (Traditional, Hong Kong SAR China)**|`yue-Hant-HK`|\n|**Catalan (Spain)**|`ca-ES`|\n|**Chinese (China)**|`zh-CN`|\n|**Chinese (Hong Kong SAR China)**|`zh-HK`|\n|**Chinese (Taiwan)**|`zh-TW`|\n|**Croatian (Croatia)**|`hr-HR`|\n|**Czech (Czechia)**|`cs-CZ`|\n|**Danish (Denmark)**|`da-DK`|\n|**Dutch (Belgium)**|`nl-BE`|\n|**Dutch (Netherlands)**|`nl-NL`|\n|**English (Australia)**|`en-AU`|\n|**English (Canada)**|`en-CA`|\n|**English (Ghana)**|`en-GH`|\n|**English (Hong Kong SAR China)**|`en-HK`|\n|**English (India)**|`en-IN`|\n|**English (Ireland)**|`en-IE`|\n|**English (Kenya)**|`en-KE`|\n|**English (New Zealand)**|`en-NZ`|\n|**English (Nigeria)**|`en-NG`|\n|**English (Pakistan)**|`en-PK`|\n|**English (Philippines)**|`en-PH`|\n|**English (Singapore)**|`en-SG`|\n|**English (South Africa)**|`en-ZA`|\n|**English (Tanzania)**|`en-TZ`|\n|**English (United Kingdom)**|`en-GB`|\n|**English (United Kingdom)**|`en-UK`|\n|**English (United States)**|`en-US`|\n|**Estonian (Estonia)**|`et-EE`|\n|**Filipino (Philippines)**|`fil-PH`|\n|**Finnish (Finland)**|`fi-FI`|\n|**French (Belgium)**|`fr-BE`|\n|**French (Canada)**|`fr-CA`|\n|**French (France)**|`fr-FR`|\n|**French (Switzerland)**|`fr-CH`|\n|**Galician (Spain)**|`gl-ES`|\n|**Georgian (Georgia)**|`ka-GE`|\n|**German (Austria)**|`de-AT`|\n|**German (Germany)**|`de-DE`|\n|**German (Switzerland)**|`de-CH`|\n|**Greek (Greece)**|`el-GR`|\n|**Gujarati (India)**|`gu-IN`|\n|**Hebrew (Israel)**|`he-IL`|\n|**Hebrew (Israel)**|`iw-IL`|\n|**Hindi (India)**|`hi-IN`|\n|**Hindi (Latin)**|`hi-Latn`|\n|**Hungarian (Hungary)**|`hu-HU`|\n|**Icelandic (Iceland)**|`is-IS`|\n|**Indonesian (Indonesia)**|`id-ID`|\n|**Irish (Ireland)**|`ga-IE`|\n|**Italian (Italy)**|`it-IT`|\n|**Italian (Switzerland)**|`it-CH`|\n|**Japanese (Japan)**|`ja-JP`|\n|**Javanese (Indonesia)**|`jv-ID`|\n|**Kannada (India)**|`kn-IN`|\n|**Kazakh (Kazakhstan)**|`kk-KZ`|\n|**Khmer (Cambodia)**|`km-KH`|\n|**Korean (South Korea)**|`ko-KR`|\n|**Lao (Laos)**|`lo-LA`|\n|**Latvian (Latvia)**|`lv-LV`|\n|**Lithuanian (Lithuania)**|`lt-LT`|\n|**Macedonian (North Macedonia)**|`mk-MK`|\n|**Malay (Malaysia)**|`ms-MY`|\n|**Malayalam (India)**|`ml-IN`|\n|**Maltese (Malta)**|`mt-MT`|\n|**Marathi (India)**|`mr-IN`|\n|**Mongolian (Mongolia)**|`mn-MN`|\n|**Nepali (Nepal)**|`ne-NP`|\n|**Norwegian (Norway)**|`no-NO`|\n|**Norwegian Bokm\u00e5l (Norway)**|`nb-NO`|\n|**Pashto (Afghanistan)**|`ps-AF`|\n|**Persian (Iran)**|`fa-IR`|\n|**Polish (Poland)**|`pl-PL`|\n|**Portuguese (Brazil)**|`pt-BR`|\n|**Portuguese (Portugal)**|`pt-PT`|\n|**Punjabi (India)**|`pa-Guru-IN`|\n|**Romanian (Romania)**|`ro-RO`|\n|**Russian (Russia)**|`ru-RU`|\n|**Serbian (Serbia)**|`sr-RS`|\n|**Sinhala (Sri Lanka)**|`si-LK`|\n|**Slovak (Slovakia)**|`sk-SK`|\n|**Slovenian (Slovenia)**|`sl-SI`|\n|**Somali (Somalia)**|`so-SO`|\n|**Spanish (Argentina)**|`es-AR`|\n|**Spanish (Bolivia)**|`es-BO`|\n|**Spanish (Chile)**|`es-CL`|\n|**Spanish (Colombia)**|`es-CO`|\n|**Spanish (Costa Rica)**|`es-CR`|\n|**Spanish (Cuba)**|`es-CU`|\n|**Spanish (Dominican Republic)**|`es-DO`|\n|**Spanish (Ecuador)**|`es-EC`|\n|**Spanish (El Salvador)**|`es-SV`|\n|**Spanish (Equatorial Guinea)**|`es-GQ`|\n|**Spanish (Guatemala)**|`es-GT`|\n|**Spanish (Honduras)**|`es-HN`|\n|**Spanish (Latin America)**|`es-419`|\n|**Spanish (Mexico)**|`es-MX`|\n|**Spanish (Nicaragua)**|`es-NI`|\n|**Spanish (Panama)**|`es-PA`|\n|**Spanish (Paraguay)**|`es-PY`|\n|**Spanish (Peru)**|`es-PE`|\n|**Spanish (Puerto Rico)**|`es-PR`|\n|**Spanish (Spain)**|`es-ES`|\n|**Spanish (United States)**|`es-US`|\n|**Spanish (Uruguay)**|`es-UY`|\n|**Spanish (Venezuela)**|`es-VE`|\n|**Sundanese (Indonesia)**|`su-ID`|\n|**Swahili (Kenya)**|`sw-KE`|\n|**Swahili (Tanzania)**|`sw-TZ`|\n|**Swedish (Sweden)**|`sv-SE`|\n|**Tamil (India)**|`ta-IN`|\n|**Tamil (Malaysia)**|`ta-MY`|\n|**Tamil (Singapore)**|`ta-SG`|\n|**Tamil (Sri Lanka)**|`ta-LK`|\n|**Telugu (India)**|`te-IN`|\n|**Thai (Thailand)**|`th-TH`|\n|**Turkish (T\u00fcrkiye)**|`tr-TR`|\n|**Ukrainian (Ukraine)**|`uk-UA`|\n|**Urdu (India)**|`ur-IN`|\n|**Urdu (Pakistan)**|`ur-PK`|\n|**Uzbek (Uzbekistan)**|`uz-UZ`|\n|**Vietnamese (Vietnam)**|`vi-VN`|\n|**Welsh (United Kingdom)**|`cy-GB`|\n|**Wu Chinese (China)**|`wuu-CN`|\n|**Zulu (South Africa)**|`zu-ZA`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**deepgram**|`enhanced`|\n\n
", "summary": "Speech to Text Launch Job", "tags": ["Speech To Text Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/SpeechToTextAsyncRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/SpeechToTextAsyncRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "audio_audio_speech_to_text_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Speech to text delete Jobs", "tags": ["Speech To Text Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/audio/speech_to_text_async/{public_id}/": {"get": {"operationId": "audio_audio_speech_to_text_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Speech to Text Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Speech To Text Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncaudiospeech_to_text_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/audio/text_to_speech/": {"post": {"operationId": "audio_audio_text_to_speech_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|-|`boto3 (v1.15.18)`|4.0 (per 1000000 char)|1 char\n|**amazon**|**Neural**|`boto3 (v1.15.18)`|16.0 (per 1000000 char)|1 char\n|**google**|-|`v1`|4.0 (per 1000000 char)|1 char\n|**google**|**Standard**|`v1`|4.0 (per 1000000 char)|1 char\n|**google**|**Neural**|`v1`|16.0 (per 1000000 char)|1 char\n|**google**|**Wavenet**|`v1`|16.0 (per 1000000 char)|1 char\n|**google**|**Studio**|`v1`|0.16 (per 1000 char)|1 char\n|**google**|**gemini-2.5-flash-tts**|`v1`|10.0 (per 1000000 char)|1 char\n|**google**|**gemini-2.5-pro-tts**|`v1`|20.0 (per 1000000 char)|None char\n|**microsoft**|-|`v1.0`|16.0 (per 1000000 char)|1 char\n|**lovoai**|-|`v1`|160.0 (per 1000000 char)|1000 char\n|**elevenlabs**|-|`v1`|0.3 (per 1000 char)|1 char\n|**openai**|-|`v1.0`|0.015 (per 1000 char)|1 char\n|**deepgram**|-|`v1`|0.015 (per 1000 char)|1 char\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Albanian**|`sq`|\n|**Amharic**|`am`|\n|**Arabic**|`ar`|\n|**Armenian**|`hy`|\n|**Azerbaijani**|`az`|\n|**Basque**|`eu`|\n|**Belarusian**|`be`|\n|**Bengali**|`bn`|\n|**Bosnian**|`bs`|\n|**Bulgarian**|`bg`|\n|**Burmese**|`my`|\n|**Catalan**|`ca`|\n|**Chinese**|`zh`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Estonian**|`et`|\n|**Filipino**|`fil`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**Galician**|`gl`|\n|**Georgian**|`ka`|\n|**German**|`de`|\n|**Gujarati**|`gu`|\n|**Hebrew**|`he`|\n|**Hindi**|`hi`|\n|**Hungarian**|`hu`|\n|**Icelandic**|`is`|\n|**Indonesian**|`id`|\n|**Irish**|`ga`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Javanese**|`jv`|\n|**Kannada**|`kn`|\n|**Kazakh**|`kk`|\n|**Khmer**|`km`|\n|**Korean**|`ko`|\n|**Lao**|`lo`|\n|**Latvian**|`lv`|\n|**Lithuanian**|`lt`|\n|**Macedonian**|`mk`|\n|**Malay (macrolanguage)**|`ms`|\n|**Malayalam**|`ml`|\n|**Maltese**|`mt`|\n|**Mandarin Chinese**|`cmn`|\n|**Maori**|`mi`|\n|**Marathi**|`mr`|\n|**Modern Greek (1453-)**|`el`|\n|**Mongolian**|`mn`|\n|**Nepali (macrolanguage)**|`ne`|\n|**Norwegian**|`no`|\n|**Norwegian Bokm\u00e5l**|`nb`|\n|**Panjabi**|`pa`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Pushto**|`ps`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Serbian**|`sr`|\n|**Sinhala**|`si`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Somali**|`so`|\n|**Spanish**|`es`|\n|**Standard Arabic**|`arb`|\n|**Sundanese**|`su`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tagalog**|`tl`|\n|**Tamil**|`ta`|\n|**Telugu**|`te`|\n|**Thai**|`th`|\n|**Turkish**|`tr`|\n|**Ukrainian**|`uk`|\n|**Urdu**|`ur`|\n|**Uzbek**|`uz`|\n|**Vietnamese**|`vi`|\n|**Welsh**|`cy`|\n|**Wu Chinese**|`wuu`|\n|**Xhosa**|`xh`|\n|**Yue Chinese**|`yue`|\n|**Zulu**|`zu`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans (South Africa)**|`af-ZA`|\n|**Albanian (Albania)**|`sq-AL`|\n|**Amharic (Ethiopia)**|`am-ET`|\n|**Arabic (Algeria)**|`ar-DZ`|\n|**Arabic (Bahrain)**|`ar-BH`|\n|**Arabic (Egypt)**|`ar-EG`|\n|**Arabic (Iraq)**|`ar-IQ`|\n|**Arabic (Jordan)**|`ar-JO`|\n|**Arabic (Kuwait)**|`ar-KW`|\n|**Arabic (Lebanon)**|`ar-LB`|\n|**Arabic (Libya)**|`ar-LY`|\n|**Arabic (Morocco)**|`ar-MA`|\n|**Arabic (Oman)**|`ar-OM`|\n|**Arabic (Pseudo-Accents)**|`ar-XA`|\n|**Arabic (Qatar)**|`ar-QA`|\n|**Arabic (Saudi Arabia)**|`ar-SA`|\n|**Arabic (Syria)**|`ar-SY`|\n|**Arabic (Tunisia)**|`ar-TN`|\n|**Arabic (United Arab Emirates)**|`ar-AE`|\n|**Arabic (Yemen)**|`ar-YE`|\n|**Armenian (Armenia)**|`hy-AM`|\n|**Azerbaijani (Azerbaijan)**|`az-AZ`|\n|**Bangla (Bangladesh)**|`bn-BD`|\n|**Bangla (India)**|`bn-IN`|\n|**Basque (Spain)**|`eu-ES`|\n|**Bosnian (Bosnia & Herzegovina)**|`bs-BA`|\n|**Bulgarian (Bulgaria)**|`bg-BG`|\n|**Burmese (Myanmar (Burma))**|`my-MM`|\n|**Cantonese (China)**|`yue-CN`|\n|**Cantonese (Hong Kong SAR China)**|`yue-HK`|\n|**Catalan (Spain)**|`ca-ES`|\n|**Chinese (China)**|`zh-CN`|\n|**Chinese (China)**|`zh-CN-henan`|\n|**Chinese (China)**|`zh-CN-shandong`|\n|**Chinese (China)**|`zh-CN-sichuan`|\n|**Chinese (Hong Kong SAR China)**|`zh-HK`|\n|**Chinese (Taiwan)**|`zh-TW`|\n|**Croatian (Croatia)**|`hr-HR`|\n|**Czech (Czechia)**|`cs-CZ`|\n|**Danish (Denmark)**|`da-DK`|\n|**Dutch (Belgium)**|`nl-BE`|\n|**Dutch (Netherlands)**|`nl-NL`|\n|**English (Australia)**|`en-AU`|\n|**English (Canada)**|`en-CA`|\n|**English (Cura\u00e7ao)**|`en-AN`|\n|**English (Hong Kong SAR China)**|`en-HK`|\n|**English (India)**|`en-IN`|\n|**English (Ireland)**|`en-IE`|\n|**English (Kenya)**|`en-KE`|\n|**English (New Zealand)**|`en-NZ`|\n|**English (Nigeria)**|`en-NG`|\n|**English (Philippines)**|`en-PH`|\n|**English (Singapore)**|`en-SG`|\n|**English (South Africa)**|`en-ZA`|\n|**English (Tanzania)**|`en-TZ`|\n|**English (United Kingdom)**|`en-GB`|\n|**English (United States)**|`en-US`|\n|**Estonian (Estonia)**|`et-EE`|\n|**Filipino (Philippines)**|`fil-PH`|\n|**Finnish (Finland)**|`fi-FI`|\n|**French (Belgium)**|`fr-BE`|\n|**French (Canada)**|`fr-CA`|\n|**French (France)**|`fr-FR`|\n|**French (Switzerland)**|`fr-CH`|\n|**Galician (Spain)**|`gl-ES`|\n|**Georgian (Georgia)**|`ka-GE`|\n|**German (Austria)**|`de-AT`|\n|**German (Germany)**|`de-DE`|\n|**German (Switzerland)**|`de-CH`|\n|**Greek (Greece)**|`el-GR`|\n|**Gujarati (India)**|`gu-IN`|\n|**Hebrew (Israel)**|`he-IL`|\n|**Hindi (India)**|`hi-IN`|\n|**Hungarian (Hungary)**|`hu-HU`|\n|**Icelandic (Iceland)**|`is-IS`|\n|**Indonesian (Indonesia)**|`id-ID`|\n|**Irish (Ireland)**|`ga-IE`|\n|**Italian (Italy)**|`it-IT`|\n|**Japanese (Japan)**|`ja-JP`|\n|**Javanese (Indonesia)**|`jv-ID`|\n|**Kannada (India)**|`kn-IN`|\n|**Kazakh (Kazakhstan)**|`kk-KZ`|\n|**Khmer (Cambodia)**|`km-KH`|\n|**Korean (South Korea)**|`ko-KR`|\n|**Lao (Laos)**|`lo-LA`|\n|**Latvian (Latvia)**|`lv-LV`|\n|**Lithuanian (Lithuania)**|`lt-LT`|\n|**Macedonian (North Macedonia)**|`mk-MK`|\n|**Malay (Malaysia)**|`ms-MY`|\n|**Malayalam (India)**|`ml-IN`|\n|**Maltese (Malta)**|`mt-MT`|\n|**Mandarin Chinese (China)**|`cmn-CN`|\n|**Mandarin Chinese (Taiwan)**|`cmn-TW`|\n|**Marathi (India)**|`mr-IN`|\n|**Mongolian (Mongolia)**|`mn-MN`|\n|**Nepali (Nepal)**|`ne-NP`|\n|**Norwegian Bokm\u00e5l (Norway)**|`nb-NO`|\n|**Pashto (Afghanistan)**|`ps-AF`|\n|**Persian (Iran)**|`fa-IR`|\n|**Polish (Poland)**|`pl-PL`|\n|**Portuguese (Brazil)**|`pt-BR`|\n|**Portuguese (Portugal)**|`pt-PT`|\n|**Punjabi (India)**|`pa-IN`|\n|**Romanian (Romania)**|`ro-RO`|\n|**Russian (Russia)**|`ru-RU`|\n|**Serbian (Serbia)**|`sr-RS`|\n|**Sinhala (Sri Lanka)**|`si-LK`|\n|**Slovak (Slovakia)**|`sk-SK`|\n|**Slovenian (Slovenia)**|`sl-SI`|\n|**Somali (Somalia)**|`so-SO`|\n|**Spanish (Argentina)**|`es-AR`|\n|**Spanish (Bolivia)**|`es-BO`|\n|**Spanish (Chile)**|`es-CL`|\n|**Spanish (Colombia)**|`es-CO`|\n|**Spanish (Costa Rica)**|`es-CR`|\n|**Spanish (Cuba)**|`es-CU`|\n|**Spanish (Dominican Republic)**|`es-DO`|\n|**Spanish (Ecuador)**|`es-EC`|\n|**Spanish (El Salvador)**|`es-SV`|\n|**Spanish (Equatorial Guinea)**|`es-GQ`|\n|**Spanish (Guatemala)**|`es-GT`|\n|**Spanish (Honduras)**|`es-HN`|\n|**Spanish (Mexico)**|`es-MX`|\n|**Spanish (Nicaragua)**|`es-NI`|\n|**Spanish (Panama)**|`es-PA`|\n|**Spanish (Paraguay)**|`es-PY`|\n|**Spanish (Peru)**|`es-PE`|\n|**Spanish (Puerto Rico)**|`es-PR`|\n|**Spanish (Spain)**|`es-ES`|\n|**Spanish (United States)**|`es-US`|\n|**Spanish (Uruguay)**|`es-UY`|\n|**Spanish (Venezuela)**|`es-VE`|\n|**Sundanese (Indonesia)**|`su-ID`|\n|**Swahili (Kenya)**|`sw-KE`|\n|**Swahili (Tanzania)**|`sw-TZ`|\n|**Swedish (Sweden)**|`sv-SE`|\n|**Tamil (India)**|`ta-IN`|\n|**Tamil (Malaysia)**|`ta-MY`|\n|**Tamil (Singapore)**|`ta-SG`|\n|**Tamil (Sri Lanka)**|`ta-LK`|\n|**Telugu (India)**|`te-IN`|\n|**Thai (Thailand)**|`th-TH`|\n|**Turkish (T\u00fcrkiye)**|`tr-TR`|\n|**Ukrainian (Ukraine)**|`uk-UA`|\n|**Urdu (India)**|`ur-IN`|\n|**Urdu (Pakistan)**|`ur-PK`|\n|**Uzbek (United Kingdom)**|`uz-UK`|\n|**Uzbek (Uzbekistan)**|`uz-UZ`|\n|**Vietnamese (Vietnam)**|`vi-VN`|\n|**Welsh (United Kingdom)**|`cy-GB`|\n|**Wu Chinese (China)**|`wuu-CN`|\n|**Xhosa (South Africa)**|`xh-ZA`|\n|**Zulu (South Africa)**|`zu-ZA`|\n\n

Supported Models

\n\n", "summary": "Text to Speech", "tags": ["Text To Speech"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/audiotext_to_speechTextToSpeechRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/audiotext_to_speechResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/audio/text_to_speech_async/": {"get": {"operationId": "audio_audio_text_to_speech_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Text To Speech list jobs", "tags": ["Text To Speech Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "audio_audio_text_to_speech_async_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**lovoai**|-|`v1`|0.16 (per 1000 char)|1 char\n|**amazon**|-|`boto3 (v1.15.18)`|4.0 (per 1000000 char)|1 char\n|**amazon**|**Neural**|`boto3 (v1.15.18)`|16.0 (per 1000000 char)|1 char\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Albanian**|`sq`|\n|**Amharic**|`am`|\n|**Arabic**|`ar`|\n|**Armenian**|`hy`|\n|**Azerbaijani**|`az`|\n|**Basque**|`eu`|\n|**Bengali**|`bn`|\n|**Bosnian**|`bs`|\n|**Burmese**|`my`|\n|**Catalan**|`ca`|\n|**Chinese**|`zh`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Estonian**|`et`|\n|**Filipino**|`fil`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**Galician**|`gl`|\n|**Georgian**|`ka`|\n|**German**|`de`|\n|**Hebrew**|`he`|\n|**Hindi**|`hi`|\n|**Hungarian**|`hu`|\n|**Icelandic**|`is`|\n|**Indonesian**|`id`|\n|**Irish**|`ga`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Javanese**|`jv`|\n|**Kazakh**|`kk`|\n|**Khmer**|`km`|\n|**Korean**|`ko`|\n|**Lao**|`lo`|\n|**Latvian**|`lv`|\n|**Lithuanian**|`lt`|\n|**Macedonian**|`mk`|\n|**Malay (macrolanguage)**|`ms`|\n|**Malayalam**|`ml`|\n|**Maltese**|`mt`|\n|**Mandarin Chinese**|`cmn`|\n|**Marathi**|`mr`|\n|**Mongolian**|`mn`|\n|**Nepali (macrolanguage)**|`ne`|\n|**Norwegian Bokm\u00e5l**|`nb`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Pushto**|`ps`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Serbian**|`sr`|\n|**Sinhala**|`si`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Somali**|`so`|\n|**Spanish**|`es`|\n|**Standard Arabic**|`arb`|\n|**Sundanese**|`su`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tamil**|`ta`|\n|**Telugu**|`te`|\n|**Thai**|`th`|\n|**Turkish**|`tr`|\n|**Ukrainian**|`uk`|\n|**Urdu**|`ur`|\n|**Uzbek**|`uz`|\n|**Vietnamese**|`vi`|\n|**Welsh**|`cy`|\n|**Wu Chinese**|`wuu`|\n|**Xhosa**|`xh`|\n|**Yue Chinese**|`yue`|\n|**Zulu**|`zu`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans (South Africa)**|`af-ZA`|\n|**Albanian (Albania)**|`sq-AL`|\n|**Amharic (Ethiopia)**|`am-ET`|\n|**Arabic (Algeria)**|`ar-DZ`|\n|**Arabic (Bahrain)**|`ar-BH`|\n|**Arabic (Egypt)**|`ar-EG`|\n|**Arabic (Iraq)**|`ar-IQ`|\n|**Arabic (Jordan)**|`ar-JO`|\n|**Arabic (Kuwait)**|`ar-KW`|\n|**Arabic (Lebanon)**|`ar-LB`|\n|**Arabic (Libya)**|`ar-LY`|\n|**Arabic (Morocco)**|`ar-MA`|\n|**Arabic (Oman)**|`ar-OM`|\n|**Arabic (Qatar)**|`ar-QA`|\n|**Arabic (Saudi Arabia)**|`ar-SA`|\n|**Arabic (Tunisia)**|`ar-TN`|\n|**Arabic (United Arab Emirates)**|`ar-AE`|\n|**Armenian (Armenia)**|`hy-AM`|\n|**Azerbaijani (Azerbaijan)**|`az-AZ`|\n|**Bangla (India)**|`bn-IN`|\n|**Basque (Spain)**|`eu-ES`|\n|**Bosnian (Bosnia & Herzegovina)**|`bs-BA`|\n|**Burmese (Myanmar (Burma))**|`my-MM`|\n|**Cantonese (China)**|`yue-CN`|\n|**Catalan (Spain)**|`ca-ES`|\n|**Chinese (China)**|`zh-CN`|\n|**Chinese (China)**|`zh-CN-henan`|\n|**Chinese (China)**|`zh-CN-shandong`|\n|**Chinese (China)**|`zh-CN-sichuan`|\n|**Chinese (Hong Kong SAR China)**|`zh-HK`|\n|**Chinese (Taiwan)**|`zh-TW`|\n|**Croatian (Croatia)**|`hr-HR`|\n|**Czech (Czechia)**|`cs-CZ`|\n|**Danish (Denmark)**|`da-DK`|\n|**Dutch (Belgium)**|`nl-BE`|\n|**Dutch (Netherlands)**|`nl-NL`|\n|**English (Australia)**|`en-AU`|\n|**English (Canada)**|`en-CA`|\n|**English (Cura\u00e7ao)**|`en-AN`|\n|**English (Hong Kong SAR China)**|`en-HK`|\n|**English (India)**|`en-IN`|\n|**English (Ireland)**|`en-IE`|\n|**English (Kenya)**|`en-KE`|\n|**English (New Zealand)**|`en-NZ`|\n|**English (Nigeria)**|`en-NG`|\n|**English (Philippines)**|`en-PH`|\n|**English (Singapore)**|`en-SG`|\n|**English (South Africa)**|`en-ZA`|\n|**English (Tanzania)**|`en-TZ`|\n|**English (United Kingdom)**|`en-GB`|\n|**English (United States)**|`en-US`|\n|**Estonian (Estonia)**|`et-EE`|\n|**Filipino (Philippines)**|`fil-PH`|\n|**Finnish (Finland)**|`fi-FI`|\n|**French (Belgium)**|`fr-BE`|\n|**French (Canada)**|`fr-CA`|\n|**French (France)**|`fr-FR`|\n|**French (Switzerland)**|`fr-CH`|\n|**Galician (Spain)**|`gl-ES`|\n|**Georgian (Georgia)**|`ka-GE`|\n|**German (Austria)**|`de-AT`|\n|**German (Germany)**|`de-DE`|\n|**German (Switzerland)**|`de-CH`|\n|**Hebrew (Israel)**|`he-IL`|\n|**Hindi (India)**|`hi-IN`|\n|**Hungarian (Hungary)**|`hu-HU`|\n|**Icelandic (Iceland)**|`is-IS`|\n|**Indonesian (Indonesia)**|`id-ID`|\n|**Irish (Ireland)**|`ga-IE`|\n|**Italian (Italy)**|`it-IT`|\n|**Japanese (Japan)**|`ja-JP`|\n|**Javanese (Indonesia)**|`jv-ID`|\n|**Kazakh (Kazakhstan)**|`kk-KZ`|\n|**Khmer (Cambodia)**|`km-KH`|\n|**Korean (South Korea)**|`ko-KR`|\n|**Lao (Laos)**|`lo-LA`|\n|**Latvian (Latvia)**|`lv-LV`|\n|**Lithuanian (Lithuania)**|`lt-LT`|\n|**Macedonian (North Macedonia)**|`mk-MK`|\n|**Malay (Malaysia)**|`ms-MY`|\n|**Malayalam (India)**|`ml-IN`|\n|**Maltese (Malta)**|`mt-MT`|\n|**Mandarin Chinese (China)**|`cmn-CN`|\n|**Marathi (India)**|`mr-IN`|\n|**Mongolian (Mongolia)**|`mn-MN`|\n|**Nepali (Nepal)**|`ne-NP`|\n|**Norwegian Bokm\u00e5l (Norway)**|`nb-NO`|\n|**Pashto (Afghanistan)**|`ps-AF`|\n|**Persian (Iran)**|`fa-IR`|\n|**Polish (Poland)**|`pl-PL`|\n|**Portuguese (Brazil)**|`pt-BR`|\n|**Portuguese (Portugal)**|`pt-PT`|\n|**Romanian (Romania)**|`ro-RO`|\n|**Russian (Russia)**|`ru-RU`|\n|**Serbian (Serbia)**|`sr-RS`|\n|**Sinhala (Sri Lanka)**|`si-LK`|\n|**Slovak (Slovakia)**|`sk-SK`|\n|**Slovenian (Slovenia)**|`sl-SI`|\n|**Somali (Somalia)**|`so-SO`|\n|**Spanish (Argentina)**|`es-AR`|\n|**Spanish (Bolivia)**|`es-BO`|\n|**Spanish (Chile)**|`es-CL`|\n|**Spanish (Colombia)**|`es-CO`|\n|**Spanish (Costa Rica)**|`es-CR`|\n|**Spanish (Cuba)**|`es-CU`|\n|**Spanish (Ecuador)**|`es-EC`|\n|**Spanish (El Salvador)**|`es-SV`|\n|**Spanish (Equatorial Guinea)**|`es-GQ`|\n|**Spanish (Guatemala)**|`es-GT`|\n|**Spanish (Mexico)**|`es-MX`|\n|**Spanish (Nicaragua)**|`es-NI`|\n|**Spanish (Panama)**|`es-PA`|\n|**Spanish (Paraguay)**|`es-PY`|\n|**Spanish (Puerto Rico)**|`es-PR`|\n|**Spanish (Spain)**|`es-ES`|\n|**Spanish (United States)**|`es-US`|\n|**Spanish (Uruguay)**|`es-UY`|\n|**Spanish (Venezuela)**|`es-VE`|\n|**Sundanese (Indonesia)**|`su-ID`|\n|**Swahili (Kenya)**|`sw-KE`|\n|**Swahili (Tanzania)**|`sw-TZ`|\n|**Swedish (Sweden)**|`sv-SE`|\n|**Tamil (India)**|`ta-IN`|\n|**Tamil (Malaysia)**|`ta-MY`|\n|**Tamil (Singapore)**|`ta-SG`|\n|**Telugu (India)**|`te-IN`|\n|**Thai (Thailand)**|`th-TH`|\n|**Turkish (T\u00fcrkiye)**|`tr-TR`|\n|**Ukrainian (Ukraine)**|`uk-UA`|\n|**Urdu (India)**|`ur-IN`|\n|**Urdu (Pakistan)**|`ur-PK`|\n|**Uzbek (United Kingdom)**|`uz-UK`|\n|**Vietnamese (Vietnam)**|`vi-VN`|\n|**Welsh (United Kingdom)**|`cy-GB`|\n|**Wu Chinese (China)**|`wuu-CN`|\n|**Xhosa (South Africa)**|`xh-ZA`|\n|**Zulu (South Africa)**|`zu-ZA`|\n\n

Supported Models

\n\n", "summary": "Text to Speech launch job", "tags": ["Text To Speech Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/TextToSpeechAsyncRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/TextToSpeechAsyncRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "audio_audio_text_to_speech_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Text To Speech delete Jobs", "tags": ["Text To Speech Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/audio/text_to_speech_async/{public_id}/": {"get": {"operationId": "audio_audio_text_to_speech_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Text To Speech Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Text To Speech Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncaudiotext_to_speech_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/batch/": {"get": {"operationId": "batch_batch_list", "summary": "List Batch Jobs", "tags": ["Batch"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/BatchList"}}}}, "description": ""}}}}, "/cost_management/": {"get": {"operationId": "cost_management_cost_management_retrieve", "description": "Returns aggregated consumption over time.\n\nOnly `feature`, `subfeature`, `provider`, and `phase` are accepted as row filters; any other unknown query parameter returns 400.\n\nWhen called with a custom API key, results are automatically scoped to that token \u2014 the `user`, `token`, and `group_by=user` query parameters are not allowed and return 400/403.", "summary": "Monitor Consumptions", "parameters": [{"in": "query", "name": "begin", "schema": {"type": "string", "format": "date"}, "required": true}, {"in": "query", "name": "end", "schema": {"type": "string", "format": "date"}, "required": true}, {"in": "query", "name": "group_by", "schema": {"enum": ["user"], "type": "string", "minLength": 1}, "description": "* `user` - user"}, {"in": "query", "name": "provider", "schema": {"type": "string", "minLength": 1, "maxLength": 200}}, {"in": "query", "name": "rag_project_id", "schema": {"type": "string", "format": "uuid"}}, {"in": "query", "name": "step", "schema": {"type": "integer", "maximum": 4, "minimum": 1}, "required": true}, {"in": "query", "name": "subfeature", "schema": {"type": "string", "minLength": 1, "maxLength": 200}}, {"in": "query", "name": "token", "schema": {"type": "string", "minLength": 1}}, {"in": "query", "name": "user", "schema": {"type": "string", "format": "email", "minLength": 1}}, {"in": "query", "name": "workflow_id", "schema": {"type": "string", "format": "uuid"}}], "tags": ["Cost Monitoring"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/CostMonitoringResponse"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/cost_management/credits/": {"get": {"operationId": "cost_management_", "description": "Get you current credits", "summary": "My Credits", "tags": ["Cost Monitoring"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/credits_serializer"}}}, "description": ""}}}}, "/enabled-features/": {"get": {"operationId": "enabled-features_enabled_features_retrieve", "description": "List all enabled features.", "tags": ["enabled-features"], "security": [{"jwtAuth": []}, {}], "responses": {"200": {"description": "No response body"}}}}, "/image/ai_detection/": {"post": {"operationId": "image_image_ai_detection_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**winstonai**|`v1`|0.021 (per 1 request)|1 request\n\n\n
\n\n", "summary": "AI Detection", "tags": ["Ai Detection"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageai_detectionAiDetectionRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageai_detectionAiDetectionRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageai_detectionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/anonymization/": {"post": {"operationId": "image_image_anonymization_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**api4ai**|`v1.0.0`|25.0 (per 1000 file)|1 file\n\n\n
\n\n", "summary": "Anonymization", "tags": ["Anonymization"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageanonymizationimagelandmark_detectionimageexplicit_contentimagedeepfake_detectionImageRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageanonymizationimagelandmark_detectionimageexplicit_contentimagedeepfake_detectionImageRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageanonymizationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/automl_classification/create_project/": {"post": {"operationId": "image_image_automl_classification_create_project_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**nyckel**|`v1.0.0`|free|-\n\n\n
\n\n", "summary": "Automl Classification - Create Project", "tags": ["Automl Classification"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageautoml_classificationcreate_projectAutomlClassificationCreateProjectRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageautoml_classificationcreate_projectAutomlClassificationCreateProjectRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageautoml_classificationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/automl_classification/delete_project/": {"post": {"operationId": "image_image_automl_classification_delete_project_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**nyckel**|`v1.0.0`|free|-\n\n\n
\n\n", "summary": "Automl Classification - Delete Project", "tags": ["Automl Classification"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageautoml_classificationdelete_projectAutomlClassificationDeleteRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageautoml_classificationdelete_projectAutomlClassificationDeleteRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageautoml_classificationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/automl_classification/list_projects/": {"get": {"operationId": "image_image_automl_classification_list_projects_retrieve", "description": "List Automl Classification Projects", "summary": "Automl Classification - List Projects", "tags": ["Automl Classification"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AutomlClassificationListProjectsResponse"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/automl_classification/predict_async/": {"get": {"operationId": "image_image_automl_classification_predict_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Automl Classification Predict List Job", "tags": ["Automl Classification"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "image_image_automl_classification_predict_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**nyckel**|`v1.0.0`|0.005 (per 1 request)|1 request\n\n\n
\n\n", "summary": "Automl Classification Predict Launch Job", "tags": ["Automl Classification"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AutomlClassificationPredictRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AutomlClassificationPredictRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}}, "/image/automl_classification/predict_async/{public_id}/": {"get": {"operationId": "image_image_automl_classification_predict_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Automl Classification - Predict Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Automl Classification"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageautoml_classificationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/automl_classification/train_async/": {"get": {"operationId": "image_image_automl_classification_train_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Automl Classification Train List Job", "tags": ["Automl Classification"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "image_image_automl_classification_train_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**nyckel**|`v1.0.0`|free|-\n\n\n
\n\n", "summary": "Automl Classification Train Launch Job", "tags": ["Automl Classification"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AutomlClassificationTrainRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AutomlClassificationTrainRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}}, "/image/automl_classification/train_async/{public_id}/": {"get": {"operationId": "image_image_automl_classification_train_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Automl Classification - Train Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Automl Classification"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageautoml_classificationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/automl_classification/upload_data_async/": {"get": {"operationId": "image_image_automl_classification_upload_data_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Automl Classification Upload Data List Job", "tags": ["Automl Classification"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "image_image_automl_classification_upload_data_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**nyckel**|`v1.0.0`|0.0005 (per 1 file)|1 file\n\n\n
\n\n", "summary": "Automl Classification Upload Data Launch Job", "tags": ["Automl Classification"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AutomlClassificationUploadDataRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AutomlClassificationUploadDataRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}}, "/image/automl_classification/upload_data_async/{public_id}/": {"get": {"operationId": "image_image_automl_classification_upload_data_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Automl Classification - Upload Data Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Automl Classification"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageautoml_classificationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/background_removal/": {"post": {"operationId": "image_image_background_removal_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**api4ai**|`v1.0.0`|50.0 (per 1000 file)|1 file\n|**photoroom**|`v1`|20.0 (per 1000 file)|1 file\n|**sentisight**|`v3.3.1`|0.75 (per 1000 file)|1 file\n|**stabilityai**|`v2Beta`|0.02 (per 1 request)|1 request\n|**clipdrop**|`v1Beta`|0.5 (per 1 request)|1 request\n|**picsart**|`1.0`|0.04 (per 1 image)|1 image\n\n\n
\n\n", "summary": "Background Removal", "tags": ["Background Removal"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagebackground_removalBackgroundRemovalRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imagebackground_removalBackgroundRemovalRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagebackground_removalResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/deepfake_detection/": {"post": {"operationId": "image_image_deepfake_detection_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**sightengine**|`v1beta`|0.002 (per 1 image)|1 image\n\n\n
\n\n", "summary": "Deepfake Detection", "tags": ["Deepfake Detection"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageanonymizationimagelandmark_detectionimageexplicit_contentimagedeepfake_detectionImageRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageanonymizationimagelandmark_detectionimageexplicit_contentimagedeepfake_detectionImageRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagedeepfake_detectionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/embeddings/": {"post": {"operationId": "image_image_embeddings_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|-|`v1`|0.06 (per 1000 file)|1 file\n|**google**|**gemini-embedding-001**|`v1`|0.0 (per 1 token)|1 token\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**English**|`en`|\n|**French**|`fr`|\n|**German**|`de`|\n|**Italian**|`it`|\n|**Spanish**|`es`|\n\n

Supported Models

\n\n", "summary": "Embeddings", "tags": ["Embeddings"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageembeddingsEmbeddingsRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageembeddingsEmbeddingsRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageembeddingsResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/explicit_content/": {"post": {"operationId": "image_image_explicit_content_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|-|`boto3 (v1.15.18)`|1.0 (per 1000 file)|1 file\n|**clarifai**|-|`8.0.0`|2.0 (per 1000 file)|1 file\n|**google**|-|`v1`|1.5 (per 1000 file)|1 file\n|**microsoft**|-|`v3.2`|1.0 (per 1000 file)|1 file\n|**sentisight**|-|`v3.3.1`|0.75 (per 1000 file)|1 file\n|**openai**|**gpt-4o**|`v1`|24.0 (per 1000 file)|1 file\n|**openai**|-|`v1`|24.0 (per 1000 file)|1 file\n\n\n
\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n\n
", "summary": "Explicit Content Detection", "tags": ["Explicit Content"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageanonymizationimagelandmark_detectionimageexplicit_contentimagedeepfake_detectionImageRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageanonymizationimagelandmark_detectionimageexplicit_contentimagedeepfake_detectionImageRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageexplicit_contentResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/face_compare/": {"post": {"operationId": "image_image_face_compare_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**base64**|`latest`|0.25 (per 1 request)|1 request\n|**facepp**|`v3`|2.0 (per 1000 request)|1 request\n|**amazon**|`boto3 (v1.15.18)`|1.0 (per 1000 request)|1 request\n\n\n
\n\n", "summary": "Face Comparison", "tags": ["Face Compare"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageface_compareFaceCompareRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageface_compareFaceCompareRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageface_compareResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/face_detection/": {"post": {"operationId": "image_image_face_detection_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3 (v1.15.18)`|1.0 (per 1000 file)|1 file\n|**clarifai**|`8.0.0`|2.0 (per 1000 file)|1 file\n|**google**|`v1`|1.5 (per 1000 file)|1 file\n|**api4ai**|`v1.0.0`|0.75 (per 1000 file)|1 file\n\n\n
\n\n", "summary": "Face Detection", "tags": ["Face Detection"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageface_detectionFaceDetectionRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageface_detectionFaceDetectionRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageface_detectionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/face_recognition/add_face/": {"post": {"operationId": "image_image_face_recognition_add_face_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3 1.26.8`|1.0 (per 1000 image)|1 image\n|**facepp**|`v3`|0.6 (per 1000 request)|1 request\n\n\n
\n\n", "summary": "Face Recognition - Add Face", "tags": ["Face Recognition"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageface_recognitionadd_faceFaceRecognitionAddFaceRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageface_recognitionadd_faceFaceRecognitionAddFaceRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageface_recognitionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/face_recognition/delete_face/": {"post": {"operationId": "image_image_face_recognition_delete_face_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3 1.26.8`|free|-\n|**facepp**|`v3`|0.1 (per 1000 request)|1 request\n\n\n
\n\n", "summary": "Face Recognition - Delete Face", "tags": ["Face Recognition"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageface_recognitiondelete_faceFaceRecognitionDeleteFaceRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageface_recognitionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/face_recognition/list_faces/": {"get": {"operationId": "image_image_face_recognition_list_faces_retrieve", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3 1.26.8`|free|-\n|**facepp**|`v3`|0.1 (per 1000 request)|1 request\n\n\n
\n\n", "summary": "Face Recognition - List Faces", "parameters": [{"in": "query", "name": "attributes_as_list", "schema": {"type": "boolean", "default": false}, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, {"in": "query", "name": "fallback_providers", "schema": {"type": "array", "items": {"type": "string"}, "default": [], "maxItems": 5}, "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n "}, {"in": "query", "name": "providers", "schema": {"type": "array", "items": {"type": "string", "minLength": 1}}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)", "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, {"in": "query", "name": "settings", "schema": {"type": "string", "default": {}}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}], "tags": ["Face Recognition"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageface_recognitionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/face_recognition/recognize/": {"post": {"operationId": "image_image_face_recognition_recognize_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3 1.26.8`|1.0 (per 1000 file)|1 file\n|**facepp**|`v3`|2.0 (per 1000 request)|1 request\n\n\n
\n\n", "summary": "Face Recognition - Recognize Face", "tags": ["Face Recognition"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageface_recognitionrecognizeFaceRecognitionDetectFaceRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageface_recognitionrecognizeFaceRecognitionDetectFaceRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageface_recognitionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/generation/": {"post": {"operationId": "image_image_generation_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Resolution|Price|Billing unit|\n|----|----|-------|------|-----|------------|\n|**openai**|-|`v1Beta`|`1024x1024`|0.034 (per 1 image)|1 image\n|**openai**|**gpt-image-2**|`v1Beta`|`1024x1024`|0.053 (per 1 image)|1 image\n|**openai**|**gpt-image-1**|`v1Beta`|`1024x1024`|0.042 (per 1 image)|None image\n|**openai**|**gpt-image-1.5**|`v1Beta`|`1024x1024`|0.034 (per 1 image)|None image\n|**openai**|**gpt-image-1-mini**|`v1Beta`|`1024x1024`|0.011 (per 1 image)|None image\n|**stabilityai**|**stable-diffusion-xl-1024-v1-0**|`v1Beta`|`1024x1024`|15.0 (per 1000 image)|1 image\n|**stabilityai**|-|`v1Beta`|`1024x1024`|15.0 (per 1000 image)|1 image\n|**stabilityai**|**stable-diffusion-xl-1024-v1-0**|`v1Beta`|`1152x896`|15.0 (per 1000 image)|1 image\n|**stabilityai**|**stable-diffusion-xl-1024-v1-0**|`v1Beta`|`896x1152`|15.0 (per 1000 image)|1 image\n|**stabilityai**|**stable-diffusion-xl-1024-v1-0**|`v1Beta`|`1216x832`|15.0 (per 1000 image)|1 image\n|**stabilityai**|**stable-diffusion-xl-1024-v1-0**|`v1Beta`|`1344x768`|15.0 (per 1000 image)|1 image\n|**stabilityai**|**stable-diffusion-xl-1024-v1-0**|`v1Beta`|`768x1344`|15.0 (per 1000 image)|1 image\n|**stabilityai**|**stable-diffusion-xl-1024-v1-0**|`v1Beta`|`1536x640`|15.0 (per 1000 image)|1 image\n|**stabilityai**|**stable-diffusion-xl-1024-v1-0**|`v1Beta`|`640x1536`|15.0 (per 1000 image)|1 image\n|**replicate**|**anime-style**|`v1`|`1024x1024`|0.000225 (per 1 exec_time)|1 exec_time\n|**replicate**|**anime-style**|`v1`|`256x256`|0.000225 (per 1 exec_time)|1 exec_time\n|**replicate**|-|`v1`|-|0.000225 (per 1 exec_time)|1 exec_time\n|**replicate**|**classic**|`v1`|`512x512`|0.00115 (per 1 exec_time)|1 exec_time\n|**replicate**|**anime-style**|`v1`|`512x512`|0.000225 (per 1 exec_time)|1 exec_time\n|**replicate**|**vintedois-diffusion**|`v1`|`512x512`|0.000225 (per 1 exec_time)|1 exec_time\n|**replicate**|**vintedois-diffusion**|`v1`|`1024x1024`|0.000225 (per 1 exec_time)|1 exec_time\n|**replicate**|**vintedois-diffusion**|`v1`|`256x256`|0.000225 (per 1 exec_time)|1 exec_time\n|**replicate**|**classic**|`v1`|`1024x1024`|0.00115 (per 1 exec_time)|1 exec_time\n|**replicate**|**classic**|`v1`|`256x256`|0.00115 (per 1 exec_time)|1 exec_time\n|**leonardo**|**Leonardo Phoenix**|`v1`|`1024x1024`|0.017 (per 1 image)|1 image\n|**leonardo**|**Leonardo Phoenix**|`v1`|`512x512`|0.014 (per 1 image)|1 image\n|**leonardo**|**Leonardo Lightning XL**|`v1`|`512x512`|0.011 (per 1 image)|1 image\n|**leonardo**|**Leonardo Lightning XL**|`v1`|`1024x1024`|0.012 (per 1 image)|1 image\n|**leonardo**|**Leonardo Anime XL**|`v1`|`512x512`|0.011 (per 1 image)|1 image\n|**leonardo**|**Leonardo Anime XL**|`v1`|`1024x1024`|0.012 (per 1 image)|1 image\n|**leonardo**|**Leonardo Kino XL**|`v1`|`512x512`|0.014 (per 1 image)|1 image\n|**leonardo**|**Leonardo Kino XL**|`v1`|`1024x1024`|0.017 (per 1 image)|1 image\n|**leonardo**|**Leonardo Vision XL**|`v1`|`512x512`|0.014 (per 1 image)|1 image\n|**leonardo**|**Leonardo Vision XL**|`v1`|`1024x1024`|0.017 (per 1 image)|1 image\n|**leonardo**|**Leonardo Diffusion XL**|`v1`|`512x512`|0.014 (per 1 image)|1 image\n|**leonardo**|**Leonardo Diffusion XL**|`v1`|`1024x1024`|0.017 (per 1 image)|1 image\n|**leonardo**|**AlbedoBase XL**|`v1`|`512x512`|0.014 (per 1 image)|1 image\n|**leonardo**|**AlbedoBase XL**|`v1`|`1024x1024`|0.017 (per 1 image)|1 image\n|**leonardo**|**SDXL 0.9**|`v1`|`512x512`|0.014 (per 1 image)|1 image\n|**leonardo**|**SDXL 0.9**|`v1`|`1024x1024`|0.017 (per 1 image)|1 image\n|**leonardo**|-|`v1`|`512x512`|0.014 (per 1 image)|1 image\n|**leonardo**|-|`v1`|`1024x1024`|0.017 (per 1 image)|1 image\n|**minimax**|**image-01**|`v1`|-|0.0035 (per 1 image)|1 image\n|**minimax**|-|`v1`|-|0.0035 (per 1 image)|1 image\n|**bytedance**|**seedream-5-0-260128**|`v3`|-|0.035 (per 1 image)|1 image\n|**bytedance**|**seedream-4-0-250828**|`v3`|-|0.03 (per 1 request)|1 request\n|**bytedance**|**seedream-4-5-251128**|`v3`|-|0.03 (per 1 request)|1 request\n|**bytedance**|-|`v3`|-|0.03 (per 1 request)|1 request\n|**bytedance**|**seedream-3-0-t2i-250415**|`v3`|-|0.03 (per 1 request)|1 request\n|**google**|-|`v1`|-|0.04 (per 1 image)|1 image\n|**google**|**gemini-2.5-flash-image**|`v1`|-|0.039 (per 1 image)|1 image\n|**google**|**imagen-4.0-generate-001**|`v1`|-|0.04 (per 1 image)|1 image\n|**google**|**imagen-3.0-capability-001**|`v1`|-|0.04 (per 1 image)|1 image\n|**google**|**imagen-4.0-ultra-generate-001**|`v1`|-|0.06 (per 1 image)|1 image\n|**google**|**imagen-4.0-fast-generate-001**|`v1`|-|0.02 (per 1 image)|1 image\n|**google**|**imagen-3.0-generate-002**|`v1`|-|0.04 (per 1 image)|1 image\n|**google**|**imagen-3.0-generate-001**|`v1`|-|0.04 (per 1 image)|1 image\n|**google**|**imagen-3.0-fast-generate-001**|`v1`|-|0.02 (per 1 image)|1 image\n|**google**|**gemini-3-pro-image-preview**|`v1`|-|0.039 (per 1 image)|1 image\n\n\n
\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-image-1.5`|\n|**stabilityai**|`stable-diffusion-xl-1024-v1-0`|\n|**replicate**|`classic`|\n|**leonardo**|`Leonardo Phoenix`|\n|**minimax**|`image-01`|\n|**bytedance**|`seedream-3-0-t2i-250415`|\n|**google**|`imagen-4.0-generate-001`|\n\n
", "summary": "Image generation", "tags": ["Generation"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagegenerationGenerationRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagegenerationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/landmark_detection/": {"post": {"operationId": "image_image_landmark_detection_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**google**|`v1`|1.5 (per 1000 file)|1 file\n|**microsoft**|`v3.2`|1.0 (per 1000 file)|1 file\n\n\n
\n\n", "summary": "Landmark Detection", "tags": ["Landmark Detection"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageanonymizationimagelandmark_detectionimageexplicit_contentimagedeepfake_detectionImageRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageanonymizationimagelandmark_detectionimageexplicit_contentimagedeepfake_detectionImageRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagelandmark_detectionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/logo_detection/": {"post": {"operationId": "image_image_logo_detection_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**google**|-|`v1`|1.5 (per 1000 file)|1 file\n|**microsoft**|-|`v3.2`|1.0 (per 1000 file)|1 file\n|**api4ai**|-|`v1.0.0`|0.25 (per 1000 file)|1 file\n|**api4ai**|**v1**|`v1.0.0`|0.25 (per 1000 file)|1 file\n|**api4ai**|**v2**|`v1.0.0`|2.5 (per 1000 file)|1 file\n|**clarifai**|-|`8.0.0`|2.0 (per 1000 file)|1 file\n|**openai**|-|`v1`|24.0 (per 1000 file)|1 file\n|**openai**|**gpt-4o**|`v1`|24.0 (per 1000 file)|1 file\n|**openai**|**gpt-4-turbo**|`v1`|48.0 (per 1000 file)|1 file\n\n\n
\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**api4ai**|`v1`|\n|**openai**|`gpt-4o`|\n\n
", "summary": "Logo Detection", "tags": ["Logo Detection"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagelogo_detectionLogoDetectionRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imagelogo_detectionLogoDetectionRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagelogo_detectionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/object_detection/": {"post": {"operationId": "image_image_object_detection_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|-|`boto3 (v1.15.18)`|1.0 (per 1000 file)|1 file\n|**api4ai**|-|`1.9.2`|0.5 (per 1000 file)|1 file\n|**clarifai**|-|`8.0.0`|2.0 (per 1000 file)|1 file\n|**clarifai**|**general-image-detection**|`8.0.0`|2.0 (per 1000 file)|1 file\n|**google**|-|`v1`|2.25 (per 1000 file)|1 file\n|**microsoft**|-|`v3.2`|1.0 (per 1000 file)|1 file\n|**sentisight**|-|`v3.3.1`|0.75 (per 1000 file)|1 file\n\n\n
\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**clarifai**|`general-image-detection`|\n\n
", "summary": "Object Detection", "tags": ["Object Detection"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageobject_detectionObjectDetectionRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imageobject_detectionObjectDetectionRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imageobject_detectionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/question_answer/": {"post": {"operationId": "image_image_question_answer_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**openai**|**gpt-4-turbo**|`v1`|30.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4o-2024-08-06**|`v1`|10.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4.1-2025-04-14**|`v1`|8.0 (per 1000000 token)|1 token\n|**openai**|**gpt-5**|`v1`|10.0 (per 1000000 token)|1 token\n|**openai**|**o1**|`v1`|60.0 (per 1000000 token)|1 token\n|**openai**|**o1-mini**|`v1`|12.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4o**|`v1`|10.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4o-mini**|`v1`|0.6 (per 1000000 token)|1 token\n|**google**|**gemini-1.5-pro**|`v1`|10.0 (per 1000000 token)|1 token\n|**google**|**gemini-2.5-flash**|`v1`|2.5 (per 1000000 token)|1 token\n|**google**|**gemini-2.5-pro**|`v1`|15.0 (per 1000000 token)|1 token\n|**google**|**gemini-2.0-flash**|`v1`|0.4 (per 1000000 token)|1 token\n|**google**|**gemini-1.5-flash**|`v1`|0.6 (per 1000000 token)|1 token\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**English**|`en`|\n|**French**|`fr`|\n|**German**|`de`|\n|**Italian**|`it`|\n|**Spanish**|`es`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n|**google**|`gemini-2.5-pro`|\n\n
", "summary": "Question Answer", "tags": ["Question Answer"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagequestion_answerQuestionAnswerRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imagequestion_answerQuestionAnswerRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagequestion_answerResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/search/delete_image/": {"post": {"operationId": "image_image_search_delete_image_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**sentisight**|`v3.3.1`|free|-\n|**nyckel**|`v1.0.0`|free|-\n\n\n
\n\n", "summary": "Search - Delete phase", "tags": ["Search"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagesearchdelete_imageDeleteImageRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imagesearchdelete_imageDeleteImageRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagesearchResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/search/get_image/": {"get": {"operationId": "image_image_search_get_image_retrieve", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**sentisight**|`v3.3.1`|free|-\n|**nyckel**|`v1.0.0`|free|-\n\n\n
\n\n", "summary": "Search - get image", "parameters": [{"in": "query", "name": "attributes_as_list", "schema": {"type": "boolean", "default": false}, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, {"in": "query", "name": "fallback_providers", "schema": {"type": "array", "items": {"type": "string"}, "default": [], "maxItems": 5}, "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n "}, {"in": "query", "name": "image_name", "schema": {"type": "string", "minLength": 1}, "required": true}, {"in": "query", "name": "providers", "schema": {"type": "array", "items": {"type": "string", "minLength": 1}}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)", "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, {"in": "query", "name": "settings", "schema": {"type": "string", "default": {}}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}], "tags": ["Search"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagesearchResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/search/get_images/": {"get": {"operationId": "image_image_search_get_images_retrieve", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**sentisight**|`v3.3.1`|free|-\n|**nyckel**|`v1.0.0`|free|-\n\n\n
\n\n", "summary": "Search - list all images", "parameters": [{"in": "query", "name": "attributes_as_list", "schema": {"type": "boolean", "default": false}, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, {"in": "query", "name": "fallback_providers", "schema": {"type": "array", "items": {"type": "string"}, "default": [], "maxItems": 5}, "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n "}, {"in": "query", "name": "providers", "schema": {"type": "array", "items": {"type": "string", "minLength": 1}}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)", "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, {"in": "query", "name": "settings", "schema": {"type": "string", "default": {}}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}], "tags": ["Search"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagesearchResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/search/launch_similarity/": {"post": {"operationId": "image_image_search_launch_similarity_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**sentisight**|`v3.3.1`|0.75 (per 1000 file)|1 file\n|**nyckel**|`v1.0.0`|1.0 (per 1000 file)|1 file\n\n\n
\n\n", "summary": "Search - launch similarity", "tags": ["Search"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagesearchlaunch_similaritySearchImageRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imagesearchlaunch_similaritySearchImageRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagesearchResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/image/search/upload_image/": {"post": {"operationId": "image_image_search_upload_image_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**sentisight**|`v3.3.1`|0.75 (per 1000 file)|1 file\n|**nyckel**|`v1.0.0`|0.5 (per 1000 file)|1 file\n\n\n
\n\n", "summary": "Search - Upload Phase", "tags": ["Search"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagesearchupload_imageUploadImageRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/imagesearchupload_imageUploadImageRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/imagesearchResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/info/provider_subfeatures/": {"get": {"operationId": "info_info_provider_subfeatures_list", "description": "List Provider and features relations : You can get a list of *all providers* for a *feature* or *all features* for a *given provider*.\n\nYou can have the detailed information on the **pricing**, **supported languages** as well as the **models** for providers who propose different models (eg: voice models available for a text to speech provider).\n\nExample : If you want the detailed list of all providers that can analyse the sentiment of a text written in french, you'd need to set `feature__name=text`, `subfeature__name=sentiment_analysis` and `languages=fr`.\n\nWhich will look like the following :\n\n\n```bash\ncurl --request GET https://api.edenai.run/v2/info/provider_subfeatures?subfeature__name=sentiment_analysis&feature__name=text&languages=fr\n```", "summary": "List Providers Subfeatures", "parameters": [{"in": "query", "name": "feature__name", "schema": {"type": "string"}}, {"in": "query", "name": "gender", "schema": {"type": "string"}, "description": "Accepts two values: either 'male' or 'female'. Used to filter models voices for the text_to_speech subfeature"}, {"in": "query", "name": "is_working", "schema": {"type": "boolean"}}, {"in": "query", "name": "language", "schema": {"type": "string"}, "description": "languages [icontains]"}, {"in": "query", "name": "phase__name", "schema": {"type": "string"}}, {"in": "query", "name": "provider__name", "schema": {"type": "string"}}, {"in": "query", "name": "subfeature__name", "schema": {"type": "string"}}], "tags": ["Infos"], "responses": {"200": {"content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/ProviderSubfeature"}}}}, "description": ""}}}}, "/llm/chat/": {"post": {"operationId": "llm_llm_chat_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|**amazon.nova-lite-v1:0**|`llmengine (v2)`|0.24 (per 1000000 token)|1 token\n|**amazon**|**amazon.nova-micro-v1:0**|`llmengine (v2)`|0.14 (per 1000000 token)|1 token\n|**amazon**|**amazon.nova-pro-v1:0**|`llmengine (v2)`|3.2 (per 1000000 token)|1 token\n|**anthropic**|**claude-opus-4-6**|`v1`|5e-06 (per 1 token)|1 token\n|**anthropic**|**claude-sonnet-4-20250514**|`v1`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-opus-4-1-20250805**|`v1`|7.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-opus-4-5**|`v1`|2.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-7-sonnet-latest**|`v1`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-5-haiku-20241022**|`v1`|4e-06 (per 1 token)|1 token\n|**anthropic**|**claude-3-5-haiku-latest**|`v1`|5e-06 (per 1 token)|1 token\n|**anthropic**|**claude-haiku-4-5-20251001**|`v1`|5e-06 (per 1 token)|1 token\n|**anthropic**|**claude-haiku-4-5**|`v1`|5e-06 (per 1 token)|1 token\n|**anthropic**|**claude-3-7-sonnet-20250219**|`v1`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-haiku-20240307**|`v1`|1.25e-06 (per 1 token)|1 token\n|**anthropic**|**claude-4-opus-20250514**|`v1`|7.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-4-sonnet-20250514**|`v1`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-sonnet-4-5**|`v1`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-sonnet-4-5-20250929**|`v1`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-opus-4-1**|`v1`|7.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-opus-4-20250514**|`v1`|7.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-opus-4-5-20251101**|`v1`|2.5e-05 (per 1 token)|1 token\n|**cohere**|**command-r7b-12-2024**|`llmengine (v2)`|0.15 (per 1000000 token)|1 token\n|**cohere**|**command-r-08-2024**|`llmengine (v2)`|0.6 (per 1000000 token)|1 token\n|**deepseek**|**deepseek-chat**|`llmengine (v2)`|1.1e-06 (per 1 token)|1 token\n|**deepseek**|**deepseek-reasoner**|`llmengine (v2)`|2.19e-06 (per 1 token)|1 token\n|**deepseek**|**deepseek-coder**|`llmengine (v2)`|2.8e-07 (per 1 token)|1 token\n|**meta**|**meta.llama3-1-405b-instruct-v1:0**|`llmengine (v2)`|2.4 (per 1000000 token)|1 token\n|**meta**|**meta.llama3-1-70b-instruct-v1:0**|`llmengine (v2)`|0.72 (per 1000000 token)|1 token\n|**meta**|**meta.llama3-1-8b-instruct-v1:0**|`llmengine (v2)`|0.22 (per 1000000 token)|1 token\n|**mistral**|**magistral-medium-2506**|`llmengine (v2)`|5e-06 (per 1 token)|1 token\n|**mistral**|**magistral-small-2506**|`llmengine (v2)`|1.5e-06 (per 1 token)|1 token\n|**mistral**|**mistral-medium-latest**|`llmengine (v2)`|2e-06 (per 1 token)|1 token\n|**mistral**|**pixtral-large-latest**|`llmengine (v2)`|6e-06 (per 1 token)|1 token\n|**mistral**|**mistral-small-latest**|`llmengine (v2)`|3e-07 (per 1 token)|1 token\n|**mistral**|**codestral-latest**|`llmengine (v2)`|3e-06 (per 1 token)|1 token\n|**mistral**|**mistral-large-latest**|`llmengine (v2)`|6e-06 (per 1 token)|1 token\n|**mistral**|**codestral-2405**|`llmengine (v2)`|3e-06 (per 1 token)|1 token\n|**mistral**|**codestral-2508**|`llmengine (v2)`|9e-07 (per 1 token)|1 token\n|**mistral**|**devstral-medium-2507**|`llmengine (v2)`|2e-06 (per 1 token)|1 token\n|**mistral**|**devstral-small-2505**|`llmengine (v2)`|3e-07 (per 1 token)|1 token\n|**mistral**|**devstral-small-2507**|`llmengine (v2)`|3e-07 (per 1 token)|1 token\n|**mistral**|**labs-devstral-small-2512**|`llmengine (v2)`|3e-07 (per 1 token)|1 token\n|**mistral**|**devstral-2512**|`llmengine (v2)`|2e-06 (per 1 token)|1 token\n|**mistral**|**magistral-medium-2509**|`llmengine (v2)`|5e-06 (per 1 token)|1 token\n|**mistral**|**magistral-medium-latest**|`llmengine (v2)`|5e-06 (per 1 token)|1 token\n|**mistral**|**magistral-small-latest**|`llmengine (v2)`|1.5e-06 (per 1 token)|1 token\n|**mistral**|**mistral-large-2402**|`llmengine (v2)`|1.2e-05 (per 1 token)|1 token\n|**mistral**|**mistral-large-2407**|`llmengine (v2)`|9e-06 (per 1 token)|1 token\n|**mistral**|**mistral-large-2411**|`llmengine (v2)`|6e-06 (per 1 token)|1 token\n|**mistral**|**mistral-medium**|`llmengine (v2)`|8.1e-06 (per 1 token)|1 token\n|**mistral**|**mistral-medium-2312**|`llmengine (v2)`|8.1e-06 (per 1 token)|1 token\n|**mistral**|**mistral-medium-2505**|`llmengine (v2)`|2e-06 (per 1 token)|1 token\n|**mistral**|**mistral-small**|`llmengine (v2)`|3e-07 (per 1 token)|1 token\n|**mistral**|**mistral-tiny**|`llmengine (v2)`|2.5e-07 (per 1 token)|1 token\n|**mistral**|**open-mistral-7b**|`llmengine (v2)`|2.5e-07 (per 1 token)|1 token\n|**mistral**|**open-mistral-nemo**|`llmengine (v2)`|3e-07 (per 1 token)|1 token\n|**mistral**|**open-mistral-nemo-2407**|`llmengine (v2)`|3e-07 (per 1 token)|1 token\n|**mistral**|**open-mixtral-8x22b**|`llmengine (v2)`|6e-06 (per 1 token)|1 token\n|**mistral**|**open-mixtral-8x7b**|`llmengine (v2)`|7e-07 (per 1 token)|1 token\n|**mistral**|**pixtral-12b-2409**|`llmengine (v2)`|1.5e-07 (per 1 token)|1 token\n|**mistral**|**pixtral-large-2411**|`llmengine (v2)`|6e-06 (per 1 token)|1 token\n|**openai**|**o4-mini**|`llmengine (v2)`|4.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini-2025-04-14**|`llmengine (v2)`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano-2025-04-14**|`llmengine (v2)`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-5.1**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-mini**|`llmengine (v2)`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-nano**|`llmengine (v2)`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-5-chat-latest**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-pro**|`llmengine (v2)`|100.0 (per 1000000 token)|1 token\n|**openai**|**o4-mini-2025-04-16**|`llmengine (v2)`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o3**|`llmengine (v2)`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4**|`llmengine (v2)`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-05-13**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo**|`llmengine (v2)`|3e-05 (per 1 token)|1 token\n|**openai**|**o1-2024-12-17**|`llmengine (v2)`|6e-05 (per 1 token)|1 token\n|**openai**|**o1**|`llmengine (v2)`|6e-05 (per 1 token)|1 token\n|**openai**|**o3-mini**|`llmengine (v2)`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o3-mini-2025-01-31**|`llmengine (v2)`|4.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-08-06**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-2024-07-18**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo**|`llmengine (v2)`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-5.2**|`llmengine (v2)`|1.4e-05 (per 1 token)|1 token\n|**openai**|**chatgpt-4o-latest**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0125**|`llmengine (v2)`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-1106**|`llmengine (v2)`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k**|`llmengine (v2)`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4-0125-preview**|`llmengine (v2)`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0314**|`llmengine (v2)`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0613**|`llmengine (v2)`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-preview**|`llmengine (v2)`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-2024-04-09**|`llmengine (v2)`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-preview**|`llmengine (v2)`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4.1**|`llmengine (v2)`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-2025-04-14**|`llmengine (v2)`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini**|`llmengine (v2)`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano**|`llmengine (v2)`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-11-20**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview-2025-03-11**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview-2025-03-11**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-2025-11-13**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-chat-latest**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-2025-12-11**|`llmengine (v2)`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-chat-latest**|`llmengine (v2)`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-2025-08-07**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-mini-2025-08-07**|`llmengine (v2)`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-nano-2025-08-07**|`llmengine (v2)`|4e-07 (per 1 token)|1 token\n|**openai**|**o3-2025-04-16**|`llmengine (v2)`|8e-06 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen2.5-72B-Instruct-Turbo**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo**|`llmengine (v2)`|1.8e-07 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo**|`llmengine (v2)`|8.8e-07 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen2.5-72B-Instruct-Turbo**|`llmengine (v2)`|1.2 (per 1000000 token)|1 token\n|**together_ai**|**meta-llama/Llama-3.3-70B-Instruct-Turbo**|`llmengine (v2)`|8.8e-07 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Llama-3.3-70B-Instruct-Turbo**|`llmengine (v2)`|8.8e-07 (per 1 token)|1 token\n|**together_ai**|**mistralai/Mixtral-8x7B-Instruct-v0.1**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**together_ai**|**openai/gpt-oss-120b**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen3-235B-A22B-Thinking-2507**|`llmengine (v2)`|3e-06 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen3-235B-A22B-fp8-tput**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8**|`llmengine (v2)`|2e-06 (per 1 token)|1 token\n|**together_ai**|**deepseek-ai/DeepSeek-R1**|`llmengine (v2)`|7e-06 (per 1 token)|1 token\n|**together_ai**|**deepseek-ai/DeepSeek-R1-0528-tput**|`llmengine (v2)`|2.19e-06 (per 1 token)|1 token\n|**together_ai**|**deepseek-ai/DeepSeek-V3**|`llmengine (v2)`|1.25e-06 (per 1 token)|1 token\n|**together_ai**|**deepseek-ai/DeepSeek-V3.1**|`llmengine (v2)`|1.7e-06 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8**|`llmengine (v2)`|8.5e-07 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Llama-4-Scout-17B-16E-Instruct**|`llmengine (v2)`|5.9e-07 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo**|`llmengine (v2)`|3.5e-06 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo**|`llmengine (v2)`|8.8e-07 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo**|`llmengine (v2)`|1.8e-07 (per 1 token)|1 token\n|**together_ai**|**mistralai/Mixtral-8x7B-Instruct-v0.1**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**together_ai**|**moonshotai/Kimi-K2-Instruct**|`llmengine (v2)`|3e-06 (per 1 token)|1 token\n|**together_ai**|**openai/gpt-oss-20b**|`llmengine (v2)`|2e-07 (per 1 token)|1 token\n|**together_ai**|**zai-org/GLM-4.5-Air-FP8**|`llmengine (v2)`|1.1e-06 (per 1 token)|1 token\n|**together_ai**|**zai-org/GLM-4.6**|`llmengine (v2)`|2.2e-06 (per 1 token)|1 token\n|**together_ai**|**moonshotai/Kimi-K2-Instruct-0905**|`llmengine (v2)`|3e-06 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen3-Next-80B-A3B-Instruct**|`llmengine (v2)`|1.5e-06 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen3-Next-80B-A3B-Thinking**|`llmengine (v2)`|1.5e-06 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen3-235B-A22B-Instruct-2507-tput**|`llmengine (v2)`|6e-06 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo**|`llmengine (v2)`|3.5e-06 (per 1 token)|1 token\n|**xai**|**grok-2-vision-1212**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-4-0709**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-0709**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-1212**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-latest**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-latest**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-3**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-beta**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-beta**|`llmengine (v2)`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-latest**|`llmengine (v2)`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-latest**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-mini**|`llmengine (v2)`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-beta**|`llmengine (v2)`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast**|`llmengine (v2)`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-beta**|`llmengine (v2)`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-latest**|`llmengine (v2)`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-latest**|`llmengine (v2)`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-fast-reasoning**|`llmengine (v2)`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-fast-non-reasoning**|`llmengine (v2)`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-latest**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast**|`llmengine (v2)`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning**|`llmengine (v2)`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning-latest**|`llmengine (v2)`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning**|`llmengine (v2)`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning-latest**|`llmengine (v2)`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-code-fast**|`llmengine (v2)`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1**|`llmengine (v2)`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1-0825**|`llmengine (v2)`|1.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash**|`llmengine (v2)`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-3-pro-preview**|`llmengine (v2)`|1.2e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-image-preview**|`llmengine (v2)`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-3.1-pro-preview**|`llmengine (v2)`|1.2e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite**|`llmengine (v2)`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-3-pro-image-preview**|`llmengine (v2)`|12.0 (per 1000000 token)|1 token\n|**google**|**gemini-3-flash-preview**|`llmengine (v2)`|3e-06 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-lite**|`llmengine (v2)`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash**|`llmengine (v2)`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-001**|`llmengine (v2)`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite-preview-09-2025**|`llmengine (v2)`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-09-2025**|`llmengine (v2)`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-flash-latest**|`llmengine (v2)`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-flash-lite-latest**|`llmengine (v2)`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**google**|**gemma-3-27b-it**|`llmengine (v2)`|0.0 (per 1 token)|1 token\n|**groq**|**llama-3.1-8b-instant**|`v1`|8e-08 (per 1 token)|1 token\n|**groq**|**openai/gpt-oss-120b**|`v1`|7.5e-07 (per 1 token)|1 token\n|**groq**|**llama-3.3-70b-versatile**|`v1`|7.9e-07 (per 1 token)|1 token\n|**groq**|**llama-3.3-70b-versatile**|`v1`|7.9e-07 (per 1 token)|1 token\n|**groq**|**llama-3.1-8b-instant**|`v1`|8e-08 (per 1 token)|1 token\n|**groq**|**meta-llama/llama-guard-4-12b**|`v1`|2e-07 (per 1 token)|1 token\n|**groq**|**meta-llama/llama-4-maverick-17b-128e-instruct**|`v1`|6e-07 (per 1 token)|1 token\n|**groq**|**meta-llama/llama-4-scout-17b-16e-instruct**|`v1`|3.4e-07 (per 1 token)|1 token\n|**groq**|**moonshotai/kimi-k2-instruct-0905**|`v1`|3e-06 (per 1 token)|1 token\n|**groq**|**openai/gpt-oss-20b**|`v1`|5e-07 (per 1 token)|1 token\n|**groq**|**qwen/qwen3-32b**|`v1`|5.9e-07 (per 1 token)|1 token\n|**microsoft**|**gpt-4o**|`Azure AI Foundry`|5.0 (per 1000000 token)|1 token\n|**microsoft**|**o3-mini**|`Azure AI Foundry`|4.4 (per 1000000 token)|1 token\n|**microsoft**|**o1-mini**|`Azure AI Foundry`|12.0 (per 1000000 token)|1 token\n|**microsoft**|**gpt-4o-mini**|`Azure AI Foundry`|0.66 (per 1000000 token)|1 token\n|**microsoft**|**gpt-4**|`Azure AI Foundry`|60.0 (per 1000000 token)|1 token\n|**microsoft**|**gpt-35-turbo-16k**|`Azure AI Foundry`|4.0 (per 1000000 token)|1 token\n|**microsoft**|**gpt-35-turbo**|`Azure AI Foundry`|1.5 (per 1000000 token)|1 token\n|**minimax**|**minimax-m1**|`v1`|2.2 (per 1000000 token)|1 token\n|**minimax**|**minimax-text-01**|`v1`|1.1 (per 1000000 token)|1 token\n|**minimax**|**MiniMax-M2.1**|`v1`|1.2e-06 (per 1 token)|1 token\n|**minimax**|**MiniMax-M2.1-lightning**|`v1`|2.4e-06 (per 1 token)|1 token\n|**minimax**|**MiniMax-M2**|`v1`|1.2e-06 (per 1 token)|1 token\n|**bytedance**|**seed-1-6-250915**|`llmengine (v2)`|2.0 (per 1000000 token)|1 token\n|**dashscope**|**qwen3-max**|`v1`|2.5 (per 1000000 token)|1 token\n|**dashscope**|**qwen-max**|`v1`|6.4e-06 (per 1 token)|1 token\n|**dashscope**|**qwen-plus**|`v1`|1.2e-06 (per 1 token)|1 token\n|**dashscope**|**qwen-plus-2025-01-25**|`v1`|1.2e-06 (per 1 token)|1 token\n|**dashscope**|**qwen-plus-2025-04-28**|`v1`|1.2e-06 (per 1 token)|1 token\n|**dashscope**|**qwen-plus-2025-07-14**|`v1`|1.2e-06 (per 1 token)|1 token\n|**dashscope**|**qwen-turbo**|`v1`|2e-07 (per 1 token)|1 token\n|**dashscope**|**qwen-turbo-2024-11-01**|`v1`|2e-07 (per 1 token)|1 token\n|**dashscope**|**qwen-turbo-2025-04-28**|`v1`|2e-07 (per 1 token)|1 token\n|**dashscope**|**qwen-turbo-latest**|`v1`|2e-07 (per 1 token)|1 token\n|**perplexityai**|**sonar**|`llmengine (v2)`|1.0 (per 1000000 token)|1 token\n|**perplexityai**|**sonar**|`llmengine (v2)`|1e-06 (per 1 token)|1 token\n|**perplexityai**|**sonar-pro**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**perplexityai**|**sonar-deep-research**|`llmengine (v2)`|8e-06 (per 1 token)|1 token\n|**perplexityai**|**sonar-pro**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**perplexityai**|**sonar-reasoning-pro**|`llmengine (v2)`|8e-06 (per 1 token)|1 token\n|**deepinfra**|**Gryphe/MythoMax-L2-13b**|`v1`|9e-08 (per 1 token)|1 token\n|**deepinfra**|**NousResearch/Hermes-3-Llama-3.1-405B**|`v1`|1e-06 (per 1 token)|1 token\n|**deepinfra**|**NousResearch/Hermes-3-Llama-3.1-70B**|`v1`|3e-07 (per 1 token)|1 token\n|**deepinfra**|**Qwen/QwQ-32B**|`v1`|4e-07 (per 1 token)|1 token\n|**deepinfra**|**Qwen/Qwen2.5-72B-Instruct**|`v1`|3.9e-07 (per 1 token)|1 token\n|**deepinfra**|**Qwen/Qwen2.5-7B-Instruct**|`v1`|1e-07 (per 1 token)|1 token\n|**deepinfra**|**Qwen/Qwen2.5-VL-32B-Instruct**|`v1`|6e-07 (per 1 token)|1 token\n|**deepinfra**|**Qwen/Qwen3-14B**|`v1`|2.4e-07 (per 1 token)|1 token\n|**deepinfra**|**Qwen/Qwen3-235B-A22B**|`v1`|5.4e-07 (per 1 token)|1 token\n|**deepinfra**|**Qwen/Qwen3-235B-A22B-Instruct-2507**|`v1`|6e-07 (per 1 token)|1 token\n|**deepinfra**|**Qwen/Qwen3-235B-A22B-Thinking-2507**|`v1`|2.9e-06 (per 1 token)|1 token\n|**deepinfra**|**Qwen/Qwen3-30B-A3B**|`v1`|2.9e-07 (per 1 token)|1 token\n|**deepinfra**|**Qwen/Qwen3-32B**|`v1`|2.8e-07 (per 1 token)|1 token\n|**deepinfra**|**Qwen/Qwen3-Coder-480B-A35B-Instruct**|`v1`|1.6e-06 (per 1 token)|1 token\n|**deepinfra**|**Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo**|`v1`|1.2e-06 (per 1 token)|1 token\n|**deepinfra**|**Qwen/Qwen3-Next-80B-A3B-Instruct**|`v1`|1.4e-06 (per 1 token)|1 token\n|**deepinfra**|**Sao10K/L3-8B-Lunaris-v1-Turbo**|`v1`|5e-08 (per 1 token)|1 token\n|**deepinfra**|**Sao10K/L3.1-70B-Euryale-v2.2**|`v1`|7.5e-07 (per 1 token)|1 token\n|**deepinfra**|**Sao10K/L3.3-70B-Euryale-v2.3**|`v1`|7.5e-07 (per 1 token)|1 token\n|**deepinfra**|**anthropic/claude-3-7-sonnet-latest**|`v1`|1.65e-05 (per 1 token)|1 token\n|**deepinfra**|**anthropic/claude-4-opus**|`v1`|8.25e-05 (per 1 token)|1 token\n|**deepinfra**|**anthropic/claude-4-sonnet**|`v1`|1.65e-05 (per 1 token)|1 token\n|**deepinfra**|**deepseek-ai/DeepSeek-R1**|`v1`|2.4e-06 (per 1 token)|1 token\n|**deepinfra**|**nvidia/Llama-3.3-Nemotron-Super-49B-v1.5**|`v1`|4e-07 (per 1 token)|1 token\n|**deepinfra**|**deepseek-ai/DeepSeek-R1-0528**|`v1`|2.15e-06 (per 1 token)|1 token\n|**deepinfra**|**deepseek-ai/DeepSeek-R1-Distill-Llama-70B**|`v1`|6e-07 (per 1 token)|1 token\n|**deepinfra**|**deepseek-ai/DeepSeek-R1-Distill-Qwen-32B**|`v1`|2.7e-07 (per 1 token)|1 token\n|**deepinfra**|**deepseek-ai/DeepSeek-R1-Turbo**|`v1`|3e-06 (per 1 token)|1 token\n|**deepinfra**|**deepseek-ai/DeepSeek-V3**|`v1`|8.9e-07 (per 1 token)|1 token\n|**deepinfra**|**deepseek-ai/DeepSeek-V3-0324**|`v1`|8.8e-07 (per 1 token)|1 token\n|**deepinfra**|**deepseek-ai/DeepSeek-V3.1**|`v1`|1e-06 (per 1 token)|1 token\n|**deepinfra**|**deepseek-ai/DeepSeek-V3.1-Terminus**|`v1`|1e-06 (per 1 token)|1 token\n|**deepinfra**|**google/gemini-2.0-flash-001**|`v1`|4e-07 (per 1 token)|1 token\n|**deepinfra**|**google/gemini-2.5-flash**|`v1`|2.5e-06 (per 1 token)|1 token\n|**deepinfra**|**google/gemini-2.5-pro**|`v1`|1e-05 (per 1 token)|1 token\n|**deepinfra**|**google/gemma-3-12b-it**|`v1`|1e-07 (per 1 token)|1 token\n|**deepinfra**|**google/gemma-3-27b-it**|`v1`|1.6e-07 (per 1 token)|1 token\n|**deepinfra**|**google/gemma-3-4b-it**|`v1`|8e-08 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Llama-3.2-11B-Vision-Instruct**|`v1`|4.9e-08 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Llama-3.2-3B-Instruct**|`v1`|2e-08 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Llama-3.3-70B-Instruct**|`v1`|4e-07 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Llama-3.3-70B-Instruct-Turbo**|`v1`|3.9e-07 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8**|`v1`|6e-07 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Llama-4-Scout-17B-16E-Instruct**|`v1`|3e-07 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Llama-Guard-3-8B**|`v1`|5.5e-08 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Llama-Guard-4-12B**|`v1`|1.8e-07 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Meta-Llama-3-8B-Instruct**|`v1`|6e-08 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Meta-Llama-3.1-70B-Instruct**|`v1`|4e-07 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo**|`v1`|2.8e-07 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Meta-Llama-3.1-8B-Instruct**|`v1`|5e-08 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo**|`v1`|3e-08 (per 1 token)|1 token\n|**deepinfra**|**microsoft/WizardLM-2-8x22B**|`v1`|4.8e-07 (per 1 token)|1 token\n|**deepinfra**|**microsoft/phi-4**|`v1`|1.4e-07 (per 1 token)|1 token\n|**deepinfra**|**mistralai/Mistral-Nemo-Instruct-2407**|`v1`|4e-08 (per 1 token)|1 token\n|**deepinfra**|**mistralai/Mistral-Small-24B-Instruct-2501**|`v1`|8e-08 (per 1 token)|1 token\n|**deepinfra**|**mistralai/Mistral-Small-3.2-24B-Instruct-2506**|`v1`|2e-07 (per 1 token)|1 token\n|**deepinfra**|**mistralai/Mixtral-8x7B-Instruct-v0.1**|`v1`|4e-07 (per 1 token)|1 token\n|**deepinfra**|**moonshotai/Kimi-K2-Instruct**|`v1`|2e-06 (per 1 token)|1 token\n|**deepinfra**|**moonshotai/Kimi-K2-Instruct-0905**|`v1`|2e-06 (per 1 token)|1 token\n|**deepinfra**|**nvidia/Llama-3.1-Nemotron-70B-Instruct**|`v1`|6e-07 (per 1 token)|1 token\n|**deepinfra**|**nvidia/NVIDIA-Nemotron-Nano-9B-v2**|`v1`|1.6e-07 (per 1 token)|1 token\n|**deepinfra**|**openai/gpt-oss-120b**|`v1`|4.5e-07 (per 1 token)|1 token\n|**deepinfra**|**openai/gpt-oss-20b**|`v1`|1.5e-07 (per 1 token)|1 token\n|**deepinfra**|**zai-org/GLM-4.5**|`v1`|1.6e-06 (per 1 token)|1 token\n|**deepinfra**|**lizpreciatior/lzlv_70b_fp16_hf**|`v1`|9e-07 (per 1 token)|1 token\n|**deepinfra**|**Gryphe/MythoMax-L2-13b**|`v1`|2.2e-07 (per 1 token)|1 token\n|**deepinfra**|**mistralai/Mistral-7B-Instruct-v0.1**|`v1`|1.3e-07 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Llama-2-70b-chat-hf**|`v1`|9e-07 (per 1 token)|1 token\n|**deepinfra**|**cognitivecomputations/dolphin-2.6-mixtral-8x7b**|`v1`|2.7e-07 (per 1 token)|1 token\n|**deepinfra**|**Phind/Phind-CodeLlama-34B-v2**|`v1`|6e-07 (per 1 token)|1 token\n|**deepinfra**|**mistralai/Mixtral-8x7B-Instruct-v0.1**|`v1`|2.7e-07 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Llama-2-13b-chat-hf**|`v1`|2.2e-07 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Meta-Llama-3-8B-Instruct**|`v1`|8e-08 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Meta-Llama-3-70B-Instruct**|`v1`|7.9e-07 (per 1 token)|1 token\n|**deepinfra**|**meta-llama/Meta-Llama-3.1-405B-Instruct**|`v1`|9e-07 (per 1 token)|1 token\n|**deepinfra**|**openchat/openchat_3.5**|`v1`|1.3e-07 (per 1 token)|1 token\n|**deepinfra**|**deepseek-ai/DeepSeek-R1-0528-Turbo**|`v1`|3e-06 (per 1 token)|1 token\n|**cerebras**|**llama3.1-8b**|`llmengine (v2)`|1e-07 (per 1 token)|1 token\n|**cerebras**|**gpt-oss-120b**|`llmengine (v2)`|6.9e-07 (per 1 token)|1 token\n|**cloudflare**|**@cf/meta/llama-2-7b-chat-fp16**|`llmengine (v2)`|1.923e-06 (per 1 token)|1 token\n|**cloudflare**|**@cf/meta/llama-2-7b-chat-int8**|`llmengine (v2)`|1.923e-06 (per 1 token)|1 token\n|**cloudflare**|**@cf/mistral/mistral-7b-instruct-v0.1**|`llmengine (v2)`|1.923e-06 (per 1 token)|1 token\n|**cloudflare**|**@hf/thebloke/codellama-7b-instruct-awq**|`llmengine (v2)`|1.923e-06 (per 1 token)|1 token\n|**databricks**|**databricks-claude-3-7-sonnet**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**databricks**|**databricks-claude-haiku-4-5**|`llmengine (v2)`|5e-06 (per 1 token)|1 token\n|**databricks**|**databricks-claude-opus-4-1**|`llmengine (v2)`|7.5e-05 (per 1 token)|1 token\n|**databricks**|**databricks-claude-opus-4-5**|`llmengine (v2)`|2.5e-05 (per 1 token)|1 token\n|**databricks**|**databricks-claude-sonnet-4**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**databricks**|**databricks-claude-sonnet-4-5**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**databricks**|**databricks-gemini-2-5-flash**|`llmengine (v2)`|2.5e-06 (per 1 token)|1 token\n|**databricks**|**databricks-gemini-2-5-pro**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**databricks**|**databricks-gemma-3-12b**|`llmengine (v2)`|5e-07 (per 1 token)|1 token\n|**databricks**|**databricks-gpt-5**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**databricks**|**databricks-gpt-5-1**|`llmengine (v2)`|1e-05 (per 1 token)|1 token\n|**databricks**|**databricks-gpt-5-mini**|`llmengine (v2)`|2e-06 (per 1 token)|1 token\n|**databricks**|**databricks-gpt-5-nano**|`llmengine (v2)`|4e-07 (per 1 token)|1 token\n|**databricks**|**databricks-gpt-oss-120b**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**databricks**|**databricks-gpt-oss-20b**|`llmengine (v2)`|3e-07 (per 1 token)|1 token\n|**databricks**|**databricks-llama-4-maverick**|`llmengine (v2)`|1.5e-06 (per 1 token)|1 token\n|**databricks**|**databricks-meta-llama-3-1-405b-instruct**|`llmengine (v2)`|1.5e-05 (per 1 token)|1 token\n|**databricks**|**databricks-meta-llama-3-1-8b-instruct**|`llmengine (v2)`|4.5e-07 (per 1 token)|1 token\n|**databricks**|**databricks-meta-llama-3-3-70b-instruct**|`llmengine (v2)`|1.5e-06 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/qwen2p5-vl-32b-instruct**|`llmengine (v2)`|9e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/qwen3-235b-a22b**|`llmengine (v2)`|8.8e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/qwen3-235b-a22b-instruct-2507**|`llmengine (v2)`|8.8e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/qwen3-235b-a22b-thinking-2507**|`llmengine (v2)`|8.8e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/qwen3-8b**|`llmengine (v2)`|2e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/qwen3-vl-235b-a22b-instruct**|`llmengine (v2)`|8.8e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/qwen3-vl-235b-a22b-thinking**|`llmengine (v2)`|8.8e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/qwen3-vl-30b-a3b-instruct**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/qwen3-vl-30b-a3b-thinking**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/deepseek-r1-0528**|`llmengine (v2)`|8e-06 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/deepseek-v3-0324**|`llmengine (v2)`|9e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/deepseek-v3p1**|`llmengine (v2)`|1.68e-06 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/deepseek-v3p1-terminus**|`llmengine (v2)`|1.68e-06 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/deepseek-v3p2**|`llmengine (v2)`|1.68e-06 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/glm-4p6**|`llmengine (v2)`|2.19e-06 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/gpt-oss-120b**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/gpt-oss-20b**|`llmengine (v2)`|2e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/kimi-k2-instruct-0905**|`llmengine (v2)`|2.5e-06 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/kimi-k2-thinking**|`llmengine (v2)`|2.5e-06 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/qwen3-coder-480b-a35b-instruct**|`llmengine (v2)`|1.8e-06 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/llama-v3p3-70b-instruct**|`llmengine (v2)`|9e-07 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/minimax-m2**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token\n|**fireworks_ai**|**accounts/fireworks/models/mixtral-8x22b-instruct**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token\n|**nebius**|**MiniMaxAI/MiniMax-M2.1**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token\n|**nebius**|**moonshotai/Kimi-K2-Instruct**|`llmengine (v2)`|2.4e-06 (per 1 token)|1 token\n|**nebius**|**moonshotai/Kimi-K2-Thinking**|`llmengine (v2)`|2.5e-06 (per 1 token)|1 token\n|**nebius**|**NousResearch/Hermes-4-405B**|`llmengine (v2)`|3e-06 (per 1 token)|1 token\n|**nebius**|**NousResearch/Hermes-4-70B**|`llmengine (v2)`|4e-07 (per 1 token)|1 token\n|**nebius**|**nvidia/Llama-3_1-Nemotron-Ultra-253B-v1**|`llmengine (v2)`|1.8e-06 (per 1 token)|1 token\n|**nebius**|**nvidia/Nemotron-Nano-V2-12b**|`llmengine (v2)`|2e-07 (per 1 token)|1 token\n|**nebius**|**openai/gpt-oss-120b**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**nebius**|**openai/gpt-oss-20b**|`llmengine (v2)`|2e-07 (per 1 token)|1 token\n|**nebius**|**PrimeIntellect/INTELLECT-3**|`llmengine (v2)`|1.1e-06 (per 1 token)|1 token\n|**nebius**|**Qwen/Qwen2.5-VL-72B-Instruct**|`llmengine (v2)`|7.5e-07 (per 1 token)|1 token\n|**nebius**|**Qwen/Qwen3-235B-A22B-Instruct-2507**|`llmengine (v2)`|6e-07 (per 1 token)|1 token\n|**nebius**|**Qwen/Qwen3-235B-A22B-Thinking-2507**|`llmengine (v2)`|8e-07 (per 1 token)|1 token\n|**nebius**|**Qwen/Qwen3-30B-A3B-Instruct-2507**|`llmengine (v2)`|3e-07 (per 1 token)|1 token\n|**nebius**|**Qwen/Qwen3-30B-A3B-Thinking-2507**|`llmengine (v2)`|3e-07 (per 1 token)|1 token\n|**nebius**|**Qwen/Qwen3-32B**|`llmengine (v2)`|3e-07 (per 1 token)|1 token\n|**nebius**|**Qwen/Qwen3-Coder-30B-A3B-Instruct**|`llmengine (v2)`|3e-07 (per 1 token)|1 token\n|**nebius**|**Qwen/Qwen3-Coder-480B-A35B-Instruct**|`llmengine (v2)`|1.8e-06 (per 1 token)|1 token\n|**nebius**|**Qwen/Qwen3-Next-80B-A3B-Thinking**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token\n|**nebius**|**zai-org/GLM-4.5**|`llmengine (v2)`|2.2e-06 (per 1 token)|1 token\n|**nebius**|**zai-org/GLM-4.5-Air**|`llmengine (v2)`|1.2e-06 (per 1 token)|1 token\n|**ovhcloud**|**DeepSeek-R1-Distill-Llama-70B**|`llmengine (v2)`|6.7e-07 (per 1 token)|1 token\n|**ovhcloud**|**Llama-3.1-8B-Instruct**|`llmengine (v2)`|1e-07 (per 1 token)|1 token\n|**ovhcloud**|**Meta-Llama-3_3-70B-Instruct**|`llmengine (v2)`|6.7e-07 (per 1 token)|1 token\n|**ovhcloud**|**Mistral-7B-Instruct-v0.3**|`llmengine (v2)`|1e-07 (per 1 token)|1 token\n|**ovhcloud**|**Mistral-Nemo-Instruct-2407**|`llmengine (v2)`|1.3e-07 (per 1 token)|1 token\n|**ovhcloud**|**Mistral-Small-3.2-24B-Instruct-2506**|`llmengine (v2)`|2.8e-07 (per 1 token)|1 token\n|**ovhcloud**|**Mixtral-8x7B-Instruct-v0.1**|`llmengine (v2)`|6.3e-07 (per 1 token)|1 token\n|**ovhcloud**|**Qwen2.5-Coder-32B-Instruct**|`llmengine (v2)`|8.7e-07 (per 1 token)|1 token\n|**ovhcloud**|**Qwen2.5-VL-72B-Instruct**|`llmengine (v2)`|9.1e-07 (per 1 token)|1 token\n|**ovhcloud**|**Qwen3-32B**|`llmengine (v2)`|2.3e-07 (per 1 token)|1 token\n|**ovhcloud**|**gpt-oss-120b**|`llmengine (v2)`|4e-07 (per 1 token)|1 token\n|**ovhcloud**|**gpt-oss-20b**|`llmengine (v2)`|1.5e-07 (per 1 token)|1 token\n\n\n
\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**amazon**|`amazon.nova-pro-v1:0`|\n|**anthropic**|`claude-3-7-sonnet-latest`|\n|**cohere**|`command-r`|\n|**deepseek**|`deepseek-chat`|\n|**meta**|`meta.llama3-1-70b-instruct-v1:0`|\n|**mistral**|`mistral-large-latest`|\n|**openai**|`gpt-4o`|\n|**together_ai**|`Qwen/Qwen2.5-72B-Instruct-Turbo`|\n|**xai**|`grok-2-latest`|\n|**google**|`gemini-2.0-flash`|\n|**groq**|`llama-3.3-70b-versatile`|\n|**microsoft**|`gpt-4o`|\n|**minimax**|`MiniMax-M1`|\n|**bytedance**|`seed-1-6-250915`|\n|**dashscope**|`qwen3-max`|\n|**perplexityai**|`sonar`|\n|**deepinfra**|`nvidia/Llama-3.3-Nemotron-Super-49B-v1.5`|\n|**cerebras**|`gpt-oss-120b`|\n\n
", "summary": "Chat", "tags": ["Chat"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/llmchatllmchatChatRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/llmchatResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/multimodal/chat/": {"post": {"operationId": "multimodal_multimodal_chat_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**anthropic**|**claude-3-5-haiku-latest**|`bedrock-2023-05-31`|4.0 (per 1000000 token)|1 token\n|**anthropic**|-|`bedrock-2023-05-31`|15.0 (per 1000000 token)|1 token\n|**anthropic**|**claude-3-7-sonnet-20250219**|`bedrock-2023-05-31`|15.0 (per 1000000 token)|1 token\n|**google**|**gemini-1.5-flash**|`v1`|0.6 (per 1000000 token)|1 token\n|**google**|**gemini-1.5-pro**|`v1`|10.0 (per 1000000 token)|1 token\n|**google**|**gemini-1.5-flash-latest**|`v1`|0.6 (per 1000000 token)|1 token\n|**google**|-|`v1`|0.6 (per 1000000 token)|1 token\n|**google**|**gemini-2.0-flash-lite**|`v1`|0.3 (per 1000000 token)|1 token\n|**google**|**gemini-2.5-flash**|`v1`|2.5 (per 1000000 token)|1 token\n|**google**|**gemini-3-pro-preview**|`v1`|18.0 (per 1000000 token)|1 token\n|**google**|**gemini-2.0-flash**|`v1`|0.4 (per 1000000 token)|1 token\n|**google**|**gemini-2.5-pro**|`v1`|15.0 (per 1000000 token)|1 token\n|**google**|**gemini-2.5-pro-preview-03-25**|`v1`|15.0 (per 1000000 token)|1 token\n|**google**|**gemini-1.5-pro-latest**|`v1`|10.0 (per 1000000 token)|1 token\n|**google**|**gemini-2.0-flash-exp**|`v1`|10.0 (per 1000000 token)|1 token\n|**google**|**gemini-2.5-pro-exp-03-25**|`v1`|0.0 (per 1000000 token)|1 token\n|**openai**|**o1**|`v1Beta`|60.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4o**|`v1Beta`|10.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4-turbo**|`v1Beta`|30.0 (per 1000000 token)|1 token\n|**openai**|-|`v1Beta`|10.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4.1-2025-04-14**|`v1Beta`|8.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4.1-mini-2025-04-14**|`v1Beta`|1.6 (per 1000000 token)|1 token\n|**openai**|**gpt-4.1-nano-2025-04-14**|`v1Beta`|0.4 (per 1000000 token)|1 token\n|**openai**|**gpt-4o-mini**|`v1Beta`|0.6 (per 1000000 token)|1 token\n|**openai**|**gpt-5.2**|`v1Beta`|14.0 (per 1000000 token)|1 token\n|**openai**|**gpt-5**|`v1Beta`|10.0 (per 1000000 token)|1 token\n|**openai**|**gpt-5-mini**|`v1Beta`|2.0 (per 1000000 token)|1 token\n|**openai**|**gpt-5-nano**|`v1Beta`|0.4 (per 1000000 token)|1 token\n|**openai**|**gpt-5-chat-latest**|`v1Beta`|10.0 (per 1000000 token)|1 token\n|**openai**|**o1-mini**|`v1Beta`|12.0 (per 1000000 token)|1 token\n|**openai**|**o1-2024-12-17**|`v1Beta`|60.0 (per 1000000 token)|1 token\n|**xai**|-|`v1`|10.0 (per 1000000 token)|1 token\n|**xai**|**grok-2-vision**|`v1`|10.0 (per 1000000 token)|1 token\n|**xai**|**grok-2-vision-latest**|`v1`|10.0 (per 1000000 token)|1 token\n|**xai**|**grok-2-vision-1212**|`v1`|10.0 (per 1000000 token)|1 token\n|**amazon**|-|`boto3 (v1.29.6)`|3.2 (per 1000000 token)|1 token\n|**amazon**|**amazon.nova-pro-v1:0**|`boto3 (v1.29.6)`|3.2 (per 1000000 token)|1 token\n|**mistral**|-|`v0.0.1`|6.0 (per 1000000 token)|1 token\n|**mistral**|**pixtral-large-latest**|`v0.0.1`|6.0 (per 1000000 token)|1 token\n|**microsoft**|**gpt-4o**|`Azure AI Foundry`|15.0 (per 1000000 token)|1 token\n\n\n
\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**anthropic**|`claude-3-5-sonnet-latest`|\n|**google**|`gemini-2.0-flash`|\n|**openai**|`gpt-4o`|\n|**xai**|`grok-2-vision-latest`|\n|**amazon**|`amazon.nova-pro-v1:0`|\n|**mistral**|`pixtral-large-latest`|\n|**microsoft**|`gpt-4o`|\n\n
", "summary": "Chat", "tags": ["Chat"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/multimodalchatChatRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/multimodalchatResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/ocr/anonymization_async/": {"get": {"operationId": "ocr_ocr_anonymization_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Anonymization List Job", "tags": ["Anonymization Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "ocr_ocr_anonymization_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**readyredact**|`v1`|0.05 (per 1 file)|1 file\n|**base64**|`v1`|0.25 (per 1 page)|1 page\n|**privateai**|`v3`|0.01 (per 1 page)|1 page\n\n\n
\n\n", "summary": "Anonymization Launch Job", "tags": ["Anonymization Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AnonymizationAsyncRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AnonymizationAsyncRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "ocr_ocr_anonymization_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Anonymization delete Jobs", "tags": ["Anonymization Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/ocr/anonymization_async/{public_id}/": {"get": {"operationId": "ocr_ocr_anonymization_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Anonymization Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Anonymization Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncocranonymization_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/ocr/bank_check_parsing/": {"post": {"operationId": "ocr_ocr_bank_check_parsing_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**base64**|`latest`|0.25 (per 1 page)|1 page\n|**veryfi**|`v8`|0.16 (per 1 request)|1 request\n|**mindee**|`v1`|0.1 (per 1 page)|1 page\n|**extracta**|`v1`|0.1 (per 1 page)|1 page\n\n\n
\n\n", "summary": "Bank Check Parsing", "tags": ["Bank Check Parsing"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ocrbank_check_parsingBankCheckParsingRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/ocrbank_check_parsingBankCheckParsingRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ocrbank_check_parsingResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/ocr/custom_document_parsing_async/": {"get": {"operationId": "ocr_ocr_custom_document_parsing_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Custom Document Parsing List Job", "tags": ["Custom Document Parsing Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "ocr_ocr_custom_document_parsing_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3 1.26.8`|15.0 (per 1000 page)|1 page\n|**extracta**|`v1`|0.1 (per 1 page)|1 page\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**English**|`en`|\n|**French**|`fr`|\n|**German**|`de`|\n|**Italian**|`it`|\n|**Portuguese**|`pt`|\n|**Spanish**|`es`|\n\n
", "summary": "Custom Document Parsing Launch Job", "tags": ["Custom Document Parsing Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/CustomDocumentParsingAsyncRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/CustomDocumentParsingAsyncRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "ocr_ocr_custom_document_parsing_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Custom Document Parsing delete Jobs", "tags": ["Custom Document Parsing Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/ocr/custom_document_parsing_async/{public_id}/": {"get": {"operationId": "ocr_ocr_custom_document_parsing_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Custom Document Parsing Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Custom Document Parsing Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncocrcustom_document_parsing_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/ocr/data_extraction/": {"post": {"operationId": "ocr_ocr_data_extraction_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3 (v1.15.18)`|0.05 (per 1 page)|1 page\n|**base64**|`latest`|0.25 (per 1 page)|1 page\n\n\n
\n\n", "summary": "Data Extraction", "tags": ["Data Extraction"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ocrdata_extractionDataExtractionRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/ocrdata_extractionDataExtractionRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ocrdata_extractionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/ocr/financial_parser/": {"post": {"operationId": "ocr_ocr_financial_parser_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Document Type|Price|Billing unit|\n|----|----|-------|------|-----|------------|\n|**affinda**|-|`v3`|`invoice`|0.08 (per 1 page)|1 page\n|**affinda**|-|`v3`|`receipt`|0.07 (per 1 page)|1 page\n|**amazon**|-|`boto3 1.26.8`|-|0.01 (per 1 page)|1 page\n|**base64**|-|`latest`|-|0.25 (per 1 page)|1 page\n|**google**|-|`DocumentAI v1 beta3`|`invoice`|0.01 (per 1 page)|10 page\n|**google**|-|`DocumentAI v1 beta3`|`receipt`|0.01 (per 1 page)|10 page\n|**klippa**|-|`v1`|-|0.1 (per 1 file)|1 file\n|**microsoft**|-|`rest API 4.0 (2024-02-29-preview)`|-|0.01 (per 1 page)|1 page\n|**mindee**|-|`v1.2`|-|0.1 (per 1 page)|1 page\n|**tabscanner**|-|`latest`|-|0.08 (per 1 page)|1 page\n|**veryfi**|-|`v8`|`receipt`|0.08 (per 1 file)|1 file\n|**veryfi**|-|`v8`|`invoice`|0.16 (per 1 file)|1 file\n|**eagledoc**|-|`v1`|-|0.03 (per 1 page)|1 page\n|**extracta**|-|`v1`|-|0.1 (per 1 page)|1 page\n|**openai**|**gpt-4o**|`v1.0`|-|0.04 (per 1 page)|1 page\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Albanian**|`sq`|\n|**Amharic**|`am`|\n|**Arabic**|`ar`|\n|**Armenian**|`hy`|\n|**Azerbaijani**|`az`|\n|**Basque**|`eu`|\n|**Belarusian**|`be`|\n|**Bengali**|`bn`|\n|**Bosnian**|`bs`|\n|**Bulgarian**|`bg`|\n|**Burmese**|`my`|\n|**Catalan**|`ca`|\n|**Cebuano**|`ceb`|\n|**Chinese**|`zh`|\n|**Corsican**|`co`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Esperanto**|`eo`|\n|**Estonian**|`et`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**Galician**|`gl`|\n|**Georgian**|`ka`|\n|**German**|`de`|\n|**Gujarati**|`gu`|\n|**Haitian**|`ht`|\n|**Hausa**|`ha`|\n|**Hawaiian**|`haw`|\n|**Hebrew**|`he`|\n|**Hindi**|`hi`|\n|**Hmong**|`hmn`|\n|**Hungarian**|`hu`|\n|**Icelandic**|`is`|\n|**Igbo**|`ig`|\n|**Indonesian**|`id`|\n|**Irish**|`ga`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Javanese**|`jv`|\n|**Kannada**|`kn`|\n|**Kazakh**|`kk`|\n|**Khmer**|`km`|\n|**Kinyarwanda**|`rw`|\n|**Kirghiz**|`ky`|\n|**Korean**|`ko`|\n|**Kurdish**|`ku`|\n|**Lao**|`lo`|\n|**Latin**|`la`|\n|**Latvian**|`lv`|\n|**Lithuanian**|`lt`|\n|**Luxembourgish**|`lb`|\n|**Macedonian**|`mk`|\n|**Malagasy**|`mg`|\n|**Malay (macrolanguage)**|`ms`|\n|**Malayalam**|`ml`|\n|**Maltese**|`mt`|\n|**Maori**|`mi`|\n|**Marathi**|`mr`|\n|**Modern Greek (1453-)**|`el`|\n|**Mongolian**|`mn`|\n|**Nepali (macrolanguage)**|`ne`|\n|**Norwegian**|`no`|\n|**Nyanja**|`ny`|\n|**Oriya (macrolanguage)**|`or`|\n|**Panjabi**|`pa`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Pushto**|`ps`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Samoan**|`sm`|\n|**Scottish Gaelic**|`gd`|\n|**Serbian**|`sr`|\n|**Shona**|`sn`|\n|**Sindhi**|`sd`|\n|**Sinhala**|`si`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Somali**|`so`|\n|**Southern Sotho**|`st`|\n|**Spanish**|`es`|\n|**Sundanese**|`su`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tagalog**|`tl`|\n|**Tajik**|`tg`|\n|**Tamil**|`ta`|\n|**Tatar**|`tt`|\n|**Telugu**|`te`|\n|**Thai**|`th`|\n|**Turkish**|`tr`|\n|**Turkmen**|`tk`|\n|**Uighur**|`ug`|\n|**Ukrainian**|`uk`|\n|**Urdu**|`ur`|\n|**Uzbek**|`uz`|\n|**Vietnamese**|`vi`|\n|**Welsh**|`cy`|\n|**Western Frisian**|`fy`|\n|**Xhosa**|`xh`|\n|**Yiddish**|`yi`|\n|**Yoruba**|`yo`|\n|**Zulu**|`zu`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Catalan (Spain)**|`ca-ES`|\n|**Chinese (China)**|`zh-CN`|\n|**Chinese (China)**|`zh-cn`|\n|**Chinese (Taiwan)**|`zh-TW`|\n|**Chinese (Taiwan)**|`zh-tw`|\n|**Danish (Denmark)**|`da-DK`|\n|**Dutch (Netherlands)**|`nl-NL`|\n|**English (United Kingdom)**|`en-GB`|\n|**English (United States)**|`en-US`|\n|**French (Canada)**|`fr-CA`|\n|**French (France)**|`fr-FR`|\n|**French (Switzerland)**|`fr-CH`|\n|**German (Germany)**|`de-DE`|\n|**German (Switzerland)**|`de-CH`|\n|**Italian (Italy)**|`it-IT`|\n|**Italian (Switzerland)**|`it-CH`|\n|**Portuguese (Portugal)**|`pt-PT`|\n|**Spanish (Spain)**|`es-ES`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n\n
", "summary": "Financial Parser", "tags": ["Financial Parser"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ocrfinancial_parserResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/ocr/identity_parser/": {"post": {"operationId": "ocr_ocr_identity_parser_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|-|`boto3 (v1.15.18)`|0.025 (per 1 page)|1 page\n|**base64**|-|`latest`|0.2 (per 1 page)|1 page\n|**microsoft**|-|`rest API 4.0 (2024-02-29-preview)`|0.01 (per 1 page)|1 page\n|**mindee**|-|`v2`|0.1 (per 1 page)|1 page\n|**klippa**|-|`v1`|0.1 (per 1 file)|1 file\n|**affinda**|-|`v3`|0.07 (per 1 file)|1 file\n|**openai**|**gpt-4o**|`v1`|0.02 (per 1 page)|1 page\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Albanian**|`sq`|\n|**Arabic**|`ar`|\n|**Bengali**|`bn`|\n|**Bulgarian**|`bg`|\n|**Chinese**|`zh`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Estonian**|`et`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**German**|`de`|\n|**Gujarati**|`gu`|\n|**Hebrew**|`he`|\n|**Hindi**|`hi`|\n|**Hungarian**|`hu`|\n|**Indonesian**|`id`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Kannada**|`kn`|\n|**Korean**|`ko`|\n|**Latvian**|`lv`|\n|**Lithuanian**|`lt`|\n|**Macedonian**|`mk`|\n|**Malayalam**|`ml`|\n|**Marathi**|`mr`|\n|**Modern Greek (1453-)**|`el`|\n|**Nepali (macrolanguage)**|`ne`|\n|**Norwegian**|`no`|\n|**Panjabi**|`pa`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Somali**|`so`|\n|**Spanish**|`es`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tagalog**|`tl`|\n|**Tamil**|`ta`|\n|**Telugu**|`te`|\n|**Thai**|`th`|\n|**Turkish**|`tr`|\n|**Ukrainian**|`uk`|\n|**Urdu**|`ur`|\n|**Vietnamese**|`vi`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Chinese (China)**|`zh-cn`|\n|**Chinese (Taiwan)**|`zh-tw`|\n|**English (United States)**|`en-US`|\n|**French (France)**|`fr-FR`|\n|**German (Germany)**|`de-DE`|\n|**Italian (Italy)**|`it-IT`|\n|**Portuguese (Portugal)**|`pt-PT`|\n|**Spanish (Spain)**|`es-ES`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n\n
", "summary": "Identity Parser", "tags": ["Identity Parser"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ocridentity_parserIdentityParserRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/ocridentity_parserIdentityParserRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ocridentity_parserResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/ocr/ocr/": {"post": {"operationId": "ocr_ocr_ocr_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3 (v1.15.18)`|1.5 (per 1000 page)|1 page\n|**google**|`v1`|1.5 (per 1000 page)|1 page\n|**microsoft**|`v3.2`|1.0 (per 1000 page)|1 page\n|**sentisight**|`v3.3.1`|0.75 (per 1000 file)|1 file\n|**api4ai**|`v1.0.0`|3.0 (per 1000 request)|1 request\n|**mistral**|`v1`|1.0 (per 1000 page)|1 page\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Abaza**|`abq`|\n|**Adyghe**|`ady`|\n|**Afrikaans**|`af`|\n|**Albanian**|`sq`|\n|**Angika**|`anp`|\n|**Arabic**|`ar`|\n|**Assamese**|`as`|\n|**Asturian**|`ast`|\n|**Avaric**|`av`|\n|**Awadhi**|`awa`|\n|**Azerbaijani**|`az`|\n|**Bagheli**|`bfy`|\n|**Basque**|`eu`|\n|**Belarusian**|`be`|\n|**Bengali**|`bn`|\n|**Bhojpuri**|`bho`|\n|**Bihari languages**|`bh`|\n|**Bislama**|`bi`|\n|**Bodo (India)**|`brx`|\n|**Bosnian**|`bs`|\n|**Braj**|`bra`|\n|**Breton**|`br`|\n|**Bulgarian**|`bg`|\n|**Bundeli**|`bns`|\n|**Buriat**|`bua`|\n|**Camling**|`rab`|\n|**Catalan**|`ca`|\n|**Cebuano**|`ceb`|\n|**Chamorro**|`ch`|\n|**Chechen**|`ce`|\n|**Chhattisgarhi**|`hne`|\n|**Chinese**|`zh`|\n|**Cornish**|`kw`|\n|**Corsican**|`co`|\n|**Crimean Tatar**|`crh`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dargwa**|`dar`|\n|**Dari**|`prs`|\n|**Dhimal**|`dhi`|\n|**Dogri (macrolanguage)**|`doi`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Erzya**|`myv`|\n|**Estonian**|`et`|\n|**Faroese**|`fo`|\n|**Fijian**|`fj`|\n|**Filipino**|`fil`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**Friulian**|`fur`|\n|**Gagauz**|`gag`|\n|**Galician**|`gl`|\n|**German**|`de`|\n|**Gilbertese**|`gil`|\n|**Goan Konkani**|`gom`|\n|**Gondi**|`gon`|\n|**Gurung**|`gvr`|\n|**Haitian**|`ht`|\n|**Halbi**|`hlb`|\n|**Hani**|`hni`|\n|**Haryanvi**|`bgc`|\n|**Hawaiian**|`haw`|\n|**Hindi**|`hi`|\n|**Hmong Daw**|`mww`|\n|**Ho**|`hoc`|\n|**Hungarian**|`hu`|\n|**Icelandic**|`is`|\n|**Inari Sami**|`smn`|\n|**Indonesian**|`id`|\n|**Ingush**|`inh`|\n|**Interlingua (International Auxiliary Language Association)**|`ia`|\n|**Inuktitut**|`iu`|\n|**Irish**|`ga`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Jaunsari**|`jns`|\n|**Javanese**|`jv`|\n|**K'iche'**|`quc`|\n|**Kabardian**|`kbd`|\n|**Kabuverdianu**|`kea`|\n|**Kachin**|`kac`|\n|**Kalaallisut**|`kl`|\n|**Kangri**|`xnr`|\n|**Kara-Kalpak**|`kaa`|\n|**Karachay-Balkar**|`krc`|\n|**Kashubian**|`csb`|\n|**Kazakh**|`kk`|\n|**Khaling**|`klr`|\n|**Khasi**|`kha`|\n|**Kirghiz**|`ky`|\n|**Korean**|`ko`|\n|**Korku**|`kfq`|\n|**Koryak**|`kpy`|\n|**Kosraean**|`kos`|\n|**Kumarbhag Paharia**|`kmj`|\n|**Kumyk**|`kum`|\n|**Kurdish**|`ku`|\n|**Kurukh**|`kru`|\n|**K\u00f6lsch**|`ksh`|\n|**Lak**|`lbe`|\n|**Lakota**|`lkt`|\n|**Latin**|`la`|\n|**Latvian**|`lv`|\n|**Lezghian**|`lez`|\n|**Lithuanian**|`lt`|\n|**Lower Sorbian**|`dsb`|\n|**Lule Sami**|`smj`|\n|**Luxembourgish**|`lb`|\n|**Mahasu Pahari**|`bfz`|\n|**Maithili**|`mai`|\n|**Malay (macrolanguage)**|`ms`|\n|**Maltese**|`mt`|\n|**Manx**|`gv`|\n|**Maori**|`mi`|\n|**Marathi**|`mr`|\n|**Marshallese**|`mh`|\n|**Mongolian**|`mn`|\n|**Montenegrin**|`cnr`|\n|**Neapolitan**|`nap`|\n|**Nepali (macrolanguage)**|`ne`|\n|**Newari**|`new`|\n|**Niuean**|`niu`|\n|**Nogai**|`nog`|\n|**Northern Sami**|`se`|\n|**Norwegian**|`no`|\n|**Occitan (post 1500)**|`oc`|\n|**Old English (ca. 450-1100)**|`ang`|\n|**Ossetian**|`os`|\n|**Pali**|`pi`|\n|**Panjabi**|`pa`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Pushto**|`ps`|\n|**Romanian**|`ro`|\n|**Romansh**|`rm`|\n|**Russian**|`ru`|\n|**Sadri**|`sck`|\n|**Samoan**|`sm`|\n|**Sanskrit**|`sa`|\n|**Santali**|`sat`|\n|**Scots**|`sco`|\n|**Scottish Gaelic**|`gd`|\n|**Serbian**|`sr`|\n|**Sherpa**|`xsr`|\n|**Sirmauri**|`srx`|\n|**Skolt Sami**|`sms`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Somali**|`so`|\n|**Southern Sami**|`sma`|\n|**Spanish**|`es`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tabassaran**|`tab`|\n|**Tagalog**|`tl`|\n|**Tajik**|`tg`|\n|**Tatar**|`tt`|\n|**Tetum**|`tet`|\n|**Thangmi**|`thf`|\n|**Tonga (Tonga Islands)**|`to`|\n|**Turkish**|`tr`|\n|**Turkmen**|`tk`|\n|**Tuvinian**|`tyv`|\n|**Uighur**|`ug`|\n|**Ukrainian**|`uk`|\n|**Upper Sorbian**|`hsb`|\n|**Urdu**|`ur`|\n|**Uzbek**|`uz`|\n|**Vietnamese**|`vi`|\n|**Volap\u00fck**|`vo`|\n|**Walser**|`wae`|\n|**Welsh**|`cy`|\n|**Western Frisian**|`fy`|\n|**Yucateco**|`yua`|\n|**Zhuang**|`za`|\n|**Zulu**|`zu`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Arabic (Pseudo-Accents)**|`ar-XA`|\n|**Belarusian**|`be-cyrl`|\n|**Belarusian (Latin)**|`be-latn`|\n|**Chinese (China)**|`zh-CN`|\n|**Chinese (Simplified)**|`zh-Hans`|\n|**Chinese (Taiwan)**|`zh-TW`|\n|**Chinese (Traditional)**|`zh-Hant`|\n|**Danish (Denmark)**|`da-DK`|\n|**Dutch (Netherlands)**|`nl-NL`|\n|**English (United States)**|`en-US`|\n|**Finnish (Finland)**|`fi-FI`|\n|**French (France)**|`fr-FR`|\n|**German (Germany)**|`de-DE`|\n|**Hungarian (Hungary)**|`hu-HU`|\n|**Italian (Italy)**|`it-IT`|\n|**Japanese (Japan)**|`ja-JP`|\n|**Kara-Kalpak (Cyrillic)**|`kaa-Cyrl`|\n|**Kazakh**|`kk-cyrl`|\n|**Kazakh (Latin)**|`kk-latn`|\n|**Korean (South Korea)**|`ko-KR`|\n|**Kurdish (Arabic)**|`ku-arab`|\n|**Kurdish (Latin)**|`ku-latn`|\n|**Polish**|`pl-PO`|\n|**Portuguese (Portugal)**|`pt-PT`|\n|**Region: Czechia**|`cz-CZ`|\n|**Region: Greece**|`gr-GR`|\n|**Russian (Russia)**|`ru-RU`|\n|**Serbian (Cyrillic, Montenegro)**|`sr-Cyrl-ME`|\n|**Serbian (Latin)**|`sr-latn`|\n|**Serbian (Latin, Montenegro)**|`sr-Latn-ME`|\n|**Spanish (Spain)**|`es-ES`|\n|**Swedish (Sweden)**|`sv-SE`|\n|**Turkish (T\u00fcrkiye)**|`tr-TR`|\n|**Uzbek (Arabic)**|`uz-arab`|\n|**Uzbek (Cyrillic)**|`uz-cyrl`|\n\n
", "summary": "OCR", "tags": ["Ocr"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ocrocrOcrRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/ocrocrOcrRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ocrocrResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/ocr/ocr_async/": {"get": {"operationId": "ocr_ocr_ocr_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Ocr Async List Job", "tags": ["Ocr Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "ocr_ocr_ocr_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3 (v1.15.18)`|1.5 (per 1000 page)|1 page\n|**microsoft**|`rest API 4.0 (2024-02-29-preview)`|10.0 (per 1000 page)|1 page\n|**mistral**|`v1`|1.0 (per 1000 page)|1 page\n\n\n
\n\n", "summary": "Ocr Async Launch Job", "tags": ["Ocr Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AsyncOcrRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AsyncOcrRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "ocr_ocr_ocr_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Ocr Async delete Jobs", "tags": ["Ocr Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/ocr/ocr_async/{public_id}/": {"get": {"operationId": "ocr_ocr_ocr_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Ocr Async Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Ocr Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncocrocr_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/ocr/ocr_tables_async/": {"get": {"operationId": "ocr_ocr_ocr_tables_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "OCR Tables List Job", "tags": ["Ocr Tables Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "ocr_ocr_ocr_tables_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3 (v1.15.18)`|15.0 (per 1000 page)|1 page\n|**google**|`DocumentAI v1 beta3`|65.0 (per 1000 page)|1 page\n|**microsoft**|`rest API 4.0 (2024-02-29-preview)`|10.0 (per 1000 page)|1 page\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Albanian**|`sq`|\n|**Angika**|`anp`|\n|**Arabic**|`ar`|\n|**Asturian**|`ast`|\n|**Awadhi**|`awa`|\n|**Azerbaijani**|`az`|\n|**Bagheli**|`bfy`|\n|**Basque**|`eu`|\n|**Belarusian**|`be`|\n|**Bhojpuri**|`bho`|\n|**Bislama**|`bi`|\n|**Bodo (India)**|`brx`|\n|**Bosnian**|`bs`|\n|**Braj**|`bra`|\n|**Breton**|`br`|\n|**Bulgarian**|`bg`|\n|**Bundeli**|`bns`|\n|**Buriat**|`bua`|\n|**Camling**|`rab`|\n|**Catalan**|`ca`|\n|**Cebuano**|`ceb`|\n|**Chamorro**|`ch`|\n|**Chhattisgarhi**|`hne`|\n|**Chinese**|`zh`|\n|**Cornish**|`kw`|\n|**Corsican**|`co`|\n|**Crimean Tatar**|`crh`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dari**|`prs`|\n|**Dhimal**|`dhi`|\n|**Dogri (macrolanguage)**|`doi`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Erzya**|`myv`|\n|**Estonian**|`et`|\n|**Faroese**|`fo`|\n|**Fijian**|`fj`|\n|**Filipino**|`fil`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**Friulian**|`fur`|\n|**Gagauz**|`gag`|\n|**Galician**|`gl`|\n|**German**|`de`|\n|**Gilbertese**|`gil`|\n|**Gondi**|`gon`|\n|**Gurung**|`gvr`|\n|**Haitian**|`ht`|\n|**Halbi**|`hlb`|\n|**Hani**|`hni`|\n|**Haryanvi**|`bgc`|\n|**Hawaiian**|`haw`|\n|**Hindi**|`hi`|\n|**Hmong Daw**|`mww`|\n|**Ho**|`hoc`|\n|**Hungarian**|`hu`|\n|**Icelandic**|`is`|\n|**Inari Sami**|`smn`|\n|**Indonesian**|`id`|\n|**Interlingua (International Auxiliary Language Association)**|`ia`|\n|**Inuktitut**|`iu`|\n|**Irish**|`ga`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Jaunsari**|`jns`|\n|**Javanese**|`jv`|\n|**K'iche'**|`quc`|\n|**Kabuverdianu**|`kea`|\n|**Kachin**|`kac`|\n|**Kalaallisut**|`kl`|\n|**Kangri**|`xnr`|\n|**Kara-Kalpak**|`kaa`|\n|**Karachay-Balkar**|`krc`|\n|**Kashubian**|`csb`|\n|**Kazakh**|`kk`|\n|**Khaling**|`klr`|\n|**Khasi**|`kha`|\n|**Kirghiz**|`ky`|\n|**Korean**|`ko`|\n|**Korku**|`kfq`|\n|**Koryak**|`kpy`|\n|**Kosraean**|`kos`|\n|**Kumarbhag Paharia**|`kmj`|\n|**Kumyk**|`kum`|\n|**Kurdish**|`ku`|\n|**Kurukh**|`kru`|\n|**K\u00f6lsch**|`ksh`|\n|**Lakota**|`lkt`|\n|**Latin**|`la`|\n|**Latvian**|`lv`|\n|**Lithuanian**|`lt`|\n|**Lower Sorbian**|`dsb`|\n|**Lule Sami**|`smj`|\n|**Luxembourgish**|`lb`|\n|**Mahasu Pahari**|`bfz`|\n|**Malay (macrolanguage)**|`ms`|\n|**Maltese**|`mt`|\n|**Manx**|`gv`|\n|**Maori**|`mi`|\n|**Marathi**|`mr`|\n|**Mongolian**|`mn`|\n|**Montenegrin**|`cnr`|\n|**Neapolitan**|`nap`|\n|**Nepali (macrolanguage)**|`ne`|\n|**Niuean**|`niu`|\n|**Nogai**|`nog`|\n|**Northern Sami**|`se`|\n|**Norwegian**|`no`|\n|**Occitan (post 1500)**|`oc`|\n|**Ossetian**|`os`|\n|**Panjabi**|`pa`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Pushto**|`ps`|\n|**Romanian**|`ro`|\n|**Romansh**|`rm`|\n|**Russian**|`ru`|\n|**Sadri**|`sck`|\n|**Samoan**|`sm`|\n|**Sanskrit**|`sa`|\n|**Santali**|`sat`|\n|**Scots**|`sco`|\n|**Scottish Gaelic**|`gd`|\n|**Serbian**|`sr`|\n|**Sherpa**|`xsr`|\n|**Sirmauri**|`srx`|\n|**Skolt Sami**|`sms`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Somali**|`so`|\n|**Southern Sami**|`sma`|\n|**Spanish**|`es`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tagalog**|`tl`|\n|**Tajik**|`tg`|\n|**Tatar**|`tt`|\n|**Tetum**|`tet`|\n|**Thangmi**|`thf`|\n|**Tonga (Tonga Islands)**|`to`|\n|**Turkish**|`tr`|\n|**Turkmen**|`tk`|\n|**Tuvinian**|`tyv`|\n|**Uighur**|`ug`|\n|**Upper Sorbian**|`hsb`|\n|**Urdu**|`ur`|\n|**Uzbek**|`uz`|\n|**Vietnamese**|`vi`|\n|**Volap\u00fck**|`vo`|\n|**Walser**|`wae`|\n|**Welsh**|`cy`|\n|**Western Frisian**|`fy`|\n|**Yucateco**|`yua`|\n|**Zhuang**|`za`|\n|**Zulu**|`zu`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Belarusian**|`be-Cyrl`|\n|**Belarusian (Latin)**|`be-Latn`|\n|**Chinese (Simplified)**|`zh-Hans`|\n|**Chinese (Traditional)**|`zh-Hant`|\n|**Kara-Kalpak (Cyrillic)**|`kaa-Cyrl`|\n|**Kazakh**|`kk-Cyrl`|\n|**Kazakh (Latin)**|`kk-Latn`|\n|**Kurdish (Arabic)**|`ku-Arab`|\n|**Kurdish (Latin)**|`ku-Latn`|\n|**Serbian (Cyrillic)**|`sr-Cyrl`|\n|**Serbian (Cyrillic, Montenegro)**|`sr-Cyrl-ME`|\n|**Serbian (Latin)**|`sr-Latn`|\n|**Serbian (Latin, Montenegro)**|`sr-Latn-ME`|\n|**Uzbek (Arabic)**|`uz-Arab`|\n|**Uzbek (Cyrillic)**|`uz-cyrl`|\n\n
", "summary": "OCR Tables Launch Job", "tags": ["Ocr Tables Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/OcrTablesAsyncRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/OcrTablesAsyncRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "ocr_ocr_ocr_tables_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "OCR Tables delete Jobs", "tags": ["Ocr Tables Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/ocr/ocr_tables_async/{public_id}/": {"get": {"operationId": "ocr_ocr_ocr_tables_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "OCR Tables Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Ocr Tables Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncocrocr_tables_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/ocr/resume_parser/": {"post": {"operationId": "ocr_ocr_resume_parser_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**affinda**|-|`v3`|0.07 (per 1 file)|1 file\n|**klippa**|-|`v1`|0.1 (per 1 file)|1 file\n|**senseloaf**|-|`v3`|0.045 (per 1 file)|1 file\n|**extracta**|-|`v1`|0.1 (per 1 page)|1 page\n|**openai**|-|`v1.0`|0.04 (per 1 page)|1 page\n|**openai**|**gpt-4o**|`v1.0`|0.04 (per 1 page)|1 page\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Albanian**|`sq`|\n|**Amharic**|`am`|\n|**Arabic**|`ar`|\n|**Armenian**|`hy`|\n|**Azerbaijani**|`az`|\n|**Basque**|`eu`|\n|**Belarusian**|`be`|\n|**Bengali**|`bn`|\n|**Bosnian**|`bs`|\n|**Bulgarian**|`bg`|\n|**Burmese**|`my`|\n|**Catalan**|`ca`|\n|**Cebuano**|`ceb`|\n|**Chinese**|`zh`|\n|**Corsican**|`co`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Esperanto**|`eo`|\n|**Estonian**|`et`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**Galician**|`gl`|\n|**Georgian**|`ka`|\n|**German**|`de`|\n|**Gujarati**|`gu`|\n|**Haitian**|`ht`|\n|**Hausa**|`ha`|\n|**Hawaiian**|`haw`|\n|**Hebrew**|`he`|\n|**Hindi**|`hi`|\n|**Hmong**|`hmn`|\n|**Hungarian**|`hu`|\n|**Icelandic**|`is`|\n|**Igbo**|`ig`|\n|**Indonesian**|`id`|\n|**Irish**|`ga`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Javanese**|`jv`|\n|**Kannada**|`kn`|\n|**Kazakh**|`kk`|\n|**Khmer**|`km`|\n|**Kinyarwanda**|`rw`|\n|**Kirghiz**|`ky`|\n|**Korean**|`ko`|\n|**Kurdish**|`ku`|\n|**Lao**|`lo`|\n|**Latin**|`la`|\n|**Latvian**|`lv`|\n|**Lithuanian**|`lt`|\n|**Luxembourgish**|`lb`|\n|**Macedonian**|`mk`|\n|**Malagasy**|`mg`|\n|**Malay (macrolanguage)**|`ms`|\n|**Malayalam**|`ml`|\n|**Maltese**|`mt`|\n|**Maori**|`mi`|\n|**Marathi**|`mr`|\n|**Modern Greek (1453-)**|`el`|\n|**Mongolian**|`mn`|\n|**Nepali (macrolanguage)**|`ne`|\n|**Norwegian**|`no`|\n|**Nyanja**|`ny`|\n|**Oriya (macrolanguage)**|`or`|\n|**Panjabi**|`pa`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Pushto**|`ps`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Samoan**|`sm`|\n|**Scottish Gaelic**|`gd`|\n|**Serbian**|`sr`|\n|**Shona**|`sn`|\n|**Sindhi**|`sd`|\n|**Sinhala**|`si`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Somali**|`so`|\n|**Southern Sotho**|`st`|\n|**Spanish**|`es`|\n|**Sundanese**|`su`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tagalog**|`tl`|\n|**Tajik**|`tg`|\n|**Tamil**|`ta`|\n|**Tatar**|`tt`|\n|**Telugu**|`te`|\n|**Thai**|`th`|\n|**Turkish**|`tr`|\n|**Turkmen**|`tk`|\n|**Uighur**|`ug`|\n|**Ukrainian**|`uk`|\n|**Urdu**|`ur`|\n|**Uzbek**|`uz`|\n|**Vietnamese**|`vi`|\n|**Welsh**|`cy`|\n|**Western Frisian**|`fy`|\n|**Xhosa**|`xh`|\n|**Yiddish**|`yi`|\n|**Yoruba**|`yo`|\n|**Zulu**|`zu`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Chinese (China)**|`zh-CN`|\n|**Chinese (China)**|`zh-cn`|\n|**Chinese (Taiwan)**|`zh-TW`|\n|**Chinese (Taiwan)**|`zh-tw`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n\n
", "summary": "Resume Parser", "tags": ["Resume Parser"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ocrresume_parserResumeParserRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/ocrresume_parserResumeParserRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ocrresume_parserResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/prompts/": {"get": {"operationId": "prompts_prompts_list", "summary": "List Prompts", "parameters": [{"name": "page", "required": false, "in": "query", "description": "A page number within the paginated result set.", "schema": {"type": "integer"}}, {"name": "page_size", "required": false, "in": "query", "description": "Number of results to return per page.", "schema": {"type": "integer"}}], "tags": ["Prompts"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PaginatedPromptCreateList"}}}, "description": ""}}}, "post": {"operationId": "prompts_prompts_create", "summary": "Create Prompts", "tags": ["Prompts"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptCreateRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/PromptCreateRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/PromptCreateRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"201": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptCreate"}}}, "description": ""}}}}, "/prompts/{name}/": {"get": {"operationId": "prompts_prompts_retrieve", "summary": "Get Prompt", "parameters": [{"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["Prompts"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptUpdate"}}}, "description": ""}}}, "post": {"operationId": "prompts_prompts_create_2", "description": "Call prompt with your variables in prompt_context. You can override params saved in the prompt and specifiy file urls", "summary": "Call prompt", "parameters": [{"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["Prompts"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptCallRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/PromptCallRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/PromptCallRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptUpdate"}}}, "description": ""}}}, "put": {"operationId": "prompts_prompts_update", "summary": "Update Prompt", "parameters": [{"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["Prompts"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptUpdateRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/PromptUpdateRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/PromptUpdateRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptUpdate"}}}, "description": ""}}}, "patch": {"operationId": "prompts_prompts_partial_update", "summary": "Update Prompt", "parameters": [{"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["Prompts"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PatchedPromptUpdateRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/PatchedPromptUpdateRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/PatchedPromptUpdateRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptUpdate"}}}, "description": ""}}}, "delete": {"operationId": "prompts_prompts_destroy", "summary": "Delete Prompt", "parameters": [{"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["Prompts"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/prompts/{name}/history/": {"get": {"operationId": "prompts_prompts_history_list", "summary": "List Prompt History", "parameters": [{"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}, {"name": "page", "required": false, "in": "query", "description": "A page number within the paginated result set.", "schema": {"type": "integer"}}, {"name": "page_size", "required": false, "in": "query", "description": "Number of results to return per page.", "schema": {"type": "integer"}}], "tags": ["Prompts"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PaginatedPromptHistoryList"}}}, "description": ""}}}, "post": {"operationId": "prompts_prompts_history_create", "summary": "Create Prompt History", "parameters": [{"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["Prompts"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptHistoryRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/PromptHistoryRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/PromptHistoryRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"201": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptHistory"}}}, "description": ""}}}}, "/prompts/{name}/history/{id}/": {"get": {"operationId": "prompts_prompts_history_retrieve", "summary": "Get Prompt History", "parameters": [{"in": "path", "name": "id", "schema": {"type": "integer"}, "required": true}, {"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["Prompts"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptHistory"}}}, "description": ""}}}, "put": {"operationId": "prompts_prompts_history_update", "summary": "Update Prompt History", "parameters": [{"in": "path", "name": "id", "schema": {"type": "integer"}, "required": true}, {"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["Prompts"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptHistoryRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/PromptHistoryRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/PromptHistoryRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptHistory"}}}, "description": ""}}}, "patch": {"operationId": "prompts_prompts_history_partial_update", "summary": "Update Prompt History", "parameters": [{"in": "path", "name": "id", "schema": {"type": "integer"}, "required": true}, {"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["Prompts"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PatchedPromptHistoryRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/PatchedPromptHistoryRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/PatchedPromptHistoryRequest"}}}}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PromptHistory"}}}, "description": ""}}}, "delete": {"operationId": "prompts_prompts_history_destroy", "summary": "Delete Prompt History", "parameters": [{"in": "path", "name": "id", "schema": {"type": "integer"}, "required": true}, {"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["Prompts"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/prompts/{name}/history/{id}/template-variables/": {"get": {"operationId": "prompts_prompts_history_template_variables_retrieve", "summary": "Get Prompt Template Variables", "parameters": [{"in": "path", "name": "id", "schema": {"type": "integer"}, "required": true}, {"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["Prompts"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"description": "No response body"}}}}, "/resources/": {"get": {"operationId": "resources_resources_list", "tags": ["resources"], "security": [{"jwtAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/ResourceList"}}}}, "description": ""}}}, "post": {"operationId": "resources_resources_create", "tags": ["resources"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ResourceCreateRequest"}}}, "required": true}, "security": [{"jwtAuth": []}], "responses": {"201": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ResourceCreate"}}}, "description": ""}}}}, "/resources/{resource}/": {"get": {"operationId": "resources_resources_retrieve", "parameters": [{"in": "path", "name": "resource", "schema": {"type": "string"}, "required": true}], "tags": ["resources"], "security": [{"jwtAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ResourceUpdate"}}}, "description": ""}}}, "put": {"operationId": "resources_resources_update", "parameters": [{"in": "path", "name": "resource", "schema": {"type": "string"}, "required": true}], "tags": ["resources"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ResourceUpdateRequest"}}}, "required": true}, "security": [{"jwtAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ResourceUpdate"}}}, "description": ""}}}, "patch": {"operationId": "resources_resources_partial_update", "parameters": [{"in": "path", "name": "resource", "schema": {"type": "string"}, "required": true}], "tags": ["resources"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PatchedResourceUpdateRequest"}}}}, "security": [{"jwtAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ResourceUpdate"}}}, "description": ""}}}, "delete": {"operationId": "resources_resources_destroy", "parameters": [{"in": "path", "name": "resource", "schema": {"type": "string"}, "required": true}], "tags": ["resources"], "security": [{"jwtAuth": []}], "responses": {"204": {"description": "No response body"}}}}, "/resources/{resource}/asset/": {"post": {"operationId": "resources_resources_asset_create", "parameters": [{"in": "path", "name": "resource", "schema": {"type": "string"}, "required": true}], "tags": ["resources"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AssetCreateRequest"}}}, "required": true}, "security": [{"jwtAuth": []}], "responses": {"201": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AssetCreate"}}}, "description": ""}}}}, "/resources/{resource}/asset/{asset}/": {"get": {"operationId": "resources_resources_asset_retrieve", "parameters": [{"in": "path", "name": "asset", "schema": {"type": "string"}, "required": true}, {"in": "path", "name": "resource", "schema": {"type": "string"}, "required": true}], "tags": ["resources"], "security": [{"jwtAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AssetUpdate"}}}, "description": ""}}}, "put": {"operationId": "resources_resources_asset_update", "parameters": [{"in": "path", "name": "asset", "schema": {"type": "string"}, "required": true}, {"in": "path", "name": "resource", "schema": {"type": "string"}, "required": true}], "tags": ["resources"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AssetUpdateRequest"}}}, "required": true}, "security": [{"jwtAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AssetUpdate"}}}, "description": ""}}}, "patch": {"operationId": "resources_resources_asset_partial_update", "parameters": [{"in": "path", "name": "asset", "schema": {"type": "string"}, "required": true}, {"in": "path", "name": "resource", "schema": {"type": "string"}, "required": true}], "tags": ["resources"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PatchedAssetUpdateRequest"}}}}, "security": [{"jwtAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AssetUpdate"}}}, "description": ""}}}, "delete": {"operationId": "resources_resources_asset_destroy", "parameters": [{"in": "path", "name": "asset", "schema": {"type": "string"}, "required": true}, {"in": "path", "name": "resource", "schema": {"type": "string"}, "required": true}], "tags": ["resources"], "security": [{"jwtAuth": []}], "responses": {"204": {"description": "No response body"}}}}, "/text/ai_detection/": {"post": {"operationId": "text_text_ai_detection_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**sapling**|`v1`|5.0 (per 1000000 char)|1000 char\n|**winstonai**|`v2`|14.0 (per 1000000 char)|1 char\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Chinese**|`zh`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**French**|`fr`|\n|**German**|`de`|\n|**Spanish**|`es`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Chinese (China)**|`zh-CN`|\n\n
", "summary": "AI Content Detection", "tags": ["Ai Detection"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textai_detectionAiDetectionRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textai_detectionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/anonymization/": {"post": {"operationId": "text_text_anonymization_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**openai**|-|`v3.0.0`|20.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**openai**|**chatgpt-4o-latest**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0125**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0301**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0613**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-1106**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k-0613**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4-0125-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0314**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0613**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-vision-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-32k**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0314**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0613**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-2024-04-09**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-vision-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4.1**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-2025-04-14**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini**|`v3.0.0`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini-2025-04-14**|`v3.0.0`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano-2025-04-14**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview**|`v3.0.0`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview-2025-02-27**|`v3.0.0`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-05-13**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-08-06**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-11-20**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-10-01**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-12-17**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2025-06-03**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-2024-07-18**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview-2024-12-17**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview-2024-12-17**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview-2025-03-11**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-10-01**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-12-17**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2025-06-03**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview-2025-03-11**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-2025-11-13**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-chat-latest**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-2025-12-11**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-chat-latest**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-2025-08-07**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat-latest**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-mini**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-mini-2025-08-07**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-nano**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-5-nano-2025-08-07**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-realtime**|`v3.0.0`|1.6e-05 (per 1 token)|1 token\n|**openai**|**gpt-realtime-mini**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-realtime-2025-08-28**|`v3.0.0`|1.6e-05 (per 1 token)|1 token\n|**openai**|**o1**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-2024-12-17**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o1-mini-2024-09-12**|`v3.0.0`|1.2e-05 (per 1 token)|1 token\n|**openai**|**o1-preview**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-preview-2024-09-12**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o3**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-2025-04-16**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o3-mini-2025-01-31**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini-2025-04-16**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**container**|`v3.0.0`|0.0 (per 1 seconde)|1 seconde\n|**amazon**|-|`boto3 (v1.15.18)`|1.0 (per 1000000 char)|300 char\n|**microsoft**|-|`v3.1`|0.25 (per 1000000 char)|1000 char\n|**privateai**|-|`v3`|5.0 (per 1000000 char)|100 char\n|**xai**|**grok-2-latest**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-4**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-2-1212**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-1212**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-latest**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-3**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-beta**|`v1`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-latest**|`v1`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-latest**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-mini**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-beta**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-beta**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-latest**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-fast-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-fast-non-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-0709**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-latest**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-code-fast**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1-0825**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-vision-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Arabic**|`ar`|\n|**Bambara**|`bm`|\n|**Belarusian**|`be`|\n|**Bengali**|`bn`|\n|**Bulgarian**|`bg`|\n|**Burmese**|`my`|\n|**Catalan**|`ca`|\n|**Chinese**|`zh`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Estonian**|`et`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**Georgian**|`ka`|\n|**German**|`de`|\n|**Hebrew**|`he`|\n|**Hindi**|`hi`|\n|**Hungarian**|`hu`|\n|**Icelandic**|`is`|\n|**Indonesian**|`id`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Khmer**|`km`|\n|**Korean**|`ko`|\n|**Latvian**|`lv`|\n|**Lithuanian**|`lt`|\n|**Luxembourgish**|`lb`|\n|**Malay (macrolanguage)**|`ms`|\n|**Modern Greek (1453-)**|`el`|\n|**Norwegian**|`no`|\n|**Norwegian Bokm\u00e5l**|`nb`|\n|**Panjabi**|`pa`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Spanish**|`es`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tagalog**|`tl`|\n|**Tamil**|`ta`|\n|**Thai**|`th`|\n|**Turkish**|`tr`|\n|**Ukrainian**|`uk`|\n|**Vietnamese**|`vi`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Chinese (Simplified)**|`zh-Hans`|\n|**Chinese (Traditional)**|`zh-Hant`|\n|**Portuguese (Brazil)**|`pt-BR`|\n|**Portuguese (Portugal)**|`pt-PT`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n|**xai**|`grok-2-latest`|\n\n
", "summary": "Anonymization", "tags": ["Anonymization"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/texttopic_extractiontextanonymizationtextmoderationtextnamed_entity_recognitiontextkeyword_extractiontextsyntax_analysistextsentiment_analysisTextAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textanonymizationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/chat/": {"post": {"operationId": "text_text_chat_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**openai**|**o3-mini**|`v1Beta`|4.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-2025-04-14**|`v1Beta`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano-2025-04-14**|`v1Beta`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini**|`v1Beta`|6e-07 (per 1 token)|1 token\n|**openai**|-|`v1Beta`|10.0 (per 1000000 token)|1 token\n|**openai**|**o1-preview**|`v1Beta`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-mini**|`v1Beta`|4.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-05-13**|`v1Beta`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-5**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat-latest**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-mini**|`v1Beta`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-nano**|`v1Beta`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo**|`v1Beta`|3e-05 (per 1 token)|1 token\n|**openai**|**o1-2024-12-17**|`v1Beta`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2**|`v1Beta`|1.4e-05 (per 1 token)|1 token\n|**openai**|**chatgpt-4o-latest**|`v1Beta`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo**|`v1Beta`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0125**|`v1Beta`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0301**|`v1Beta`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0613**|`v1Beta`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-1106**|`v1Beta`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k**|`v1Beta`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k-0613**|`v1Beta`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4**|`v1Beta`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0125-preview**|`v1Beta`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0314**|`v1Beta`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0613**|`v1Beta`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-preview**|`v1Beta`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-vision-preview**|`v1Beta`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-32k**|`v1Beta`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0314**|`v1Beta`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0613**|`v1Beta`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-2024-04-09**|`v1Beta`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-preview**|`v1Beta`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-vision-preview**|`v1Beta`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4.1**|`v1Beta`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini**|`v1Beta`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini-2025-04-14**|`v1Beta`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano**|`v1Beta`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview**|`v1Beta`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview-2025-02-27**|`v1Beta`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4o**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-08-06**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-11-20**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-10-01**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-12-17**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2025-06-03**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-2024-07-18**|`v1Beta`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview**|`v1Beta`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview-2024-12-17**|`v1Beta`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview**|`v1Beta`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview-2024-12-17**|`v1Beta`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview**|`v1Beta`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview-2025-03-11**|`v1Beta`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview**|`v1Beta`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-10-01**|`v1Beta`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-12-17**|`v1Beta`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2025-06-03**|`v1Beta`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview-2025-03-11**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-2025-11-13**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-chat-latest**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-2025-12-11**|`v1Beta`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-chat-latest**|`v1Beta`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-2025-08-07**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat**|`v1Beta`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-mini-2025-08-07**|`v1Beta`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-nano-2025-08-07**|`v1Beta`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-realtime**|`v1Beta`|1.6e-05 (per 1 token)|1 token\n|**openai**|**gpt-realtime-mini**|`v1Beta`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-realtime-2025-08-28**|`v1Beta`|1.6e-05 (per 1 token)|1 token\n|**openai**|**o1**|`v1Beta`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-mini-2024-09-12**|`v1Beta`|1.2e-05 (per 1 token)|1 token\n|**openai**|**o1-preview-2024-09-12**|`v1Beta`|6e-05 (per 1 token)|1 token\n|**openai**|**o3**|`v1Beta`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-2025-04-16**|`v1Beta`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-mini-2025-01-31**|`v1Beta`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini**|`v1Beta`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini-2025-04-16**|`v1Beta`|4.4e-06 (per 1 token)|1 token\n|**openai**|**container**|`v1Beta`|0.0 (per 1 seconde)|1 seconde\n|**google**|**gemini-1.5-flash-8b-latest**|`v1`|0.3 (per 1000000 token)|1 token\n|**google**|-|`v1`|0.6 (per 1000000 token)|1 token\n|**google**|**gemini-3-pro-preview**|`v1`|1.2e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-lite-preview-02-05**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-03-25**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-exp-03-25**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-latest**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-8b**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-live-2.5-flash-preview-native-audio-09-2025**|`v1`|2e-06 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-001**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-002**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-8b-exp-0827**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-8b-exp-0924**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-exp-0827**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-latest**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-001**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-002**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-exp-0801**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-exp-0827**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-001**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-exp**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-lite**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-live-001**|`v1`|1.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-preview-image-generation**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-thinking-exp**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-thinking-exp-01-21**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-pro-exp-02-05**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite-preview-09-2025**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-09-2025**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-flash-latest**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-flash-lite-latest**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite-preview-06-17**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-04-17**|`v1`|6e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-05-20**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-tts**|`v1`|6e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-computer-use-preview-10-2025**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-3-flash-preview**|`v1`|3e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-05-06**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-06-05**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-tts**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-exp-1114**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-exp-1206**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-gemma-2-27b-it**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-gemma-2-9b-it**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-pro**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-pro-vision**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemma-3-27b-it**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**learnlm-1.5-pro-experimental**|`v1`|0.0 (per 1 token)|1 token\n|**cohere**|-|`2022-12-06`|2.0 (per 1000000 token)|1 token\n|**cohere**|**command-light**|`2022-12-06`|0.6 (per 1000000 token)|1 token\n|**cohere**|**command-nightly**|`2022-12-06`|2.0 (per 1000000 token)|1 token\n|**cohere**|**command**|`2022-12-06`|2.0 (per 1000000 token)|1 token\n|**cohere**|**command-light-nightly**|`2022-12-06`|0.6 (per 1000000 token)|1 token\n|**cohere**|**command-r**|`2022-12-06`|1.5 (per 1000000 token)|1 token\n|**cohere**|**command-r7b-12-2024**|`2022-12-06`|0.15 (per 1000000 token)|1 token\n|**meta**|**llama3-1-405b-instruct-v1:0**|`boto3 (v1.35.84)`|2.4 (per 1000000 token)|1 token\n|**meta**|**llama3-1-70b-instruct-v1:0**|`boto3 (v1.35.84)`|0.72 (per 1000000 token)|1 token\n|**meta**|**llama3-1-8b-instruct-v1:0**|`boto3 (v1.35.84)`|0.22 (per 1000000 token)|1 token\n|**meta**|-|`boto3 (v1.35.84)`|0.15 (per 1000000 token)|1 token\n|**mistral**|-|`v0.0.1`|6.0 (per 1000000 token)|1 token\n|**mistral**|**pixtral-large-latest**|`v0.0.1`|6e-06 (per 1 token)|1 token\n|**mistral**|**mistral-saba-latest**|`v0.0.1`|0.6 (per 1000000 token)|1 token\n|**mistral**|**mistral-small-latest**|`v0.0.1`|3e-07 (per 1 token)|1 token\n|**mistral**|**mistral-large-latest**|`v0.0.1`|6e-06 (per 1 token)|1 token\n|**mistral**|**codestral-latest**|`v0.0.1`|3e-06 (per 1 token)|1 token\n|**mistral**|**codestral-2405**|`v0.0.1`|3e-06 (per 1 token)|1 token\n|**mistral**|**codestral-2508**|`v0.0.1`|9e-07 (per 1 token)|1 token\n|**mistral**|**codestral-mamba-latest**|`v0.0.1`|2.5e-07 (per 1 token)|1 token\n|**mistral**|**devstral-medium-2507**|`v0.0.1`|2e-06 (per 1 token)|1 token\n|**mistral**|**devstral-small-2505**|`v0.0.1`|3e-07 (per 1 token)|1 token\n|**mistral**|**devstral-small-2507**|`v0.0.1`|3e-07 (per 1 token)|1 token\n|**mistral**|**labs-devstral-small-2512**|`v0.0.1`|3e-07 (per 1 token)|1 token\n|**mistral**|**devstral-2512**|`v0.0.1`|2e-06 (per 1 token)|1 token\n|**mistral**|**magistral-medium-2506**|`v0.0.1`|5e-06 (per 1 token)|1 token\n|**mistral**|**magistral-medium-2509**|`v0.0.1`|5e-06 (per 1 token)|1 token\n|**mistral**|**magistral-medium-latest**|`v0.0.1`|5e-06 (per 1 token)|1 token\n|**mistral**|**magistral-small-2506**|`v0.0.1`|1.5e-06 (per 1 token)|1 token\n|**mistral**|**magistral-small-latest**|`v0.0.1`|1.5e-06 (per 1 token)|1 token\n|**mistral**|**mistral-large-2402**|`v0.0.1`|1.2e-05 (per 1 token)|1 token\n|**mistral**|**mistral-large-2407**|`v0.0.1`|9e-06 (per 1 token)|1 token\n|**mistral**|**mistral-large-2411**|`v0.0.1`|6e-06 (per 1 token)|1 token\n|**mistral**|**mistral-large-3**|`v0.0.1`|1.5e-06 (per 1 token)|1 token\n|**mistral**|**mistral-medium**|`v0.0.1`|8.1e-06 (per 1 token)|1 token\n|**mistral**|**mistral-medium-2312**|`v0.0.1`|8.1e-06 (per 1 token)|1 token\n|**mistral**|**mistral-medium-2505**|`v0.0.1`|2e-06 (per 1 token)|1 token\n|**mistral**|**mistral-medium-latest**|`v0.0.1`|2e-06 (per 1 token)|1 token\n|**mistral**|**mistral-small**|`v0.0.1`|3e-07 (per 1 token)|1 token\n|**mistral**|**mistral-tiny**|`v0.0.1`|2.5e-07 (per 1 token)|1 token\n|**mistral**|**open-codestral-mamba**|`v0.0.1`|2.5e-07 (per 1 token)|1 token\n|**mistral**|**open-mistral-7b**|`v0.0.1`|2.5e-07 (per 1 token)|1 token\n|**mistral**|**open-mistral-nemo**|`v0.0.1`|3e-07 (per 1 token)|1 token\n|**mistral**|**open-mistral-nemo-2407**|`v0.0.1`|3e-07 (per 1 token)|1 token\n|**mistral**|**open-mixtral-8x22b**|`v0.0.1`|6e-06 (per 1 token)|1 token\n|**mistral**|**open-mixtral-8x7b**|`v0.0.1`|7e-07 (per 1 token)|1 token\n|**mistral**|**pixtral-12b-2409**|`v0.0.1`|1.5e-07 (per 1 token)|1 token\n|**mistral**|**pixtral-large-2411**|`v0.0.1`|6e-06 (per 1 token)|1 token\n|**perplexityai**|-|`v1.0`|2.0 (per 1000000 token)|1 token\n|**perplexityai**|**sonar-pro**|`v1.0`|30.0 (per 1000000 token)|1 token\n|**perplexityai**|**sonar**|`v1.0`|2.0 (per 1000000 token)|1 token\n|**anthropic**|-|`bedrock-2023-05-31`|15.0 (per 1000000 token)|1 token\n|**anthropic**|**claude-3-5-haiku-20241022-v1:0**|`bedrock-2023-05-31`|4e-06 (per 1 token)|1 token\n|**anthropic**|**claude-3-5-sonnet-20240620-v1:0**|`bedrock-2023-05-31`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-5-sonnet-20241022-v2:0**|`bedrock-2023-05-31`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-7-sonnet-20240620-v1:0**|`bedrock-2023-05-31`|1.8e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-haiku-20240307-v1:0**|`bedrock-2023-05-31`|1.25e-06 (per 1 token)|1 token\n|**anthropic**|**claude-3-opus-20240229-v1:0**|`bedrock-2023-05-31`|7.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-sonnet-20240229-v1:0**|`bedrock-2023-05-31`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-instant-v1**|`bedrock-2023-05-31`|2.4e-06 (per 1 token)|1 token\n|**anthropic**|**claude-v1**|`bedrock-2023-05-31`|2.4e-05 (per 1 token)|1 token\n|**anthropic**|**claude-v2:1**|`bedrock-2023-05-31`|2.4e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-5-haiku-20241022**|`bedrock-2023-05-31`|4e-06 (per 1 token)|1 token\n|**anthropic**|**claude-3-5-haiku-latest**|`bedrock-2023-05-31`|5e-06 (per 1 token)|1 token\n|**anthropic**|**claude-haiku-4-5-20251001**|`bedrock-2023-05-31`|5e-06 (per 1 token)|1 token\n|**anthropic**|**claude-haiku-4-5**|`bedrock-2023-05-31`|5e-06 (per 1 token)|1 token\n|**anthropic**|**claude-3-5-sonnet-20240620**|`bedrock-2023-05-31`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-5-sonnet-20241022**|`bedrock-2023-05-31`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-5-sonnet-latest**|`bedrock-2023-05-31`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-7-sonnet-20250219**|`bedrock-2023-05-31`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-7-sonnet-latest**|`bedrock-2023-05-31`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-haiku-20240307**|`bedrock-2023-05-31`|1.25e-06 (per 1 token)|1 token\n|**anthropic**|**claude-3-opus-20240229**|`bedrock-2023-05-31`|7.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-3-opus-latest**|`bedrock-2023-05-31`|7.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-4-opus-20250514**|`bedrock-2023-05-31`|7.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-4-sonnet-20250514**|`bedrock-2023-05-31`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-sonnet-4-5**|`bedrock-2023-05-31`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-sonnet-4-5-20250929**|`bedrock-2023-05-31`|1.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-opus-4-1**|`bedrock-2023-05-31`|7.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-opus-4-1-20250805**|`bedrock-2023-05-31`|7.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-opus-4-20250514**|`bedrock-2023-05-31`|7.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-opus-4-5-20251101**|`bedrock-2023-05-31`|2.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-opus-4-5**|`bedrock-2023-05-31`|2.5e-05 (per 1 token)|1 token\n|**anthropic**|**claude-sonnet-4-20250514**|`bedrock-2023-05-31`|1.5e-05 (per 1 token)|1 token\n|**xai**|-|`v1`|10.0 (per 1000000 token)|1 token\n|**xai**|**grok-2-latest**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-1212**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-1212**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-latest**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-3**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-beta**|`v1`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-latest**|`v1`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-latest**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-mini**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-beta**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-beta**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-latest**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-fast-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-fast-non-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-0709**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-latest**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-code-fast**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1-0825**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-vision-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n|**deepseek**|**deepseek-v3**|`v1`|1.1e-06 (per 1 token)|1 token\n|**deepseek**|-|`v1`|1.25 (per 1000000 token)|1 token\n|**deepseek**|**deepseek-reasoner**|`v1`|2.19e-06 (per 1 token)|1 token\n|**deepseek**|**deepseek-chat**|`v1`|1.1e-06 (per 1 token)|1 token\n|**deepseek**|**deepseek-coder**|`v1`|2.8e-07 (per 1 token)|1 token\n|**deepseek**|**deepseek-r1**|`v1`|2.19e-06 (per 1 token)|1 token\n|**deepseek**|**deepseek-v3.2**|`v1`|4e-07 (per 1 token)|1 token\n|**amazon**|-|`boto3 (v1.29.6)`|0.24 (per 1000000 token)|1 token\n|**amazon**|**amazon.nova-lite-v1:0**|`boto3 (v1.29.6)`|0.24 (per 1000000 token)|1 token\n|**amazon**|**amazon.nova-pro-v1:0**|`boto3 (v1.29.6)`|3.2 (per 1000000 token)|1 token\n|**amazon**|**amazon.nova-micro-v1:0**|`boto3 (v1.29.6)`|0.14 (per 1000000 token)|1 token\n|**together_ai**|-|`v1`|1.2 (per 1000000 token)|1 token\n|**together_ai**|**Qwen/Qwen2.5-72B-Instruct-Turbo**|`v1`|0.0 (per 1 seconde)|1 seconde\n|**together_ai**|**meta-llama/Llama-3.3-70B-Instruct-Turbo**|`v1`|8.8e-07 (per 1 token)|1 token\n|**together_ai**|**together-ai-21.1b-41b**|`v1`|8e-07 (per 1 token)|1 token\n|**together_ai**|**together-ai-4.1b-8b**|`v1`|2e-07 (per 1 token)|1 token\n|**together_ai**|**together-ai-41.1b-80b**|`v1`|9e-07 (per 1 token)|1 token\n|**together_ai**|**together-ai-8.1b-21b**|`v1`|3e-07 (per 1 token)|1 token\n|**together_ai**|**together-ai-81.1b-110b**|`v1`|1.8e-06 (per 1 token)|1 token\n|**together_ai**|**together-ai-up-to-4b**|`v1`|1e-07 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen2.5-7B-Instruct-Turbo**|`v1`|0.0 (per 1 seconde)|1 seconde\n|**together_ai**|**Qwen/Qwen3-235B-A22B-Instruct-2507-tput**|`v1`|6e-06 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen3-235B-A22B-Thinking-2507**|`v1`|3e-06 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen3-235B-A22B-fp8-tput**|`v1`|6e-07 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8**|`v1`|2e-06 (per 1 token)|1 token\n|**together_ai**|**deepseek-ai/DeepSeek-R1**|`v1`|7e-06 (per 1 token)|1 token\n|**together_ai**|**deepseek-ai/DeepSeek-R1-0528-tput**|`v1`|2.19e-06 (per 1 token)|1 token\n|**together_ai**|**deepseek-ai/DeepSeek-V3**|`v1`|1.25e-06 (per 1 token)|1 token\n|**together_ai**|**deepseek-ai/DeepSeek-V3.1**|`v1`|1.7e-06 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Llama-3.2-3B-Instruct-Turbo**|`v1`|0.0 (per 1 seconde)|1 seconde\n|**together_ai**|**meta-llama/Llama-3.3-70B-Instruct-Turbo-Free**|`v1`|0.0 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8**|`v1`|8.5e-07 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Llama-4-Scout-17B-16E-Instruct**|`v1`|5.9e-07 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo**|`v1`|3.5e-06 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo**|`v1`|8.8e-07 (per 1 token)|1 token\n|**together_ai**|**meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo**|`v1`|1.8e-07 (per 1 token)|1 token\n|**together_ai**|**mistralai/Mistral-7B-Instruct-v0.1**|`v1`|0.0 (per 1 seconde)|1 seconde\n|**together_ai**|**mistralai/Mistral-Small-24B-Instruct-2501**|`v1`|0.0 (per 1 seconde)|1 seconde\n|**together_ai**|**mistralai/Mixtral-8x7B-Instruct-v0.1**|`v1`|6e-07 (per 1 token)|1 token\n|**together_ai**|**moonshotai/Kimi-K2-Instruct**|`v1`|3e-06 (per 1 token)|1 token\n|**together_ai**|**openai/gpt-oss-120b**|`v1`|6e-07 (per 1 token)|1 token\n|**together_ai**|**openai/gpt-oss-20b**|`v1`|2e-07 (per 1 token)|1 token\n|**together_ai**|**togethercomputer/CodeLlama-34b-Instruct**|`v1`|0.0 (per 1 seconde)|1 seconde\n|**together_ai**|**zai-org/GLM-4.5-Air-FP8**|`v1`|1.1e-06 (per 1 token)|1 token\n|**together_ai**|**zai-org/GLM-4.6**|`v1`|2.2e-06 (per 1 token)|1 token\n|**together_ai**|**moonshotai/Kimi-K2-Instruct-0905**|`v1`|3e-06 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen3-Next-80B-A3B-Instruct**|`v1`|1.5e-06 (per 1 token)|1 token\n|**together_ai**|**Qwen/Qwen3-Next-80B-A3B-Thinking**|`v1`|1.5e-06 (per 1 token)|1 token\n|**microsoft**|**gpt-4o**|`Azure AI Foundry`|15.0 (per 1000000 token)|1 token\n|**groq**|**llama3-70b-8192**|`v1`|0.59 (per 1000000 token)|1 token\n|**groq**|**llama-3.1-8b-instant**|`v1`|8e-08 (per 1 token)|1 token\n|**groq**|**llama-3.3-70b-versatile**|`v1`|7.9e-07 (per 1 token)|1 token\n|**groq**|**gemma-7b-it**|`v1`|8e-08 (per 1 token)|1 token\n|**groq**|**meta-llama/llama-guard-4-12b**|`v1`|2e-07 (per 1 token)|1 token\n|**groq**|**meta-llama/llama-4-maverick-17b-128e-instruct**|`v1`|6e-07 (per 1 token)|1 token\n|**groq**|**meta-llama/llama-4-scout-17b-16e-instruct**|`v1`|3.4e-07 (per 1 token)|1 token\n|**groq**|**moonshotai/kimi-k2-instruct-0905**|`v1`|3e-06 (per 1 token)|1 token\n|**groq**|**openai/gpt-oss-120b**|`v1`|7.5e-07 (per 1 token)|1 token\n|**groq**|**openai/gpt-oss-20b**|`v1`|5e-07 (per 1 token)|1 token\n|**groq**|**qwen/qwen3-32b**|`v1`|5.9e-07 (per 1 token)|1 token\n\n\n
\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n|**google**|`gemini-2.5-flash`|\n|**cohere**|`command`|\n|**meta**|`llama3-1-8b-instruct-v1:0`|\n|**mistral**|`mistral-large-latest`|\n|**perplexityai**|`sonar`|\n|**anthropic**|`claude-3-5-sonnet-latest`|\n|**xai**|`grok-2-latest`|\n|**deepseek**|`deepseek-chat`|\n|**amazon**|`amazon.nova-lite-v1:0`|\n|**together_ai**|`Qwen/Qwen2.5-72B-Instruct-Turbo`|\n|**microsoft**|`gpt-4o`|\n|**groq**|`llama3-70b-8192`|\n\n
", "summary": "Chat", "tags": ["Chat"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textchatChatRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textchatResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/chat/stream/": {"post": {"operationId": "text_text_chat_stream_create", "description": "Streamed version of Chat feature, the raw text will be streamed chunk by chunk.\n\nNOTE: For this feature, you an only request one provider at a time.", "summary": "Chat Stream", "tags": ["Chat"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textchatChatStreamRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"text/plain": {"schema": {"type": "string"}}}, "description": ""}}}}, "/text/code_generation/": {"post": {"operationId": "text_text_code_generation_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**openai**|-|`v1`|10.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4o-2024-05-13**|`v1`|1.5e-05 (per 1 token)|1 token\n|**openai**|**o1-2024-12-17**|`v1`|6e-05 (per 1 token)|1 token\n|**openai**|**o1**|`v1`|6e-05 (per 1 token)|1 token\n|**openai**|**o3-mini**|`v1`|4.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4**|`v1`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini**|`v1`|6e-07 (per 1 token)|1 token\n|**openai**|**o1-preview**|`v1`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-mini**|`v1`|4.4e-06 (per 1 token)|1 token\n|**openai**|**chatgpt-4o-latest**|`v1`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo**|`v1`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0125**|`v1`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0301**|`v1`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0613**|`v1`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-1106**|`v1`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k**|`v1`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k-0613**|`v1`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4-0125-preview**|`v1`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0314**|`v1`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0613**|`v1`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-preview**|`v1`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-vision-preview**|`v1`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-32k**|`v1`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0314**|`v1`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0613**|`v1`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo**|`v1`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-2024-04-09**|`v1`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-preview**|`v1`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-vision-preview**|`v1`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4.1**|`v1`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-2025-04-14**|`v1`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini**|`v1`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini-2025-04-14**|`v1`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano**|`v1`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano-2025-04-14**|`v1`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview**|`v1`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview-2025-02-27**|`v1`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-08-06**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-11-20**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-10-01**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-12-17**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2025-06-03**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-2024-07-18**|`v1`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview**|`v1`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview-2024-12-17**|`v1`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview**|`v1`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview-2024-12-17**|`v1`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview**|`v1`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview-2025-03-11**|`v1`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview**|`v1`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-10-01**|`v1`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-12-17**|`v1`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2025-06-03**|`v1`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview-2025-03-11**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-2025-11-13**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-chat-latest**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2**|`v1`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-2025-12-11**|`v1`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-chat-latest**|`v1`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-2025-08-07**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat-latest**|`v1`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-mini**|`v1`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-mini-2025-08-07**|`v1`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-nano**|`v1`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-5-nano-2025-08-07**|`v1`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-realtime**|`v1`|1.6e-05 (per 1 token)|1 token\n|**openai**|**gpt-realtime-mini**|`v1`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-realtime-2025-08-28**|`v1`|1.6e-05 (per 1 token)|1 token\n|**openai**|**o1-mini-2024-09-12**|`v1`|1.2e-05 (per 1 token)|1 token\n|**openai**|**o1-preview-2024-09-12**|`v1`|6e-05 (per 1 token)|1 token\n|**openai**|**o3**|`v1`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-2025-04-16**|`v1`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-mini-2025-01-31**|`v1`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini**|`v1`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini-2025-04-16**|`v1`|4.4e-06 (per 1 token)|1 token\n|**openai**|**container**|`v1`|0.0 (per 1 seconde)|1 seconde\n|**google**|-|`v1`|0.6 (per 1000000 token)|1 token\n|**google**|**gemini-1.5-flash-8b**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-8b-latest**|`v1`|0.3 (per 1000000 token)|1 token\n|**google**|**gemini-1.5-flash**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-latest**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-latest**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-live-2.5-flash-preview-native-audio-09-2025**|`v1`|2e-06 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-001**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-002**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-8b-exp-0827**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-8b-exp-0924**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-exp-0827**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-001**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-002**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-exp-0801**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-exp-0827**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-001**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-exp**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-lite**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-lite-preview-02-05**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-live-001**|`v1`|1.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-preview-image-generation**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-thinking-exp**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-thinking-exp-01-21**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-pro-exp-02-05**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite-preview-09-2025**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-09-2025**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-flash-latest**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-flash-lite-latest**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite-preview-06-17**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-04-17**|`v1`|6e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-05-20**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-tts**|`v1`|6e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-computer-use-preview-10-2025**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-3-pro-preview**|`v1`|1.2e-05 (per 1 token)|1 token\n|**google**|**gemini-3-flash-preview**|`v1`|3e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-exp-03-25**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-03-25**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-05-06**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-06-05**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-tts**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-exp-1114**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-exp-1206**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-gemma-2-27b-it**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-gemma-2-9b-it**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-pro**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-pro-vision**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemma-3-27b-it**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**learnlm-1.5-pro-experimental**|`v1`|0.0 (per 1 token)|1 token\n|**xai**|-|`v1`|10.0 (per 1000000 token)|1 token\n|**xai**|**grok-2-latest**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-1212**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-1212**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-latest**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-3**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-beta**|`v1`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-latest**|`v1`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-latest**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-mini**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-beta**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-beta**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-latest**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-fast-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-fast-non-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-0709**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-latest**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-code-fast**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1-0825**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-vision-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n\n\n
\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n|**google**|`gemini-1.5-flash`|\n|**xai**|`grok-2-latest`|\n\n
", "summary": "Code Generation", "tags": ["Code Generation"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textcode_generationCodeGenerationRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textcode_generationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/embeddings/": {"post": {"operationId": "text_text_embeddings_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**openai**|-|`v3.0.0`|0.1 (per 1000000 token)|1 token\n|**openai**|**1536__text-embedding-ada-002**|`v3.0.0`|0.1 (per 1000000 token)|1 token\n|**openai**|**text-embedding-3-large**|`v3.0.0`|0.0 (per 1 token)|1 token\n|**openai**|**text-embedding-3-small**|`v3.0.0`|0.0 (per 1 token)|1 token\n|**openai**|**text-embedding-ada-002**|`v3.0.0`|0.0 (per 1 token)|1 token\n|**openai**|**text-embedding-ada-002-v2**|`v3.0.0`|0.0 (per 1 token)|1 token\n|**google**|**gemini-embedding-001**|`v1`|1.5e-07 (per 1 token)|1 token\n|**cohere**|**embed-english-v3.0**|`v1`|0.0 (per 1 token)|1 token\n|**cohere**|**embed-english-light-v3.0**|`v1`|0.0 (per 1 token)|1 token\n|**cohere**|**embed-multilingual-v3.0**|`v1`|0.0 (per 1 token)|1 token\n|**cohere**|**embed-english-v2.0**|`v1`|0.0 (per 1 token)|1 token\n|**cohere**|**embed-english-light-v2.0**|`v1`|0.0 (per 1 token)|1 token\n|**cohere**|**embed-multilingual-v2.0**|`v1`|0.0 (per 1 token)|1 token\n|**cohere**|**embed-v4.0**|`v1`|0.0 (per 1 token)|1 token\n|**cohere**|**embed-multilingual-light-v3.0**|`v1`|0.0 (per 1 token)|1 token\n|**mistral**|**1024__mistral-embed**|`v0.0.1`|0.1 (per 1000000 token)|1 token\n|**mistral**|-|`v0.0.1`|0.1 (per 1000000 token)|1 token\n|**mistral**|**mistral/mistral-embed**|`v0.0.1`|0.1 (per 1000000 seconde)|1 seconde\n|**mistral**|**mistral-embed**|`v0.0.1`|0.0 (per 1 seconde)|1 seconde\n|**mistral**|**codestral-embed**|`v0.0.1`|0.0 (per 1 seconde)|1 seconde\n|**mistral**|**codestral-embed-2505**|`v0.0.1`|0.0 (per 1 seconde)|1 seconde\n|**jina**|-|`v1`|0.018 (per 1000000 token)|1 token\n|**jina**|**jina-embeddings-v2-base-en**|`v1`|0.018 (per 1000000 token)|1 token\n|**jina**|**jina-embeddings-v3**|`v1`|0.02 (per 1000000 token)|1 token\n\n\n
\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`1536__text-embedding-ada-002`|\n|**google**|`text-multilingual-embedding-002`|\n|**cohere**|`4096__embed-english-v2.0`|\n|**mistral**|`1024__mistral-embed`|\n|**jina**|`jina-embeddings-v3`|\n\n
", "summary": "Embeddings", "tags": ["Embeddings"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textembeddingsEmbeddingsRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textembeddingsResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/emotion_detection/": {"post": {"operationId": "text_text_emotion_detection_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**vernai**|`v1`|2.0 (per 1000 request)|1 request\n\n\n
\n\n", "summary": "Emotion Detection", "tags": ["Emotion Detection"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textemotion_detectionEmotionDetectionRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textemotion_detectionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/entity_sentiment/": {"post": {"operationId": "text_text_entity_sentiment_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|-|`boto3 1.26.8`|1.0 (per 1000000 char)|300 char\n|**google**|**gemini-2.0-flash**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-lite**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-03-25**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-latest**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-latest**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-live-2.5-flash-preview-native-audio-09-2025**|`v1`|2e-06 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-001**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-002**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-8b**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-8b-exp-0827**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-8b-exp-0924**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-exp-0827**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-001**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-002**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-exp-0801**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-exp-0827**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-001**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-exp**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-lite-preview-02-05**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-live-001**|`v1`|1.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-preview-image-generation**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-thinking-exp**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-thinking-exp-01-21**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-pro-exp-02-05**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite-preview-09-2025**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-09-2025**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-flash-latest**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-flash-lite-latest**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite-preview-06-17**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-04-17**|`v1`|6e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-05-20**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-tts**|`v1`|6e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-computer-use-preview-10-2025**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-3-pro-preview**|`v1`|1.2e-05 (per 1 token)|1 token\n|**google**|**gemini-3-flash-preview**|`v1`|3e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-exp-03-25**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-05-06**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-06-05**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-tts**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-exp-1114**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-exp-1206**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-gemma-2-27b-it**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-gemma-2-9b-it**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-pro**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-pro-vision**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemma-3-27b-it**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**learnlm-1.5-pro-experimental**|`v1`|0.0 (per 1 token)|1 token\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**English**|`en`|\n|**Japanese**|`ja`|\n|**Spanish**|`es`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**google**|`gemini-1.5-flash`|\n\n
", "summary": "Entity Sentiment", "tags": ["Entity Sentiment"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textentity_sentimentEntitySentimentRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textentity_sentimentResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/keyword_extraction/": {"post": {"operationId": "text_text_keyword_extraction_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|-|`boto3 (v1.15.18)`|1.0 (per 1000000 char)|300 char\n|**microsoft**|-|`v3.1`|1.0 (per 1000000 char)|1000 char\n|**openai**|-|`v3.0.0`|20.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**openai**|**chatgpt-4o-latest**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0125**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0301**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0613**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-1106**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k-0613**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4-0125-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0314**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0613**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-vision-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-32k**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0314**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0613**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-2024-04-09**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-vision-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4.1**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-2025-04-14**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini**|`v3.0.0`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini-2025-04-14**|`v3.0.0`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano-2025-04-14**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview**|`v3.0.0`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview-2025-02-27**|`v3.0.0`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-05-13**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-08-06**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-11-20**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-10-01**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-12-17**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2025-06-03**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-2024-07-18**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview-2024-12-17**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview-2024-12-17**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview-2025-03-11**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-10-01**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-12-17**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2025-06-03**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview-2025-03-11**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-2025-11-13**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-chat-latest**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-2025-12-11**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-chat-latest**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-2025-08-07**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat-latest**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-mini**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-mini-2025-08-07**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-nano**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-5-nano-2025-08-07**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-realtime**|`v3.0.0`|1.6e-05 (per 1 token)|1 token\n|**openai**|**gpt-realtime-mini**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-realtime-2025-08-28**|`v3.0.0`|1.6e-05 (per 1 token)|1 token\n|**openai**|**o1**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-2024-12-17**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o1-mini-2024-09-12**|`v3.0.0`|1.2e-05 (per 1 token)|1 token\n|**openai**|**o1-preview**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-preview-2024-09-12**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o3**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-2025-04-16**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o3-mini-2025-01-31**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini-2025-04-16**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**container**|`v3.0.0`|0.0 (per 1 seconde)|1 seconde\n|**tenstorrent**|-|`v1.0.0`|0.7 (per 1000000 char)|1000 char\n|**xai**|**grok-2-latest**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-1212**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-1212**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-latest**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-3**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-beta**|`v1`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-latest**|`v1`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-latest**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-mini**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-beta**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-beta**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-latest**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-fast-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-fast-non-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-0709**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-latest**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-code-fast**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1-0825**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-vision-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Arabic**|`ar`|\n|**Bulgarian**|`bg`|\n|**Catalan**|`ca`|\n|**Chinese**|`zh`|\n|**Croatian**|`hr`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Estonian**|`et`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**German**|`de`|\n|**Hindi**|`hi`|\n|**Hungarian**|`hu`|\n|**Indonesian**|`id`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Korean**|`ko`|\n|**Latvian**|`lv`|\n|**Modern Greek (1453-)**|`el`|\n|**Norwegian**|`no`|\n|**Norwegian Bokm\u00e5l**|`nb`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Spanish**|`es`|\n|**Swedish**|`sv`|\n|**Turkish**|`tr`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Chinese (Simplified)**|`zh-Hans`|\n|**Chinese (Taiwan)**|`zh-TW`|\n|**Portuguese (Brazil)**|`pt-BR`|\n|**Portuguese (Portugal)**|`pt-PT`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n|**xai**|`grok-2-latest`|\n\n
", "summary": "Keyword Extraction", "tags": ["Keyword Extraction"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/texttopic_extractiontextanonymizationtextmoderationtextnamed_entity_recognitiontextkeyword_extractiontextsyntax_analysistextsentiment_analysisTextAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textkeyword_extractionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/moderation/": {"post": {"operationId": "text_text_moderation_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**microsoft**|-|`v1.0`|1.0 (per 1000 request)|1 request\n|**openai**|-|`v3.0.0`|free|-\n|**openai**|**text-moderation-stable**|`v3.0.0`|0.0 (per 1 token)|1 token\n|**openai**|**text-moderation-007**|`v3.0.0`|0.0 (per 1 token)|1 token\n|**openai**|**text-moderation-latest**|`v3.0.0`|0.0 (per 1 token)|1 token\n|**google**|-|`v1`|5.0 (per 1000000 char)|100 char\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Albanian**|`sq`|\n|**Amharic**|`am`|\n|**Arabic**|`ar`|\n|**Armenian**|`hy`|\n|**Assamese**|`as`|\n|**Azerbaijani**|`az`|\n|**Basque**|`eu`|\n|**Belarusian**|`be`|\n|**Bengali**|`bn`|\n|**Bosnian**|`bs`|\n|**Breton**|`br`|\n|**Bulgarian**|`bg`|\n|**Catalan**|`ca`|\n|**Central Kurdish**|`ckb`|\n|**Cherokee**|`chr`|\n|**Chinese**|`zh`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Estonian**|`et`|\n|**Filipino**|`fil`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**Fulah**|`ff`|\n|**Galician**|`gl`|\n|**Georgian**|`ka`|\n|**German**|`de`|\n|**Gujarati**|`gu`|\n|**Hausa**|`ha`|\n|**Hebrew**|`he`|\n|**Hindi**|`hi`|\n|**Hungarian**|`hu`|\n|**Icelandic**|`is`|\n|**Igbo**|`ig`|\n|**Indonesian**|`id`|\n|**Inuktitut**|`iu`|\n|**Irish**|`ga`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Kannada**|`kn`|\n|**Kazakh**|`kk`|\n|**Khmer**|`km`|\n|**Kinyarwanda**|`rw`|\n|**Kirghiz**|`ky`|\n|**Konkani (macrolanguage)**|`kok`|\n|**Korean**|`ko`|\n|**Lao**|`lo`|\n|**Latvian**|`lv`|\n|**Lithuanian**|`lt`|\n|**Luxembourgish**|`lb`|\n|**Macedonian**|`mk`|\n|**Malay (macrolanguage)**|`ms`|\n|**Malayalam**|`ml`|\n|**Maltese**|`mt`|\n|**Maori**|`mi`|\n|**Marathi**|`mr`|\n|**Modern Greek (1453-)**|`el`|\n|**Mongolian**|`mn`|\n|**Nepali (macrolanguage)**|`ne`|\n|**Norwegian Bokm\u00e5l**|`nb`|\n|**Norwegian Nynorsk**|`nn`|\n|**Oriya (macrolanguage)**|`or`|\n|**Panjabi**|`pa`|\n|**Pedi**|`nso`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Pushto**|`ps`|\n|**Quechua**|`qu`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Scottish Gaelic**|`gd`|\n|**Serbian**|`sr`|\n|**Sindhi**|`sd`|\n|**Sinhala**|`si`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Southern Sotho**|`st`|\n|**Spanish**|`es`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tajik**|`tg`|\n|**Tamil**|`ta`|\n|**Tatar**|`tt`|\n|**Telugu**|`te`|\n|**Thai**|`th`|\n|**Tigrinya**|`ti`|\n|**Tswana**|`tn`|\n|**Turkish**|`tr`|\n|**Turkmen**|`tk`|\n|**Uighur**|`ug`|\n|**Ukrainian**|`uk`|\n|**Urdu**|`ur`|\n|**Uzbek**|`uz`|\n|**Vietnamese**|`vi`|\n|**Welsh**|`cy`|\n|**Wolof**|`wo`|\n|**Xhosa**|`xh`|\n|**Yoruba**|`yo`|\n|**Zulu**|`zu`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n\n

Supported Models

\n\n", "summary": "Moderation", "tags": ["Moderation"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/texttopic_extractiontextanonymizationtextmoderationtextnamed_entity_recognitiontextkeyword_extractiontextsyntax_analysistextsentiment_analysisTextAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textmoderationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/named_entity_recognition/": {"post": {"operationId": "text_text_named_entity_recognition_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|-|`boto3 (v1.15.18)`|1.0 (per 1000000 char)|300 char\n|**microsoft**|-|`v3.1`|1.0 (per 1000000 char)|1000 char\n|**openai**|-|`v3.0.0`|10.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4o**|`v3.0.0`|10.0 (per 1000000 token)|1 token\n|**tenstorrent**|-|`v1.0.0`|1.0 (per 1000000 char)|1000 char\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Arabic**|`ar`|\n|**Chinese**|`zh`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**German**|`de`|\n|**Hindi**|`hi`|\n|**Hungarian**|`hu`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Korean**|`ko`|\n|**Norwegian**|`no`|\n|**Norwegian Bokm\u00e5l**|`nb`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Russian**|`ru`|\n|**Spanish**|`es`|\n|**Swedish**|`sv`|\n|**Turkish**|`tr`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Chinese (Simplified)**|`zh-Hans`|\n|**Chinese (Taiwan)**|`zh-TW`|\n|**Chinese (Traditional)**|`zh-Hant`|\n|**Portuguese (Brazil)**|`pt-BR`|\n|**Portuguese (Portugal)**|`pt-PT`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n\n
", "summary": "Named Entity Recognition", "tags": ["Named Entity Recognition"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/texttopic_extractiontextanonymizationtextmoderationtextnamed_entity_recognitiontextkeyword_extractiontextsyntax_analysistextsentiment_analysisTextAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textnamed_entity_recognitionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/plagia_detection/": {"post": {"operationId": "text_text_plagia_detection_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**winstonai**|`v2`|14.0 (per 1000000 char)|1 char\n\n\n
\n\n", "summary": "Plagia Detection", "tags": ["Plagia Detection"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textplagia_detectionPlagiaDetectionRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textplagia_detectionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/prompt_optimization/": {"post": {"operationId": "text_text_prompt_optimization_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**openai**|**gpt-4**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**openai**|**chatgpt-4o-latest**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0125**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0301**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0613**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-1106**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k-0613**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4-0125-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0314**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0613**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-vision-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-32k**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0314**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0613**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-2024-04-09**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-vision-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4.1**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-2025-04-14**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini**|`v3.0.0`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini-2025-04-14**|`v3.0.0`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano-2025-04-14**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview**|`v3.0.0`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview-2025-02-27**|`v3.0.0`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-05-13**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-08-06**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-11-20**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-10-01**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-12-17**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2025-06-03**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-2024-07-18**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview-2024-12-17**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview-2024-12-17**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview-2025-03-11**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-10-01**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-12-17**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2025-06-03**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview-2025-03-11**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-2025-11-13**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-chat-latest**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-2025-12-11**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-chat-latest**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-2025-08-07**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat-latest**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-mini**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-mini-2025-08-07**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-nano**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-5-nano-2025-08-07**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-realtime**|`v3.0.0`|1.6e-05 (per 1 token)|1 token\n|**openai**|**gpt-realtime-mini**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-realtime-2025-08-28**|`v3.0.0`|1.6e-05 (per 1 token)|1 token\n|**openai**|**o1**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-2024-12-17**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o1-mini-2024-09-12**|`v3.0.0`|1.2e-05 (per 1 token)|1 token\n|**openai**|**o1-preview**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-preview-2024-09-12**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o3**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-2025-04-16**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o3-mini-2025-01-31**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini-2025-04-16**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**container**|`v3.0.0`|0.0 (per 1 seconde)|1 seconde\n\n\n
\n\n

Supported Models

\n\n", "summary": "Prompt Optimization", "tags": ["Prompt Optimization"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textprompt_optimizationPromptOptimizationRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textprompt_optimizationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/sentiment_analysis/": {"post": {"operationId": "text_text_sentiment_analysis_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|-|`boto3 (v1.15.18)`|1.0 (per 1000000 char)|300 char\n|**google**|**gemini-live-2.5-flash-preview-native-audio-09-2025**|`v1`|2e-06 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-001**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-002**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-latest**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-latest**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-8b**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-8b-exp-0827**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-8b-exp-0924**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-flash-exp-0827**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-001**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-002**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-exp-0801**|`v1`|1.05e-05 (per 1 token)|1 token\n|**google**|**gemini-1.5-pro-exp-0827**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-001**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-exp**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-lite**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-lite-preview-02-05**|`v1`|3e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-live-001**|`v1`|1.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-preview-image-generation**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-thinking-exp**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash-thinking-exp-01-21**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.0-pro-exp-02-05**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite-preview-09-2025**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-09-2025**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-flash-latest**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-flash-lite-latest**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite-preview-06-17**|`v1`|4e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-04-17**|`v1`|6e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-05-20**|`v1`|2.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-preview-tts**|`v1`|6e-07 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-computer-use-preview-10-2025**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-3-pro-preview**|`v1`|1.2e-05 (per 1 token)|1 token\n|**google**|**gemini-3-flash-preview**|`v1`|3e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-exp-03-25**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-03-25**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-05-06**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-06-05**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-tts**|`v1`|1e-05 (per 1 token)|1 token\n|**google**|**gemini-exp-1114**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-exp-1206**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**gemini-gemma-2-27b-it**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-gemma-2-9b-it**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-pro**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemini-pro-vision**|`v1`|1.05e-06 (per 1 token)|1 token\n|**google**|**gemma-3-27b-it**|`v1`|0.0 (per 1 token)|1 token\n|**google**|**learnlm-1.5-pro-experimental**|`v1`|0.0 (per 1 token)|1 token\n|**microsoft**|-|`v3.1`|1.0 (per 1000000 char)|1000 char\n|**openai**|-|`v3.0.0`|20.0 (per 1000000 token)|1 token\n|**openai**|**chatgpt-4o-latest**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-4**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0125**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0301**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0613**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-1106**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k-0613**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4-0125-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0314**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0613**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-vision-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-32k**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0314**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0613**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-2024-04-09**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-vision-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4.1**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-2025-04-14**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini**|`v3.0.0`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini-2025-04-14**|`v3.0.0`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano-2025-04-14**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview**|`v3.0.0`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview-2025-02-27**|`v3.0.0`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-05-13**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-08-06**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-11-20**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-10-01**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-12-17**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2025-06-03**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-2024-07-18**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview-2024-12-17**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview-2024-12-17**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview-2025-03-11**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-10-01**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-12-17**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2025-06-03**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview-2025-03-11**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-2025-11-13**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-chat-latest**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-2025-12-11**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-chat-latest**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-2025-08-07**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat-latest**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-mini**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-mini-2025-08-07**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-nano**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-5-nano-2025-08-07**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-realtime**|`v3.0.0`|1.6e-05 (per 1 token)|1 token\n|**openai**|**gpt-realtime-mini**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-realtime-2025-08-28**|`v3.0.0`|1.6e-05 (per 1 token)|1 token\n|**openai**|**o1**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-2024-12-17**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o1-mini-2024-09-12**|`v3.0.0`|1.2e-05 (per 1 token)|1 token\n|**openai**|**o1-preview**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-preview-2024-09-12**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o3**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-2025-04-16**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o3-mini-2025-01-31**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini-2025-04-16**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**container**|`v3.0.0`|0.0 (per 1 seconde)|1 seconde\n|**tenstorrent**|-|`v1.1.0`|0.7 (per 1000000 char)|1000 char\n|**sapling**|-|`v1`|20.0 (per 1000000 char)|1000 char\n|**xai**|**grok-2-latest**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-1212**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-1212**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-latest**|`v1`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-3**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-beta**|`v1`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-latest**|`v1`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-latest**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-mini**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-beta**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-beta**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-latest**|`v1`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-fast-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-fast-non-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-0709**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-latest**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning-latest**|`v1`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-code-fast**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1-0825**|`v1`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-vision-beta**|`v1`|1.5e-05 (per 1 token)|1 token\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Arabic**|`ar`|\n|**Chinese**|`zh`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**German**|`de`|\n|**Hindi**|`hi`|\n|**Indonesian**|`id`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Korean**|`ko`|\n|**Modern Greek (1453-)**|`el`|\n|**Norwegian**|`no`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Russian**|`ru`|\n|**Spanish**|`es`|\n|**Swedish**|`sv`|\n|**Thai**|`th`|\n|**Turkish**|`tr`|\n|**Vietnamese**|`vi`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Chinese (Simplified)**|`zh-Hans`|\n|**Chinese (Taiwan)**|`zh-TW`|\n|**Chinese (Traditional)**|`zh-Hant`|\n|**Portuguese (Brazil)**|`pt-BR`|\n|**Portuguese (Portugal)**|`pt-PT`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**google**|`gemini-2.5-flash`|\n|**openai**|`gpt-4o`|\n|**xai**|`grok-2-latest`|\n\n
", "summary": "Sentiment Analysis", "tags": ["Sentiment Analysis"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/texttopic_extractiontextanonymizationtextmoderationtextnamed_entity_recognitiontextkeyword_extractiontextsyntax_analysistextsentiment_analysisTextAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textsentiment_analysisResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/spell_check/": {"post": {"operationId": "text_text_spell_check_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**prowritingaid**|`v2`|10.0 (per 1000 request)|1 request\n|**sapling**|`v1`|2.0 (per 1000000 char)|1 char\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Albanian**|`sq`|\n|**Amharic**|`am`|\n|**Arabic**|`ar`|\n|**Armenian**|`hy`|\n|**Azerbaijani**|`az`|\n|**Basque**|`eu`|\n|**Belarusian**|`be`|\n|**Bengali**|`bn`|\n|**Bosnian**|`bs`|\n|**Bulgarian**|`bg`|\n|**Burmese**|`my`|\n|**Catalan**|`ca`|\n|**Cebuano**|`ceb`|\n|**Chinese**|`zh`|\n|**Corsican**|`co`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Esperanto**|`eo`|\n|**Estonian**|`et`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**Galician**|`gl`|\n|**Georgian**|`ka`|\n|**German**|`de`|\n|**Gujarati**|`gu`|\n|**Haitian**|`ht`|\n|**Hausa**|`ha`|\n|**Hawaiian**|`haw`|\n|**Hebrew**|`he`|\n|**Hindi**|`hi`|\n|**Hmong**|`hmn`|\n|**Hungarian**|`hu`|\n|**Icelandic**|`is`|\n|**Igbo**|`ig`|\n|**Indonesian**|`id`|\n|**Irish**|`ga`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Javanese**|`jv`|\n|**Kannada**|`kn`|\n|**Kazakh**|`kk`|\n|**Khmer**|`km`|\n|**Kinyarwanda**|`rw`|\n|**Kirghiz**|`ky`|\n|**Korean**|`ko`|\n|**Kurdish**|`ku`|\n|**Lao**|`lo`|\n|**Latin**|`la`|\n|**Latvian**|`lv`|\n|**Lithuanian**|`lt`|\n|**Luxembourgish**|`lb`|\n|**Macedonian**|`mk`|\n|**Malagasy**|`mg`|\n|**Malay (macrolanguage)**|`ms`|\n|**Malayalam**|`ml`|\n|**Maltese**|`mt`|\n|**Maori**|`mi`|\n|**Marathi**|`mr`|\n|**Modern Greek (1453-)**|`el`|\n|**Mongolian**|`mn`|\n|**Nepali (macrolanguage)**|`ne`|\n|**Norwegian**|`no`|\n|**Norwegian Bokm\u00e5l**|`nb`|\n|**Nyanja**|`ny`|\n|**Oriya (macrolanguage)**|`or`|\n|**Panjabi**|`pa`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Pushto**|`ps`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Samoan**|`sm`|\n|**Scottish Gaelic**|`gd`|\n|**Serbian**|`sr`|\n|**Shona**|`sn`|\n|**Sindhi**|`sd`|\n|**Sinhala**|`si`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Somali**|`so`|\n|**Southern Sotho**|`st`|\n|**Spanish**|`es`|\n|**Sundanese**|`su`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tagalog**|`tl`|\n|**Tajik**|`tg`|\n|**Tamil**|`ta`|\n|**Tatar**|`tt`|\n|**Telugu**|`te`|\n|**Thai**|`th`|\n|**Turkish**|`tr`|\n|**Turkmen**|`tk`|\n|**Uighur**|`ug`|\n|**Ukrainian**|`uk`|\n|**Urdu**|`ur`|\n|**Uzbek**|`uz`|\n|**Vietnamese**|`vi`|\n|**Welsh**|`cy`|\n|**Western Frisian**|`fy`|\n|**Xhosa**|`xh`|\n|**Yiddish**|`yi`|\n|**Yoruba**|`yo`|\n|**Zulu**|`zu`|\n|**jp**|`jp`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Chinese (China)**|`zh-CN`|\n|**Chinese (Simplified)**|`zh-hans`|\n|**Chinese (Taiwan)**|`zh-TW`|\n|**Chinese (Traditional)**|`zh-hant`|\n|**English (United Kingdom)**|`en-gb`|\n|**Portuguese (Brazil)**|`pt-br`|\n|**Portuguese (Portugal)**|`pt-pt`|\n\n
", "summary": "Spell Check", "tags": ["Spell Check"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textspell_checkSpellCheckRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textspell_checkResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/summarize/": {"post": {"operationId": "text_text_summarize_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**microsoft**|-|`v3.1`|2.0 (per 1000000 char)|1000 char\n|**openai**|-|`v3.0.0`|60.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-1106**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0314**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-2024-04-09**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0125**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**chatgpt-4o-latest**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0301**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-0613**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-3.5-turbo-16k-0613**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4-0125-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0314**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-0613**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-1106-vision-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-32k**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-32k-0613**|`v3.0.0`|0.00012 (per 1 token)|1 token\n|**openai**|**gpt-4-turbo-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4-vision-preview**|`v3.0.0`|3e-05 (per 1 token)|1 token\n|**openai**|**gpt-4.1**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-2025-04-14**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini**|`v3.0.0`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-mini-2025-04-14**|`v3.0.0`|1.6e-06 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.1-nano-2025-04-14**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview**|`v3.0.0`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4.5-preview-2025-02-27**|`v3.0.0`|0.00015 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-05-13**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-08-06**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-2024-11-20**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-10-01**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2024-12-17**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-audio-preview-2025-06-03**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-2024-07-18**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-audio-preview-2024-12-17**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-realtime-preview-2024-12-17**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-mini-search-preview-2025-03-11**|`v3.0.0`|6e-07 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-10-01**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2024-12-17**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-realtime-preview-2025-06-03**|`v3.0.0`|2e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-4o-search-preview-2025-03-11**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-2025-11-13**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.1-chat-latest**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-2025-12-11**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5.2-chat-latest**|`v3.0.0`|1.4e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-2025-08-07**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-chat-latest**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**openai**|**gpt-5-mini**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-mini-2025-08-07**|`v3.0.0`|2e-06 (per 1 token)|1 token\n|**openai**|**gpt-5-nano**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-5-nano-2025-08-07**|`v3.0.0`|4e-07 (per 1 token)|1 token\n|**openai**|**gpt-realtime**|`v3.0.0`|1.6e-05 (per 1 token)|1 token\n|**openai**|**gpt-realtime-mini**|`v3.0.0`|2.4e-06 (per 1 token)|1 token\n|**openai**|**gpt-realtime-2025-08-28**|`v3.0.0`|1.6e-05 (per 1 token)|1 token\n|**openai**|**o1**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-2024-12-17**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o1-mini-2024-09-12**|`v3.0.0`|1.2e-05 (per 1 token)|1 token\n|**openai**|**o1-preview**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o1-preview-2024-09-12**|`v3.0.0`|6e-05 (per 1 token)|1 token\n|**openai**|**o3**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-2025-04-16**|`v3.0.0`|8e-06 (per 1 token)|1 token\n|**openai**|**o3-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o3-mini-2025-01-31**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**o4-mini-2025-04-16**|`v3.0.0`|4.4e-06 (per 1 token)|1 token\n|**openai**|**container**|`v3.0.0`|0.0 (per 1 seconde)|1 seconde\n|**cohere**|-|`2022-12-06`|2.0 (per 1000000 token)|1 token\n|**cohere**|**summarize-xlarge**|`2022-12-06`|2.0 (per 1000000 token)|1 token\n|**cohere**|**command-nightly**|`2022-12-06`|2.0 (per 1000000 token)|1 token\n|**cohere**|**command-nightly**|`2022-12-06`|2.0 (per 1000000 token)|1 token\n|**xai**|**grok-2-latest**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-1212**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-1212**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-2-vision-latest**|`v3.0.0`|1e-05 (per 1 token)|1 token\n|**xai**|**grok-3**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-beta**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-beta**|`v3.0.0`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-fast-latest**|`v3.0.0`|2.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-latest**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-3-mini**|`v3.0.0`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-beta**|`v3.0.0`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-beta**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-fast-latest**|`v3.0.0`|4e-06 (per 1 token)|1 token\n|**xai**|**grok-3-mini-latest**|`v3.0.0`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-fast-reasoning**|`v3.0.0`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-fast-non-reasoning**|`v3.0.0`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-0709**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-latest**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast**|`v3.0.0`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning**|`v3.0.0`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-reasoning-latest**|`v3.0.0`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning**|`v3.0.0`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-4-1-fast-non-reasoning-latest**|`v3.0.0`|5e-07 (per 1 token)|1 token\n|**xai**|**grok-beta**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n|**xai**|**grok-code-fast**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-code-fast-1-0825**|`v3.0.0`|1.5e-06 (per 1 token)|1 token\n|**xai**|**grok-vision-beta**|`v3.0.0`|1.5e-05 (per 1 token)|1 token\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Bulgarian**|`bg`|\n|**Chinese**|`zh`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Estonian**|`et`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**German**|`de`|\n|**Hungarian**|`hu`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Korean**|`ko`|\n|**Latvian**|`lv`|\n|**Modern Greek (1453-)**|`el`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Spanish**|`es`|\n|**Swedish**|`sv`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Chinese (Simplified)**|`zh-Hans`|\n|**Portuguese (Brazil)**|`pt-BR`|\n|**Portuguese (Brazil)**|`pt-br`|\n|**Portuguese (Portugal)**|`pt-PT`|\n|**Portuguese (Portugal)**|`pt-pt`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4`|\n|**cohere**|`summarize-xlarge`|\n|**xai**|`grok-2-latest`|\n\n
", "summary": "Summarize", "tags": ["Summarize"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textsummarizeSummarizeRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/textsummarizeResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/text/topic_extraction/": {"post": {"operationId": "text_text_topic_extraction_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**google**|-|`v1`|0.6 (per 1000000 char)|1 char\n|**openai**|**gpt-4o**|`v1`|10.0 (per 1000000 token)|1 token\n|**openai**|-|`v1`|10.0 (per 1000000 token)|1 token\n|**tenstorrent**|-|`v1.0.0`|2.0 (per 1000000 char)|1000 char\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**English**|`en`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n\n
", "summary": "Topic Extraction", "tags": ["Topic Extraction"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/texttopic_extractiontextanonymizationtextmoderationtextnamed_entity_recognitiontextkeyword_extractiontextsyntax_analysistextsentiment_analysisTextAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/texttopic_extractionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/translation/automatic_translation/": {"post": {"operationId": "translation_translation_automatic_translation_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|-|`boto3 (v1.15.18)`|15.0 (per 1000000 char)|1 char\n|**google**|-|`v3`|20.0 (per 1000000 char)|1 char\n|**microsoft**|-|`v3.0`|10.0 (per 1000000 char)|1 char\n|**deepl**|-|`v2`|20.0 (per 1000000 char)|1 char\n|**modernmt**|-|`1.2.8`|8.0 (per 1000000 char)|1 char\n|**openai**|-|`v1`|20.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4o**|`v1`|20.0 (per 1000000 token)|1 token\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Albanian**|`sq`|\n|**Amharic**|`am`|\n|**Arabic**|`ar`|\n|**Armenian**|`hy`|\n|**Assamese**|`as`|\n|**Azerbaijani**|`az`|\n|**Bashkir**|`ba`|\n|**Basque**|`eu`|\n|**Belarusian**|`be`|\n|**Bengali**|`bn`|\n|**Bosnian**|`bs`|\n|**Bulgarian**|`bg`|\n|**Burmese**|`my`|\n|**Catalan**|`ca`|\n|**Cebuano**|`ceb`|\n|**Chinese**|`zh`|\n|**Corsican**|`co`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dari**|`prs`|\n|**Dhivehi**|`dv`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Esperanto**|`eo`|\n|**Estonian**|`et`|\n|**Faroese**|`fo`|\n|**Fijian**|`fj`|\n|**Filipino**|`fil`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**Galician**|`gl`|\n|**Georgian**|`ka`|\n|**German**|`de`|\n|**Gujarati**|`gu`|\n|**Haitian**|`ht`|\n|**Hausa**|`ha`|\n|**Hawaiian**|`haw`|\n|**Hebrew**|`he`|\n|**Hindi**|`hi`|\n|**Hmong**|`hmn`|\n|**Hmong Daw**|`mww`|\n|**Hungarian**|`hu`|\n|**Icelandic**|`is`|\n|**Igbo**|`ig`|\n|**Indonesian**|`id`|\n|**Inuinnaqtun**|`ikt`|\n|**Inuktitut**|`iu`|\n|**Irish**|`ga`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Javanese**|`jv`|\n|**Kannada**|`kn`|\n|**Kazakh**|`kk`|\n|**Khmer**|`km`|\n|**Kinyarwanda**|`rw`|\n|**Kirghiz**|`ky`|\n|**Klingon**|`tlh`|\n|**Korean**|`ko`|\n|**Kurdish**|`ku`|\n|**Lao**|`lo`|\n|**Latin**|`la`|\n|**Latvian**|`lv`|\n|**Literary Chinese**|`lzh`|\n|**Lithuanian**|`lt`|\n|**Luxembourgish**|`lb`|\n|**Macedonian**|`mk`|\n|**Malagasy**|`mg`|\n|**Malay (macrolanguage)**|`ms`|\n|**Malayalam**|`ml`|\n|**Maltese**|`mt`|\n|**Maori**|`mi`|\n|**Marathi**|`mr`|\n|**Modern Greek (1453-)**|`el`|\n|**Mongolian**|`mn`|\n|**Nepali (macrolanguage)**|`ne`|\n|**Northern Kurdish**|`kmr`|\n|**Norwegian**|`no`|\n|**Norwegian Bokm\u00e5l**|`nb`|\n|**Norwegian Nynorsk**|`nn`|\n|**Nyanja**|`ny`|\n|**Oriya (macrolanguage)**|`or`|\n|**Panjabi**|`pa`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Pushto**|`ps`|\n|**Quer\u00e9taro Otomi**|`otq`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Samoan**|`sm`|\n|**Scottish Gaelic**|`gd`|\n|**Serbian**|`sr`|\n|**Shona**|`sn`|\n|**Sindhi**|`sd`|\n|**Sinhala**|`si`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Somali**|`so`|\n|**Southern Sotho**|`st`|\n|**Spanish**|`es`|\n|**Sundanese**|`su`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tagalog**|`tl`|\n|**Tahitian**|`ty`|\n|**Tajik**|`tg`|\n|**Tamil**|`ta`|\n|**Tatar**|`tt`|\n|**Telugu**|`te`|\n|**Thai**|`th`|\n|**Tibetan**|`bo`|\n|**Tigrinya**|`ti`|\n|**Tonga (Tonga Islands)**|`to`|\n|**Turkish**|`tr`|\n|**Turkmen**|`tk`|\n|**Uighur**|`ug`|\n|**Ukrainian**|`uk`|\n|**Upper Sorbian**|`hsb`|\n|**Urdu**|`ur`|\n|**Uzbek**|`uz`|\n|**Vietnamese**|`vi`|\n|**Welsh**|`cy`|\n|**Western Frisian**|`fy`|\n|**Xhosa**|`xh`|\n|**Yiddish**|`yi`|\n|**Yoruba**|`yo`|\n|**Yucateco**|`yua`|\n|**Yue Chinese**|`yue`|\n|**Zulu**|`zu`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Chinese (China)**|`zh-CN`|\n|**Chinese (Simplified)**|`zh-Hans`|\n|**Chinese (Taiwan)**|`zh-TW`|\n|**Chinese (Traditional)**|`zh-Hant`|\n|**English (United Kingdom)**|`en-GB`|\n|**English (United States)**|`en-US`|\n|**French (Canada)**|`fr-CA`|\n|**Inuktitut (Latin)**|`iu-Latn`|\n|**Klingon (Klingon (KLI pIqaD))**|`tlh-Piqd`|\n|**Klingon (Latin)**|`tlh-Latn`|\n|**Mongolian (Cyrillic)**|`mn-Cyrl`|\n|**Mongolian (Mongolian)**|`mn-Mong`|\n|**Persian (Afghanistan)**|`fa-AF`|\n|**Portuguese (Brazil)**|`pt-BR`|\n|**Portuguese (Portugal)**|`pt-PT`|\n|**Serbian (Cyrillic)**|`sr-Cyrl`|\n|**Serbian (Latin)**|`sr-Latn`|\n|**Spanish (Latin America)**|`es-419`|\n|**Spanish (Mexico)**|`es-MX`|\n|**Spanish (Spain)**|`es-ES`|\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n\n
", "summary": "Automatic Translation", "tags": ["Automatic Translation"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/translationautomatic_translationAutomaticTranslationRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/translationautomatic_translationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/translation/document_translation/": {"post": {"operationId": "translation_translation_document_translation_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**deepl**|`v2`|2.0 (per 20 page)|20 page\n|**google**|`v3`|0.08 (per 1 page)|1 page\n\n\n
\n\n
Supported Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Afrikaans**|`af`|\n|**Albanian**|`sq`|\n|**Amharic**|`am`|\n|**Arabic**|`ar`|\n|**Armenian**|`hy`|\n|**Azerbaijani**|`az`|\n|**Basque**|`eu`|\n|**Belarusian**|`be`|\n|**Bengali**|`bn`|\n|**Bosnian**|`bs`|\n|**Bulgarian**|`bg`|\n|**Burmese**|`my`|\n|**Catalan**|`ca`|\n|**Cebuano**|`ceb`|\n|**Chinese**|`zh`|\n|**Corsican**|`co`|\n|**Croatian**|`hr`|\n|**Czech**|`cs`|\n|**Danish**|`da`|\n|**Dutch**|`nl`|\n|**English**|`en`|\n|**Esperanto**|`eo`|\n|**Estonian**|`et`|\n|**Finnish**|`fi`|\n|**French**|`fr`|\n|**Galician**|`gl`|\n|**Georgian**|`ka`|\n|**German**|`de`|\n|**Gujarati**|`gu`|\n|**Haitian**|`ht`|\n|**Hausa**|`ha`|\n|**Hawaiian**|`haw`|\n|**Hebrew**|`he`|\n|**Hindi**|`hi`|\n|**Hmong**|`hmn`|\n|**Hungarian**|`hu`|\n|**Icelandic**|`is`|\n|**Igbo**|`ig`|\n|**Indonesian**|`id`|\n|**Irish**|`ga`|\n|**Italian**|`it`|\n|**Japanese**|`ja`|\n|**Javanese**|`jv`|\n|**Kannada**|`kn`|\n|**Kazakh**|`kk`|\n|**Khmer**|`km`|\n|**Kinyarwanda**|`rw`|\n|**Kirghiz**|`ky`|\n|**Korean**|`ko`|\n|**Kurdish**|`ku`|\n|**Lao**|`lo`|\n|**Latin**|`la`|\n|**Latvian**|`lv`|\n|**Lithuanian**|`lt`|\n|**Luxembourgish**|`lb`|\n|**Macedonian**|`mk`|\n|**Malagasy**|`mg`|\n|**Malay (macrolanguage)**|`ms`|\n|**Malayalam**|`ml`|\n|**Maltese**|`mt`|\n|**Maori**|`mi`|\n|**Marathi**|`mr`|\n|**Modern Greek (1453-)**|`el`|\n|**Mongolian**|`mn`|\n|**Nepali (macrolanguage)**|`ne`|\n|**Norwegian**|`no`|\n|**Nyanja**|`ny`|\n|**Oriya (macrolanguage)**|`or`|\n|**Panjabi**|`pa`|\n|**Persian**|`fa`|\n|**Polish**|`pl`|\n|**Portuguese**|`pt`|\n|**Pushto**|`ps`|\n|**Romanian**|`ro`|\n|**Russian**|`ru`|\n|**Samoan**|`sm`|\n|**Scottish Gaelic**|`gd`|\n|**Serbian**|`sr`|\n|**Shona**|`sn`|\n|**Sindhi**|`sd`|\n|**Sinhala**|`si`|\n|**Slovak**|`sk`|\n|**Slovenian**|`sl`|\n|**Somali**|`so`|\n|**Southern Sotho**|`st`|\n|**Spanish**|`es`|\n|**Sundanese**|`su`|\n|**Swahili (macrolanguage)**|`sw`|\n|**Swedish**|`sv`|\n|**Tagalog**|`tl`|\n|**Tajik**|`tg`|\n|**Tamil**|`ta`|\n|**Tatar**|`tt`|\n|**Telugu**|`te`|\n|**Thai**|`th`|\n|**Turkish**|`tr`|\n|**Turkmen**|`tk`|\n|**Uighur**|`ug`|\n|**Ukrainian**|`uk`|\n|**Urdu**|`ur`|\n|**Uzbek**|`uz`|\n|**Vietnamese**|`vi`|\n|**Welsh**|`cy`|\n|**Western Frisian**|`fy`|\n|**Xhosa**|`xh`|\n|**Yiddish**|`yi`|\n|**Yoruba**|`yo`|\n|**Zulu**|`zu`|\n\n
Supported Detailed Languages\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**Auto detection**|`auto-detect`|\n|**Chinese (China)**|`zh-CN`|\n|**Chinese (Taiwan)**|`zh-TW`|\n\n
", "summary": "Document Translation", "tags": ["Document Translation"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/translationdocument_translationDocumentTranslationRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/translationdocument_translationDocumentTranslationRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/translationdocument_translationResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/translation/language_detection/": {"post": {"operationId": "translation_translation_language_detection_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|-|`boto3 (v1.15.18)`|1.0 (per 1000000 char)|300 char\n|**google**|-|`v1`|20.0 (per 1000000 char)|1 char\n|**microsoft**|-|`v3.1`|1.0 (per 1000000 char)|1000 char\n|**modernmt**|-|`1.1.0`|8.0 (per 1000000 char)|1 char\n|**openai**|-|`v1`|20.0 (per 1000000 token)|1 token\n|**openai**|**gpt-4o**|`v1`|10.0 (per 1000000 token)|1 token\n|**xai**|**grok-2-latest**|`v1`|10.0 (per 1000000 token)|1 token\n|**xai**|**grok-2**|`v1`|10.0 (per 1000000 token)|1 token\n\n\n
\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**openai**|`gpt-4o`|\n|**xai**|`grok-2-latest`|\n\n
", "summary": "Language Detection", "tags": ["Language Detection"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/translationlanguage_detectionLanguageDetectionRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/translationlanguage_detectionResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/user/custom_token/": {"get": {"operationId": "user_user_custom_token_list", "summary": "List Tokens", "tags": ["User Management"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/CustomTokensList"}}}}, "description": ""}}}, "post": {"operationId": "user_user_custom_token_create", "summary": "Create new Token", "tags": ["User Management"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/CustomTokensCreateRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"201": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/CustomTokensCreate"}}}, "description": ""}}}}, "/user/custom_token/{name}/": {"get": {"operationId": "user_user_custom_token_retrieve", "summary": "Retrieve Token", "parameters": [{"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["User Management"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/CustomTokensList"}}}, "description": ""}}}, "patch": {"operationId": "user_user_custom_token_partial_update", "summary": "Update Token", "parameters": [{"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["User Management"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PatchedCustomTokenUpdateRequest"}}}}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/CustomTokenUpdate"}}}, "description": ""}}}, "delete": {"operationId": "user_user_custom_token_destroy", "summary": "Delete Token", "parameters": [{"in": "path", "name": "name", "schema": {"type": "string"}, "required": true}], "tags": ["User Management"], "security": [{"FeatureApiAuth": []}], "responses": {"204": {"description": "No response body"}}}}, "/video/deepfake_detection_async/": {"get": {"operationId": "video_video_deepfake_detection_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Deepfake Detection List Jobs", "tags": ["Deepfake Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "video_video_deepfake_detection_async_create", "description": "No Provider Available\n\n\n\n", "summary": "Deepfake Detection Launch Job", "tags": ["Deepfake Detection Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "video_video_deepfake_detection_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Deepfake Detection delete Jobs", "tags": ["Deepfake Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/video/deepfake_detection_async/{public_id}/": {"get": {"operationId": "video_video_deepfake_detection_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Deepfake Detection Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Deepfake Detection Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncvideodeepfake_detection_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/video/explicit_content_detection_async/": {"get": {"operationId": "video_video_explicit_content_detection_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Video Explicit Content Detection List Jobs", "tags": ["Explicit Content Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "video_video_explicit_content_detection_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3`|0.1 (per 60 seconde)|60 seconde\n|**google**|`Video intelligence v1`|0.1 (per 60 seconde)|1 seconde\n\n\n
\n\n", "summary": "Video Explicit Content Detection Launch Job", "tags": ["Explicit Content Detection Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "video_video_explicit_content_detection_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Video Explicit Content delete Jobs", "tags": ["Explicit Content Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/video/explicit_content_detection_async/{public_id}/": {"get": {"operationId": "video_video_explicit_content_detection_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Video Explicit Content Detection Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Explicit Content Detection Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncvideoexplicit_content_detection_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/video/face_detection_async/": {"get": {"operationId": "video_video_face_detection_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Face Detection List Jobs", "tags": ["Face Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "video_video_face_detection_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3`|0.1 (per 60 seconde)|60 seconde\n|**google**|`Video intelligence v1`|0.1 (per 60 seconde)|1 seconde\n\n\n
\n\n", "summary": "Face Detection Launch Job", "tags": ["Face Detection Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "video_video_face_detection_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Face Detection delete Jobs", "tags": ["Face Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/video/face_detection_async/{public_id}/": {"get": {"operationId": "video_video_face_detection_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Face Detection Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Face Detection Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncvideoface_detection_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/video/generation_async/": {"get": {"operationId": "video_video_generation_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Generation List Jobs", "tags": ["Generation Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "video_video_generation_async_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**amazon**|**amazon.nova-reel-v1:1**|`boto3`|0.08 (per 1 seconde)|1 seconde\n|**amazon**|**amazon.nova-reel-v1:0**|`boto3`|0.08 (per 1 seconde)|1 seconde\n|**amazon**|-|`boto3`|0.5 (per 1 request)|1 request\n|**minimax**|**MiniMax-Hailuo-2.3**|`v1`|0.28 (per 1 request)|1 request\n|**minimax**|**MiniMax-Hailuo-02**|`v1`|0.28 (per 1 request)|1 request\n|**minimax**|-|`v1`|0.56 (per 1 request)|1 request\n|**minimax**|**S2V-01**|`v1`|0.65 (per 1 request)|1 request\n|**minimax**|**T2V/I2V-01-Director**|`v1`|0.43 (per 1 request)|1 request\n|**bytedance**|**seedance-1-0-pro-250528**|`v3`|0.62 (per 1 request)|1 request\n|**bytedance**|-|`v3`|1.8 (per 1000000 token)|1 token\n|**bytedance**|**seedance-1-0-lite-t2v-250428**|`v3`|1.8 (per 1000000 token)|1 token\n|**google**|**veo-3.1-generate-preview**|`v1Beta`|0.4 (per 1 seconde)|1 seconde\n|**google**|**veo-3.0-generate-001**|`v1Beta`|0.4 (per 1 seconde)|1 seconde\n|**google**|**veo-3.0-fast-generate-001**|`v1Beta`|0.15 (per 1 seconde)|1 seconde\n|**google**|-|`v1Beta`|3.6 (per 1 request)|1 request\n|**openai**|-|`v1`|5.0 (per 1 request)|1 request\n|**openai**|**sora-2**|`v1`|0.1 (per 1 seconde)|1 seconde\n\n\n
\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**amazon**|`amazon.nova-reel-v1:1`|\n|**minimax**|`MiniMax-Hailuo-2.3`|\n|**bytedance**|`seedance-1-0-pro-250528`|\n|**google**|`veo-3.1-generate-preview`|\n|**openai**|`sora-2`|\n\n
", "summary": "Generation Launch Job", "tags": ["Generation Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/GenerationAsyncRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/GenerationAsyncRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "video_video_generation_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Generation delete Jobs", "tags": ["Generation Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/video/generation_async/{public_id}/": {"get": {"operationId": "video_video_generation_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Generation Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Generation Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncvideogeneration_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/video/label_detection_async/": {"get": {"operationId": "video_video_label_detection_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Label Detection List Jobs", "tags": ["Label Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "video_video_label_detection_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3`|0.1 (per 60 seconde)|60 seconde\n|**google**|`Video intelligence v1`|0.1 (per 60 seconde)|1 seconde\n\n\n
\n\n", "summary": "Label Detection Launch Job", "tags": ["Label Detection Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "video_video_label_detection_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Label Detection delete Jobs", "tags": ["Label Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/video/label_detection_async/{public_id}/": {"get": {"operationId": "video_video_label_detection_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Label Detection Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Label Detection Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncvideolabel_detection_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/video/logo_detection_async/": {"get": {"operationId": "video_video_logo_detection_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Video Logo Detection List Jobs", "tags": ["Logo Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "video_video_logo_detection_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**google**|`Video intelligence v1`|0.15 (per 60 seconde)|1 seconde\n|**twelvelabs**|`v1.1.2`|0.1 (per 60 seconde)|60 seconde\n\n\n
\n\n", "summary": "Video Logo Detection Launch Job", "tags": ["Logo Detection Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "video_video_logo_detection_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Video Logo Detection delete Jobs", "tags": ["Logo Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/video/logo_detection_async/{public_id}/": {"get": {"operationId": "video_video_logo_detection_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Video Logo Detection Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Logo Detection Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncvideologo_detection_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/video/object_tracking_async/": {"get": {"operationId": "video_video_object_tracking_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Video Object Tracking List Jobs", "tags": ["Object Tracking Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "video_video_object_tracking_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**google**|`Video intelligence v1`|0.15 (per 60 seconde)|1 seconde\n\n\n
\n\n", "summary": "Video Object Tracking Launch Job", "tags": ["Object Tracking Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "video_video_object_tracking_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Video Object Tracking delete Jobs", "tags": ["Object Tracking Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/video/object_tracking_async/{public_id}/": {"get": {"operationId": "video_video_object_tracking_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Video Object Tracking Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Object Tracking Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncvideoobject_tracking_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/video/person_tracking_async/": {"get": {"operationId": "video_video_person_tracking_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Person Tracking List Jobs", "tags": ["Person Tracking Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "video_video_person_tracking_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3`|0.1 (per 60 seconde)|60 seconde\n|**google**|`Video intelligence v1`|0.1 (per 60 seconde)|1 seconde\n\n\n
\n\n", "summary": "Person Tracking Launch Job", "tags": ["Person Tracking Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "video_video_person_tracking_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Person Tracking delete Jobs", "tags": ["Person Tracking Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/video/person_tracking_async/{public_id}/": {"get": {"operationId": "video_video_person_tracking_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Person Tracking Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Person Tracking Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncvideoperson_tracking_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/video/question_answer/": {"post": {"operationId": "video_video_question_answer_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**google**|**gemini-3-flash-preview**|`v1Beta`|3e-06 (per 1 token)|1 token\n|**google**|**gemini-3-pro-preview**|`v1Beta`|1.2e-05 (per 1 token)|1 token\n|**google**|**gemini-2.0-flash**|`v1Beta`|0.4 (per 1000000 token)|1 token\n|**google**|-|`v1Beta`|0.6 (per 1000000 token)|1 token\n|**google**|**gemini-2.0-flash-lite-preview**|`v1Beta`|0.3 (per 1000000 token)|1 token\n|**google**|**gemini-3.1-pro-preview**|`v1Beta`|1.2e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-flash-lite**|`v1Beta`|0.4 (per 1000000 token)|1 token\n|**google**|**gemini-2.5-pro**|`v1Beta`|15.0 (per 1000000 token)|1 token\n|**google**|**gemini-2.5-flash**|`v1Beta`|2.5 (per 1000000 token)|1 token\n|**google**|**gemini-3.1-flash-lite-preview**|`v1Beta`|1.5e-06 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro-preview-03-25**|`v1Beta`|15.0 (per 1000000 token)|1 token\n|**google**|**gemini-2.0-flash-lite**|`v1Beta`|0.3 (per 1000000 token)|1 token\n|**amazon**|-|`boto3 (v1.29.6)`|3.2 (per 1000000 token)|1 token\n|**amazon**|**amazon.nova-pro-v1:0**|`boto3 (v1.29.6)`|3.2 (per 1000000 token)|1 token\n\n\n
\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**google**|`gemini-2.5-flash`|\n|**amazon**|`amazon.nova-pro-v1:0`|\n\n
", "summary": "Question Answer", "tags": ["Question Answer"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/videoquestion_answerQuestionAnswerRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/videoquestion_answerQuestionAnswerRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/videoquestion_answerResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/video/question_answer_async/": {"get": {"operationId": "video_video_question_answer_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Question Answer List Jobs", "tags": ["Question Answer Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "video_video_question_answer_async_create", "description": "
Available Providers\n\n\n\n|Provider|Model|Version|Price|Billing unit|\n|----|----|-------|-----|------------|\n|**google**|**gemini-3-pro-preview**|`v1Beta`|1.2e-05 (per 1 token)|1 token\n|**google**|**gemini-3-flash-preview**|`v1Beta`|3e-06 (per 1 token)|1 token\n|**google**|-|`v1Beta`|0.6 (per 1000000 token)|1 token\n|**google**|**gemini-2.0-flash**|`v1Beta`|0.4 (per 1000000 token)|1 token\n|**google**|**gemini-2.0-flash-lite-preview**|`v1Beta`|0.3 (per 1000000 token)|1 token\n|**google**|**gemini-2.5-flash-lite**|`v1Beta`|0.4 (per 1000000 token)|1 token\n|**google**|**gemini-3.1-pro-preview**|`v1Beta`|1.2e-05 (per 1 token)|1 token\n|**google**|**gemini-2.5-pro**|`v1Beta`|15.0 (per 1000000 token)|1 token\n|**google**|**gemini-2.5-flash**|`v1Beta`|2.5 (per 1000000 token)|1 token\n|**google**|**gemini-3.1-flash-lite-preview**|`v1Beta`|1.5e-06 (per 1 token)|None token\n|**google**|**gemini-2.5-pro-preview-03-25**|`v1Beta`|15.0 (per 1000000 token)|1 token\n|**google**|**gemini-2.0-flash-lite**|`v1Beta`|0.3 (per 1000000 token)|1 token\n\n\n
\n\n

Supported Models

\n\n
Default Models\n\n\n\n\n\n|Name|Value|\n|----|-----|\n|**google**|`gemini-2.5-flash`|\n\n
", "summary": "Question Answer Launch Job", "tags": ["Question Answer Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/QuestionAnswerAsyncRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/QuestionAnswerAsyncRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "video_video_question_answer_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Question Answer delete Jobs", "tags": ["Question Answer Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/video/question_answer_async/{public_id}/": {"get": {"operationId": "video_video_question_answer_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Question Answer Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Question Answer Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncvideoquestion_answer_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/video/shot_change_detection_async/": {"get": {"operationId": "video_video_shot_change_detection_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Video Shot Change Detection List Jobs", "tags": ["Shot Change Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "video_video_shot_change_detection_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**google**|`Video intelligence v1`|0.05 (per 1 minute)|1 minute\n\n\n
\n\n", "summary": "Shot Change Detection Launch Job", "tags": ["Shot Change Detection Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "video_video_shot_change_detection_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Video Shot Change Detection delete Jobs", "tags": ["Shot Change Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/video/shot_change_detection_async/{public_id}/": {"get": {"operationId": "video_video_shot_change_detection_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Video Shot Change Detection Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Shot Change Detection Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncvideoshot_change_detection_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/video/text_detection_async/": {"get": {"operationId": "video_video_text_detection_async_retrieve", "description": "Get a list of all jobs launched for this feature. You'll then be able to use the ID of each one to get its status and results.
\n Please note that a **job status doesn't get updated until a get request** is sent.", "summary": "Text Detection List Jobs", "tags": ["Text Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ListAsyncJobResponse"}}}, "description": ""}}}, "post": {"operationId": "video_video_text_detection_async_create", "description": "
Available Providers\n\n\n\n|Provider|Version|Price|Billing unit|\n|----|-------|-----|------------|\n|**amazon**|`boto3`|0.1 (per 60 seconde)|60 seconde\n|**google**|`Video intelligence v1`|0.15 (per 60 seconde)|1 seconde\n|**twelvelabs**|`v1.1.2`|0.067 (per 60 seconde)|60 seconde\n\n\n
\n\n", "summary": "Text Detection Launch Job", "tags": ["Text Detection Async"], "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AsyncVideoAnalysisRequest"}}}, "required": true}, "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LaunchAsyncJobResponse"}}}, "description": ""}}}, "delete": {"operationId": "video_video_text_detection_async_destroy", "description": "Generic class to handle method GET all async job for user\n\nAttributes:\n feature (str): EdenAI feature\n subfeature (str): EdenAI subfeature", "summary": "Text Detection delete Jobs", "tags": ["Text Detection Async"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"204": {"description": "No response body"}}}}, "/video/text_detection_async/{public_id}/": {"get": {"operationId": "video_video_text_detection_async_retrieve_2", "description": "Get the status and results of an async job given its ID.", "summary": "Text Detection Get Job Results", "parameters": [{"in": "path", "name": "public_id", "schema": {"type": "string"}, "required": true}, {"in": "query", "name": "response_as_dict", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_base_64", "schema": {"type": "boolean", "default": true}}, {"in": "query", "name": "show_original_response", "schema": {"type": "boolean", "default": false}}], "tags": ["Text Detection Async"], "security": [{"FeatureApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/asyncvideotext_detection_asyncResponseModel"}}}, "description": ""}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BadRequest"}}}, "description": ""}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": ""}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NotFoundResponse"}}}, "description": ""}}}}, "/workflow/": {"get": {"operationId": "workflow_workflow_list", "description": "List all created workflows. \n\nNOTE: you can only create a workflow through our app", "summary": "List Workflows", "tags": ["Workflows"], "security": [{"FeatureApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/Workflow"}}}}, "description": ""}}}}, "/workflow/{workflow_id}/": {"get": {"operationId": "workflow_workflow_retrieve", "description": "Get workflow Content (JSON representation)", "summary": "Retrieve a Workflow", "parameters": [{"in": "path", "name": "workflow_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Workflows"], "security": [{"WorkflowShareApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Workflow"}}}, "description": ""}}}, "delete": {"operationId": "workflow_workflow_destroy", "summary": "Delete a Workflow", "parameters": [{"in": "path", "name": "workflow_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Workflows"], "security": [{"WorkflowShareApiAuth": []}], "responses": {"204": {"description": "No response body"}}}}, "/workflow/{workflow_id}/execution/": {"get": {"operationId": "workflow_workflow_execution_list", "summary": "List Executions", "parameters": [{"name": "page", "required": false, "in": "query", "description": "A page number within the paginated result set.", "schema": {"type": "integer"}}, {"name": "page_size", "required": false, "in": "query", "description": "Number of results to return per page.", "schema": {"type": "integer"}}, {"in": "path", "name": "workflow_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Executions"], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PaginatedExecutionListList"}}}, "description": ""}}}, "post": {"operationId": "workflow_workflow_execution_create", "description": "\nLaunch a workflow Execution.\nif you set `input` in your workflow, you will need to launch the execution with these inputs as parameters\nFor example if you set a file_url as input with name \"my_invoice\", your request body will look like this:\n\n { my_invoice: \"https://example.com/public/invoice_123.pdf\" }\n ", "summary": "Create an Execution", "parameters": [{"in": "path", "name": "workflow_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Executions"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ExecutionFakeCreateRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/ExecutionFakeCreateRequest"}}}}, "responses": {"201": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ExecutionExampleSuccessCreate"}}}, "description": ""}}}}, "/workflow/{workflow_id}/execution/{execution_id}/": {"get": {"operationId": "workflow_workflow_execution_retrieve", "description": "An Execution represents the process of running a workflow with specific input data. It tracks the workflow's progress, providing a unique id, a status (e.g., pending, running, completed), and a result once the execution is finished. You can retrieve an Execution by its id to monitor its status or access its result after completion", "summary": "Get an Execution by ID", "parameters": [{"in": "path", "name": "execution_id", "schema": {"type": "string", "format": "uuid"}, "required": true}, {"in": "path", "name": "workflow_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Executions"], "security": [{"WorkflowShareApiAuth": []}, {}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ExecutionExampleSuccessCreate"}}}, "description": ""}}}}, "/workflow/{workflow_id}/webhook/": {"put": {"operationId": "workflow_workflow_webhook_update", "summary": "Update workflow webhook URL", "parameters": [{"in": "path", "name": "workflow_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Webhook"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/WebhookParametersRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/WebhookParametersRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/WebhookParametersRequest"}}}}, "security": [{"WorkflowShareApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/WebhookParameters"}}}, "description": ""}}}, "patch": {"operationId": "workflow_workflow_webhook_partial_update", "summary": "Update workflow webhook URL", "parameters": [{"in": "path", "name": "workflow_id", "schema": {"type": "string", "format": "uuid"}, "required": true}], "tags": ["Webhook"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PatchedWebhookParametersRequest"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/PatchedWebhookParametersRequest"}}, "multipart/form-data": {"schema": {"$ref": "#/components/schemas/PatchedWebhookParametersRequest"}}}}, "security": [{"WorkflowShareApiAuth": []}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/WebhookParameters"}}}, "description": ""}}}}}, "components": {"schemas": {"AIProject": {"type": "object", "properties": {"project_id": {"type": "string", "format": "uuid", "readOnly": true}, "project_name": {"type": "string", "maxLength": 100}, "project_type": {"$ref": "#/components/schemas/ProjectTypeEnum"}, "created_at": {"type": "string", "format": "date-time", "readOnly": true}, "user": {"type": "string", "format": "uuid"}}, "required": ["created_at", "project_id", "project_name", "project_type", "user"]}, "AddFileRequest": {"type": "object", "properties": {"data_type": {"$ref": "#/components/schemas/DataTypeEnum"}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:pdf|csv|amr|flac|wav|ogg|mp3|mp4|webm|xml)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "metadata": {"type": "string", "minLength": 1, "description": "Optional parameter: Attach metadata to the uploaded file data in your database. Provide a stringified JSON with key-value pairs. Useful in `filter_document` when querying the language model, it allows you to filter data with your Chatbot by considering only documents that have the specified metadata."}, "provider": {"type": "string", "nullable": true, "minLength": 1, "description": "Select a provider to use, only for audio (speech-to-text) & pdf (ocr-async) files."}}, "required": ["data_type"]}, "AddImageRequest": {"type": "object", "properties": {"metadata": {"type": "string", "minLength": 1, "description": "Optional parameter: Attach metadata to the uploaded data in your database. Provide a stringified JSON with key-value pairs. Useful in `filter_document` when querying the language model, it allows you to filter data with your Chatbot by considering only documents that have the specified metadata. Key 'collection_name' is not allowed."}, "model": {"type": "string", "nullable": true, "minLength": 1, "default": "gemini-2.0-flash", "description": "Optional. Select the Language Model provider (e.g., `google/gemini-2.0-flash`, `openai/gpt-4-vision-preview`) to use for describing the uploaded content. This model will analyze the content and generate a text description, which will be stored in the RAG database. If left blank, a default model is used."}, "prompt": {"type": "string", "nullable": true, "minLength": 1, "description": "Optional. Specify a custom prompt to guide the Language Model in generating the description for the content. If no prompt is provided, a default prompt will be used to describe what's in the image/video. This allows for more specific or targeted analysis."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|png|webp|heic|heif)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}}, "AddTextRequest": {"type": "object", "properties": {"texts": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "LLM Query"}, "metadata": {"type": "array", "items": {"type": "object", "additionalProperties": {}}, "default": []}}, "required": ["texts"]}, "AddUrlRequest": {"type": "object", "properties": {"urls": {"type": "array", "items": {"type": "string", "format": "uri", "minLength": 1}, "description": "Add multiple urls into the database, it loads all the text from HTML webpages into a document format."}, "js_render": {"type": "array", "items": {"type": "boolean"}, "description": "Enable JavaScript rendering for the provided URLs."}, "metadata": {"type": "array", "items": {"type": "object", "additionalProperties": {}}}}, "required": ["urls"]}, "AddVideoRequest": {"type": "object", "properties": {"metadata": {"type": "string", "minLength": 1, "description": "Optional parameter: Attach metadata to the uploaded data in your database. Provide a stringified JSON with key-value pairs. Useful in `filter_document` when querying the language model, it allows you to filter data with your Chatbot by considering only documents that have the specified metadata. Key 'collection_name' is not allowed."}, "model": {"type": "string", "nullable": true, "minLength": 1, "default": "gemini-2.0-flash", "description": "Optional. Select the Language Model provider (e.g., `google/gemini-2.0-flash`, `openai/gpt-4-vision-preview`) to use for describing the uploaded content. This model will analyze the content and generate a text description, which will be stored in the RAG database. If left blank, a default model is used."}, "prompt": {"type": "string", "nullable": true, "minLength": 1, "description": "Optional. Specify a custom prompt to guide the Language Model in generating the description for the content. If no prompt is provided, a default prompt will be used to describe what's in the image/video. This allows for more specific or targeted analysis."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:mov|mp4|mpeg|avi|x\\-flv|mpg|webm|wmv|3gpp)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}}, "AiDetectionItem": {"properties": {"text": {"title": "Text", "type": "string"}, "prediction": {"title": "Prediction", "type": "string"}, "ai_score": {"title": "Ai Score", "type": "integer"}, "ai_score_detail": {"title": "Ai Score Detail", "type": "integer"}}, "required": ["text", "prediction", "ai_score", "ai_score_detail"], "title": "AiDetectionItem", "type": "object"}, "AiProductFile": {"type": "object", "properties": {"file_id": {"type": "string", "format": "uuid", "readOnly": true}, "user": {"type": "string", "readOnly": true}, "project": {"type": "string", "readOnly": true}, "file_type": {"type": "string", "maxLength": 255}, "created_at": {"type": "string", "format": "date-time", "readOnly": true}, "status": {"nullable": true, "oneOf": [{"$ref": "#/components/schemas/Status889Enum"}, {"$ref": "#/components/schemas/NullEnum"}]}, "error": {"type": "string", "nullable": true}, "task_id": {"type": "string", "nullable": true, "maxLength": 100}, "task_started_at": {"type": "string", "format": "date-time", "nullable": true}, "file_path": {"type": "string", "nullable": true}, "file_name": {"type": "string", "nullable": true, "maxLength": 1500}}, "required": ["created_at", "file_id", "file_type", "project", "user"]}, "AnonymizationAsyncRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "show_base_64": {"type": "boolean", "default": true}, "provider_params": {"type": "string", "description": "\nParameters specific to the provider that you want to send along the request.\n\nit should take a *provider* name as key and an object of parameters as value.\n\nExample:\n\n {\n \"deepgram\": {\n \"filler_words\": true,\n \"smart_format\": true,\n \"callback\": \"https://webhook.site/0000\"\n },\n \"assembly\": {\n \"webhook_url\": \"https://webhook.site/0000\"\n }\n }\n\nPlease refer to the documentation of each provider to see which parameters to send.\n"}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "file_password": {"type": "string", "nullable": true, "description": "If your PDF file has a password, you can pass it here!", "maxLength": 200}}, "required": ["providers"]}, "AnonymizationBoundingBox": {"properties": {"x_min": {"title": "X Min", "type": "integer"}, "x_max": {"title": "X Max", "type": "integer"}, "y_min": {"title": "Y Min", "type": "integer"}, "y_max": {"title": "Y Max", "type": "integer"}}, "required": ["x_min", "x_max", "y_min", "y_max"], "title": "AnonymizationBoundingBox", "type": "object"}, "AnonymizationEntity": {"description": "This model represents an entity extracted from the text.\n\nAttributes:\n offset (int): The offset of the entity in the text.\n length (int): The lenght of the entity in the text.\n category (CategoryType): The category of the entity.\n subcategory (SubCategoryType): The subcategory of the entity.\n original_label (str): The original label of the entity.\n content (str): The content of the entity.", "properties": {"offset": {"minimum": 0, "title": "Offset", "type": "integer"}, "length": {"exclusiveMinimum": true, "title": "Length", "type": "integer"}, "category": {"$ref": "#/components/schemas/CategoryType"}, "subcategory": {"$ref": "#/components/schemas/SubCategoryType"}, "original_label": {"minLength": 1, "title": "Original Label", "type": "string"}, "content": {"minLength": 1, "title": "Content", "type": "string"}, "confidence_score": {"maximum": 1, "minimum": 0, "title": "Confidence Score", "type": "integer"}}, "required": ["offset", "length", "category", "subcategory", "original_label", "content", "confidence_score"], "title": "AnonymizationEntity", "type": "object"}, "AnonymizationItem": {"properties": {"kind": {"title": "Kind", "type": "string"}, "confidence": {"title": "Confidence", "type": "integer"}, "bounding_boxes": {"$ref": "#/components/schemas/AnonymizationBoundingBox"}}, "required": ["kind", "confidence", "bounding_boxes"], "title": "AnonymizationItem", "type": "object"}, "AskLLMRequest": {"type": "object", "properties": {"query": {"type": "string", "minLength": 1, "description": "Enter your question or query about the data. The large language model (LLM) will provide a response."}, "llm_provider": {"type": "string", "minLength": 1, "description": "Select a provider for the large language model for processing. Leave empty for default."}, "llm_model": {"type": "string", "minLength": 1, "description": "Specify the model to use for language processing. Leave empty for default."}, "k": {"type": "integer", "minimum": 1, "default": 3, "description": "How many results chunk you want to return"}, "history": {"type": "array", "items": {"type": "object", "additionalProperties": {}, "description": "A dictionary representing a single conversation in the previous history. Must contain 'user' and 'assistant' fields."}, "default": [], "description": "A list containing all the previous conversations between the user and the chatbot AI. Each item in the list should be a dictionary with two keys: 'user' and 'assistant'."}, "chatbot_global_action": {"type": "string", "minLength": 1, "description": "A system message that helps set the behavior of the assistant."}, "filter_documents": {"type": "object", "additionalProperties": {}, "default": {}, "description": "Filter uploaded documents based on their metadata. Specify key-value pairs where the key represents the metadata field and the value is the desired metadata value. Please ensure that the provided metadata keys are available in your database."}, "min_score": {"type": "number", "format": "double", "default": 0.0, "description": "A minimum score threshold for the model to consider a chunk as a valid response. Higher values mean the model will be more conservative and only return chunks that are more similar to the query. Lower values mean the model will be more open to returning chunks that are less similar to the query."}, "temperature": {"type": "number", "format": "double", "maximum": 2, "minimum": 0, "default": 0.0, "description": "Higher values mean the model will take more risks and value 0 (argmax sampling) works better for scenarios with a well-defined answer."}, "max_tokens": {"type": "integer", "minimum": 1, "default": 1024, "description": "The maximum number of tokens to generate in the completion. The token count of your prompt plus max_tokens cannot exceed the model's context length."}, "conversation_id": {"type": "string", "format": "uuid"}, "use_reranking": {"type": "boolean", "default": false, "description": "Activate/deactivate the reranking. This is experimental."}, "top_n": {"type": "integer", "default": 3, "description": "The number of documents returned by the reranker (experimental)"}}, "required": ["query"]}, "AskYodaProjectUpdate": {"type": "object", "properties": {"ocr_provider": {"type": "string", "default": "amazon"}, "speech_to_text_provider": {"type": "string", "default": "openai"}, "llm_provider": {"type": "string", "description": "Select a default LLM provider to use in your project."}, "llm_model": {"type": "string", "description": "Select a default Model for LLM provider to use in your project"}, "chunk_size": {"type": "integer", "maximum": 10000, "minimum": 1, "nullable": true}, "chunk_separators": {"type": "array", "items": {"type": "string"}, "nullable": true}}}, "AskYourDataProjectRequest": {"type": "object", "properties": {"credential": {"type": "string", "nullable": true, "description": "The credential resource name", "maxLength": 255}, "asset": {"type": "string", "nullable": true, "description": "The asset sub_resource name", "maxLength": 255}, "ocr_provider": {"type": "string", "minLength": 1, "default": "amazon"}, "speech_to_text_provider": {"type": "string", "minLength": 1, "default": "openai"}, "llm_provider": {"type": "string", "minLength": 1, "description": "Select a default LLM provider to use in your project."}, "llm_model": {"type": "string", "minLength": 1, "description": "Select a default Model for LLM provider to use in your project"}, "chunk_size": {"type": "integer", "maximum": 10000, "minimum": 1, "nullable": true}, "chunk_separators": {"type": "array", "items": {"type": "string"}, "nullable": true}, "project_name": {"type": "string", "minLength": 1, "description": "Project name"}, "collection_name": {"type": "string", "minLength": 1, "description": "Database Collection Name"}, "db_provider": {"allOf": [{"$ref": "#/components/schemas/DbProviderEnum"}], "default": "qdrant", "description": "Database Provider\n\n* `qdrant` - qdrant\n* `supabase` - supabase"}, "embeddings_provider": {"allOf": [{"$ref": "#/components/schemas/EmbeddingsProviderEnum"}], "description": "Select an embedding provider to use in your search database. Leave empty for default.\n\n* `openai` - openai\n* `cohere` - cohere\n* `google` - google\n* `mistral` - mistral\n* `jina` - jina"}}, "required": ["collection_name", "embeddings_provider", "project_name"]}, "AssetCreate": {"type": "object", "properties": {"sub_resource": {"type": "string", "maxLength": 255}, "data": {"type": "object", "additionalProperties": {}}}, "required": ["data", "sub_resource"]}, "AssetCreateRequest": {"type": "object", "properties": {"sub_resource": {"type": "string", "minLength": 1, "maxLength": 255}, "data": {"type": "object", "additionalProperties": {}}}, "required": ["data", "sub_resource"]}, "AssetList": {"type": "object", "properties": {"sub_resource": {"type": "string", "maxLength": 255}, "data": {"type": "string", "format": "byte", "readOnly": true}}, "required": ["data", "sub_resource"]}, "AssetListRequest": {"type": "object", "properties": {"sub_resource": {"type": "string", "minLength": 1, "maxLength": 255}}, "required": ["sub_resource"]}, "AssetUpdate": {"type": "object", "properties": {"sub_resource": {"type": "string", "maxLength": 255}, "data": {"type": "object", "additionalProperties": {}}}, "required": ["data", "sub_resource"]}, "AssetUpdateRequest": {"type": "object", "properties": {"sub_resource": {"type": "string", "minLength": 1, "maxLength": 255}, "data": {"type": "object", "additionalProperties": {}}}, "required": ["data", "sub_resource"]}, "AsyncJobList": {"type": "object", "properties": {"providers": {"type": "string"}, "nb": {"type": "integer"}, "nb_ok": {"type": "integer"}, "public_id": {"type": "string", "format": "uuid"}, "state": {"$ref": "#/components/schemas/StateEnum"}, "created_at": {"type": "string", "format": "date-time"}}, "required": ["created_at", "nb", "nb_ok", "providers", "public_id", "state"]}, "AsyncOcrRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "show_base_64": {"type": "boolean", "default": true}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "file_password": {"type": "string", "nullable": true, "description": "If your PDF file has a password, you can pass it here!", "maxLength": 200}}, "required": ["providers"]}, "AsyncVideoAnalysisRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "show_base_64": {"type": "boolean", "default": true}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:mov|mp4|avi)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}, "required": ["providers"]}, "AutomlClassificationListProjectsResponse": {"properties": {"projects": {"items": {"$ref": "#/components/schemas/AutomlClassificationProject"}, "title": "Projects", "type": "array"}}, "required": ["projects"], "title": "AutomlClassificationListProjectsResponse", "type": "object"}, "AutomlClassificationPredictRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "show_base_64": {"type": "boolean", "default": true}, "project_id": {"type": "string", "minLength": 1, "description": "The id of project", "maxLength": 250}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}, "required": ["project_id", "providers"]}, "AutomlClassificationProject": {"properties": {"project_id": {"format": "uuid", "title": "Project Id", "type": "string"}, "name": {"title": "Name", "type": "string"}, "provider": {"title": "Provider", "type": "string"}}, "required": ["project_id", "name", "provider"], "title": "AutomlClassificationProject", "type": "object"}, "AutomlClassificationTrainRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "show_base_64": {"type": "boolean", "default": true}, "project_id": {"type": "string", "minLength": 1, "description": "The id of project", "maxLength": 250}}, "required": ["project_id", "providers"]}, "AutomlClassificationUploadDataRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "show_base_64": {"type": "boolean", "default": true}, "project_id": {"type": "string", "minLength": 1, "description": "The id of project", "maxLength": 250}, "label": {"type": "string", "minLength": 1, "description": "Label of the image", "maxLength": 200}, "type_of_data": {"allOf": [{"$ref": "#/components/schemas/TypeOfDataEnum"}], "description": "Type of data : TRAINING or TEST\n\n* `TRAINING` - TRAINING\n* `TEST` - TEST"}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}, "required": ["label", "project_id", "providers", "type_of_data"]}, "BadRequest": {"type": "object", "properties": {"error": {"$ref": "#/components/schemas/NestedBadRequest"}}, "required": ["error"]}, "BatchLaunchFailedRequest": {"properties": {"name": {"description": "Request name, if any were given", "title": "Name", "type": "string"}, "public_id": {"description": "Request ID", "title": "Public Id", "type": "integer"}, "body": {"additionalProperties": true, "description": "Parameters passed to the request", "title": "Body", "type": "object"}, "errors": {"additionalProperties": true, "description": "Error received from the request validator", "title": "Errors", "type": "object"}}, "required": ["name", "public_id", "body", "errors"], "title": "BatchLaunchFailedRequest", "type": "object"}, "BatchLaunchResponse": {"properties": {"job_id": {"description": "Job ID/name", "title": "Job Id", "type": "string"}, "nb_launched": {"description": "Number of successfully launched requests", "title": "Nb Launched", "type": "integer"}, "nb_failed": {"description": "Number of failed_requests", "title": "Nb Failed", "type": "integer"}, "total": {"description": "Total number of requests sent", "title": "Total", "type": "integer"}, "failed_requests": {"description": "if any requests failed, they will be shown in this list", "items": {"$ref": "#/components/schemas/BatchLaunchFailedRequest"}, "title": "Failed Requests", "type": "array"}}, "required": ["job_id", "nb_launched", "nb_failed", "total", "failed_requests"], "title": "BatchLaunchResponse", "type": "object"}, "BatchList": {"type": "object", "properties": {"name": {"type": "string", "maxLength": 1023}, "status": {"$ref": "#/components/schemas/Status889Enum"}, "feature": {"type": "string", "readOnly": true}, "subfeature": {"type": "string", "readOnly": true}, "total_requests": {"type": "integer", "readOnly": true}, "nb_processing": {"type": "integer", "readOnly": true}, "nb_succeeded": {"type": "integer", "readOnly": true}, "nb_failed": {"type": "integer", "readOnly": true}, "get_response_url": {"type": "string", "readOnly": true}}, "required": ["feature", "get_response_url", "nb_failed", "nb_processing", "nb_succeeded", "subfeature", "total_requests"]}, "BatchRequest": {"type": "object", "properties": {"webhook_receiver": {"type": "string", "format": "uri", "minLength": 1}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "requests": {"type": "array", "items": {"type": "object", "additionalProperties": {}}}}, "required": ["requests"]}, "BatchResponseRequest": {"type": "object", "properties": {"public_id": {"type": "integer", "readOnly": true}, "status": {"$ref": "#/components/schemas/Status889Enum"}, "name": {"type": "string", "nullable": true, "maxLength": 1023}, "errors": {"nullable": true}, "response": {"nullable": true}}, "required": ["public_id"]}, "BlankEnum": {"enum": [""]}, "BoundingBox": {"description": "Bounding box of a word in the image\n\nAttributes:\n left (float): Left coordinate of the bounding box\n top (float): Top coordinate of the bounding box\n width (float): Width of the bounding box\n height (float): Height of the bounding box\n text (str): Text detected in the bounding box\n\nConstructor:\n from_json (classmethod): Create a new instance of BoundingBox from a JSON object\n from_normalized_vertices (classmethod): Create a new instance of BoundingBox from normalized vertices\n unknown (classmethod): Return a invalid bouding_box with all field filled with `-1`", "properties": {"left": {"description": "Left coordinate of the bounding box", "title": "Left", "type": "integer"}, "top": {"description": "Top coordinate of the bounding box", "title": "Top", "type": "integer"}, "width": {"description": "Width of the bounding box", "title": "Width", "type": "integer"}, "height": {"description": "Height of the bounding box", "title": "Height", "type": "integer"}}, "required": ["left", "top", "width", "height"], "title": "BoundingBox", "type": "object"}, "Bounding_box": {"properties": {"text": {"title": "Text", "type": "string"}, "left": {"title": "Left", "type": "integer"}, "top": {"title": "Top", "type": "integer"}, "width": {"title": "Width", "type": "integer"}, "height": {"title": "Height", "type": "integer"}}, "required": ["text", "left", "top", "width", "height"], "title": "Bounding_box", "type": "object"}, "BoundixBoxOCRTable": {"properties": {"left": {"title": "Left", "type": "integer"}, "top": {"title": "Top", "type": "integer"}, "width": {"title": "Width", "type": "integer"}, "height": {"title": "Height", "type": "integer"}}, "required": ["left", "top", "width", "height"], "title": "BoundixBoxOCRTable", "type": "object"}, "CategoryType": {"description": "This enum are used to categorize the explicit content extracted from the text", "enum": ["Toxic", "Content", "Sexual", "Violence", "DrugAndAlcohol", "Finance", "HateAndExtremism", "Safe", "Other"], "title": "CategoryType", "type": "string"}, "Cell": {"properties": {"text": {"title": "Text", "type": "string"}, "row_index": {"title": "Row Index", "type": "integer"}, "col_index": {"title": "Col Index", "type": "integer"}, "row_span": {"title": "Row Span", "type": "integer"}, "col_span": {"title": "Col Span", "type": "integer"}, "confidence": {"title": "Confidence", "type": "integer"}, "bounding_box": {"$ref": "#/components/schemas/BoundixBoxOCRTable"}, "is_header": {"default": false, "title": "Is Header", "type": "boolean"}}, "required": ["text", "row_index", "col_index", "row_span", "col_span", "confidence", "bounding_box"], "title": "Cell", "type": "object"}, "ChatAvailableToolsRequest": {"type": "object", "properties": {"name": {"type": "string", "minLength": 1, "description": "The name of your tool/function"}, "description": {"type": "string"}, "parameters": {"description": "The tool's parameters are specified using a JSON Schema object. Detailed format documentation is available in the [JSON Schema reference](https://json-schema.org/understanding-json-schema/).\n\n**Make sure to well describe each parameter for best results.**\n\n\nExample for a weather tool:\n\n {\n \"type\": \"object\",\n \"properties\": {\n \"location\": {\n \"type\": \"string\"\n \"description\": \"The geographical location for which weather data is requested.\"\n },\n \"unit\": {\n \"type\": \"string\", \"enum\": [\"Celsius\", \"Fahrenheit\"]\n \"description\": \"The unit of measurement for temperature.\"\n }\n },\n \"required\": [\"location\"]\n }\n "}}}, "ChatCompletionChoice": {"properties": {"index": {"description": "The index of this completion choice", "title": "Index", "type": "integer"}, "message": {"$ref": "#/components/schemas/ChatMessage", "description": "The chat completion message"}, "finish_reason": {"description": "The reason the completion finished: 'stop', 'length', 'tool_calls', 'content_filter', or 'function_call'", "title": "Finish Reason", "type": "string"}}, "required": ["index", "message", "finish_reason"], "title": "ChatCompletionChoice", "type": "object"}, "ChatCompletionUsage": {"properties": {"completion_tokens_details": {"$ref": "#/components/schemas/UsageTokensDetails", "description": "Number of tokens in the generated completion"}, "prompt_tokens_details": {"$ref": "#/components/schemas/UsageTokensDetails", "description": "Number of tokens in the prompt"}, "total_tokens": {"description": "Total number of tokens used (prompt + completion)", "title": "Total Tokens", "type": "integer"}}, "required": ["completion_tokens_details", "prompt_tokens_details", "total_tokens"], "title": "ChatCompletionUsage", "type": "object"}, "ChatMessage": {"properties": {"role": {"$ref": "#/components/schemas/ChatRole", "description": "The role of the message author"}, "content": {"default": null, "description": "The content of the message", "title": "Content", "type": "string"}, "name": {"default": null, "description": "The name of the author of this message", "title": "Name", "type": "string"}, "function_call": {"additionalProperties": true, "default": null, "description": "The function call information", "title": "Function Call", "type": "object"}, "tool_calls": {"default": null, "description": "The tool call information", "items": {"additionalProperties": true, "type": "object"}, "title": "Tool Calls", "type": "array"}}, "required": ["role"], "title": "ChatMessage", "type": "object"}, "ChatMessageContent": {"properties": {"media_url": {"default": null, "title": "Media Url", "type": "string"}, "media_base64": {"default": null, "title": "Media Base64", "type": "string"}, "text": {"default": null, "title": "Text", "type": "string"}, "media_type": {"default": null, "title": "Media Type", "type": "string"}}, "title": "ChatMessageContent", "type": "object"}, "ChatMessageDataClass": {"properties": {"role": {"title": "Role", "type": "string"}, "content": {"items": {"$ref": "#/components/schemas/ChatMessage"}, "title": "Content", "type": "array"}}, "required": ["role"], "title": "ChatMessageDataClass", "type": "object"}, "ChatMessageRequest": {"type": "object", "properties": {"role": {"type": "string", "minLength": 1}, "message": {}, "tools": {"type": "array", "items": {"$ref": "#/components/schemas/ChatAvailableToolsRequest"}, "nullable": true}, "tool_calls": {"type": "array", "items": {"$ref": "#/components/schemas/ChatToolCallsRequest"}, "nullable": true}}, "required": ["message", "role"]}, "ChatRole": {"enum": ["system", "user", "assistant", "function", "tool"], "title": "ChatRole", "type": "string"}, "ChatToolCallsRequest": {"type": "object", "properties": {"id": {"type": "string", "minLength": 1}, "name": {"type": "string", "minLength": 1}, "arguments": {"type": "string", "minLength": 1}}, "required": ["arguments", "id", "name"]}, "ChatToolResultRequest": {"type": "object", "properties": {"id": {"type": "string", "minLength": 1, "description": "the id of the `tool_call` used to generate result"}, "result": {"type": "string", "minLength": 1, "description": "the result of your function"}}, "required": ["id", "result"]}, "ContentNSFW": {"properties": {"timestamp": {"title": "Timestamp", "type": "integer"}, "confidence": {"title": "Confidence", "type": "integer"}, "category": {"title": "Category", "type": "string"}}, "required": ["timestamp", "confidence", "category"], "title": "ContentNSFW", "type": "object"}, "Conversation": {"type": "object", "properties": {"id": {"type": "string", "format": "uuid", "readOnly": true}, "name": {"type": "string", "nullable": true, "maxLength": 255}}, "required": ["id"]}, "ConversationDetail": {"type": "object", "properties": {"id": {"type": "string", "format": "uuid", "readOnly": true}, "name": {"type": "string", "nullable": true, "maxLength": 255}, "messages": {"type": "array", "items": {"$ref": "#/components/schemas/Message"}, "readOnly": true}}, "required": ["id", "messages"]}, "ConversationDetailRequest": {"type": "object", "properties": {"name": {"type": "string", "nullable": true, "maxLength": 255}}}, "ConversationRequest": {"type": "object", "properties": {"name": {"type": "string", "nullable": true, "maxLength": 255}}}, "CostMonitoringResponse": {"properties": {"response": {"items": {"$ref": "#/components/schemas/TokenData"}, "title": "Response", "type": "array"}}, "required": ["response"], "title": "CostMonitoringResponse", "type": "object"}, "Country": {"properties": {"name": {"title": "Name", "type": "string"}, "alpha2": {"title": "Alpha2", "type": "string"}, "alpha3": {"title": "Alpha3", "type": "string"}, "confidence": {"default": null, "title": "Confidence", "type": "integer"}}, "required": ["name", "alpha2", "alpha3"], "title": "Country", "type": "object"}, "CustomDocumentParsingAsyncBoundingBox": {"properties": {"left": {"title": "Left", "type": "integer"}, "top": {"title": "Top", "type": "integer"}, "width": {"title": "Width", "type": "integer"}, "height": {"title": "Height", "type": "integer"}}, "required": ["left", "top", "width", "height"], "title": "CustomDocumentParsingAsyncBoundingBox", "type": "object"}, "CustomDocumentParsingAsyncItem": {"properties": {"confidence": {"title": "Confidence", "type": "integer"}, "value": {"title": "Value", "type": "string"}, "query": {"title": "Query", "type": "string"}, "bounding_box": {"$ref": "#/components/schemas/CustomDocumentParsingAsyncBoundingBox"}, "page": {"title": "Page", "type": "integer"}}, "required": ["confidence", "value", "query", "bounding_box", "page"], "title": "CustomDocumentParsingAsyncItem", "type": "object"}, "CustomDocumentParsingAsyncRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "show_base_64": {"type": "boolean", "default": true}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "file_password": {"type": "string", "nullable": true, "description": "If your PDF file has a password, you can pass it here!", "maxLength": 200}, "queries": {"type": "string", "minLength": 1, "description": "Your queries need to be a list of dict containing the questions you want answered and the page to look for the information in : '[{'query':'your query','pages':'your pages'},{'query':'your query','pages':'your pages'}]'"}, "convert_to_pdf": {"type": "boolean", "nullable": true, "default": false, "description": "Boolean value to specify weather to convert the doc/docx files to pdf format to be accepted by a majority of the providers"}}, "required": ["providers", "queries"]}, "CustomTokenUpdate": {"type": "object", "properties": {"name": {"type": "string", "readOnly": true, "description": "The token name"}, "token_type": {"allOf": [{"$ref": "#/components/schemas/TokenTypeEnum"}], "readOnly": true}, "balance": {"type": "number", "format": "double", "maximum": 100000, "minimum": -100000, "exclusiveMaximum": true, "exclusiveMinimum": true, "description": "Optional remaining credits balance for this Token, if `active_balance` is set to True and the balance reaches 0, this token will become unusable"}, "expire_time": {"type": "string", "format": "date-time", "nullable": true}, "active_balance": {"type": "boolean", "description": "Weither to use the balance field or not."}}, "required": ["name", "token_type"]}, "CustomTokensCreate": {"type": "object", "properties": {"name": {"type": "string", "description": "The token name", "maxLength": 200}, "token_type": {"$ref": "#/components/schemas/TokenTypeEnum"}, "balance": {"type": "string", "format": "decimal", "pattern": "^-?\\d{0,5}(?:\\.\\d{0,9})?$", "description": "Optional remaining credits balance for this Token, if `active_balance` is set to True and the balance reaches 0, this token will become unusable"}, "expire_time": {"type": "string", "format": "date-time", "nullable": true}, "active_balance": {"type": "boolean", "description": "Weither to use the balance field or not."}}, "required": ["name"]}, "CustomTokensCreateRequest": {"type": "object", "properties": {"name": {"type": "string", "minLength": 1, "description": "The token name", "maxLength": 200}, "token_type": {"$ref": "#/components/schemas/TokenTypeEnum"}, "balance": {"type": "string", "format": "decimal", "pattern": "^-?\\d{0,5}(?:\\.\\d{0,9})?$", "description": "Optional remaining credits balance for this Token, if `active_balance` is set to True and the balance reaches 0, this token will become unusable"}, "expire_time": {"type": "string", "format": "date-time", "nullable": true}, "active_balance": {"type": "boolean", "description": "Weither to use the balance field or not."}}, "required": ["name"]}, "CustomTokensList": {"type": "object", "properties": {"name": {"type": "string", "description": "The token name", "maxLength": 200}, "token": {"type": "string", "nullable": true, "maxLength": 2000}, "token_type": {"$ref": "#/components/schemas/TokenTypeEnum"}, "balance": {"type": "number", "format": "double", "maximum": 100000, "minimum": -100000, "exclusiveMaximum": true, "exclusiveMinimum": true, "description": "Optional remaining credits balance for this Token, if `active_balance` is set to True and the balance reaches 0, this token will become unusable"}, "active_balance": {"type": "boolean", "description": "Weither to use the balance field or not."}, "expire_time": {"type": "string", "format": "date-time", "nullable": true}}, "required": ["name"]}, "DataTypeEnum": {"enum": ["pdf", "audio", "csv", "xml"], "type": "string", "description": "* `pdf` - pdf\n* `audio` - audio\n* `csv` - csv\n* `xml` - xml"}, "DbProviderEnum": {"enum": ["qdrant", "supabase"], "type": "string", "description": "* `qdrant` - qdrant\n* `supabase` - supabase"}, "DetailPerFrame": {"properties": {"position": {"title": "Position", "type": "integer"}, "score": {"maximum": 1, "minimum": 0, "title": "Score", "type": "integer"}, "prediction": {"allOf": [{"$ref": "#/components/schemas/PredictionB20Enum"}], "title": "Prediction"}}, "required": ["position", "score", "prediction"], "title": "DetailPerFrame", "type": "object"}, "DetailTypeEnum": {"enum": ["resolution", "document_type"], "type": "string", "description": "* `resolution` - Resolution\n* `document_type` - Document Type"}, "Details": {"properties": {"total_cost": {"title": "Total Cost", "type": "integer"}, "details": {"title": "Details", "type": "integer"}, "cost_per_provider": {"additionalProperties": {"type": "integer"}, "title": "Cost Per Provider", "type": "object"}}, "required": ["total_cost", "details", "cost_per_provider"], "title": "Details", "type": "object"}, "DocumentTypeEnum": {"enum": ["auto-detect", "invoice", "receipt"], "type": "string", "description": "* `auto-detect` - auto-detect\n* `invoice` - invoice\n* `receipt` - receipt"}, "EmbeddingDataClass": {"properties": {"embedding": {"items": {"type": "integer"}, "title": "Embedding", "type": "array"}}, "required": ["embedding"], "title": "EmbeddingDataClass", "type": "object"}, "EmbeddingsProviderEnum": {"enum": ["openai", "cohere", "google", "mistral", "jina"], "type": "string", "description": "* `openai` - openai\n* `cohere` - cohere\n* `google` - google\n* `mistral` - mistral\n* `jina` - jina"}, "EmotionItem": {"description": "This class is used in EmotionAnalysisDataClass to list emotion analysed.\nArgs:\n - emotion (EmotionEnum): emotion of the text\n - emotion_score (float): score of the emotion", "properties": {"emotion": {"title": "Emotion", "type": "string"}, "emotion_score": {"maximum": 100, "minimum": 0, "title": "Emotion Score", "type": "integer"}}, "required": ["emotion", "emotion_score"], "title": "EmotionItem", "type": "object"}, "Entity": {"properties": {"type": {"description": "Recognized Entity type", "title": "Type", "type": "string"}, "text": {"description": "Text corresponding to the entity", "title": "Text", "type": "string"}, "sentiment": {"allOf": [{"$ref": "#/components/schemas/EntitySentimentEnum"}], "title": "Sentiment"}, "begin_offset": {"default": null, "title": "Begin Offset", "type": "integer"}, "end_offset": {"default": null, "title": "End Offset", "type": "integer"}}, "required": ["type", "text", "sentiment"], "title": "Entity", "type": "object"}, "EntitySentimentEnum": {"enum": ["Positive", "Negative", "Neutral", "Mixed"], "type": "string"}, "Error": {"type": "object", "properties": {"error": {"$ref": "#/components/schemas/NestedError"}}, "required": ["error"]}, "ExecutionContentCreate": {"type": "object", "properties": {"status": {"$ref": "#/components/schemas/ExecutionContentCreateStatusEnum"}, "results": {}, "last_node_executed": {"type": "string"}}, "required": ["last_node_executed", "results", "status"]}, "ExecutionContentCreateStatusEnum": {"enum": ["success", "failed", "processing"], "type": "string", "description": "* `success` - Success\n* `failed` - Failed\n* `processing` - Processing"}, "ExecutionExampleSuccessCreate": {"type": "object", "properties": {"webhook_receiver": {"type": "string", "format": "uri", "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "id": {"type": "string"}, "content": {"$ref": "#/components/schemas/ExecutionContentCreate"}, "created_at": {"type": "string", "format": "date-time"}, "updated_at": {"type": "string", "format": "date-time"}}, "required": ["content", "created_at", "id", "updated_at"]}, "ExecutionFakeCreateRequest": {"type": "object", "properties": {"webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "my_invoice": {"type": "string", "minLength": 1, "default": "https://example.com/public/invoice_123.pdf", "description": "An example of an input parameter specified in the input node"}}}, "ExecutionList": {"type": "object", "properties": {"id": {"type": "string", "format": "uuid", "readOnly": true}, "status": {"type": "string", "nullable": true, "maxLength": 30}, "created_at": {"type": "string", "format": "date-time", "readOnly": true, "nullable": true}, "updated_at": {"type": "string", "format": "date-time", "readOnly": true, "nullable": true}}, "required": ["created_at", "id", "updated_at"]}, "ExplicitItem": {"properties": {"label": {"description": "", "title": "Label", "type": "string"}, "likelihood": {"description": "", "title": "Likelihood", "type": "integer"}, "likelihood_score": {"description": "", "title": "Likelihood Score", "type": "integer"}, "category": {"$ref": "#/components/schemas/CategoryType", "description": "The category of the detected content. Possible values include: 'Toxic', 'Content', 'Sexual', 'Violence', 'DrugAndAlcohol', 'Finance', 'HateAndExtremism', 'Safe', 'Other'."}, "subcategory": {"description": "The subcategory of content. Possible values:\n\nToxic Subcategories:\n- Insult\n- Obscene\n- Derogatory\n- Profanity\n- Threat\n- Toxic\n\nContent Subcategories:\n- MiddleFinger\n- PublicSafety\n- Health\n- Explicit\n- QRCode\n- Medical\n- Politics\n- Legal\n\nSexual Subcategories:\n- SexualActivity\n- SexualSituations\n- Nudity\n- PartialNudity\n- Suggestive\n- AdultToys\n- RevealingClothes\n- Sexual\n\nViolence Subcategories:\n- GraphicViolenceOrGore\n- PhysicalViolence\n- WeaponViolence\n- Violence\n\nDrug and Alcohol Subcategories:\n- DrugProducts\n- DrugUse\n- Tobacco\n- Smoking\n- Alcohol\n- Drinking\n\nFinance Subcategories:\n- Gambling\n- Finance\n- MoneyContent\n\nHate and Extremism Subcategories:\n- Hate\n- Harassment\n- Threatening\n- Extremist\n- Racy\n\nSafe Subcategories:\n- Safe\n- NotSafe\n\nOther Subcategories:\n- Spoof\n- Religion\n- Offensive\n- Other", "title": "Subcategory", "type": "string"}}, "required": ["label", "likelihood", "likelihood_score", "category", "subcategory"], "title": "ExplicitItem", "type": "object"}, "ExtractedTopic": {"properties": {"category": {"title": "Category", "type": "string"}, "importance": {"title": "Importance", "type": "integer"}}, "required": ["category", "importance"], "title": "ExtractedTopic", "type": "object"}, "FaceAccessories": {"properties": {"sunglasses": {"title": "Sunglasses", "type": "integer"}, "reading_glasses": {"title": "Reading Glasses", "type": "integer"}, "swimming_goggles": {"title": "Swimming Goggles", "type": "integer"}, "face_mask": {"title": "Face Mask", "type": "integer"}, "eyeglasses": {"title": "Eyeglasses", "type": "integer"}, "headwear": {"title": "Headwear", "type": "integer"}}, "required": ["sunglasses", "reading_glasses", "swimming_goggles", "face_mask", "eyeglasses", "headwear"], "title": "FaceAccessories", "type": "object"}, "FaceAttributes": {"properties": {"headwear": {"title": "Headwear", "type": "integer"}, "frontal_gaze": {"title": "Frontal Gaze", "type": "integer"}, "eyes_visible": {"title": "Eyes Visible", "type": "integer"}, "glasses": {"title": "Glasses", "type": "integer"}, "mouth_open": {"title": "Mouth Open", "type": "integer"}, "smiling": {"title": "Smiling", "type": "integer"}, "brightness": {"title": "Brightness", "type": "integer"}, "sharpness": {"title": "Sharpness", "type": "integer"}, "pose": {"$ref": "#/components/schemas/VideoFacePoses"}}, "required": ["headwear", "frontal_gaze", "eyes_visible", "glasses", "mouth_open", "smiling", "brightness", "sharpness", "pose"], "title": "FaceAttributes", "type": "object"}, "FaceBoundingBox": {"properties": {"x_min": {"title": "X Min", "type": "integer"}, "x_max": {"title": "X Max", "type": "integer"}, "y_min": {"title": "Y Min", "type": "integer"}, "y_max": {"title": "Y Max", "type": "integer"}}, "required": ["x_min", "x_max", "y_min", "y_max"], "title": "FaceBoundingBox", "type": "object"}, "FaceCompareBoundingBox": {"properties": {"top": {"title": "Top", "type": "integer"}, "left": {"title": "Left", "type": "integer"}, "height": {"title": "Height", "type": "integer"}, "width": {"title": "Width", "type": "integer"}}, "required": ["top", "left", "height", "width"], "title": "FaceCompareBoundingBox", "type": "object"}, "FaceEmotions": {"properties": {"joy": {"title": "Joy", "type": "integer"}, "sorrow": {"title": "Sorrow", "type": "integer"}, "anger": {"title": "Anger", "type": "integer"}, "surprise": {"title": "Surprise", "type": "integer"}, "disgust": {"title": "Disgust", "type": "integer"}, "fear": {"title": "Fear", "type": "integer"}, "confusion": {"title": "Confusion", "type": "integer"}, "calm": {"title": "Calm", "type": "integer"}, "unknown": {"title": "Unknown", "type": "integer"}, "neutral": {"title": "Neutral", "type": "integer"}, "contempt": {"title": "Contempt", "type": "integer"}}, "required": ["joy", "sorrow", "anger", "surprise", "disgust", "fear", "confusion", "calm", "unknown", "neutral", "contempt"], "title": "FaceEmotions", "type": "object"}, "FaceFacialHair": {"properties": {"moustache": {"title": "Moustache", "type": "integer"}, "beard": {"title": "Beard", "type": "integer"}, "sideburns": {"title": "Sideburns", "type": "integer"}}, "required": ["moustache", "beard", "sideburns"], "title": "FaceFacialHair", "type": "object"}, "FaceFeatures": {"properties": {"eyes_open": {"title": "Eyes Open", "type": "integer"}, "smile": {"title": "Smile", "type": "integer"}, "mouth_open": {"title": "Mouth Open", "type": "integer"}}, "required": ["eyes_open", "smile", "mouth_open"], "title": "FaceFeatures", "type": "object"}, "FaceHair": {"properties": {"hair_color": {"items": {"$ref": "#/components/schemas/FaceHairColor"}, "title": "Hair Color", "type": "array"}, "bald": {"title": "Bald", "type": "integer"}, "invisible": {"title": "Invisible", "type": "boolean"}}, "required": ["bald", "invisible"], "title": "FaceHair", "type": "object"}, "FaceHairColor": {"properties": {"color": {"title": "Color", "type": "string"}, "confidence": {"title": "Confidence", "type": "integer"}}, "required": ["color", "confidence"], "title": "FaceHairColor", "type": "object"}, "FaceItem": {"properties": {"confidence": {"title": "Confidence", "type": "integer"}, "landmarks": {"$ref": "#/components/schemas/FaceLandmarks"}, "emotions": {"$ref": "#/components/schemas/FaceEmotions"}, "poses": {"$ref": "#/components/schemas/FacePoses"}, "age": {"title": "Age", "type": "integer"}, "gender": {"title": "Gender", "type": "string"}, "bounding_box": {"$ref": "#/components/schemas/FaceBoundingBox"}, "hair": {"$ref": "#/components/schemas/FaceHair"}, "facial_hair": {"$ref": "#/components/schemas/FaceFacialHair"}, "quality": {"$ref": "#/components/schemas/FaceQuality"}, "makeup": {"$ref": "#/components/schemas/FaceMakeup"}, "accessories": {"$ref": "#/components/schemas/FaceAccessories"}, "occlusions": {"$ref": "#/components/schemas/FaceOcclusions"}, "features": {"$ref": "#/components/schemas/FaceFeatures"}}, "required": ["confidence", "landmarks", "emotions", "poses", "age", "gender", "bounding_box", "hair", "facial_hair", "quality", "makeup", "accessories", "occlusions", "features"], "title": "FaceItem", "type": "object"}, "FaceLandmarks": {"properties": {"left_eye": {"items": {"type": "integer"}, "title": "Left Eye", "type": "array"}, "left_eye_top": {"items": {"type": "integer"}, "title": "Left Eye Top", "type": "array"}, "left_eye_right": {"items": {"type": "integer"}, "title": "Left Eye Right", "type": "array"}, "left_eye_bottom": {"items": {"type": "integer"}, "title": "Left Eye Bottom", "type": "array"}, "left_eye_left": {"items": {"type": "integer"}, "title": "Left Eye Left", "type": "array"}, "right_eye": {"items": {"type": "integer"}, "title": "Right Eye", "type": "array"}, "right_eye_top": {"items": {"type": "integer"}, "title": "Right Eye Top", "type": "array"}, "right_eye_right": {"items": {"type": "integer"}, "title": "Right Eye Right", "type": "array"}, "right_eye_bottom": {"items": {"type": "integer"}, "title": "Right Eye Bottom", "type": "array"}, "right_eye_left": {"items": {"type": "integer"}, "title": "Right Eye Left", "type": "array"}, "left_eyebrow_left": {"items": {"type": "integer"}, "title": "Left Eyebrow Left", "type": "array"}, "left_eyebrow_right": {"items": {"type": "integer"}, "title": "Left Eyebrow Right", "type": "array"}, "left_eyebrow_top": {"items": {"type": "integer"}, "title": "Left Eyebrow Top", "type": "array"}, "right_eyebrow_left": {"items": {"type": "integer"}, "title": "Right Eyebrow Left", "type": "array"}, "right_eyebrow_right": {"items": {"type": "integer"}, "title": "Right Eyebrow Right", "type": "array"}, "left_pupil": {"items": {"type": "integer"}, "title": "Left Pupil", "type": "array"}, "right_pupil": {"items": {"type": "integer"}, "title": "Right Pupil", "type": "array"}, "nose_tip": {"items": {"type": "integer"}, "title": "Nose Tip", "type": "array"}, "nose_bottom_right": {"items": {"type": "integer"}, "title": "Nose Bottom Right", "type": "array"}, "nose_bottom_left": {"items": {"type": "integer"}, "title": "Nose Bottom Left", "type": "array"}, "mouth_left": {"items": {"type": "integer"}, "title": "Mouth Left", "type": "array"}, "mouth_right": {"items": {"type": "integer"}, "title": "Mouth Right", "type": "array"}, "right_eyebrow_top": {"items": {"type": "integer"}, "title": "Right Eyebrow Top", "type": "array"}, "midpoint_between_eyes": {"items": {"type": "integer"}, "title": "Midpoint Between Eyes", "type": "array"}, "nose_bottom_center": {"items": {"type": "integer"}, "title": "Nose Bottom Center", "type": "array"}, "nose_left_alar_out_tip": {"items": {"type": "integer"}, "title": "Nose Left Alar Out Tip", "type": "array"}, "nose_left_alar_top": {"items": {"type": "integer"}, "title": "Nose Left Alar Top", "type": "array"}, "nose_right_alar_out_tip": {"items": {"type": "integer"}, "title": "Nose Right Alar Out Tip", "type": "array"}, "nose_right_alar_top": {"items": {"type": "integer"}, "title": "Nose Right Alar Top", "type": "array"}, "nose_root_left": {"items": {"type": "integer"}, "title": "Nose Root Left", "type": "array"}, "nose_root_right": {"items": {"type": "integer"}, "title": "Nose Root Right", "type": "array"}, "upper_lip": {"items": {"type": "integer"}, "title": "Upper Lip", "type": "array"}, "under_lip": {"items": {"type": "integer"}, "title": "Under Lip", "type": "array"}, "under_lip_bottom": {"items": {"type": "integer"}, "title": "Under Lip Bottom", "type": "array"}, "under_lip_top": {"items": {"type": "integer"}, "title": "Under Lip Top", "type": "array"}, "upper_lip_bottom": {"items": {"type": "integer"}, "title": "Upper Lip Bottom", "type": "array"}, "upper_lip_top": {"items": {"type": "integer"}, "title": "Upper Lip Top", "type": "array"}, "mouth_center": {"items": {"type": "integer"}, "title": "Mouth Center", "type": "array"}, "mouth_top": {"items": {"type": "integer"}, "title": "Mouth Top", "type": "array"}, "mouth_bottom": {"items": {"type": "integer"}, "title": "Mouth Bottom", "type": "array"}, "left_ear_tragion": {"items": {"type": "integer"}, "title": "Left Ear Tragion", "type": "array"}, "right_ear_tragion": {"items": {"type": "integer"}, "title": "Right Ear Tragion", "type": "array"}, "forehead_glabella": {"items": {"type": "integer"}, "title": "Forehead Glabella", "type": "array"}, "chin_gnathion": {"items": {"type": "integer"}, "title": "Chin Gnathion", "type": "array"}, "chin_left_gonion": {"items": {"type": "integer"}, "title": "Chin Left Gonion", "type": "array"}, "chin_right_gonion": {"items": {"type": "integer"}, "title": "Chin Right Gonion", "type": "array"}, "upper_jawline_left": {"items": {"type": "integer"}, "title": "Upper Jawline Left", "type": "array"}, "mid_jawline_left": {"items": {"type": "integer"}, "title": "Mid Jawline Left", "type": "array"}, "mid_jawline_right": {"items": {"type": "integer"}, "title": "Mid Jawline Right", "type": "array"}, "upper_jawline_right": {"items": {"type": "integer"}, "title": "Upper Jawline Right", "type": "array"}, "left_cheek_center": {"items": {"type": "integer"}, "title": "Left Cheek Center", "type": "array"}, "right_cheek_center": {"items": {"type": "integer"}, "title": "Right Cheek Center", "type": "array"}}, "title": "FaceLandmarks", "type": "object"}, "FaceMakeup": {"properties": {"eye_make": {"title": "Eye Make", "type": "boolean"}, "lip_make": {"title": "Lip Make", "type": "boolean"}}, "required": ["eye_make", "lip_make"], "title": "FaceMakeup", "type": "object"}, "FaceMatch": {"properties": {"confidence": {"title": "Confidence", "type": "integer"}, "bounding_box": {"$ref": "#/components/schemas/FaceCompareBoundingBox"}}, "required": ["confidence", "bounding_box"], "title": "FaceMatch", "type": "object"}, "FaceOcclusions": {"properties": {"eye_occluded": {"title": "Eye Occluded", "type": "boolean"}, "forehead_occluded": {"title": "Forehead Occluded", "type": "boolean"}, "mouth_occluded": {"title": "Mouth Occluded", "type": "boolean"}}, "required": ["eye_occluded", "forehead_occluded", "mouth_occluded"], "title": "FaceOcclusions", "type": "object"}, "FacePoses": {"properties": {"pitch": {"title": "Pitch", "type": "integer"}, "roll": {"title": "Roll", "type": "integer"}, "yaw": {"title": "Yaw", "type": "integer"}}, "required": ["pitch", "roll", "yaw"], "title": "FacePoses", "type": "object"}, "FaceQuality": {"properties": {"noise": {"title": "Noise", "type": "integer"}, "exposure": {"title": "Exposure", "type": "integer"}, "blur": {"title": "Blur", "type": "integer"}, "brightness": {"title": "Brightness", "type": "integer"}, "sharpness": {"title": "Sharpness", "type": "integer"}}, "required": ["noise", "exposure", "blur", "brightness", "sharpness"], "title": "FaceQuality", "type": "object"}, "FallbackTypeEnum": {"enum": ["rerun", "continue"], "type": "string", "description": "* `rerun` - Rerun\n* `continue` - Continue"}, "Feature": {"type": "object", "properties": {"name": {"type": "string", "maxLength": 255}, "fullname": {"type": "string", "nullable": true, "maxLength": 255}, "description": {"type": "string", "nullable": true, "maxLength": 1000}}, "required": ["name"]}, "FieldError": {"type": "object", "properties": {"": {"type": "array", "items": {"type": "string"}}}, "required": [""]}, "FinalStatusEnum": {"enum": ["sucess", "fail"], "type": "string"}, "FinancialBankInformation": {"properties": {"iban": {"default": null, "description": "International Bank Account Number.", "title": "Iban", "type": "string"}, "swift": {"default": null, "description": "Society for Worldwide Interbank Financial Telecommunication code.", "title": "Swift", "type": "string"}, "bsb": {"default": null, "description": "Bank State Branch code (Australia).", "title": "Bsb", "type": "string"}, "sort_code": {"default": null, "description": "Sort code for UK banks.", "title": "Sort Code", "type": "string"}, "account_number": {"default": null, "description": "Bank account number.", "title": "Account Number", "type": "string"}, "routing_number": {"default": null, "description": "Routing number for banks in the United States.", "title": "Routing Number", "type": "string"}, "bic": {"default": null, "description": "Bank Identifier Code.", "title": "Bic", "type": "string"}}, "title": "FinancialBankInformation", "type": "object"}, "FinancialBarcode": {"properties": {"value": {"title": "Value", "type": "string"}, "type": {"title": "Type", "type": "string"}}, "required": ["value", "type"], "title": "FinancialBarcode", "type": "object"}, "FinancialCustomerInformation": {"properties": {"name": {"default": null, "description": "The name of the invoiced customer.", "title": "Name", "type": "string"}, "id_reference": {"default": null, "description": "Unique reference ID for the customer.", "title": "Id Reference", "type": "string"}, "mailling_address": {"default": null, "description": "The mailing address of the customer.", "title": "Mailling Address", "type": "string"}, "billing_address": {"default": null, "description": "The explicit billing address for the customer.", "title": "Billing Address", "type": "string"}, "shipping_address": {"default": null, "description": "The shipping address for the customer.", "title": "Shipping Address", "type": "string"}, "service_address": {"default": null, "description": "The service address associated with the customer.", "title": "Service Address", "type": "string"}, "remittance_address": {"default": null, "description": "The address to which payments should be remitted.", "title": "Remittance Address", "type": "string"}, "email": {"default": null, "description": "The email address of the customer.", "title": "Email", "type": "string"}, "phone": {"default": null, "description": "The phone number associated with the customer.", "title": "Phone", "type": "string"}, "vat_number": {"default": null, "description": "VAT (Value Added Tax) number of the customer.", "title": "Vat Number", "type": "string"}, "abn_number": {"default": null, "description": "ABN (Australian Business Number) of the customer.", "title": "Abn Number", "type": "string"}, "gst_number": {"default": null, "description": "GST (Goods and Services Tax) number of the customer.", "title": "Gst Number", "type": "string"}, "pan_number": {"default": null, "description": "PAN (Permanent Account Number) of the customer.", "title": "Pan Number", "type": "string"}, "business_number": {"default": null, "description": "Business registration number of the customer.", "title": "Business Number", "type": "string"}, "siret_number": {"default": null, "description": "SIRET (Syst\u00e8me d'Identification du R\u00e9pertoire des Entreprises et de leurs \u00c9tablissements) number of the customer.", "title": "Siret Number", "type": "string"}, "siren_number": {"default": null, "description": "SIREN (Syst\u00e8me d'Identification du R\u00e9pertoire des Entreprises) number of the customer.", "title": "Siren Number", "type": "string"}, "customer_number": {"default": null, "description": "Customer identification number.", "title": "Customer Number", "type": "string"}, "coc_number": {"default": null, "description": "Chamber of Commerce registration number.", "title": "Coc Number", "type": "string"}, "fiscal_number": {"default": null, "description": "Fiscal identification number of the customer.", "title": "Fiscal Number", "type": "string"}, "registration_number": {"default": null, "description": "Official registration number of the customer.", "title": "Registration Number", "type": "string"}, "tax_id": {"default": null, "description": "Tax identification number of the customer.", "title": "Tax Id", "type": "string"}, "website": {"default": null, "description": "The website associated with the customer.", "title": "Website", "type": "string"}, "remit_to_name": {"default": null, "description": "The name associated with the customer's remittance address.", "title": "Remit To Name", "type": "string"}, "city": {"default": null, "description": "The city associated with the customer's address.", "title": "City", "type": "string"}, "country": {"default": null, "description": "The country associated with the customer's address.", "title": "Country", "type": "string"}, "house_number": {"default": null, "description": "The house number associated with the customer's address.", "title": "House Number", "type": "string"}, "province": {"default": null, "description": "The province associated with the customer's address.", "title": "Province", "type": "string"}, "street_name": {"default": null, "description": "The street name associated with the customer's address.", "title": "Street Name", "type": "string"}, "zip_code": {"default": null, "description": "The ZIP code associated with the customer's address.", "title": "Zip Code", "type": "string"}, "municipality": {"default": null, "description": "The municipality associated with the customer's address.", "title": "Municipality", "type": "string"}}, "title": "FinancialCustomerInformation", "type": "object"}, "FinancialDocumentInformation": {"properties": {"invoice_receipt_id": {"default": null, "description": "Identifier for the invoice.", "title": "Invoice Receipt Id", "type": "string"}, "purchase_order": {"default": null, "description": "Purchase order related to the document.", "title": "Purchase Order", "type": "string"}, "invoice_date": {"default": null, "description": "Date of the invoice.", "title": "Invoice Date", "type": "string"}, "time": {"default": null, "description": "Time associated with the document.", "title": "Time", "type": "string"}, "invoice_due_date": {"default": null, "description": "Due date for the invoice.", "title": "Invoice Due Date", "type": "string"}, "service_start_date": {"default": null, "description": "Start date of the service associated with the document.", "title": "Service Start Date", "type": "string"}, "service_end_date": {"default": null, "description": "End date of the service associated with the document.", "title": "Service End Date", "type": "string"}, "reference": {"default": null, "description": "Reference number associated with the document.", "title": "Reference", "type": "string"}, "biller_code": {"default": null, "description": "Biller code associated with the document.", "title": "Biller Code", "type": "string"}, "order_date": {"default": null, "description": "Date of the order associated with the document.", "title": "Order Date", "type": "string"}, "tracking_number": {"default": null, "description": "Tracking number associated with the document.", "title": "Tracking Number", "type": "string"}, "barcodes": {"description": "List of barcodes associated with the document.", "items": {"$ref": "#/components/schemas/FinancialBarcode"}, "title": "Barcodes", "type": "array"}}, "title": "FinancialDocumentInformation", "type": "object"}, "FinancialDocumentMetadata": {"properties": {"document_index": {"default": null, "description": "Index of the detected document.", "title": "Document Index", "type": "integer"}, "document_page_number": {"default": null, "description": "Page number within the document.", "title": "Document Page Number", "type": "integer"}, "document_type": {"default": null, "description": "Type or category of the document.", "title": "Document Type", "type": "string"}}, "title": "FinancialDocumentMetadata", "type": "object"}, "FinancialLineItem": {"properties": {"tax": {"default": null, "description": "Tax amount for the line item.", "title": "Tax", "type": "integer"}, "amount_line": {"default": null, "description": "Total amount for the line item.", "title": "Amount Line", "type": "integer"}, "description": {"default": null, "description": "Description of the line item.", "title": "Description", "type": "string"}, "quantity": {"default": null, "description": "Quantity of units for the line item.", "title": "Quantity", "type": "integer"}, "unit_price": {"default": null, "description": "Unit price for each unit in the line item.", "title": "Unit Price", "type": "integer"}, "unit_type": {"default": null, "description": "Type of unit (e.g., hours, items).", "title": "Unit Type", "type": "string"}, "date": {"default": null, "description": "Date associated with the line item.", "title": "Date", "type": "string"}, "product_code": {"default": null, "description": "Product code or identifier for the line item.", "title": "Product Code", "type": "string"}, "purchase_order": {"default": null, "description": "Purchase order related to the line item.", "title": "Purchase Order", "type": "string"}, "tax_rate": {"default": null, "description": "Tax rate applied to the line item.", "title": "Tax Rate", "type": "integer"}, "base_total": {"default": null, "description": "Base total amount before any discounts or taxes.", "title": "Base Total", "type": "integer"}, "sub_total": {"default": null, "description": "Subtotal amount for the line item.", "title": "Sub Total", "type": "integer"}, "discount_amount": {"default": null, "description": "Amount of discount applied to the line item.", "title": "Discount Amount", "type": "integer"}, "discount_rate": {"default": null, "description": "Rate of discount applied to the line item.", "title": "Discount Rate", "type": "integer"}, "discount_code": {"default": null, "description": "Code associated with any discount applied to the line item.", "title": "Discount Code", "type": "string"}, "order_number": {"default": null, "description": "Order number associated with the line item.", "title": "Order Number", "type": "string"}, "title": {"default": null, "description": "Title or name of the line item.", "title": "Title", "type": "string"}}, "title": "FinancialLineItem", "type": "object"}, "FinancialLocalInformation": {"properties": {"currency": {"default": null, "description": "Currency used in financial transactions.", "title": "Currency", "type": "string"}, "currency_code": {"default": null, "description": "Currency code (e.g., USD, EUR).", "title": "Currency Code", "type": "string"}, "currency_exchange_rate": {"default": null, "description": "Exchange rate for the specified currency.", "title": "Currency Exchange Rate", "type": "string"}, "country": {"default": null, "description": "Country associated with the local financial information.", "title": "Country", "type": "string"}, "language": {"default": null, "description": "Language used in financial transactions.", "title": "Language", "type": "string"}}, "title": "FinancialLocalInformation", "type": "object"}, "FinancialMerchantInformation": {"properties": {"name": {"default": null, "description": "Name of the merchant.", "title": "Name", "type": "string"}, "address": {"default": null, "description": "Address of the merchant.", "title": "Address", "type": "string"}, "phone": {"default": null, "description": "Phone number of the merchant.", "title": "Phone", "type": "string"}, "tax_id": {"default": null, "description": "Tax identification number of the merchant.", "title": "Tax Id", "type": "string"}, "id_reference": {"default": null, "description": "Unique reference ID for the merchant.", "title": "Id Reference", "type": "string"}, "vat_number": {"default": null, "description": "VAT (Value Added Tax) number of the merchant.", "title": "Vat Number", "type": "string"}, "abn_number": {"default": null, "description": "ABN (Australian Business Number) of the merchant.", "title": "Abn Number", "type": "string"}, "gst_number": {"default": null, "description": "GST (Goods and Services Tax) number of the merchant.", "title": "Gst Number", "type": "string"}, "business_number": {"default": null, "description": "Business registration number of the merchant.", "title": "Business Number", "type": "string"}, "siret_number": {"default": null, "description": "SIRET (Syst\u00e8me d'Identification du R\u00e9pertoire des Entreprises et de leurs \u00c9tablissements) number of the merchant.", "title": "Siret Number", "type": "string"}, "siren_number": {"default": null, "description": "SIREN (Syst\u00e8me d'Identification du R\u00e9pertoire des Entreprises) number of the merchant.", "title": "Siren Number", "type": "string"}, "pan_number": {"default": null, "description": "PAN (Permanent Account Number) of the merchant.", "title": "Pan Number", "type": "string"}, "coc_number": {"default": null, "description": "Chamber of Commerce registration number of the merchant.", "title": "Coc Number", "type": "string"}, "fiscal_number": {"default": null, "description": "Fiscal identification number of the merchant.", "title": "Fiscal Number", "type": "string"}, "email": {"default": null, "description": "Email address of the merchant.", "title": "Email", "type": "string"}, "fax": {"default": null, "description": "Fax number of the merchant.", "title": "Fax", "type": "string"}, "website": {"default": null, "description": "Website of the merchant.", "title": "Website", "type": "string"}, "registration": {"default": null, "description": "Official registration information of the merchant.", "title": "Registration", "type": "string"}, "city": {"default": null, "description": "City associated with the merchant's address.", "title": "City", "type": "string"}, "country": {"default": null, "description": "Country associated with the merchant's address.", "title": "Country", "type": "string"}, "house_number": {"default": null, "description": "House number associated with the merchant's address.", "title": "House Number", "type": "string"}, "province": {"default": null, "description": "Province associated with the merchant's address.", "title": "Province", "type": "string"}, "street_name": {"default": null, "description": "Street name associated with the merchant's address.", "title": "Street Name", "type": "string"}, "zip_code": {"default": null, "description": "ZIP code associated with the merchant's address.", "title": "Zip Code", "type": "string"}, "country_code": {"default": null, "description": "Country code associated with the merchant's location.", "title": "Country Code", "type": "string"}}, "title": "FinancialMerchantInformation", "type": "object"}, "FinancialParserObjectDataClass": {"properties": {"customer_information": {"$ref": "#/components/schemas/FinancialCustomerInformation"}, "merchant_information": {"$ref": "#/components/schemas/FinancialMerchantInformation"}, "payment_information": {"$ref": "#/components/schemas/FinancialPaymentInformation"}, "financial_document_information": {"$ref": "#/components/schemas/FinancialDocumentInformation"}, "local": {"$ref": "#/components/schemas/FinancialLocalInformation"}, "bank": {"$ref": "#/components/schemas/FinancialBankInformation"}, "item_lines": {"description": "List of line items associated with the document.", "items": {"$ref": "#/components/schemas/FinancialLineItem"}, "title": "Item Lines", "type": "array"}, "document_metadata": {"$ref": "#/components/schemas/FinancialDocumentMetadata"}}, "required": ["customer_information", "merchant_information", "payment_information", "financial_document_information", "local", "bank", "document_metadata"], "title": "FinancialParserObjectDataClass", "type": "object"}, "FinancialPaymentInformation": {"properties": {"amount_due": {"default": null, "description": "Amount due for payment.", "title": "Amount Due", "type": "integer"}, "amount_tip": {"default": null, "description": "Tip amount in a financial transaction.", "title": "Amount Tip", "type": "integer"}, "amount_shipping": {"default": null, "description": "Shipping cost in a financial transaction.", "title": "Amount Shipping", "type": "integer"}, "amount_change": {"default": null, "description": "Change amount in a financial transaction.", "title": "Amount Change", "type": "integer"}, "amount_paid": {"default": null, "description": "Amount already paid in a financial transaction.", "title": "Amount Paid", "type": "integer"}, "total": {"default": null, "description": "Total amount in the invoice.", "title": "Total", "type": "integer"}, "subtotal": {"default": null, "description": "Subtotal amount in a financial transaction.", "title": "Subtotal", "type": "integer"}, "total_tax": {"default": null, "description": "Total tax amount in a financial transaction.", "title": "Total Tax", "type": "integer"}, "tax_rate": {"default": null, "description": "Tax rate applied in a financial transaction.", "title": "Tax Rate", "type": "integer"}, "discount": {"default": null, "description": "Discount amount applied in a financial transaction.", "title": "Discount", "type": "integer"}, "gratuity": {"default": null, "description": "Gratuity amount in a financial transaction.", "title": "Gratuity", "type": "integer"}, "service_charge": {"default": null, "description": "Service charge in a financial transaction.", "title": "Service Charge", "type": "integer"}, "previous_unpaid_balance": {"default": null, "description": "Previous unpaid balance in a financial transaction.", "title": "Previous Unpaid Balance", "type": "integer"}, "prior_balance": {"default": null, "description": "Prior balance before the current financial transaction.", "title": "Prior Balance", "type": "integer"}, "payment_terms": {"default": null, "description": "Terms and conditions for payment.", "title": "Payment Terms", "type": "string"}, "payment_method": {"default": null, "description": "Payment method used in the financial transaction.", "title": "Payment Method", "type": "string"}, "payment_card_number": {"default": null, "description": "Card number used in the payment.", "title": "Payment Card Number", "type": "string"}, "payment_auth_code": {"default": null, "description": "Authorization code for the payment.", "title": "Payment Auth Code", "type": "string"}, "shipping_handling_charge": {"default": null, "description": "Charge for shipping and handling in a financial transaction.", "title": "Shipping Handling Charge", "type": "integer"}, "transaction_number": {"default": null, "description": "Unique identifier for the financial transaction.", "title": "Transaction Number", "type": "string"}, "transaction_reference": {"default": null, "description": "Reference number for the financial transaction.", "title": "Transaction Reference", "type": "string"}}, "title": "FinancialPaymentInformation", "type": "object"}, "GeneralSentimentEnum": {"enum": ["Positive", "Negative", "Neutral"], "type": "string"}, "GenerateRequest": {"type": "object", "properties": {"messages": {"type": "array", "items": {"type": "object", "additionalProperties": {}}, "description": "A list containing all the conversations between the user and the assistant.\nEach item in the list should be a dictionary with two keys: 'role' and 'message'.\n\n**role**: Specifies the role of the speaker and can have the values 'user', 'system', 'assistant' or 'tool'.\nThe system role instructs the way the model should answer, e.g. 'You are a helpful assistant'. The user\nrole specifies the user query and assistant is the model's response. The tool role is for external tools that\ncan be used in the conversation.\n\n**message**: A list of dictionaries. Each dictionary in the 'message' list must contain the keys 'type' and 'content'.\n\n#### Structure\n- **type**: Specifies the type of content and can be 'image_url' or 'text'.\n- **content**: A dictionary with the actual content based on the 'type':\n - If 'type' is 'image_url', 'content' must contain 'image_url' and must not contain 'text'.\n - If 'type' is 'text', 'content' must contain 'text' and must not contain 'image_url'.\n\n#### Example\n```json\n[\n {\n \"role\": \"user\",\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"Describe this image\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg\"\n }\n }\n ]\n }\n]\n```"}, "model": {"type": "string", "minLength": 1, "description": "The OpenAI model to use for the chat completion. \nThis field is required and specifies which language model will process the conversation. \n\n**Example values**: 'gpt-3.5-turbo', 'gpt-4', 'gpt-4-turbo'"}, "reasoning_effort": {"allOf": [{"$ref": "#/components/schemas/ReasoningEffortEnum"}], "description": "Optional parameter to control the model's reasoning depth. \nAllows specifying the level of analytical effort in generating responses. \n\n**Choices**:\n- 'low': Minimal reasoning, quick responses\n- 'medium': Balanced reasoning approach\n- 'high': In-depth, comprehensive reasoning\n\n**Example**: 'high' for complex problem-solving tasks\n\n* `low` - low\n* `medium` - medium\n* `high` - high"}, "metadata": {"type": "array", "items": {"$ref": "#/components/schemas/MetadataRequest"}, "description": "Optional list of metadata associated with the chat request. \nCan be used to provide additional context or tracking information. \n\n**Example**:\n```json\n{\n \"metadata\": [\n {\"key\": \"conversation_id\", \"value\": \"chat_12345\"},\n {\"key\": \"source\", \"value\": \"customer_support\"}\n ]\n}\n```"}, "frequency_penalty": {"type": "number", "format": "double", "maximum": 2.0, "minimum": -2.0, "description": "Controls repetitiveness of model responses by penalizing frequent tokens. \nRanges from -2.0 to 2.0. \n\n**Values**:\n- Positive values: Reduce token repetition\n- Negative values: Encourage repetition\n- 0.0: Default behavior\n\n**Example**: 1.5 to significantly reduce repeated phrases"}, "logit_bias": {"type": "object", "additionalProperties": {"type": "number", "format": "double"}, "description": "Modify the likelihood of specific tokens appearing in the response. \nA dictionary where keys are token IDs and values are bias scores. \n\n**Example**:\n```json\n{\n \"logit_bias\": {\n \"50256\": -100, # Reduce probability of end-of-text token\n \"15\": 5 # Slightly increase probability of a specific token\n }\n}\n```"}, "logprobs": {"type": "boolean", "description": "If set to True, returns log probabilities of the most likely tokens. \nUseful for advanced token probability analysis. \n\n**Example**: True to get detailed token likelihood information"}, "top_logprobs": {"type": "integer", "maximum": 20, "minimum": 0, "description": "Number of top log probabilities to return with each token. \nMust be between 0 and 20. \n\n**Example**: 5 to get top 5 most likely tokens for each position"}, "max_completion_tokens": {"type": "integer", "minimum": 1, "description": "Maximum number of tokens to generate in the completion. \nMust be at least 1. \n\n**Example**: 150 to limit response to approximately 100-150 words"}, "n": {"type": "integer", "minimum": 1, "description": "Number of chat completion choices to generate.\n\n **Example**: 3 to generate multiple alternative responses"}, "modalities": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "List of supported input/output modalities for the chat. \n\n**Example**:\n```json\n{\n \"modalities\": [\"text\", \"image\", \"audio\"]\n}\n```"}, "prediction": {"type": "object", "additionalProperties": {}, "description": "Optional field for storing prediction-related information. \nFlexible dictionary to capture model's predictive metadata. \n\n**Example**:\n```json\n{\n \"prediction\": {\n \"confidence_score\": 0.85,\n \"top_prediction\": \"response_category\"\n }\n}\n```"}, "audio": {"type": "object", "additionalProperties": {}, "description": "Optional dictionary for audio-related parameters or metadata. \n\n**Example**:\n```json\n{\n \"audio\": {\n \"language\": \"en-US\",\n \"transcription_format\": \"srt\"\n }\n}\n```"}, "presence_penalty": {"type": "number", "format": "double", "maximum": 2.0, "minimum": -2.0, "description": "Adjusts likelihood of discussing new topics by penalizing existing tokens. \nRanges from -2.0 to 2.0. \n\n**Values**:\n- Positive values: Encourage more diverse topics\n- Negative values: Keep discussion more focused\n- 0.0: Default behavior\n\n**Example**: 1.0 to promote topic diversity"}, "response_format": {"type": "object", "additionalProperties": {}, "description": "Specify the desired response format for the completion. \n\n**Example**:\n```json\n{\n \"response_format\": {\n \"type\": \"json_object\",\n \"schema\": {...}\n }\n}\n```"}, "seed": {"type": "integer", "description": "Set a seed for deterministic sampling to reproduce consistent results. \n\n**Example**: 42 for a reproducible random generation process"}, "service_tier": {"allOf": [{"$ref": "#/components/schemas/ServiceTierEnum"}], "description": "Select the service tier for the API request. \n\n**Choices**:\n- 'auto': Automatically select appropriate tier\n- 'default': Use default service configuration\n\n* `auto` - auto\n* `default` - default"}, "stop": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "List of strings that will cause the model to stop generating. \n\n**Example**:\n```json\n{\n \"stop\": [\"\\n\", \"Human:\", \"AI:\"]\n}\n```"}, "stream": {"type": "boolean", "default": false, "description": "If True, returns tokens as they are generated in a streaming format. \nDefault is False. \n\n**Example**: True for real-time token streaming"}, "stream_options": {"type": "object", "additionalProperties": {}, "description": "Additional configuration for streaming responses. \n\n**Example**:\n```json\n{\n \"stream_options\": {\n \"include_usage\": true\n }\n}\n```"}, "temperature": {"type": "number", "format": "double", "maximum": 2, "minimum": 0, "description": "Controls randomness in token selection. \nRanges from 0.0 to 2.0. \n\n**Values**:\n- 0.0: Most deterministic, focused responses\n- 1.0: Balanced randomness\n- 2.0: Most creative, unpredictable responses\n\n**Example**: 0.7 for a good balance of creativity and focus"}, "top_p": {"type": "number", "format": "double", "maximum": 1, "minimum": 0, "description": "Nucleus sampling threshold for token selection. \nRanges from 0.0 to 1.0. Default is 1.0. \n\n**Values**:\n- 1.0: Consider all tokens\n- Lower values: More focused, deterministic sampling\n\n**Example**: 0.9 to select from top 90% most probable tokens"}, "tools": {"type": "array", "items": {}, "description": "List of tools or function definitions available to the model. \n\n**Example**:\n```json\n{\n \"tools\": [\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"get_weather\",\n \"description\": \"Retrieve current weather\"\n }\n }\n ]\n}\n```"}, "tool_choice": {"type": "string", "minLength": 1, "description": "Specify how tools should be used in the completion. \n\n**Example values**:\n- 'auto': Model decides when to use tools\n- 'none': Disable tool usage\n- Specific tool name to always use a particular tool"}, "parallel_tool_calls": {"type": "boolean", "description": "Allow the model to make multiple tool calls in parallel. \n\n**Example**: True to enable concurrent tool invocations"}, "user": {"type": "string", "minLength": 1, "description": "Optional identifier for the end-user to help track and monitor API usage. \n\n**Example**: 'user_123456'"}, "function_call": {"type": "string", "minLength": 1, "description": "Control how function calls are handled. \n\n**Example values**:\n- 'auto': Default behavior\n- 'none': Disable function calls\n- Specific function name to force its execution"}, "functions": {"type": "array", "items": {"type": "object", "additionalProperties": {}}, "description": "List of function definitions available to the model. \n\n**Example**:\n```json\n{\n \"functions\": [\n {\n \"name\": \"get_current_weather\",\n \"description\": \"Get the current weather for a location\",\n \"parameters\": {...}\n }\n ]\n}\n```"}, "thinking": {"allOf": [{"$ref": "#/components/schemas/ThinkingRequest"}], "description": "Configuration for enabling Claude's extended thinking. When enabled, responses include thinking content blocks showing Claude's thinking process before the final answer. Requires a minimum budget of 1,024 tokens and counts towards your max_tokens limit.\n\n**Example**:\n```json\n{\n 'thinking': {\n 'type': 'enabled'\n 'budget_tokens': '1024' }\n}\n```"}, "web_search_options": {"type": "object", "additionalProperties": {}, "description": "Options for web search integration. \n **Example**:\n ```json\n web_search_options={\n \"search_context_size\": \"medium\" # Options: \"low\", \"medium\", \"high\"\n }\n ```"}, "filter_documents": {"type": "object", "additionalProperties": {}, "default": {}, "description": "Filter uploaded documents based on their metadata. Specify key-value pairs where the key represents the metadata field and the value is the desired metadata value. Please ensure that the provided metadata keys are available in your database."}, "min_score": {"type": "number", "format": "double", "default": 0.0, "description": "A minimum score threshold for the model to consider a chunk as a valid response. Higher values mean the model will be more conservative and only return chunks that are more similar to the query. Lower values mean the model will be more open to returning chunks that are less similar to the query."}, "k": {"type": "integer", "minimum": 1, "default": 3, "description": "How many results chunk you want to return"}, "max_tokens": {"type": "integer", "maximum": 16385, "minimum": 1, "default": 100, "description": "The maximum number of tokens to generate in the completion. The token count of your prompt plus max_tokens cannot exceed the model's context length."}, "conversation_id": {"type": "string", "format": "uuid"}}, "required": ["messages", "model"]}, "GeneratedImageDataClass": {"properties": {"image": {"title": "Image", "type": "string"}, "image_resource_url": {"title": "Image Resource Url", "type": "string"}}, "required": ["image", "image_resource_url"], "title": "GeneratedImageDataClass", "type": "object"}, "GenerationAsyncRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "show_base_64": {"type": "boolean", "default": true}, "text": {"type": "string", "minLength": 1, "description": "The text prompt that describes the content and style of the video you want to generate. Be specific and detailed to guide the AI in creating your desired video."}, "file": {"type": "string", "format": "binary", "description": "Initial keyframe image for the video. Upload a single JPEG or PNG file that will serve as the starting point for video generation. This image will influence the style, composition, and initial scene of the generated video.", "pattern": "(?:png|jpg)$"}, "duration": {"type": "integer", "minimum": 1, "default": 6, "description": "Length of the generated video in seconds. Minimum duration is 1 second. If not specified, the video will default to 6 seconds."}, "fps": {"type": "integer", "minimum": 1, "default": 24, "description": "Frames per second (FPS) of the generated video. Determines the smoothness of the video motion. Default is 24 FPS, which is standard for most video content. Minimum value is 1 FPS."}, "dimension": {"type": "string", "minLength": 1, "default": "1280x720", "description": "Video resolution in the format 'width x height' (e.g., '1280x720'). Default resolution is 1280x720 (720p). Ensure the format is exactly 'width x height' with a lowercase 'x'."}, "seed": {"type": "integer", "default": 12, "description": "Random seed value that initializes the noise for the generation process. Use this to create consistent or unique variations of your video:\n- Range: 0 to 2,147,483,646\n- Default: 12\n- Changing the seed while keeping other parameters constant will produce a different video that still matches your prompt\n- Useful for exploring multiple creative variations of the same concept"}}, "required": ["providers", "text"]}, "ImageaiDetectionAiDetectionDataClassPredictionEnum": {"enum": ["ai-generated", "original"], "type": "string"}, "InfosIdentityParserDataClass": {"properties": {"last_name": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "given_names": {"items": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "title": "Given Names", "type": "array"}, "birth_place": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "birth_date": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "issuance_date": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "expire_date": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "document_id": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "issuing_state": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "address": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "age": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "country": {"$ref": "#/components/schemas/Country"}, "document_type": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "gender": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "image_id": {"items": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "title": "Image Id", "type": "array"}, "image_signature": {"items": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "title": "Image Signature", "type": "array"}, "mrz": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}, "nationality": {"$ref": "#/components/schemas/ItemIdentityParserDataClass"}}, "required": ["last_name", "birth_place", "birth_date", "issuance_date", "expire_date", "document_id", "issuing_state", "address", "age", "country", "document_type", "gender", "mrz", "nationality"], "title": "InfosIdentityParserDataClass", "type": "object"}, "InfosKeywordExtractionDataClass": {"properties": {"keyword": {"title": "Keyword", "type": "string"}, "importance": {"title": "Importance", "type": "integer"}}, "required": ["keyword", "importance"], "title": "InfosKeywordExtractionDataClass", "type": "object"}, "InfosLanguageDetectionDataClass": {"properties": {"language": {"title": "Language", "type": "string"}, "display_name": {"title": "Display Name", "type": "string"}, "confidence": {"title": "Confidence", "type": "integer"}}, "required": ["language", "display_name", "confidence"], "title": "InfosLanguageDetectionDataClass", "type": "object"}, "InfosNamedEntityRecognitionDataClass": {"properties": {"entity": {"title": "Entity", "type": "string"}, "category": {"title": "Category", "type": "string"}, "importance": {"title": "Importance", "type": "integer"}}, "required": ["entity", "category", "importance"], "title": "InfosNamedEntityRecognitionDataClass", "type": "object"}, "ItemBankCheckParsingDataClass": {"properties": {"amount": {"title": "Amount", "type": "integer"}, "amount_text": {"title": "Amount Text", "type": "string"}, "bank_address": {"title": "Bank Address", "type": "string"}, "bank_name": {"title": "Bank Name", "type": "string"}, "date": {"title": "Date", "type": "string"}, "memo": {"title": "Memo", "type": "string"}, "payer_address": {"title": "Payer Address", "type": "string"}, "payer_name": {"title": "Payer Name", "type": "string"}, "receiver_address": {"title": "Receiver Address", "type": "string"}, "receiver_name": {"title": "Receiver Name", "type": "string"}, "currency": {"title": "Currency", "type": "string"}, "micr": {"$ref": "#/components/schemas/MicrModel"}}, "required": ["amount", "amount_text", "bank_address", "bank_name", "date", "memo", "payer_address", "payer_name", "receiver_address", "receiver_name", "currency", "micr"], "title": "ItemBankCheckParsingDataClass", "type": "object"}, "ItemDataExtraction": {"properties": {"key": {"title": "Key", "type": "string"}, "value": {"title": "Value"}, "bounding_box": {"$ref": "#/components/schemas/BoundingBox"}, "confidence_score": {"maximum": 1, "minimum": 0, "title": "Confidence Score", "type": "integer"}}, "required": ["key", "value", "bounding_box", "confidence_score"], "title": "ItemDataExtraction", "type": "object"}, "ItemIdentityParserDataClass": {"properties": {"value": {"default": null, "title": "Value", "type": "string"}, "confidence": {"default": null, "title": "Confidence", "type": "integer"}}, "title": "ItemIdentityParserDataClass", "type": "object"}, "LandmarkItem": {"properties": {"description": {"title": "Description", "type": "string"}, "confidence": {"title": "Confidence", "type": "integer"}, "bounding_box": {"items": {"$ref": "#/components/schemas/LandmarkVertice"}, "title": "Bounding Box", "type": "array"}, "locations": {"items": {"$ref": "#/components/schemas/LandmarkLocation"}, "title": "Locations", "type": "array"}}, "required": ["description", "confidence"], "title": "LandmarkItem", "type": "object"}, "LandmarkLatLng": {"properties": {"latitude": {"title": "Latitude", "type": "integer"}, "longitude": {"title": "Longitude", "type": "integer"}}, "required": ["latitude", "longitude"], "title": "LandmarkLatLng", "type": "object"}, "LandmarkLocation": {"properties": {"lat_lng": {"$ref": "#/components/schemas/LandmarkLatLng"}}, "required": ["lat_lng"], "title": "LandmarkLocation", "type": "object"}, "LandmarkVertice": {"properties": {"x": {"title": "X", "type": "integer"}, "y": {"title": "Y", "type": "integer"}}, "required": ["x", "y"], "title": "LandmarkVertice", "type": "object"}, "LandmarksVideo": {"properties": {"eye_left": {"items": {"type": "integer"}, "title": "Eye Left", "type": "array"}, "eye_right": {"items": {"type": "integer"}, "title": "Eye Right", "type": "array"}, "nose": {"items": {"type": "integer"}, "title": "Nose", "type": "array"}, "mouth_left": {"items": {"type": "integer"}, "title": "Mouth Left", "type": "array"}, "mouth_right": {"items": {"type": "integer"}, "title": "Mouth Right", "type": "array"}}, "title": "LandmarksVideo", "type": "object"}, "LaunchAsyncJobResponse": {"type": "object", "properties": {"public_id": {"type": "string", "format": "uuid"}}, "required": ["public_id"]}, "Line": {"description": "Line of a document\n\nAttributes:\n text (str): Text detected in the line\n bounding_boxes (Sequence[BoundingBox]): Bounding boxes of the words in the line\n words (Sequence[Word]): List of words of the line\n confidence (float): Confidence of the line", "properties": {"text": {"description": "Text detected in the line", "title": "Text", "type": "string"}, "words": {"description": "List of words", "items": {"$ref": "#/components/schemas/Word"}, "title": "Words", "type": "array"}, "bounding_box": {"$ref": "#/components/schemas/BoundingBox", "default": null, "description": "Bounding box of the line, can be None"}, "confidence": {"description": "Confidence of the line", "title": "Confidence", "type": "integer"}}, "required": ["text", "confidence"], "title": "Line", "type": "object"}, "ListAsyncJobResponse": {"type": "object", "properties": {"jobs": {"type": "array", "items": {"$ref": "#/components/schemas/AsyncJobList"}}}, "required": ["jobs"]}, "ListChunkRequest": {"type": "object", "properties": {"filter_documents": {"type": "object", "additionalProperties": {}, "default": {}, "description": "Filter uploaded documents based on their metadata. Specify key-value pairs where the key represents the metadata field and the value is the desired metadata value. Please ensure that the provided metadata keys are available in your database."}, "limit": {"type": "integer", "minimum": 1, "default": 10, "description": "Specifies the maximum number of chunk IDs to return. Defaults to 10 if not provided."}, "with_payload": {"type": "boolean", "default": false, "description": "If set to True, includes the full payload of each chunk in the response. By default, only chunk IDs are returned."}}}, "LogoBoundingPoly": {"properties": {"vertices": {"description": "Vertices of the logos in the image", "items": {"$ref": "#/components/schemas/LogoVertice"}, "title": "Vertices", "type": "array"}}, "title": "LogoBoundingPoly", "type": "object"}, "LogoItem": {"properties": {"bounding_poly": {"$ref": "#/components/schemas/LogoBoundingPoly", "default": {"vertices": []}}, "description": {"description": "Name of the logo", "title": "Description", "type": "string"}, "score": {"description": "Confidence score how sure it's this is a real logo.", "title": "Score", "type": "integer"}}, "required": ["description", "score"], "title": "LogoItem", "type": "object"}, "LogoTrack": {"properties": {"description": {"title": "Description", "type": "string"}, "tracking": {"items": {"$ref": "#/components/schemas/VideoLogo"}, "title": "Tracking", "type": "array"}}, "required": ["description"], "title": "LogoTrack", "type": "object"}, "LogoVertice": {"properties": {"x": {"description": "The x-coordinate of the vertex.", "title": "X", "type": "integer"}, "y": {"description": "The y-coordinate of the vertex.", "title": "Y", "type": "integer"}}, "required": ["x", "y"], "title": "LogoVertice", "type": "object"}, "LowerCloth": {"properties": {"value": {"title": "Value", "type": "string"}, "confidence": {"title": "Confidence", "type": "integer"}}, "required": ["value", "confidence"], "title": "LowerCloth", "type": "object"}, "Message": {"type": "object", "properties": {"user_text": {"type": "string"}, "assistant_text": {"type": "string", "nullable": true}}, "required": ["user_text"]}, "MessageRequest": {"type": "object", "properties": {"user_text": {"type": "string", "minLength": 1}, "assistant_text": {"type": "string", "nullable": true}}, "required": ["user_text"]}, "MetadataRequest": {"type": "object", "properties": {"key": {"type": "string", "minLength": 1, "maxLength": 64}, "value": {"type": "string", "minLength": 1, "maxLength": 512}}, "required": ["key", "value"]}, "MicrModel": {"properties": {"raw": {"title": "Raw", "type": "string"}, "account_number": {"title": "Account Number", "type": "string"}, "routing_number": {"title": "Routing Number", "type": "string"}, "serial_number": {"title": "Serial Number", "type": "string"}, "check_number": {"title": "Check Number", "type": "string"}}, "required": ["raw", "account_number", "routing_number", "serial_number", "check_number"], "title": "MicrModel", "type": "object"}, "NestedBadRequest": {"type": "object", "properties": {"type": {"type": "string"}, "message": {"$ref": "#/components/schemas/FieldError"}}, "required": ["message", "type"]}, "NestedError": {"type": "object", "properties": {"type": {"type": "string"}, "message": {"type": "string"}}, "required": ["message", "type"]}, "NotFoundResponse": {"type": "object", "properties": {"details": {"type": "string", "default": "Not Found"}}}, "NullEnum": {"enum": [null]}, "ObjectFrame": {"properties": {"timestamp": {"title": "Timestamp", "type": "integer"}, "bounding_box": {"$ref": "#/components/schemas/VideoObjectBoundingBox"}}, "required": ["timestamp", "bounding_box"], "title": "ObjectFrame", "type": "object"}, "ObjectItem": {"properties": {"label": {"title": "Label", "type": "string"}, "confidence": {"title": "Confidence", "type": "integer"}, "x_min": {"title": "X Min", "type": "integer"}, "x_max": {"title": "X Max", "type": "integer"}, "y_min": {"title": "Y Min", "type": "integer"}, "y_max": {"title": "Y Max", "type": "integer"}}, "required": ["label", "confidence", "x_min", "x_max", "y_min", "y_max"], "title": "ObjectItem", "type": "object"}, "ObjectTrack": {"properties": {"description": {"title": "Description", "type": "string"}, "confidence": {"title": "Confidence", "type": "integer"}, "frames": {"items": {"$ref": "#/components/schemas/ObjectFrame"}, "title": "Frames", "type": "array"}}, "required": ["description", "confidence"], "title": "ObjectTrack", "type": "object"}, "OcrTablesAsyncRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "show_base_64": {"type": "boolean", "default": true}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "file_password": {"type": "string", "nullable": true, "description": "If your PDF file has a password, you can pass it here!", "maxLength": 200}, "language": {"type": "string", "nullable": true, "description": "Language code of the language the document is written in (ex: fr (French), en (English), es (Spanish))"}}, "required": ["providers"]}, "OptionEnum": {"enum": ["FEMALE", "MALE"], "type": "string", "description": "* `FEMALE` - Female\n* `MALE` - Male"}, "Page": {"description": "Page of a document\n\nAttributes:\n lines (Sequence[Line]): List of lines of the page", "properties": {"lines": {"description": "List of lines", "items": {"$ref": "#/components/schemas/Line"}, "title": "Lines", "type": "array"}}, "title": "Page", "type": "object"}, "PaginatedBatchResponse": {"type": "object", "properties": {"total": {"type": "integer", "description": "Total requests made"}, "current_page": {"type": "integer", "description": "Current page number"}, "last_page": {"type": "integer"}, "per_page": {"type": "integer", "description": "Number of requests per page"}, "From": {"type": "integer"}, "to": {"type": "integer"}, "prev_page_url": {"type": "string", "format": "uri"}, "next_page_url": {"type": "string", "format": "uri"}, "requests": {"type": "array", "items": {"$ref": "#/components/schemas/BatchResponseRequest"}}, "status": {"$ref": "#/components/schemas/Status889Enum"}, "created": {"type": "string", "format": "date-time", "readOnly": true}, "updated": {"type": "string", "format": "date-time", "readOnly": true}}, "required": ["From", "created", "current_page", "last_page", "per_page", "requests", "to", "total", "updated"]}, "PaginatedExecutionListList": {"type": "object", "required": ["count", "results"], "properties": {"count": {"type": "integer"}, "next": {"type": "string", "nullable": true, "format": "uri"}, "previous": {"type": "string", "nullable": true, "format": "uri"}, "results": {"type": "array", "items": {"$ref": "#/components/schemas/ExecutionList"}}}}, "PaginatedPromptCreateList": {"type": "object", "required": ["count", "results"], "properties": {"count": {"type": "integer"}, "next": {"type": "string", "nullable": true, "format": "uri"}, "previous": {"type": "string", "nullable": true, "format": "uri"}, "results": {"type": "array", "items": {"$ref": "#/components/schemas/PromptCreate"}}}}, "PaginatedPromptHistoryList": {"type": "object", "required": ["count", "results"], "properties": {"count": {"type": "integer"}, "next": {"type": "string", "nullable": true, "format": "uri"}, "previous": {"type": "string", "nullable": true, "format": "uri"}, "results": {"type": "array", "items": {"$ref": "#/components/schemas/PromptHistory"}}}}, "PatchedAskYodaProjectUpdateRequest": {"type": "object", "properties": {"ocr_provider": {"type": "string", "minLength": 1, "default": "amazon"}, "speech_to_text_provider": {"type": "string", "minLength": 1, "default": "openai"}, "llm_provider": {"type": "string", "minLength": 1, "description": "Select a default LLM provider to use in your project."}, "llm_model": {"type": "string", "minLength": 1, "description": "Select a default Model for LLM provider to use in your project"}, "chunk_size": {"type": "integer", "maximum": 10000, "minimum": 1, "nullable": true}, "chunk_separators": {"type": "array", "items": {"type": "string"}, "nullable": true}}}, "PatchedAssetUpdateRequest": {"type": "object", "properties": {"sub_resource": {"type": "string", "minLength": 1, "maxLength": 255}, "data": {"type": "object", "additionalProperties": {}}}}, "PatchedConversationDetailRequest": {"type": "object", "properties": {"name": {"type": "string", "nullable": true, "maxLength": 255}}}, "PatchedCustomTokenUpdateRequest": {"type": "object", "properties": {"balance": {"type": "number", "format": "double", "maximum": 100000, "minimum": -100000, "exclusiveMaximum": true, "exclusiveMinimum": true, "description": "Optional remaining credits balance for this Token, if `active_balance` is set to True and the balance reaches 0, this token will become unusable"}, "expire_time": {"type": "string", "format": "date-time", "nullable": true}, "active_balance": {"type": "boolean", "description": "Weither to use the balance field or not."}}}, "PatchedPromptHistoryRequest": {"type": "object", "properties": {"text": {"type": "string", "minLength": 1, "description": "The text used for the prompt\n\nYou can include prompt variables with {{ my_variable }}. These variables are injected when you later call your prompt.\n\nThe template language is compatible with jinja2\n\n#### Example\n```bash\nTranslate this word to {{ language }}: {{ word }}\n```"}, "model": {"type": "string", "minLength": 1, "description": "The model used to call the prompt. E.g. openai/gpt-4o"}, "params": {"description": "Params that are passed on to the llm request. See llm chat docs for more details.\n\n#### Example\n```json\n{\n \"temperature\": 0.7,\n \"max_tokens\": 100\n}\n```"}, "file_urls": {"type": "array", "items": {"type": "string", "format": "uri", "minLength": 1, "maxLength": 1000}, "description": "Optional list of URLs to images or other files that should be included with the prompt for multimodal models. Files are not supported by all models."}, "system_prompt": {"type": "string", "minLength": 1, "description": "Specify a system prompt for the LLM"}}}, "PatchedPromptUpdateRequest": {"type": "object", "properties": {"name": {"type": "string", "minLength": 1, "description": "The unique identifier for the prompt. Must contain only alphanumeric characters, underscores (_) and hyphens (-). No spaces allowed."}, "text": {"type": "string", "minLength": 1, "description": "The text used for the prompt\n\nYou can include prompt variables with {{ my_variable }}. These variables are injected when you later call your prompt.\n\nThe template language is compatible with jinja2\n\n#### Example\n```bash\nTranslate this word to {{ language }}: {{ word }}\n```"}, "model": {"type": "string", "minLength": 1, "description": "The model used to call the prompt. E.g. openai/gpt-4o"}, "params": {"description": "Params that are passed on to the llm request. See llm chat docs for more details.\n\n#### Example\n```json\n{\n \"temperature\": 0.7,\n \"max_tokens\": 100\n}\n```"}, "current_version": {"type": "integer", "description": "The production version of the prompt, that is used by default when you call the prompt"}, "file_urls": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "Optional list of URLs to images or other files that should be included with the prompt for multimodal models. Files are not supported by all models."}, "system_prompt": {"type": "string", "nullable": true, "minLength": 1, "description": "Specify a system prompt for the LLM"}}}, "PatchedResourceUpdateRequest": {"type": "object", "properties": {"resource": {"type": "string", "minLength": 1, "maxLength": 255}, "data": {"type": "object", "additionalProperties": {}}, "type": {"$ref": "#/components/schemas/TypeDe8Enum"}, "provider": {"type": "string", "minLength": 1, "maxLength": 100}}}, "PatchedWebhookParametersRequest": {"type": "object", "properties": {"webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}}}, "PersonAttributes": {"properties": {"upper_cloths": {"items": {"$ref": "#/components/schemas/UpperCloth"}, "title": "Upper Cloths", "type": "array"}, "lower_cloths": {"items": {"$ref": "#/components/schemas/LowerCloth"}, "title": "Lower Cloths", "type": "array"}}, "title": "PersonAttributes", "type": "object"}, "PersonLandmarks": {"properties": {"eye_left": {"items": {"type": "integer"}, "title": "Eye Left", "type": "array"}, "eye_right": {"items": {"type": "integer"}, "title": "Eye Right", "type": "array"}, "nose": {"items": {"type": "integer"}, "title": "Nose", "type": "array"}, "ear_left": {"items": {"type": "integer"}, "title": "Ear Left", "type": "array"}, "ear_right": {"items": {"type": "integer"}, "title": "Ear Right", "type": "array"}, "shoulder_left": {"items": {"type": "integer"}, "title": "Shoulder Left", "type": "array"}, "shoulder_right": {"items": {"type": "integer"}, "title": "Shoulder Right", "type": "array"}, "elbow_left": {"items": {"type": "integer"}, "title": "Elbow Left", "type": "array"}, "elbow_right": {"items": {"type": "integer"}, "title": "Elbow Right", "type": "array"}, "wrist_left": {"items": {"type": "integer"}, "title": "Wrist Left", "type": "array"}, "wrist_right": {"items": {"type": "integer"}, "title": "Wrist Right", "type": "array"}, "hip_left": {"items": {"type": "integer"}, "title": "Hip Left", "type": "array"}, "hip_right": {"items": {"type": "integer"}, "title": "Hip Right", "type": "array"}, "knee_left": {"items": {"type": "integer"}, "title": "Knee Left", "type": "array"}, "knee_right": {"items": {"type": "integer"}, "title": "Knee Right", "type": "array"}, "ankle_left": {"items": {"type": "integer"}, "title": "Ankle Left", "type": "array"}, "ankle_right": {"items": {"type": "integer"}, "title": "Ankle Right", "type": "array"}, "mouth_left": {"items": {"type": "integer"}, "title": "Mouth Left", "type": "array"}, "mouth_right": {"items": {"type": "integer"}, "title": "Mouth Right", "type": "array"}}, "title": "PersonLandmarks", "type": "object"}, "PersonTracking": {"properties": {"offset": {"title": "Offset", "type": "integer"}, "attributes": {"$ref": "#/components/schemas/PersonAttributes"}, "landmarks": {"$ref": "#/components/schemas/PersonLandmarks"}, "poses": {"$ref": "#/components/schemas/VideoPersonPoses"}, "quality": {"$ref": "#/components/schemas/VideoPersonQuality"}, "bounding_box": {"$ref": "#/components/schemas/VideoTrackingBoundingBox"}}, "required": ["offset", "bounding_box"], "title": "PersonTracking", "type": "object"}, "PlagiaDetectionCandidate": {"properties": {"url": {"title": "Url", "type": "string"}, "plagia_score": {"title": "Plagia Score", "type": "integer"}, "prediction": {"title": "Prediction", "type": "string"}, "plagiarized_text": {"title": "Plagiarized Text", "type": "string"}}, "required": ["url", "plagia_score", "prediction", "plagiarized_text"], "title": "PlagiaDetectionCandidate", "type": "object"}, "PlagiaDetectionItem": {"properties": {"text": {"title": "Text", "type": "string"}, "candidates": {"items": {"$ref": "#/components/schemas/PlagiaDetectionCandidate"}, "title": "Candidates", "type": "array"}}, "required": ["text"], "title": "PlagiaDetectionItem", "type": "object"}, "PredictionB20Enum": {"enum": ["deepfake", "original"], "type": "string"}, "PriceUnitTypeEnum": {"enum": ["file", "image", "page", "size", "request", "seconde", "minute", "free", "hour", "char", "token", "exec_time", "unknown"], "type": "string", "description": "* `file` - File\n* `image` - Image\n* `page` - Page\n* `size` - Size\n* `request` - Request\n* `seconde` - Second\n* `minute` - Minute\n* `free` - Free\n* `hour` - Hour\n* `char` - Characters\n* `token` - Token\n* `exec_time` - Execution Time\n* `unknown` - Unknown"}, "PricingSerialzier": {"type": "object", "properties": {"model_name": {"type": "string", "description": "Model name, default to 'default' if no models to chose from", "maxLength": 255}, "price": {"type": "string", "format": "decimal", "pattern": "^-?\\d{0,6}(?:\\.\\d{0,9})?$"}, "price_unit_quantity": {"type": "integer", "maximum": 2147483647, "minimum": 0}, "min_price_quantity": {"type": "integer", "maximum": 2147483647, "minimum": 0, "nullable": true}, "price_unit_type": {"$ref": "#/components/schemas/PriceUnitTypeEnum"}, "detail_type": {"nullable": true, "description": "(Optional) type of extra value, MUST be the same name as the feature parameter name. eg: resolution\n\n* `resolution` - Resolution\n* `document_type` - Document Type", "oneOf": [{"$ref": "#/components/schemas/DetailTypeEnum"}, {"$ref": "#/components/schemas/BlankEnum"}, {"$ref": "#/components/schemas/NullEnum"}]}, "detail_value": {"type": "string", "nullable": true, "description": "(Optional) extra value for detailed pricing, eg: 250x250 for resolution", "maxLength": 255}, "get_detail_type_display": {"type": "string", "readOnly": true}, "is_post_call": {"type": "boolean"}}, "required": ["get_detail_type_display"]}, "ProjectTypeEnum": {"enum": ["AskYoDa", "Translathor", "X-Merge"], "type": "string", "description": "* `AskYoDa` - Askyoda\n* `Translathor` - Translathor\n* `X-Merge` - X Merge"}, "PromptCallRequest": {"type": "object", "properties": {"model": {"type": "string", "nullable": true, "minLength": 1, "description": "Optional model override (e.g., 'openai/gpt-4o'). If not provided, the model specified in the prompt will be used."}, "prompt_context": {"type": "object", "additionalProperties": {}, "nullable": true, "default": {}, "description": "Variables to inject into the prompt template.\n#### Example\n```json\n{\n \"my_variable\": \"some_value\",\n}\n```"}, "params": {"type": "object", "additionalProperties": {}, "nullable": true, "default": {}, "description": "Optional params override. If not provided, the default params in the prompt will be used\n\nParams that are passed on to the llm request. See llm chat docs for more details.\n\n#### Example\n```json\n{\n \"temperature\": 0.7,\n \"max_tokens\": 100\n}\n```"}, "file_urls": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "Optional list of URLs to images or other files that should be included with the prompt for multimodal models. Files are not supported by all models. Overrides the file urls set on the prompt."}}}, "PromptCreate": {"type": "object", "properties": {"id": {"type": "integer", "readOnly": true}, "name": {"type": "string", "description": "The unique identifier for the prompt. Must contain only alphanumeric characters, underscores (_) and hyphens (-). No spaces allowed."}, "current_version": {"type": "integer", "readOnly": true, "nullable": true}, "created_at": {"type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"type": "string", "format": "date-time", "readOnly": true}, "history_count": {"type": "integer", "readOnly": true}}, "required": ["created_at", "current_version", "history_count", "id", "name", "updated_at"]}, "PromptCreateRequest": {"type": "object", "properties": {"name": {"type": "string", "minLength": 1, "description": "The unique identifier for the prompt. Must contain only alphanumeric characters, underscores (_) and hyphens (-). No spaces allowed."}, "text": {"type": "string", "writeOnly": true, "minLength": 1, "description": "The text used for the prompt\n\nYou can include prompt variables with {{ my_variable }}. These variables are injected when you later call your prompt.\n\nThe template language is compatible with jinja2\n\n#### Example\n```bash\nTranslate this word to {{ language }}: {{ word }}\n```"}, "model": {"type": "string", "writeOnly": true, "minLength": 1, "description": "The model used to call the prompt. E.g. openai/gpt-4o"}, "params": {"writeOnly": true, "description": "Params that are passed on to the llm request. See llm chat docs for more details.\n\n#### Example\n```json\n{\n \"temperature\": 0.7,\n \"max_tokens\": 100\n}\n```"}, "file_urls": {"type": "array", "items": {"type": "string", "format": "uri", "minLength": 1, "maxLength": 1000}, "writeOnly": true, "description": "Optional list of URLs to images or other files that should be included with the prompt for multimodal models. Files are not supported by all models."}, "system_prompt": {"type": "string", "writeOnly": true, "minLength": 1, "description": "Specify a system prompt for the LLM"}}, "required": ["model", "name", "text"]}, "PromptDataClass": {"properties": {"text": {"title": "Text", "type": "string"}}, "required": ["text"], "title": "PromptDataClass", "type": "object"}, "PromptHistory": {"type": "object", "properties": {"id": {"type": "integer", "readOnly": true}, "version": {"type": "integer", "readOnly": true}, "text": {"type": "string", "description": "The text used for the prompt\n\nYou can include prompt variables with {{ my_variable }}. These variables are injected when you later call your prompt.\n\nThe template language is compatible with jinja2\n\n#### Example\n```bash\nTranslate this word to {{ language }}: {{ word }}\n```"}, "model": {"type": "string", "description": "The model used to call the prompt. E.g. openai/gpt-4o"}, "name": {"type": "string", "readOnly": true}, "params": {"description": "Params that are passed on to the llm request. See llm chat docs for more details.\n\n#### Example\n```json\n{\n \"temperature\": 0.7,\n \"max_tokens\": 100\n}\n```"}, "file_urls": {"type": "array", "items": {"type": "string", "format": "uri", "maxLength": 1000}, "description": "Optional list of URLs to images or other files that should be included with the prompt for multimodal models. Files are not supported by all models."}, "system_prompt": {"type": "string", "description": "Specify a system prompt for the LLM"}, "created_at": {"type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"type": "string", "format": "date-time", "readOnly": true}}, "required": ["created_at", "id", "name", "updated_at", "version"]}, "PromptHistoryRequest": {"type": "object", "properties": {"text": {"type": "string", "minLength": 1, "description": "The text used for the prompt\n\nYou can include prompt variables with {{ my_variable }}. These variables are injected when you later call your prompt.\n\nThe template language is compatible with jinja2\n\n#### Example\n```bash\nTranslate this word to {{ language }}: {{ word }}\n```"}, "model": {"type": "string", "minLength": 1, "description": "The model used to call the prompt. E.g. openai/gpt-4o"}, "params": {"description": "Params that are passed on to the llm request. See llm chat docs for more details.\n\n#### Example\n```json\n{\n \"temperature\": 0.7,\n \"max_tokens\": 100\n}\n```"}, "file_urls": {"type": "array", "items": {"type": "string", "format": "uri", "minLength": 1, "maxLength": 1000}, "description": "Optional list of URLs to images or other files that should be included with the prompt for multimodal models. Files are not supported by all models."}, "system_prompt": {"type": "string", "minLength": 1, "description": "Specify a system prompt for the LLM"}}}, "PromptUpdate": {"type": "object", "properties": {"id": {"type": "integer", "readOnly": true}, "name": {"type": "string", "description": "The unique identifier for the prompt. Must contain only alphanumeric characters, underscores (_) and hyphens (-). No spaces allowed."}, "text": {"type": "string", "description": "The text used for the prompt\n\nYou can include prompt variables with {{ my_variable }}. These variables are injected when you later call your prompt.\n\nThe template language is compatible with jinja2\n\n#### Example\n```bash\nTranslate this word to {{ language }}: {{ word }}\n```"}, "model": {"type": "string", "description": "The model used to call the prompt. E.g. openai/gpt-4o"}, "params": {"description": "Params that are passed on to the llm request. See llm chat docs for more details.\n\n#### Example\n```json\n{\n \"temperature\": 0.7,\n \"max_tokens\": 100\n}\n```"}, "current_version": {"type": "integer", "description": "The production version of the prompt, that is used by default when you call the prompt"}, "created_at": {"type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"type": "string", "format": "date-time", "readOnly": true}, "file_urls": {"type": "array", "items": {"type": "string"}, "description": "Optional list of URLs to images or other files that should be included with the prompt for multimodal models. Files are not supported by all models."}, "system_prompt": {"type": "string", "nullable": true, "description": "Specify a system prompt for the LLM"}}, "required": ["created_at", "id", "updated_at"]}, "PromptUpdateRequest": {"type": "object", "properties": {"name": {"type": "string", "minLength": 1, "description": "The unique identifier for the prompt. Must contain only alphanumeric characters, underscores (_) and hyphens (-). No spaces allowed."}, "text": {"type": "string", "minLength": 1, "description": "The text used for the prompt\n\nYou can include prompt variables with {{ my_variable }}. These variables are injected when you later call your prompt.\n\nThe template language is compatible with jinja2\n\n#### Example\n```bash\nTranslate this word to {{ language }}: {{ word }}\n```"}, "model": {"type": "string", "minLength": 1, "description": "The model used to call the prompt. E.g. openai/gpt-4o"}, "params": {"description": "Params that are passed on to the llm request. See llm chat docs for more details.\n\n#### Example\n```json\n{\n \"temperature\": 0.7,\n \"max_tokens\": 100\n}\n```"}, "current_version": {"type": "integer", "description": "The production version of the prompt, that is used by default when you call the prompt"}, "file_urls": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "Optional list of URLs to images or other files that should be included with the prompt for multimodal models. Files are not supported by all models."}, "system_prompt": {"type": "string", "nullable": true, "minLength": 1, "description": "Specify a system prompt for the LLM"}}}, "Provider": {"type": "object", "properties": {"name": {"type": "string", "maxLength": 255}, "fullname": {"type": "string", "nullable": true, "maxLength": 255}, "description": {"type": "string", "nullable": true, "maxLength": 1000}}, "required": ["name"]}, "ProviderSubfeature": {"type": "object", "properties": {"name": {"type": "string", "readOnly": true}, "version": {"type": "string", "readOnly": true}, "pricings": {"type": "array", "items": {"$ref": "#/components/schemas/PricingSerialzier"}}, "is_working": {"type": "boolean"}, "description_title": {"type": "string", "nullable": true, "maxLength": 100}, "description_content": {"type": "string", "nullable": true, "maxLength": 1000}, "provider": {"$ref": "#/components/schemas/Provider"}, "feature": {"$ref": "#/components/schemas/Feature"}, "subfeature": {"$ref": "#/components/schemas/Subfeature"}, "constraints": {"type": "object", "additionalProperties": {}, "readOnly": true}, "models": {"type": "object", "additionalProperties": {}, "readOnly": true}, "tts_models": {"type": "object", "additionalProperties": {}, "readOnly": true}, "llm_details": {"type": "object", "additionalProperties": {}, "readOnly": true}, "languages": {"type": "array", "items": {"type": "object", "properties": {"language_name": {"type": "string"}, "language_code": {"type": "string"}}, "required": ["language_code", "language_name"]}, "readOnly": true}, "phase": {"type": "string", "readOnly": true}, "regions": {"type": "array", "items": {"type": "string", "description": "2-letter ISO 3166-1 alpha-2 country code (e.g., 'us', 'eu', 'fr')"}, "readOnly": true}}, "required": ["constraints", "feature", "languages", "llm_details", "models", "name", "phase", "pricings", "provider", "regions", "subfeature", "tts_models", "version"]}, "QuestionAnswerAsyncRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "show_base_64": {"type": "boolean", "default": true}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:mp4|mpeg|mov|avi|x\\-flx|mpg|webm|wmv|3gpp)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "temperature": {"type": "number", "format": "double", "maximum": 1, "minimum": 0, "default": 0.0, "description": "Higher values mean the model will take more risks and value 0 (argmax sampling) works better for scenarios with a well-defined answer."}, "max_tokens": {"type": "integer", "maximum": 3000000, "minimum": 1, "description": "The maximum number of tokens to generate in the completion. This value, combined with the token count of your prompt, cannot exceed the model's context length."}, "text": {"type": "string", "minLength": 1, "description": "Question about the video"}}, "required": ["providers", "text"]}, "ReasoningEffortEnum": {"enum": ["low", "medium", "high"], "type": "string", "description": "**Choices**:\n- 'low': Minimal reasoning, quick responses\n- 'medium': Balanced reasoning approach\n- 'high': In-depth, comprehensive reasoning\n\n**Example**: 'high' for complex problem-solving tasks\n\n* `low` - low\n* `medium` - medium\n* `high` - high"}, "RepresentationEnum": {"enum": ["document", "query", "symetric"], "type": "string", "description": "* `document` - document\n* `query` - query\n* `symetric` - symetric"}, "ResourceCreate": {"type": "object", "properties": {"resource": {"type": "string", "maxLength": 255}, "data": {"type": "object", "additionalProperties": {}}, "type": {"$ref": "#/components/schemas/TypeDe8Enum"}, "provider": {"type": "string", "maxLength": 100}}, "required": ["data", "provider", "resource", "type"]}, "ResourceCreateRequest": {"type": "object", "properties": {"resource": {"type": "string", "minLength": 1, "maxLength": 255}, "data": {"type": "object", "additionalProperties": {}}, "type": {"$ref": "#/components/schemas/TypeDe8Enum"}, "provider": {"type": "string", "minLength": 1, "maxLength": 100}}, "required": ["data", "provider", "resource", "type"]}, "ResourceList": {"type": "object", "properties": {"resource": {"type": "string", "maxLength": 255}, "data": {"type": "string", "format": "byte", "readOnly": true, "nullable": true}, "type": {"$ref": "#/components/schemas/TypeDe8Enum"}, "provider": {"type": "string", "maxLength": 100}, "assets": {"type": "array", "items": {"$ref": "#/components/schemas/AssetList"}}}, "required": ["assets", "data", "provider", "resource", "type"]}, "ResourceUpdate": {"type": "object", "properties": {"resource": {"type": "string", "maxLength": 255}, "data": {"type": "object", "additionalProperties": {}}, "type": {"$ref": "#/components/schemas/TypeDe8Enum"}, "provider": {"type": "string", "maxLength": 100}, "assets": {"type": "array", "items": {"$ref": "#/components/schemas/AssetList"}, "readOnly": true}}, "required": ["assets", "data", "provider", "resource", "type"]}, "ResourceUpdateRequest": {"type": "object", "properties": {"resource": {"type": "string", "minLength": 1, "maxLength": 255}, "data": {"type": "object", "additionalProperties": {}}, "type": {"$ref": "#/components/schemas/TypeDe8Enum"}, "provider": {"type": "string", "minLength": 1, "maxLength": 100}}, "required": ["data", "provider", "resource", "type"]}, "ResumeEducation": {"properties": {"total_years_education": {"title": "Total Years Education", "type": "integer"}, "entries": {"items": {"$ref": "#/components/schemas/ResumeEducationEntry"}, "title": "Entries", "type": "array"}}, "required": ["total_years_education"], "title": "ResumeEducation", "type": "object"}, "ResumeEducationEntry": {"properties": {"title": {"title": "Title", "type": "string"}, "start_date": {"title": "Start Date", "type": "string"}, "end_date": {"title": "End Date", "type": "string"}, "location": {"$ref": "#/components/schemas/ResumeLocation"}, "establishment": {"title": "Establishment", "type": "string"}, "description": {"title": "Description", "type": "string"}, "gpa": {"title": "Gpa", "type": "string"}, "accreditation": {"title": "Accreditation", "type": "string"}}, "required": ["title", "start_date", "end_date", "location", "establishment", "description", "gpa", "accreditation"], "title": "ResumeEducationEntry", "type": "object"}, "ResumeExtractedData": {"properties": {"personal_infos": {"$ref": "#/components/schemas/ResumePersonalInfo"}, "education": {"$ref": "#/components/schemas/ResumeEducation"}, "work_experience": {"$ref": "#/components/schemas/ResumeWorkExp"}, "languages": {"items": {"$ref": "#/components/schemas/ResumeLang"}, "title": "Languages", "type": "array"}, "skills": {"items": {"$ref": "#/components/schemas/ResumeSkill"}, "title": "Skills", "type": "array"}, "certifications": {"items": {"$ref": "#/components/schemas/ResumeSkill"}, "title": "Certifications", "type": "array"}, "courses": {"items": {"$ref": "#/components/schemas/ResumeSkill"}, "title": "Courses", "type": "array"}, "publications": {"items": {"$ref": "#/components/schemas/ResumeSkill"}, "title": "Publications", "type": "array"}, "interests": {"items": {"$ref": "#/components/schemas/ResumeSkill"}, "title": "Interests", "type": "array"}}, "required": ["personal_infos", "education", "work_experience"], "title": "ResumeExtractedData", "type": "object"}, "ResumeLang": {"properties": {"name": {"title": "Name", "type": "string"}, "code": {"title": "Code", "type": "string"}}, "required": ["name", "code"], "title": "ResumeLang", "type": "object"}, "ResumeLocation": {"properties": {"formatted_location": {"title": "Formatted Location", "type": "string"}, "postal_code": {"title": "Postal Code", "type": "string"}, "region": {"title": "Region", "type": "string"}, "country": {"title": "Country", "type": "string"}, "country_code": {"title": "Country Code", "type": "string"}, "raw_input_location": {"title": "Raw Input Location", "type": "string"}, "street": {"title": "Street", "type": "string"}, "street_number": {"title": "Street Number", "type": "string"}, "appartment_number": {"title": "Appartment Number", "type": "string"}, "city": {"title": "City", "type": "string"}}, "required": ["formatted_location", "postal_code", "region", "country", "country_code", "raw_input_location", "street", "street_number", "appartment_number", "city"], "title": "ResumeLocation", "type": "object"}, "ResumePersonalInfo": {"properties": {"name": {"$ref": "#/components/schemas/ResumePersonalName"}, "address": {"$ref": "#/components/schemas/ResumeLocation"}, "self_summary": {"title": "Self Summary", "type": "string"}, "objective": {"title": "Objective", "type": "string"}, "date_of_birth": {"title": "Date Of Birth", "type": "string"}, "place_of_birth": {"title": "Place Of Birth", "type": "string"}, "phones": {"items": {"type": "string"}, "title": "Phones", "type": "array"}, "mails": {"items": {"type": "string"}, "title": "Mails", "type": "array"}, "urls": {"items": {"type": "string"}, "title": "Urls", "type": "array"}, "fax": {"items": {"type": "string"}, "title": "Fax", "type": "array"}, "current_profession": {"title": "Current Profession", "type": "string"}, "gender": {"title": "Gender", "type": "string"}, "nationality": {"title": "Nationality", "type": "string"}, "martial_status": {"title": "Martial Status", "type": "string"}, "current_salary": {"title": "Current Salary", "type": "string"}, "availability": {"default": null, "title": "Availability", "type": "string"}}, "required": ["name", "address", "self_summary", "objective", "date_of_birth", "place_of_birth", "current_profession", "gender", "nationality", "martial_status", "current_salary"], "title": "ResumePersonalInfo", "type": "object"}, "ResumePersonalName": {"properties": {"first_name": {"title": "First Name", "type": "string"}, "last_name": {"title": "Last Name", "type": "string"}, "raw_name": {"title": "Raw Name", "type": "string"}, "middle": {"title": "Middle", "type": "string"}, "title": {"title": "Title", "type": "string"}, "prefix": {"title": "Prefix", "type": "string"}, "sufix": {"title": "Sufix", "type": "string"}}, "required": ["first_name", "last_name", "raw_name", "middle", "title", "prefix", "sufix"], "title": "ResumePersonalName", "type": "object"}, "ResumeSkill": {"properties": {"name": {"title": "Name", "type": "string"}, "type": {"title": "Type", "type": "string"}}, "required": ["name", "type"], "title": "ResumeSkill", "type": "object"}, "ResumeWorkExp": {"properties": {"total_years_experience": {"title": "Total Years Experience", "type": "string"}, "entries": {"items": {"$ref": "#/components/schemas/ResumeWorkExpEntry"}, "title": "Entries", "type": "array"}}, "required": ["total_years_experience"], "title": "ResumeWorkExp", "type": "object"}, "ResumeWorkExpEntry": {"properties": {"title": {"title": "Title", "type": "string"}, "start_date": {"title": "Start Date", "type": "string"}, "end_date": {"title": "End Date", "type": "string"}, "company": {"title": "Company", "type": "string"}, "location": {"$ref": "#/components/schemas/ResumeLocation"}, "description": {"title": "Description", "type": "string"}, "type": {"default": null, "title": "Type", "type": "string"}, "industry": {"title": "Industry", "type": "string"}}, "required": ["title", "start_date", "end_date", "company", "location", "description", "industry"], "title": "ResumeWorkExpEntry", "type": "object"}, "Row": {"properties": {"cells": {"items": {"$ref": "#/components/schemas/Cell"}, "title": "Cells", "type": "array"}}, "title": "Row", "type": "object"}, "SegmentSentimentAnalysisDataClass": {"description": "This class is used in SentimentAnalysisDataClass to describe each segment analyzed.\n\nArgs:\n - segment (str): The segment analyzed\n - sentiment (Literal['Positve', 'Negative', 'Neutral']) (Case is ignore): Sentiment of segment\n - sentiment_rate (float between 0 and 1): Rate of sentiment", "properties": {"segment": {"title": "Segment", "type": "string"}, "sentiment": {"allOf": [{"$ref": "#/components/schemas/SentimentEbfEnum"}], "title": "Sentiment"}, "sentiment_rate": {"maximum": 1, "minimum": 0, "title": "Sentiment Rate", "type": "integer"}}, "required": ["segment", "sentiment", "sentiment_rate"], "title": "SegmentSentimentAnalysisDataClass", "type": "object"}, "SentimentEbfEnum": {"enum": ["Positive", "Negative", "Neutral"], "type": "string"}, "ServiceTierEnum": {"enum": ["auto", "default"], "type": "string", "description": "**Choices**:\n- 'auto': Automatically select appropriate tier\n- 'default': Use default service configuration\n\n* `auto` - auto\n* `default` - default"}, "ShotFrame": {"properties": {"startTimeOffset": {"title": "Starttimeoffset", "type": "integer"}, "endTimeOffset": {"title": "Endtimeoffset", "type": "integer"}}, "required": ["startTimeOffset", "endTimeOffset"], "title": "ShotFrame", "type": "object"}, "SpeechDiarization": {"properties": {"total_speakers": {"title": "Total Speakers", "type": "integer"}, "entries": {"items": {"$ref": "#/components/schemas/SpeechDiarizationEntry"}, "title": "Entries", "type": "array"}, "error_message": {"default": null, "title": "Error Message", "type": "string"}}, "required": ["total_speakers"], "title": "SpeechDiarization", "type": "object"}, "SpeechDiarizationEntry": {"properties": {"segment": {"title": "Segment", "type": "string"}, "start_time": {"title": "Start Time", "type": "string"}, "end_time": {"title": "End Time", "type": "string"}, "speaker": {"title": "Speaker", "type": "integer"}, "confidence": {"title": "Confidence", "type": "integer"}}, "required": ["segment", "start_time", "end_time", "speaker", "confidence"], "title": "SpeechDiarizationEntry", "type": "object"}, "SpeechToTextAsyncRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}, "show_base_64": {"type": "boolean", "default": true}, "provider_params": {"type": "string", "description": "\nParameters specific to the provider that you want to send along the request.\n\nit should take a *provider* name as key and an object of parameters as value.\n\nExample:\n\n {\n \"deepgram\": {\n \"filler_words\": true,\n \"smart_format\": true,\n \"callback\": \"https://webhook.site/0000\"\n },\n \"assembly\": {\n \"webhook_url\": \"https://webhook.site/0000\"\n }\n }\n\nPlease refer to the documentation of each provider to see which parameters to send.\n"}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "language": {"type": "string", "nullable": true, "description": "Language code expected (ex: en, fr)"}, "speakers": {"type": "integer", "nullable": true, "default": 2, "description": "Number of speakers in the file audio"}, "profanity_filter": {"type": "boolean", "nullable": true, "default": false, "description": "Boolean value to specify weather or not the service will filter profanity and replace inappropriate words with a series of asterisks"}, "custom_vocabulary": {"type": "string", "default": "", "description": "List of words or composed words to be detected by the speech to text engine. (Ex: Word, Mike, Draw, Los Angeles,...)"}, "convert_to_wav": {"type": "boolean", "nullable": true, "default": false, "description": "Boolean value to specify weather to convert the audio/video file to wav format to be accepted by a majority of the providers"}}, "required": ["providers"]}, "SpellCheckItem": {"description": "Represents a spell check item with suggestions.\n\nArgs:\n text (str): The text to spell check.\n type (str, optional): The type of the text.\n offset (int): The offset of the text.\n length (int): The length of the text.\n suggestions (Sequence[SuggestionItem], optional): The list of suggestions for the misspelled text.\n\nRaises:\n ValueError: If the offset or length is not positive.\n\nReturns:\n SpellCheckItem: An instance of the SpellCheckItem class.", "properties": {"text": {"title": "Text", "type": "string"}, "type": {"title": "Type", "type": "string"}, "offset": {"minimum": 0, "title": "Offset", "type": "integer"}, "length": {"minimum": 0, "title": "Length", "type": "integer"}, "suggestions": {"items": {"$ref": "#/components/schemas/SuggestionItem"}, "title": "Suggestions", "type": "array"}}, "required": ["text", "type", "offset", "length"], "title": "SpellCheckItem", "type": "object"}, "StateEnum": {"enum": ["finished", "failed", "Timeout error", "processing"], "type": "string", "description": "* `finished` - finished\n* `failed` - failed\n* `Timeout error` - Timeout error\n* `processing` - processing"}, "Status549Enum": {"enum": ["sucess", "fail"], "type": "string"}, "Status889Enum": {"enum": ["succeeded", "failed", "finished", "processing"], "type": "string", "description": "* `succeeded` - Status Succeeded\n* `failed` - Status Failed\n* `finished` - Status Finished\n* `processing` - Status Processing"}, "SubCategoryType": {"enum": ["CreditCard", "CardExpiry", "BankAccountNumber", "BankRoutingNumber", "SwiftCode", "TaxIdentificationNumber", "Name", "Age", "Email", "Phone", "PersonType", "Gender", "SocialSecurityNumber", "NationalIdentificationNumber", "NationalHealthService", "ResidentRegistrationNumber", "DriverLicenseNumber", "PassportNumber", "URL", "IP", "MAC", "VehicleIdentificationNumber", "LicensePlate", "VoterNumber", "AWSKeys", "AzureKeys", "Password", "CompanyName", "CompanyNumber", "BuisnessNumber", "Date", "Time", "DateTime", "Duration", "Address", "Location", "Other", "Anonymized", "Nerd", "Wsd", "Unknown"], "title": "SubCategoryType", "type": "string"}, "Subfeature": {"type": "object", "properties": {"name": {"type": "string", "maxLength": 255}, "fullname": {"type": "string", "nullable": true, "maxLength": 255}, "description": {"type": "string", "nullable": true, "maxLength": 1000}}, "required": ["name"]}, "SuggestionItem": {"description": "Represents a suggestion for a misspelled word.\n\nArgs:\n suggestion (str): The suggested text.\n score (float, optional): The score of the suggested text (between 0 and 1).\n\nRaises:\n ValueError: If the score is not between 0 and 1.\n\nReturns:\n SuggestionItem: An instance of the SuggestionItem class.", "properties": {"suggestion": {"title": "Suggestion", "type": "string"}, "score": {"maximum": 1, "minimum": 0, "title": "Score", "type": "integer"}}, "required": ["suggestion", "score"], "title": "SuggestionItem", "type": "object"}, "Table": {"properties": {"rows": {"items": {"$ref": "#/components/schemas/Row"}, "title": "Rows", "type": "array"}, "num_rows": {"title": "Num Rows", "type": "integer"}, "num_cols": {"title": "Num Cols", "type": "integer"}}, "required": ["num_rows", "num_cols"], "title": "Table", "type": "object"}, "TextModerationItem": {"properties": {"label": {"title": "Label", "type": "string"}, "likelihood": {"title": "Likelihood", "type": "integer"}, "category": {"$ref": "#/components/schemas/CategoryType"}, "subcategory": {"$ref": "#/components/schemas/SubCategoryType"}, "likelihood_score": {"title": "Likelihood Score", "type": "integer"}}, "required": ["label", "likelihood", "category", "subcategory", "likelihood_score"], "title": "TextModerationItem", "type": "object"}, "TextToSpeechAsyncRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "minLength": 1, "description": "Text to analyze"}, "language": {"type": "string", "nullable": true, "default": "", "description": "Language code expected (ex: en, fr)"}, "option": {"default": "", "oneOf": [{"$ref": "#/components/schemas/OptionEnum"}, {"$ref": "#/components/schemas/BlankEnum"}]}, "rate": {"type": "integer", "maximum": 100, "minimum": -100, "nullable": true, "default": 0, "description": "Increase or decrease the speaking rate by expressing a positif or negatif number ranging between 100 and -100 (a relative value as percentage varying from -100% to 100%)"}, "pitch": {"type": "integer", "maximum": 100, "minimum": -100, "nullable": true, "default": 0, "description": "Increase or decrease the speaking pitch by expressing a positif or negatif number ranging between 100 and -100 (a relative value as percentage varying from -100% to 100%)"}, "volume": {"type": "integer", "maximum": 100, "minimum": -100, "nullable": true, "default": 0, "description": "Increase or decrease the audio volume by expressing a positif or negatif number ranging between 100 and -100 (a relative value as percentage varying from -100% to 100%)"}, "audio_format": {"type": "string", "nullable": true, "default": "", "description": "Optional parameter to specify the audio format in which the audio will be generated. By default, audios are encoded in MP3, except for lovoai which use the wav container."}, "sampling_rate": {"type": "integer", "maximum": 200000, "minimum": 0, "nullable": true, "default": 0, "description": "Optional. The synthesis sample rate (in hertz) for this audio. When this is specified, the audio will be converted either to the right passed value, or to a the nearest value acceptable by the provider"}, "webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}}, "required": ["providers", "text"]}, "ThinkingRequest": {"type": "object", "properties": {"type": {"$ref": "#/components/schemas/ThinkingTypeEnum"}, "budget_tokens": {"type": "integer", "minimum": 1024}}, "required": ["budget_tokens", "type"]}, "ThinkingTypeEnum": {"enum": ["enabled", "disabled"], "type": "string", "description": "* `enabled` - enabled\n* `disabled` - disabled"}, "TokenData": {"properties": {"token": {"title": "Token", "type": "string"}, "data": {"additionalProperties": {"additionalProperties": {"$ref": "#/components/schemas/Details"}, "type": "object"}, "title": "Data", "type": "object"}}, "required": ["token", "data"], "title": "TokenData", "type": "object"}, "TokenTypeEnum": {"enum": ["sandbox_api_token", "api_token"], "type": "string", "description": "* `sandbox_api_token` - Sandbox\n* `api_token` - Back"}, "ToolCall": {"properties": {"id": {"title": "Id", "type": "string"}, "name": {"title": "Name", "type": "string"}, "arguments": {"title": "Arguments", "type": "string"}}, "required": ["id", "name", "arguments"], "title": "ToolCall", "type": "object"}, "ToolChoiceEnum": {"enum": ["auto", "required", "none"], "type": "string", "description": "* `auto` - auto\n* `required` - required\n* `none` - none"}, "TypeDe8Enum": {"enum": ["db", "bucket", "db_vector", "ai"], "type": "string", "description": "* `db` - Db\n* `bucket` - Bucket\n* `db_vector` - Db Vector\n* `ai` - Ai"}, "TypeOfDataEnum": {"enum": ["TRAINING", "TEST"], "type": "string", "description": "* `TRAINING` - TRAINING\n* `TEST` - TEST"}, "UpperCloth": {"properties": {"value": {"title": "Value", "type": "string"}, "confidence": {"title": "Confidence", "type": "integer"}}, "required": ["value", "confidence"], "title": "UpperCloth", "type": "object"}, "UsageTokensDetails": {"properties": {"audio_tokens": {"description": "Number of audio tokens in the prompt", "title": "Audio Tokens", "type": "integer"}, "cached_tokens": {"description": "Number of cached tokens in the prompt", "title": "Cached Tokens", "type": "integer"}, "prompt_tokens": {"description": "Number of tokens in the prompt", "title": "Prompt Tokens", "type": "integer"}, "completion_tokens": {"description": "Number of tokens in the generated completion", "title": "Completion Tokens", "type": "integer"}, "total_tokens": {"description": "Total number of tokens used (prompt + completion)", "title": "Total Tokens", "type": "integer"}, "accepted_prediction_tokens": {"description": "Number of accepted tokens in the prompt", "title": "Accepted Prediction Tokens", "type": "integer"}, "reasoning_tokens": {"description": "Number of reasoning tokens in the prompt", "title": "Reasoning Tokens", "type": "integer"}, "rejected_prediction_tokens": {"description": "Number of rejected tokens in the prompt", "title": "Rejected Prediction Tokens", "type": "integer"}}, "required": ["audio_tokens", "cached_tokens", "prompt_tokens", "completion_tokens", "total_tokens", "accepted_prediction_tokens", "reasoning_tokens", "rejected_prediction_tokens"], "title": "UsageTokensDetails", "type": "object"}, "VideoBoundingBox": {"properties": {"top": {"title": "Top", "type": "integer"}, "left": {"title": "Left", "type": "integer"}, "height": {"title": "Height", "type": "integer"}, "width": {"title": "Width", "type": "integer"}}, "required": ["top", "left", "height", "width"], "title": "VideoBoundingBox", "type": "object"}, "VideoFace": {"properties": {"offset": {"title": "Offset", "type": "integer"}, "bounding_box": {"$ref": "#/components/schemas/VideoBoundingBox"}, "attributes": {"$ref": "#/components/schemas/FaceAttributes"}, "landmarks": {"$ref": "#/components/schemas/LandmarksVideo"}}, "required": ["offset", "bounding_box", "attributes", "landmarks"], "title": "VideoFace", "type": "object"}, "VideoFacePoses": {"properties": {"pitch": {"title": "Pitch", "type": "integer"}, "roll": {"title": "Roll", "type": "integer"}, "yawn": {"title": "Yawn", "type": "integer"}}, "required": ["pitch", "roll", "yawn"], "title": "VideoFacePoses", "type": "object"}, "VideoLabel": {"properties": {"name": {"title": "Name", "type": "string"}, "confidence": {"title": "Confidence", "type": "integer"}, "timestamp": {"items": {"$ref": "#/components/schemas/VideoLabelTimeStamp"}, "title": "Timestamp", "type": "array"}, "category": {"items": {"type": "string"}, "title": "Category", "type": "array"}, "bounding_box": {"items": {"$ref": "#/components/schemas/VideoLabelBoundingBox"}, "title": "Bounding Box", "type": "array"}}, "required": ["name", "confidence"], "title": "VideoLabel", "type": "object"}, "VideoLabelBoundingBox": {"properties": {"top": {"title": "Top", "type": "integer"}, "left": {"title": "Left", "type": "integer"}, "height": {"title": "Height", "type": "integer"}, "width": {"title": "Width", "type": "integer"}}, "required": ["top", "left", "height", "width"], "title": "VideoLabelBoundingBox", "type": "object"}, "VideoLabelTimeStamp": {"properties": {"start": {"title": "Start", "type": "integer"}, "end": {"title": "End", "type": "integer"}}, "required": ["start", "end"], "title": "VideoLabelTimeStamp", "type": "object"}, "VideoLogo": {"properties": {"timestamp": {"title": "Timestamp", "type": "integer"}, "bounding_box": {"$ref": "#/components/schemas/VideoLogoBoundingBox"}, "confidence": {"title": "Confidence", "type": "integer"}}, "required": ["timestamp", "bounding_box", "confidence"], "title": "VideoLogo", "type": "object"}, "VideoLogoBoundingBox": {"properties": {"top": {"title": "Top", "type": "integer"}, "left": {"title": "Left", "type": "integer"}, "height": {"title": "Height", "type": "integer"}, "width": {"title": "Width", "type": "integer"}}, "required": ["top", "left", "height", "width"], "title": "VideoLogoBoundingBox", "type": "object"}, "VideoObjectBoundingBox": {"properties": {"top": {"title": "Top", "type": "integer"}, "left": {"title": "Left", "type": "integer"}, "height": {"title": "Height", "type": "integer"}, "width": {"title": "Width", "type": "integer"}}, "required": ["top", "left", "height", "width"], "title": "VideoObjectBoundingBox", "type": "object"}, "VideoPersonPoses": {"properties": {"pitch": {"title": "Pitch", "type": "integer"}, "roll": {"title": "Roll", "type": "integer"}, "yaw": {"title": "Yaw", "type": "integer"}}, "required": ["pitch", "roll", "yaw"], "title": "VideoPersonPoses", "type": "object"}, "VideoPersonQuality": {"properties": {"brightness": {"title": "Brightness", "type": "integer"}, "sharpness": {"title": "Sharpness", "type": "integer"}}, "required": ["brightness", "sharpness"], "title": "VideoPersonQuality", "type": "object"}, "VideoText": {"properties": {"text": {"title": "Text", "type": "string"}, "frames": {"items": {"$ref": "#/components/schemas/VideoTextFrames"}, "title": "Frames", "type": "array"}}, "required": ["text"], "title": "VideoText", "type": "object"}, "VideoTextBoundingBox": {"properties": {"top": {"title": "Top", "type": "integer"}, "left": {"title": "Left", "type": "integer"}, "height": {"title": "Height", "type": "integer"}, "width": {"title": "Width", "type": "integer"}}, "required": ["top", "left", "height", "width"], "title": "VideoTextBoundingBox", "type": "object"}, "VideoTextFrames": {"properties": {"confidence": {"title": "Confidence", "type": "integer"}, "timestamp": {"title": "Timestamp", "type": "integer"}, "bounding_box": {"$ref": "#/components/schemas/VideoTextBoundingBox"}}, "required": ["confidence", "timestamp", "bounding_box"], "title": "VideoTextFrames", "type": "object"}, "VideoTrackingBoundingBox": {"properties": {"top": {"title": "Top", "type": "integer"}, "left": {"title": "Left", "type": "integer"}, "height": {"title": "Height", "type": "integer"}, "width": {"title": "Width", "type": "integer"}}, "required": ["top", "left", "height", "width"], "title": "VideoTrackingBoundingBox", "type": "object"}, "VideoTrackingPerson": {"properties": {"tracked": {"items": {"$ref": "#/components/schemas/PersonTracking"}, "title": "Tracked", "type": "array"}}, "title": "VideoTrackingPerson", "type": "object"}, "WebhookParameters": {"type": "object", "properties": {"webhook_receiver": {"type": "string", "format": "uri", "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}}}, "WebhookParametersRequest": {"type": "object", "properties": {"webhook_receiver": {"type": "string", "format": "uri", "minLength": 1, "description": "Webhook receiver should be a valid https URL (ex : https://your.listner.com/endpoint). After the processing is done, the webhook endpoint will receive a POST request with the result."}, "users_webhook_parameters": {"description": "Json data that contains of additional parameters that will be sent back to the webhook receiver (ex: api key for security or client's data ID to link the result internally). Will only be used when webhook_receiver is set."}, "send_webhook_data": {"type": "boolean", "default": true, "description": "If set to false the webhook will not contain the result data. Use if your webhook receiver has a request size limit."}}}, "Word": {"description": "Word of a document\n\nAttributes:\n text (str): Text detected in the word\n bounding_boxes (Sequence[BoundingBox]): Bounding boxes of the words in the word\n confidence (float): Confidence score of the word", "properties": {"text": {"description": "Text detected in the word", "title": "Text", "type": "string"}, "bounding_box": {"$ref": "#/components/schemas/BoundingBox", "description": "Bounding boxes of the words in the word"}, "confidence": {"description": "Confidence score of the word", "title": "Confidence", "type": "integer"}}, "required": ["text", "bounding_box", "confidence"], "title": "Word", "type": "object"}, "Workflow": {"type": "object", "properties": {"id": {"type": "string", "format": "uuid", "readOnly": true}, "name": {"type": "string", "nullable": true, "maxLength": 255}, "description": {"type": "string", "nullable": true}, "content": {"type": "array", "items": {"type": "object", "additionalProperties": {}}}, "created_at": {"type": "string", "format": "date-time", "readOnly": true, "nullable": true}, "updated_at": {"type": "string", "format": "date-time", "readOnly": true, "nullable": true}, "output_node": {"type": "string", "nullable": true, "maxLength": 200}, "is_empty": {"type": "boolean", "readOnly": true}, "template": {"type": "integer", "nullable": true}, "code": {"type": "object", "additionalProperties": {}}, "webhook": {"type": "string", "readOnly": true}}, "required": ["created_at", "id", "is_empty", "updated_at", "webhook"]}, "YodaAskLlmResponse": {"properties": {"result": {"title": "Result", "type": "string"}, "llm_provider": {"title": "Llm Provider", "type": "string"}, "llm_model": {"title": "Llm Model", "type": "string"}}, "required": ["result", "llm_provider", "llm_model"], "title": "YodaAskLlmResponse", "type": "object"}, "YodaCreateProjectResponse": {"properties": {"project_id": {"format": "uuid", "title": "Project Id", "type": "string"}}, "required": ["project_id"], "title": "YodaCreateProjectResponse", "type": "object"}, "YodaDeleteResponse": {"properties": {"result": {"default": "Done!", "title": "Result", "type": "string"}}, "title": "YodaDeleteResponse", "type": "object"}, "YodaInfoResponse": {"properties": {"db_provider": {"title": "Db Provider", "type": "string"}, "embeddings_provider": {"title": "Embeddings Provider", "type": "string"}, "llm_provider": {"title": "Llm Provider", "type": "string"}, "llm_model": {"title": "Llm Model", "type": "string"}, "collection_size": {"title": "Collection Size", "type": "integer"}}, "required": ["db_provider", "embeddings_provider", "llm_provider", "llm_model", "collection_size"], "title": "YodaInfoResponse", "type": "object"}, "YodaListChunksIdsResponse": {"properties": {"chunks_ids": {"items": {"type": "string"}, "title": "Chunks Ids", "type": "array"}}, "required": ["chunks_ids"], "title": "YodaListChunksIdsResponse", "type": "object"}, "YodaQueryResponse": {"properties": {"result": {"items": {"$ref": "#/components/schemas/YodaQueryResponseItem"}, "title": "Result", "type": "array"}}, "required": ["result"], "title": "YodaQueryResponse", "type": "object"}, "YodaQueryResponseItem": {"properties": {"id": {"format": "uuid", "title": "Id", "type": "string"}, "version": {"title": "Version", "type": "integer"}, "score": {"title": "Score", "type": "integer"}, "payload": {"$ref": "#/components/schemas/YodaQueryResponsePayload"}, "vector": {"title": "Vector"}}, "required": ["id", "version", "score", "payload", "vector"], "title": "YodaQueryResponseItem", "type": "object"}, "YodaQueryResponsePayload": {"properties": {"metadata": {"additionalProperties": true, "title": "Metadata", "type": "object"}, "page_content": {"title": "Page Content", "type": "string"}}, "required": ["metadata", "page_content"], "title": "YodaQueryResponsePayload", "type": "object"}, "asyncaudiospeech_to_text_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/audiospeech_to_text_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncaudiospeech_to_text_asyncResponseModel", "type": "object"}, "asyncaudiotext_to_speech_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/audiotext_to_speech_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncaudiotext_to_speech_asyncResponseModel", "type": "object"}, "asyncocranonymization_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/ocranonymization_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncocranonymization_asyncResponseModel", "type": "object"}, "asyncocrcustom_document_parsing_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/ocrcustom_document_parsing_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncocrcustom_document_parsing_asyncResponseModel", "type": "object"}, "asyncocrocr_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/ocrocr_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncocrocr_asyncResponseModel", "type": "object"}, "asyncocrocr_tables_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/ocrocr_tables_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncocrocr_tables_asyncResponseModel", "type": "object"}, "asyncvideodeepfake_detection_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/videodeepfake_detection_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncvideodeepfake_detection_asyncResponseModel", "type": "object"}, "asyncvideoexplicit_content_detection_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/videoexplicit_content_detection_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncvideoexplicit_content_detection_asyncResponseModel", "type": "object"}, "asyncvideoface_detection_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/videoface_detection_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncvideoface_detection_asyncResponseModel", "type": "object"}, "asyncvideogeneration_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/videogeneration_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncvideogeneration_asyncResponseModel", "type": "object"}, "asyncvideolabel_detection_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/videolabel_detection_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncvideolabel_detection_asyncResponseModel", "type": "object"}, "asyncvideologo_detection_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/videologo_detection_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncvideologo_detection_asyncResponseModel", "type": "object"}, "asyncvideoobject_tracking_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/videoobject_tracking_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncvideoobject_tracking_asyncResponseModel", "type": "object"}, "asyncvideoperson_tracking_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/videoperson_tracking_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncvideoperson_tracking_asyncResponseModel", "type": "object"}, "asyncvideoquestion_answer_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/videoquestion_answer_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncvideoquestion_answer_asyncResponseModel", "type": "object"}, "asyncvideoshot_change_detection_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/videoshot_change_detection_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncvideoshot_change_detection_asyncResponseModel", "type": "object"}, "asyncvideotext_detection_asyncResponseModel": {"properties": {"results": {"$ref": "#/components/schemas/videotext_detection_asyncModel"}, "error": {"title": "Error", "type": "string"}, "public_id": {"format": "uuid", "title": "Public Id", "type": "string"}, "status": {"title": "Status", "type": "string"}}, "required": ["results", "error", "public_id", "status"], "title": "asyncvideotext_detection_asyncResponseModel", "type": "object"}, "audiospeech_to_text_asyncModel": {"properties": {"symbl": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}, "voci": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}, "gladia": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}, "deepgram": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}, "voxist": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}, "assembly": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}, "google": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}, "oneai": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}, "speechmatics": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}, "faker": {"$ref": "#/components/schemas/audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "default": null}}, "title": "audiospeech_to_text_asyncModel", "type": "object"}, "audiospeech_to_text_asyncSpeechToTextAsyncDataClass": {"properties": {"text": {"title": "Text", "type": "string"}, "diarization": {"$ref": "#/components/schemas/SpeechDiarization"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["text", "diarization", "id", "final_status"], "title": "audiospeech_to_text_asyncSpeechToTextAsyncDataClass", "type": "object"}, "audiotext_to_speechResponseModel": {"properties": {"deepgram": {"$ref": "#/components/schemas/audiotext_to_speechTextToSpeechDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/audiotext_to_speechTextToSpeechDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/audiotext_to_speechTextToSpeechDataClass", "default": null}, "elevenlabs": {"$ref": "#/components/schemas/audiotext_to_speechTextToSpeechDataClass", "default": null}, "lovoai": {"$ref": "#/components/schemas/audiotext_to_speechTextToSpeechDataClass", "default": null}, "google": {"$ref": "#/components/schemas/audiotext_to_speechTextToSpeechDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/audiotext_to_speechTextToSpeechDataClass", "default": null}}, "title": "audiotext_to_speechResponseModel", "type": "object"}, "audiotext_to_speechTextToSpeechDataClass": {"properties": {"audio": {"title": "Audio", "type": "string"}, "voice_type": {"title": "Voice Type", "type": "integer"}, "audio_resource_url": {"title": "Audio Resource Url", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["audio", "voice_type", "audio_resource_url", "status"], "title": "audiotext_to_speechTextToSpeechDataClass", "type": "object"}, "audiotext_to_speechTextToSpeechRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "minLength": 1, "description": "Text to analyze"}, "language": {"type": "string", "nullable": true, "default": "", "description": "Language code expected (ex: en, fr)"}, "option": {"default": "", "oneOf": [{"$ref": "#/components/schemas/OptionEnum"}, {"$ref": "#/components/schemas/BlankEnum"}]}, "rate": {"type": "integer", "maximum": 100, "minimum": -100, "nullable": true, "default": 0, "description": "Increase or decrease the speaking rate by expressing a positif or negatif number ranging between 100 and -100 (a relative value as percentage varying from -100% to 100%)"}, "pitch": {"type": "integer", "maximum": 100, "minimum": -100, "nullable": true, "default": 0, "description": "Increase or decrease the speaking pitch by expressing a positif or negatif number ranging between 100 and -100 (a relative value as percentage varying from -100% to 100%)"}, "volume": {"type": "integer", "maximum": 100, "minimum": -100, "nullable": true, "default": 0, "description": "Increase or decrease the audio volume by expressing a positif or negatif number ranging between 100 and -100 (a relative value as percentage varying from -100% to 100%)"}, "audio_format": {"type": "string", "nullable": true, "default": "", "description": "Optional parameter to specify the audio format in which the audio will be generated. By default, audios are encoded in MP3, except for lovoai which use the wav container."}, "sampling_rate": {"type": "integer", "maximum": 200000, "minimum": 0, "nullable": true, "default": 0, "description": "Optional. The synthesis sample rate (in hertz) for this audio. When this is specified, the audio will be converted either to the right passed value, or to a the nearest value acceptable by the provider"}}, "required": ["providers", "text"]}, "audiotext_to_speech_asyncModel": {"properties": {"lovoai": {"$ref": "#/components/schemas/audiotext_to_speech_asyncTextToSpeechAsyncDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/audiotext_to_speech_asyncTextToSpeechAsyncDataClass", "default": null}}, "title": "audiotext_to_speech_asyncModel", "type": "object"}, "audiotext_to_speech_asyncTextToSpeechAsyncDataClass": {"properties": {"audio": {"title": "Audio", "type": "string"}, "voice_type": {"title": "Voice Type", "type": "integer"}, "audio_resource_url": {"title": "Audio Resource Url", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["audio", "voice_type", "audio_resource_url", "id", "final_status"], "title": "audiotext_to_speech_asyncTextToSpeechAsyncDataClass", "type": "object"}, "credits_serializer": {"type": "object", "properties": {"credits": {"type": "number", "format": "double"}}, "required": ["credits"]}, "imageai_detectionAiDetectionDataClass": {"properties": {"ai_score": {"maximum": 1, "minimum": 0, "title": "Ai Score", "type": "integer"}, "prediction": {"allOf": [{"$ref": "#/components/schemas/ImageaiDetectionAiDetectionDataClassPredictionEnum"}], "title": "Prediction"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["ai_score", "prediction", "status"], "title": "imageai_detectionAiDetectionDataClass", "type": "object"}, "imageai_detectionAiDetectionRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}, "required": ["providers"]}, "imageai_detectionResponseModel": {"properties": {"winstonai": {"$ref": "#/components/schemas/imageai_detectionAiDetectionDataClass", "default": null}}, "title": "imageai_detectionResponseModel", "type": "object"}, "imageanonymizationAnonymizationDataClass": {"properties": {"image": {"title": "Image", "type": "string"}, "image_resource_url": {"title": "Image Resource Url", "type": "string"}, "items": {"items": {"$ref": "#/components/schemas/AnonymizationItem"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["image", "image_resource_url", "status"], "title": "imageanonymizationAnonymizationDataClass", "type": "object"}, "imageanonymizationResponseModel": {"properties": {"api4ai": {"$ref": "#/components/schemas/imageanonymizationAnonymizationDataClass", "default": null}}, "title": "imageanonymizationResponseModel", "type": "object"}, "imageanonymizationimagelandmark_detectionimageexplicit_contentimagedeepfake_detectionImageRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}, "required": ["providers"]}, "imageautoml_classificationAutomlClassificationCreateProjectDataClass": {"properties": {"name": {"title": "Name", "type": "string"}, "project_id": {"title": "Project Id", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["name", "project_id", "status"], "title": "imageautoml_classificationAutomlClassificationCreateProjectDataClass", "type": "object"}, "imageautoml_classificationResponseModel": {"properties": {"nyckel": {"$ref": "#/components/schemas/imageautoml_classificationAutomlClassificationCreateProjectDataClass", "default": null}}, "title": "imageautoml_classificationResponseModel", "type": "object"}, "imageautoml_classificationcreate_projectAutomlClassificationCreateProjectRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "name": {"type": "string", "minLength": 1, "description": "Name of your project", "maxLength": 250}}, "required": ["providers"]}, "imageautoml_classificationdelete_projectAutomlClassificationDeleteRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "project_id": {"type": "string", "minLength": 1, "description": "The id of project", "maxLength": 250}}, "required": ["project_id", "providers"]}, "imagebackground_removalBackgroundRemovalDataClass": {"properties": {"image_b64": {"description": "The image in base64 format.", "title": "Image B64", "type": "string"}, "image_resource_url": {"description": "The image url.", "title": "Image Resource Url", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["image_b64", "image_resource_url", "status"], "title": "imagebackground_removalBackgroundRemovalDataClass", "type": "object"}, "imagebackground_removalBackgroundRemovalRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "provider_params": {"type": "string", "default": {}, "description": "Provider specific parameters"}}, "required": ["providers"]}, "imagebackground_removalResponseModel": {"properties": {"api4ai": {"$ref": "#/components/schemas/imagebackground_removalBackgroundRemovalDataClass", "default": null}, "picsart": {"$ref": "#/components/schemas/imagebackground_removalBackgroundRemovalDataClass", "default": null}, "sentisight": {"$ref": "#/components/schemas/imagebackground_removalBackgroundRemovalDataClass", "default": null}, "clipdrop": {"$ref": "#/components/schemas/imagebackground_removalBackgroundRemovalDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/imagebackground_removalBackgroundRemovalDataClass", "default": null}, "photoroom": {"$ref": "#/components/schemas/imagebackground_removalBackgroundRemovalDataClass", "default": null}, "stabilityai": {"$ref": "#/components/schemas/imagebackground_removalBackgroundRemovalDataClass", "default": null}}, "title": "imagebackground_removalResponseModel", "type": "object"}, "imagedeepfake_detectionDeepfakeDetectionDataClass": {"properties": {"deepfake_score": {"maximum": 1, "minimum": 0, "title": "Deepfake Score", "type": "integer"}, "prediction": {"allOf": [{"$ref": "#/components/schemas/PredictionB20Enum"}], "title": "Prediction"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["deepfake_score", "prediction", "status"], "title": "imagedeepfake_detectionDeepfakeDetectionDataClass", "type": "object"}, "imagedeepfake_detectionResponseModel": {"properties": {"sightengine": {"$ref": "#/components/schemas/imagedeepfake_detectionDeepfakeDetectionDataClass", "default": null}}, "title": "imagedeepfake_detectionResponseModel", "type": "object"}, "imageembeddingsEmbeddingsDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/EmbeddingDataClass"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "imageembeddingsEmbeddingsDataClass", "type": "object"}, "imageembeddingsEmbeddingsRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "representation": {"allOf": [{"$ref": "#/components/schemas/RepresentationEnum"}], "description": "The type of embedding representation to embed the image with\n\n* `document` - document\n* `query` - query\n* `symetric` - symetric"}}, "required": ["providers", "representation"]}, "imageembeddingsResponseModel": {"properties": {"google": {"$ref": "#/components/schemas/imageembeddingsEmbeddingsDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/imageembeddingsEmbeddingsDataClass", "default": null}, "alephalpha": {"$ref": "#/components/schemas/imageembeddingsEmbeddingsDataClass", "default": null}}, "title": "imageembeddingsResponseModel", "type": "object"}, "imageexplicit_contentExplicitContentDataClass": {"properties": {"nsfw_likelihood": {"description": "An integer representing the likelihood of NSFW content. Higher values indicate a higher likelihood.", "title": "Nsfw Likelihood", "type": "integer"}, "nsfw_likelihood_score": {"description": "A floating-point score representing the confidence level of the NSFW likelihood assessment. This is typically a value between 0.0 and 1.0.", "title": "Nsfw Likelihood Score", "type": "integer"}, "items": {"description": "A list of items identified as potentially explicit. Each item contains details of the explicit content detected.", "items": {"$ref": "#/components/schemas/ExplicitItem"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["nsfw_likelihood", "nsfw_likelihood_score", "status"], "title": "imageexplicit_contentExplicitContentDataClass", "type": "object"}, "imageexplicit_contentResponseModel": {"properties": {"api4ai": {"$ref": "#/components/schemas/imageexplicit_contentExplicitContentDataClass", "default": null}, "sentisight": {"$ref": "#/components/schemas/imageexplicit_contentExplicitContentDataClass", "default": null}, "clarifai": {"$ref": "#/components/schemas/imageexplicit_contentExplicitContentDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/imageexplicit_contentExplicitContentDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/imageexplicit_contentExplicitContentDataClass", "default": null}, "google": {"$ref": "#/components/schemas/imageexplicit_contentExplicitContentDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/imageexplicit_contentExplicitContentDataClass", "default": null}}, "title": "imageexplicit_contentResponseModel", "type": "object"}, "imageface_compareFaceCompareDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/FaceMatch"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "imageface_compareFaceCompareDataClass", "type": "object"}, "imageface_compareFaceCompareRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file1": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file1_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "file2": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file2_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}, "required": ["providers"]}, "imageface_compareResponseModel": {"properties": {"base64": {"$ref": "#/components/schemas/imageface_compareFaceCompareDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/imageface_compareFaceCompareDataClass", "default": null}, "facepp": {"$ref": "#/components/schemas/imageface_compareFaceCompareDataClass", "default": null}}, "title": "imageface_compareResponseModel", "type": "object"}, "imageface_detectionFaceDetectionDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/FaceItem"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "imageface_detectionFaceDetectionDataClass", "type": "object"}, "imageface_detectionFaceDetectionRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}, "required": ["providers"]}, "imageface_detectionResponseModel": {"properties": {"api4ai": {"$ref": "#/components/schemas/imageface_detectionFaceDetectionDataClass", "default": null}, "clarifai": {"$ref": "#/components/schemas/imageface_detectionFaceDetectionDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/imageface_detectionFaceDetectionDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/imageface_detectionFaceDetectionDataClass", "default": null}, "google": {"$ref": "#/components/schemas/imageface_detectionFaceDetectionDataClass", "default": null}}, "title": "imageface_detectionResponseModel", "type": "object"}, "imageface_recognitionFaceRecognitionAddFaceDataClass": {"properties": {"face_ids": {"items": {"type": "string"}, "title": "Face Ids", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["face_ids", "status"], "title": "imageface_recognitionFaceRecognitionAddFaceDataClass", "type": "object"}, "imageface_recognitionResponseModel": {"properties": {"microsoft": {"$ref": "#/components/schemas/imageface_recognitionFaceRecognitionAddFaceDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/imageface_recognitionFaceRecognitionAddFaceDataClass", "default": null}, "facepp": {"$ref": "#/components/schemas/imageface_recognitionFaceRecognitionAddFaceDataClass", "default": null}}, "title": "imageface_recognitionResponseModel", "type": "object"}, "imageface_recognitionadd_faceFaceRecognitionAddFaceRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|bmp)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}, "required": ["providers"]}, "imageface_recognitiondelete_faceFaceRecognitionDeleteFaceRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "face_id": {"type": "string", "minLength": 1, "description": "ID of face to delete"}}, "required": ["face_id", "providers"]}, "imageface_recognitionrecognizeFaceRecognitionDetectFaceRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|bmp)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}, "required": ["providers"]}, "imagegenerationGenerationDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/GeneratedImageDataClass"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "imagegenerationGenerationDataClass", "type": "object"}, "imagegenerationGenerationRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "minLength": 1, "description": "Description of the desired image(s)."}, "resolution": {"type": "string", "minLength": 1, "description": "The image resolution (ex: 512x512, 1024x1024)", "maxLength": 50}, "num_images": {"type": "integer", "maximum": 10, "minimum": 1, "default": 1, "description": "The number of images to generate. Must be between 1 and 10."}}, "required": ["providers", "resolution", "text"]}, "imagegenerationResponseModel": {"properties": {"leonardo": {"$ref": "#/components/schemas/imagegenerationGenerationDataClass", "default": null}, "stabilityai": {"$ref": "#/components/schemas/imagegenerationGenerationDataClass", "default": null}, "bytedance": {"$ref": "#/components/schemas/imagegenerationGenerationDataClass", "default": null}, "replicate": {"$ref": "#/components/schemas/imagegenerationGenerationDataClass", "default": null}, "minimax": {"$ref": "#/components/schemas/imagegenerationGenerationDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/imagegenerationGenerationDataClass", "default": null}, "deepai": {"$ref": "#/components/schemas/imagegenerationGenerationDataClass", "default": null}, "google": {"$ref": "#/components/schemas/imagegenerationGenerationDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/imagegenerationGenerationDataClass", "default": null}}, "title": "imagegenerationResponseModel", "type": "object"}, "imagelandmark_detectionLandmarkDetectionDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/LandmarkItem"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "imagelandmark_detectionLandmarkDetectionDataClass", "type": "object"}, "imagelandmark_detectionResponseModel": {"properties": {"microsoft": {"$ref": "#/components/schemas/imagelandmark_detectionLandmarkDetectionDataClass", "default": null}, "google": {"$ref": "#/components/schemas/imagelandmark_detectionLandmarkDetectionDataClass", "default": null}}, "title": "imagelandmark_detectionResponseModel", "type": "object"}, "imagelogo_detectionLogoDetectionDataClass": {"properties": {"items": {"description": "List of the detected brands logo from the image.", "items": {"$ref": "#/components/schemas/LogoItem"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "imagelogo_detectionLogoDetectionDataClass", "type": "object"}, "imagelogo_detectionLogoDetectionRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}, "required": ["providers"]}, "imagelogo_detectionResponseModel": {"properties": {"api4ai": {"$ref": "#/components/schemas/imagelogo_detectionLogoDetectionDataClass", "default": null}, "smartclick": {"$ref": "#/components/schemas/imagelogo_detectionLogoDetectionDataClass", "default": null}, "clarifai": {"$ref": "#/components/schemas/imagelogo_detectionLogoDetectionDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/imagelogo_detectionLogoDetectionDataClass", "default": null}, "anthropic": {"$ref": "#/components/schemas/imagelogo_detectionLogoDetectionDataClass", "default": null}, "google": {"$ref": "#/components/schemas/imagelogo_detectionLogoDetectionDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/imagelogo_detectionLogoDetectionDataClass", "default": null}}, "title": "imagelogo_detectionResponseModel", "type": "object"}, "imageobject_detectionObjectDetectionDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/ObjectItem"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "imageobject_detectionObjectDetectionDataClass", "type": "object"}, "imageobject_detectionObjectDetectionRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}}, "required": ["providers"]}, "imageobject_detectionResponseModel": {"properties": {"api4ai": {"$ref": "#/components/schemas/imageobject_detectionObjectDetectionDataClass", "default": null}, "sentisight": {"$ref": "#/components/schemas/imageobject_detectionObjectDetectionDataClass", "default": null}, "clarifai": {"$ref": "#/components/schemas/imageobject_detectionObjectDetectionDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/imageobject_detectionObjectDetectionDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/imageobject_detectionObjectDetectionDataClass", "default": null}, "google": {"$ref": "#/components/schemas/imageobject_detectionObjectDetectionDataClass", "default": null}}, "title": "imageobject_detectionResponseModel", "type": "object"}, "imagequestion_answerQuestionAnswerDataClass": {"properties": {"answers": {"items": {"type": "string"}, "title": "Answers", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "imagequestion_answerQuestionAnswerDataClass", "type": "object"}, "imagequestion_answerQuestionAnswerRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "temperature": {"type": "number", "format": "double", "maximum": 1, "minimum": 0, "default": 0.0, "description": "Higher values mean the model will take more risks and value 0 (argmax sampling) works better for scenarios with a well-defined answer."}, "question": {"type": "string", "minLength": 1, "description": "Question about the image"}, "max_tokens": {"type": "integer", "maximum": 2048, "minimum": 1, "default": 1000, "description": "The maximum number of tokens to generate in the completion. The token count of your prompt plus max_tokens cannot exceed the model's context length."}}, "required": ["providers"]}, "imagequestion_answerResponseModel": {"properties": {"google": {"$ref": "#/components/schemas/imagequestion_answerQuestionAnswerDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/imagequestion_answerQuestionAnswerDataClass", "default": null}, "alephalpha": {"$ref": "#/components/schemas/imagequestion_answerQuestionAnswerDataClass", "default": null}}, "title": "imagequestion_answerResponseModel", "type": "object"}, "imagesearchResponseModel": {"properties": {"nyckel": {"$ref": "#/components/schemas/imagesearchSearchDeleteImageDataClass", "default": null}, "sentisight": {"$ref": "#/components/schemas/imagesearchSearchDeleteImageDataClass", "default": null}}, "title": "imagesearchResponseModel", "type": "object"}, "imagesearchSearchDeleteImageDataClass": {"properties": {"status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}}, "required": ["status"], "title": "imagesearchSearchDeleteImageDataClass", "type": "object"}, "imagesearchdelete_imageDeleteImageRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "image_name": {"type": "string", "minLength": 1}}, "required": ["image_name", "providers"]}, "imagesearchlaunch_similaritySearchImageRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "n": {"type": "integer", "minimum": 1, "default": 10, "description": "The `n` parameter specifies the number of images you want to be returned in the response. It determines the count of the most similar images to the input image that will be included in the response. By default, it is set to 10."}}, "required": ["providers"]}, "imagesearchupload_imageUploadImageRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:jpg|jpeg|png|tiff)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "image_name": {"type": "string", "minLength": 1, "description": "The image name need to have the extension of the file."}}, "required": ["image_name", "providers"]}, "llmchatChatDataClass": {"properties": {"id": {"description": "Unique identifier for this completion", "title": "Id", "type": "string"}, "object": {"description": "Object type, always 'chat.completion'", "title": "Object", "type": "string"}, "created": {"description": "Unix timestamp for when the completion was created", "title": "Created", "type": "integer"}, "model": {"description": "The model used for completion", "title": "Model", "type": "string"}, "choices": {"description": "List of chat completion choices generated by the model", "items": {"$ref": "#/components/schemas/ChatCompletionChoice"}, "title": "Choices", "type": "array"}, "usage": {"$ref": "#/components/schemas/ChatCompletionUsage", "description": "Usage statistics for the completion request"}, "system_fingerprint": {"default": null, "description": "Identifier for the system version that processed the request", "title": "System Fingerprint", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["id", "object", "created", "model", "choices", "usage", "status"], "title": "llmchatChatDataClass", "type": "object"}, "llmchatResponseModel": {"properties": {"meta": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "qwen": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "cloudflare": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "dashscope": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "fireworks_ai": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "minimax": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "ovhcloud": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "tenstorrent": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "mistral": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "deepseek": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "cohere": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "iointelligence": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "cerebras": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "nebius": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "lilac": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "replicate": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "perplexityai": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "google": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "huggingface": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "anthropic": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "deepinfra": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "bytedance": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "databricks": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "together_ai": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}, "groq": {"$ref": "#/components/schemas/llmchatChatDataClass", "default": null}}, "title": "llmchatResponseModel", "type": "object"}, "llmchatllmchatChatRequest": {"type": "object", "properties": {"messages": {"type": "array", "items": {"type": "object", "additionalProperties": {}}, "description": "A list containing all the conversations between the user and the assistant.\nEach item in the list should be a dictionary with two keys: 'role' and 'message'.\n\n**role**: Specifies the role of the speaker and can have the values 'user', 'system', 'assistant' or 'tool'.\nThe system role instructs the way the model should answer, e.g. 'You are a helpful assistant'. The user\nrole specifies the user query and assistant is the model's response. The tool role is for external tools that\ncan be used in the conversation.\n\n**message**: A list of dictionaries. Each dictionary in the 'message' list must contain the keys 'type' and 'content'.\n\n#### Structure\n- **type**: Specifies the type of content and can be 'image_url' or 'text'.\n- **content**: A dictionary with the actual content based on the 'type':\n - If 'type' is 'image_url', 'content' must contain 'image_url' and must not contain 'text'.\n - If 'type' is 'text', 'content' must contain 'text' and must not contain 'image_url'.\n\n#### Example\n```json\n[\n {\n \"role\": \"user\",\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"Describe this image\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg\"\n }\n }\n ]\n }\n]\n```"}, "model": {"type": "string", "minLength": 1, "description": "The OpenAI model to use for the chat completion. \nThis field is required and specifies which language model will process the conversation. \n\n**Example values**: 'gpt-3.5-turbo', 'gpt-4', 'gpt-4-turbo'"}, "reasoning_effort": {"allOf": [{"$ref": "#/components/schemas/ReasoningEffortEnum"}], "description": "Optional parameter to control the model's reasoning depth. \nAllows specifying the level of analytical effort in generating responses. \n\n**Choices**:\n- 'low': Minimal reasoning, quick responses\n- 'medium': Balanced reasoning approach\n- 'high': In-depth, comprehensive reasoning\n\n**Example**: 'high' for complex problem-solving tasks\n\n* `low` - low\n* `medium` - medium\n* `high` - high"}, "metadata": {"type": "array", "items": {"$ref": "#/components/schemas/MetadataRequest"}, "description": "Optional list of metadata associated with the chat request. \nCan be used to provide additional context or tracking information. \n\n**Example**:\n```json\n{\n \"metadata\": [\n {\"key\": \"conversation_id\", \"value\": \"chat_12345\"},\n {\"key\": \"source\", \"value\": \"customer_support\"}\n ]\n}\n```"}, "frequency_penalty": {"type": "number", "format": "double", "maximum": 2.0, "minimum": -2.0, "description": "Controls repetitiveness of model responses by penalizing frequent tokens. \nRanges from -2.0 to 2.0. \n\n**Values**:\n- Positive values: Reduce token repetition\n- Negative values: Encourage repetition\n- 0.0: Default behavior\n\n**Example**: 1.5 to significantly reduce repeated phrases"}, "logit_bias": {"type": "object", "additionalProperties": {"type": "number", "format": "double"}, "description": "Modify the likelihood of specific tokens appearing in the response. \nA dictionary where keys are token IDs and values are bias scores. \n\n**Example**:\n```json\n{\n \"logit_bias\": {\n \"50256\": -100, # Reduce probability of end-of-text token\n \"15\": 5 # Slightly increase probability of a specific token\n }\n}\n```"}, "logprobs": {"type": "boolean", "description": "If set to True, returns log probabilities of the most likely tokens. \nUseful for advanced token probability analysis. \n\n**Example**: True to get detailed token likelihood information"}, "top_logprobs": {"type": "integer", "maximum": 20, "minimum": 0, "description": "Number of top log probabilities to return with each token. \nMust be between 0 and 20. \n\n**Example**: 5 to get top 5 most likely tokens for each position"}, "max_completion_tokens": {"type": "integer", "minimum": 1, "description": "Maximum number of tokens to generate in the completion. \nMust be at least 1. \n\n**Example**: 150 to limit response to approximately 100-150 words"}, "n": {"type": "integer", "minimum": 1, "description": "Number of chat completion choices to generate.\n\n **Example**: 3 to generate multiple alternative responses"}, "modalities": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "List of supported input/output modalities for the chat. \n\n**Example**:\n```json\n{\n \"modalities\": [\"text\", \"image\", \"audio\"]\n}\n```"}, "prediction": {"type": "object", "additionalProperties": {}, "description": "Optional field for storing prediction-related information. \nFlexible dictionary to capture model's predictive metadata. \n\n**Example**:\n```json\n{\n \"prediction\": {\n \"confidence_score\": 0.85,\n \"top_prediction\": \"response_category\"\n }\n}\n```"}, "audio": {"type": "object", "additionalProperties": {}, "description": "Optional dictionary for audio-related parameters or metadata. \n\n**Example**:\n```json\n{\n \"audio\": {\n \"language\": \"en-US\",\n \"transcription_format\": \"srt\"\n }\n}\n```"}, "presence_penalty": {"type": "number", "format": "double", "maximum": 2.0, "minimum": -2.0, "description": "Adjusts likelihood of discussing new topics by penalizing existing tokens. \nRanges from -2.0 to 2.0. \n\n**Values**:\n- Positive values: Encourage more diverse topics\n- Negative values: Keep discussion more focused\n- 0.0: Default behavior\n\n**Example**: 1.0 to promote topic diversity"}, "response_format": {"type": "object", "additionalProperties": {}, "description": "Specify the desired response format for the completion. \n\n**Example**:\n```json\n{\n \"response_format\": {\n \"type\": \"json_object\",\n \"schema\": {...}\n }\n}\n```"}, "seed": {"type": "integer", "description": "Set a seed for deterministic sampling to reproduce consistent results. \n\n**Example**: 42 for a reproducible random generation process"}, "service_tier": {"allOf": [{"$ref": "#/components/schemas/ServiceTierEnum"}], "description": "Select the service tier for the API request. \n\n**Choices**:\n- 'auto': Automatically select appropriate tier\n- 'default': Use default service configuration\n\n* `auto` - auto\n* `default` - default"}, "stop": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "List of strings that will cause the model to stop generating. \n\n**Example**:\n```json\n{\n \"stop\": [\"\\n\", \"Human:\", \"AI:\"]\n}\n```"}, "stream": {"type": "boolean", "default": false, "description": "If True, returns tokens as they are generated in a streaming format. \nDefault is False. \n\n**Example**: True for real-time token streaming"}, "stream_options": {"type": "object", "additionalProperties": {}, "description": "Additional configuration for streaming responses. \n\n**Example**:\n```json\n{\n \"stream_options\": {\n \"include_usage\": true\n }\n}\n```"}, "temperature": {"type": "number", "format": "double", "maximum": 2, "minimum": 0, "description": "Controls randomness in token selection. \nRanges from 0.0 to 2.0. \n\n**Values**:\n- 0.0: Most deterministic, focused responses\n- 1.0: Balanced randomness\n- 2.0: Most creative, unpredictable responses\n\n**Example**: 0.7 for a good balance of creativity and focus"}, "top_p": {"type": "number", "format": "double", "maximum": 1, "minimum": 0, "description": "Nucleus sampling threshold for token selection. \nRanges from 0.0 to 1.0. Default is 1.0. \n\n**Values**:\n- 1.0: Consider all tokens\n- Lower values: More focused, deterministic sampling\n\n**Example**: 0.9 to select from top 90% most probable tokens"}, "tools": {"type": "array", "items": {}, "description": "List of tools or function definitions available to the model. \n\n**Example**:\n```json\n{\n \"tools\": [\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"get_weather\",\n \"description\": \"Retrieve current weather\"\n }\n }\n ]\n}\n```"}, "tool_choice": {"type": "string", "minLength": 1, "description": "Specify how tools should be used in the completion. \n\n**Example values**:\n- 'auto': Model decides when to use tools\n- 'none': Disable tool usage\n- Specific tool name to always use a particular tool"}, "parallel_tool_calls": {"type": "boolean", "description": "Allow the model to make multiple tool calls in parallel. \n\n**Example**: True to enable concurrent tool invocations"}, "user": {"type": "string", "minLength": 1, "description": "Optional identifier for the end-user to help track and monitor API usage. \n\n**Example**: 'user_123456'"}, "function_call": {"type": "string", "minLength": 1, "description": "Control how function calls are handled. \n\n**Example values**:\n- 'auto': Default behavior\n- 'none': Disable function calls\n- Specific function name to force its execution"}, "functions": {"type": "array", "items": {"type": "object", "additionalProperties": {}}, "description": "List of function definitions available to the model. \n\n**Example**:\n```json\n{\n \"functions\": [\n {\n \"name\": \"get_current_weather\",\n \"description\": \"Get the current weather for a location\",\n \"parameters\": {...}\n }\n ]\n}\n```"}, "thinking": {"allOf": [{"$ref": "#/components/schemas/ThinkingRequest"}], "description": "Configuration for enabling Claude's extended thinking. When enabled, responses include thinking content blocks showing Claude's thinking process before the final answer. Requires a minimum budget of 1,024 tokens and counts towards your max_tokens limit.\n\n**Example**:\n```json\n{\n 'thinking': {\n 'type': 'enabled'\n 'budget_tokens': '1024' }\n}\n```"}, "web_search_options": {"type": "object", "additionalProperties": {}, "description": "Options for web search integration. \n **Example**:\n ```json\n web_search_options={\n \"search_context_size\": \"medium\" # Options: \"low\", \"medium\", \"high\"\n }\n ```"}}, "required": ["messages", "model"]}, "multimodalchatChatDataClass": {"properties": {"generated_text": {"title": "Generated Text", "type": "string"}, "messages": {"items": {"$ref": "#/components/schemas/ChatMessageDataClass"}, "title": "Messages", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["generated_text", "status"], "title": "multimodalchatChatDataClass", "type": "object"}, "multimodalchatChatRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "messages": {"type": "array", "items": {"type": "object", "additionalProperties": {}}, "description": "A list containing all the conversations between the user and the assistant. Each item in the list should be a dictionary with two keys: 'role' and 'message'.\n\n**role**: Specifies the role of the speaker and can have the values 'user' or 'assistant'.\n\n**message**: A list of dictionaries. Each dictionary in the 'message' list must contain the keys 'type' and 'content'.\n\n#### Structure\n- **type**: Specifies the type of content and can be 'media_url', 'media_base64', or 'text'.\n- **content**: A dictionary with the actual content based on the 'type':\n - If 'type' is 'media_url', 'content' must contain 'media_url' and must not contain 'media_base64' or 'text'.\n - If 'type' is 'media_base64', 'content' must contain 'media_base64' and must not contain 'media_url' or 'text'.\n - If 'type' is 'text', 'content' must contain 'text' and must not contain 'media_url' or 'media_base64'.\n\n#### Example\n```json\n[\n {\n 'role': 'user',\n 'content': [\n {\n 'type': 'text',\n 'content': {'text': 'Describe this image'}\n },\n {\n 'type': 'media_url',\n 'content': {\n 'media_url': 'https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg',\n 'media_type': 'image/jpeg'}\n },\n ]\n }\n]\n```"}, "chatbot_global_action": {"type": "string", "nullable": true, "description": "A system message that helps set the behavior of the assistant. For example, 'You are a helpful assistant'."}, "temperature": {"type": "number", "format": "double", "maximum": 2, "minimum": 0, "default": 0.0, "description": "Controls the creativity of the model's responses. Higher values (up to 2) make the output more random, while lower values make it more focused and deterministic. A value of 0 (argmax sampling) is useful for scenarios requiring precise answers."}, "max_tokens": {"type": "integer", "maximum": 300000, "minimum": 1, "default": 2048, "description": "The maximum number of tokens to generate in the completion. This value, combined with the token count of your prompt, cannot exceed the model's context length."}, "stop_sequences": {"type": "array", "items": {"type": "string"}, "default": [], "description": "A list of sequences where the model will stop generating further tokens. Useful for controlling response length and format."}, "top_k": {"type": "integer", "maximum": 500, "minimum": 0, "description": "Limits the sampling pool to the top K options for each token. Setting this to a lower value can make the output more focused and deterministic."}, "top_p": {"type": "number", "format": "double", "maximum": 1, "minimum": 0, "description": "Enables nucleus sampling, where the model considers the smallest number of tokens whose cumulative probability is at least top_p. This allows for a dynamic selection of tokens based on probability, offering a balance between focus and creativity."}, "reasoning_effort": {"allOf": [{"$ref": "#/components/schemas/ReasoningEffortEnum"}], "description": "Optional parameter to control the model's reasoning depth. \nAllows specifying the level of analytical effort in generating responses. \n\n**Choices**:\n- 'low': Minimal reasoning, quick responses\n- 'medium': Balanced reasoning approach\n- 'high': In-depth, comprehensive reasoning\n\n**Example**: 'high' for complex problem-solving tasks\n\n* `low` - low\n* `medium` - medium\n* `high` - high"}}, "required": ["messages", "providers"]}, "multimodalchatResponseModel": {"properties": {"mistral": {"$ref": "#/components/schemas/multimodalchatChatDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/multimodalchatChatDataClass", "default": null}, "anthropic": {"$ref": "#/components/schemas/multimodalchatChatDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/multimodalchatChatDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/multimodalchatChatDataClass", "default": null}, "google": {"$ref": "#/components/schemas/multimodalchatChatDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/multimodalchatChatDataClass", "default": null}}, "title": "multimodalchatResponseModel", "type": "object"}, "ocranonymization_asyncAnonymizationAsyncDataClass": {"properties": {"document": {"title": "Document", "type": "string"}, "document_url": {"title": "Document Url", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["document", "document_url", "id", "final_status"], "title": "ocranonymization_asyncAnonymizationAsyncDataClass", "type": "object"}, "ocranonymization_asyncModel": {"properties": {"base64": {"$ref": "#/components/schemas/ocranonymization_asyncAnonymizationAsyncDataClass", "default": null}, "privateai": {"$ref": "#/components/schemas/ocranonymization_asyncAnonymizationAsyncDataClass", "default": null}, "readyredact": {"$ref": "#/components/schemas/ocranonymization_asyncAnonymizationAsyncDataClass", "default": null}}, "title": "ocranonymization_asyncModel", "type": "object"}, "ocrbank_check_parsingBankCheckParsingDataClass": {"properties": {"extracted_data": {"items": {"$ref": "#/components/schemas/ItemBankCheckParsingDataClass"}, "title": "Extracted Data", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "ocrbank_check_parsingBankCheckParsingDataClass", "type": "object"}, "ocrbank_check_parsingBankCheckParsingRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "file_password": {"type": "string", "nullable": true, "description": "If your PDF file has a password, you can pass it here!", "maxLength": 200}, "convert_to_pdf": {"type": "boolean", "nullable": true, "default": false, "description": "Boolean value to specify weather to convert the doc/docx files to pdf format to be accepted by a majority of the providers"}}, "required": ["providers"]}, "ocrbank_check_parsingResponseModel": {"properties": {"extracta": {"$ref": "#/components/schemas/ocrbank_check_parsingBankCheckParsingDataClass", "default": null}, "base64": {"$ref": "#/components/schemas/ocrbank_check_parsingBankCheckParsingDataClass", "default": null}, "veryfi": {"$ref": "#/components/schemas/ocrbank_check_parsingBankCheckParsingDataClass", "default": null}, "mindee": {"$ref": "#/components/schemas/ocrbank_check_parsingBankCheckParsingDataClass", "default": null}}, "title": "ocrbank_check_parsingResponseModel", "type": "object"}, "ocrcustom_document_parsing_asyncCustomDocumentParsingAsyncDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/CustomDocumentParsingAsyncItem"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["id", "final_status"], "title": "ocrcustom_document_parsing_asyncCustomDocumentParsingAsyncDataClass", "type": "object"}, "ocrcustom_document_parsing_asyncModel": {"properties": {"extracta": {"$ref": "#/components/schemas/ocrcustom_document_parsing_asyncCustomDocumentParsingAsyncDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/ocrcustom_document_parsing_asyncCustomDocumentParsingAsyncDataClass", "default": null}}, "title": "ocrcustom_document_parsing_asyncModel", "type": "object"}, "ocrdata_extractionDataExtractionDataClass": {"properties": {"fields": {"items": {"$ref": "#/components/schemas/ItemDataExtraction"}, "title": "Fields", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "ocrdata_extractionDataExtractionDataClass", "type": "object"}, "ocrdata_extractionDataExtractionRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "file_password": {"type": "string", "nullable": true, "description": "If your PDF file has a password, you can pass it here!", "maxLength": 200}, "convert_to_pdf": {"type": "boolean", "nullable": true, "default": false, "description": "Boolean value to specify weather to convert the doc/docx files to pdf format to be accepted by a majority of the providers"}}, "required": ["providers"]}, "ocrdata_extractionResponseModel": {"properties": {"base64": {"$ref": "#/components/schemas/ocrdata_extractionDataExtractionDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/ocrdata_extractionDataExtractionDataClass", "default": null}}, "title": "ocrdata_extractionResponseModel", "type": "object"}, "ocrfinancial_parserFinancialParserDataClass": {"properties": {"extracted_data": {"description": "List of parsed financial data objects (per page).", "items": {"$ref": "#/components/schemas/FinancialParserObjectDataClass"}, "title": "Extracted Data", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "ocrfinancial_parserFinancialParserDataClass", "type": "object"}, "ocrfinancial_parserFinancialParserRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "file_password": {"type": "string", "nullable": true, "description": "If your PDF file has a password, you can pass it here!", "maxLength": 200}, "language": {"type": "string", "nullable": true, "description": "Language code of the language the document is written in (ex: fr (French), en (English), es (Spanish))"}, "document_type": {"allOf": [{"$ref": "#/components/schemas/DocumentTypeEnum"}], "default": "invoice", "description": "Specify the type of your document. Can be Set to 'auto-detect' for automatic detection if the provider supports it. Otherwise, the default is 'invoice'.\n\n* `auto-detect` - auto-detect\n* `invoice` - invoice\n* `receipt` - receipt"}, "convert_to_pdf": {"type": "boolean", "nullable": true, "default": false, "description": "Boolean value to specify weather to convert the doc/docx files to pdf format to be accepted by a majority of the providers"}}, "required": ["providers"]}, "ocrfinancial_parserResponseModel": {"properties": {"eagledoc": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}, "affinda": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}, "extracta": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}, "klippa": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}, "mindee": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}, "tabscanner": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}, "veryfi": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}, "base64": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}, "google": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}, "dataleon": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/ocrfinancial_parserFinancialParserDataClass", "default": null}}, "title": "ocrfinancial_parserResponseModel", "type": "object"}, "ocridentity_parserIdentityParserDataClass": {"properties": {"extracted_data": {"items": {"$ref": "#/components/schemas/InfosIdentityParserDataClass"}, "title": "Extracted Data", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "ocridentity_parserIdentityParserDataClass", "type": "object"}, "ocridentity_parserIdentityParserRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "file_password": {"type": "string", "nullable": true, "description": "If your PDF file has a password, you can pass it here!", "maxLength": 200}, "convert_to_pdf": {"type": "boolean", "nullable": true, "default": false, "description": "Boolean value to specify weather to convert the doc/docx files to pdf format to be accepted by a majority of the providers"}}, "required": ["providers"]}, "ocridentity_parserResponseModel": {"properties": {"affinda": {"$ref": "#/components/schemas/ocridentity_parserIdentityParserDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/ocridentity_parserIdentityParserDataClass", "default": null}, "klippa": {"$ref": "#/components/schemas/ocridentity_parserIdentityParserDataClass", "default": null}, "mindee": {"$ref": "#/components/schemas/ocridentity_parserIdentityParserDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/ocridentity_parserIdentityParserDataClass", "default": null}, "base64": {"$ref": "#/components/schemas/ocridentity_parserIdentityParserDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/ocridentity_parserIdentityParserDataClass", "default": null}}, "title": "ocridentity_parserResponseModel", "type": "object"}, "ocrocrOcrDataClass": {"properties": {"text": {"title": "Text", "type": "string"}, "bounding_boxes": {"items": {"$ref": "#/components/schemas/Bounding_box"}, "title": "Bounding Boxes", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["text", "status"], "title": "ocrocrOcrDataClass", "type": "object"}, "ocrocrOcrRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "file_password": {"type": "string", "nullable": true, "description": "If your PDF file has a password, you can pass it here!", "maxLength": 200}, "language": {"type": "string", "nullable": true, "description": "Language code of the language the document is written in (ex: fr (French), en (English), es (Spanish))"}}, "required": ["providers"]}, "ocrocrResponseModel": {"properties": {"api4ai": {"$ref": "#/components/schemas/ocrocrOcrDataClass", "default": null}, "mistral": {"$ref": "#/components/schemas/ocrocrOcrDataClass", "default": null}, "sentisight": {"$ref": "#/components/schemas/ocrocrOcrDataClass", "default": null}, "clarifai": {"$ref": "#/components/schemas/ocrocrOcrDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/ocrocrOcrDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/ocrocrOcrDataClass", "default": null}, "base64": {"$ref": "#/components/schemas/ocrocrOcrDataClass", "default": null}, "google": {"$ref": "#/components/schemas/ocrocrOcrDataClass", "default": null}}, "title": "ocrocrResponseModel", "type": "object"}, "ocrocr_asyncModel": {"properties": {"mistral": {"$ref": "#/components/schemas/ocrocr_asyncOcrAsyncDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/ocrocr_asyncOcrAsyncDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/ocrocr_asyncOcrAsyncDataClass", "default": null}, "google": {"$ref": "#/components/schemas/ocrocr_asyncOcrAsyncDataClass", "default": null}, "oneai": {"$ref": "#/components/schemas/ocrocr_asyncOcrAsyncDataClass", "default": null}}, "title": "ocrocr_asyncModel", "type": "object"}, "ocrocr_asyncOcrAsyncDataClass": {"properties": {"raw_text": {"title": "Raw Text", "type": "string"}, "pages": {"description": "List of pages", "items": {"$ref": "#/components/schemas/Page"}, "title": "Pages", "type": "array"}, "number_of_pages": {"description": "Number of pages in the document", "title": "Number Of Pages", "type": "integer"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["raw_text", "number_of_pages", "id", "final_status"], "title": "ocrocr_asyncOcrAsyncDataClass", "type": "object"}, "ocrocr_tables_asyncModel": {"properties": {"microsoft": {"$ref": "#/components/schemas/ocrocr_tables_asyncOcrTablesAsyncDataClass", "default": null}, "google": {"$ref": "#/components/schemas/ocrocr_tables_asyncOcrTablesAsyncDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/ocrocr_tables_asyncOcrTablesAsyncDataClass", "default": null}}, "title": "ocrocr_tables_asyncModel", "type": "object"}, "ocrocr_tables_asyncOcrTablesAsyncDataClass": {"properties": {"pages": {"items": {"$ref": "#/components/schemas/Page"}, "title": "Pages", "type": "array"}, "num_pages": {"title": "Num Pages", "type": "integer"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["num_pages", "id", "final_status"], "title": "ocrocr_tables_asyncOcrTablesAsyncDataClass", "type": "object"}, "ocrresume_parserResponseModel": {"properties": {"affinda": {"$ref": "#/components/schemas/ocrresume_parserResumeParserDataClass", "default": null}, "senseloaf": {"$ref": "#/components/schemas/ocrresume_parserResumeParserDataClass", "default": null}, "hireability": {"$ref": "#/components/schemas/ocrresume_parserResumeParserDataClass", "default": null}, "extracta": {"$ref": "#/components/schemas/ocrresume_parserResumeParserDataClass", "default": null}, "klippa": {"$ref": "#/components/schemas/ocrresume_parserResumeParserDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/ocrresume_parserResumeParserDataClass", "default": null}}, "title": "ocrresume_parserResponseModel", "type": "object"}, "ocrresume_parserResumeParserDataClass": {"properties": {"extracted_data": {"$ref": "#/components/schemas/ResumeExtractedData"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["extracted_data", "status"], "title": "ocrresume_parserResumeParserDataClass", "type": "object"}, "ocrresume_parserResumeParserRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "file_password": {"type": "string", "nullable": true, "description": "If your PDF file has a password, you can pass it here!", "maxLength": 200}, "convert_to_pdf": {"type": "boolean", "nullable": true, "default": false, "description": "Boolean value to specify weather to convert the doc/docx files to pdf format to be accepted by a majority of the providers"}}, "required": ["providers"]}, "textai_detectionAiDetectionDataClass": {"properties": {"ai_score": {"title": "Ai Score", "type": "integer"}, "items": {"items": {"$ref": "#/components/schemas/AiDetectionItem"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["ai_score", "status"], "title": "textai_detectionAiDetectionDataClass", "type": "object"}, "textai_detectionAiDetectionRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "provider_params": {"type": "string", "description": "\nParameters specific to the provider that you want to send along the request.\n\nit should take a *provider* name as key and an object of parameters as value.\n\nExample:\n\n {\n \"deepgram\": {\n \"filler_words\": true,\n \"smart_format\": true,\n \"callback\": \"https://webhook.site/0000\"\n },\n \"assembly\": {\n \"webhook_url\": \"https://webhook.site/0000\"\n }\n }\n\nPlease refer to the documentation of each provider to see which parameters to send.\n"}, "text": {"type": "string", "minLength": 1, "description": "Text to analyze"}}, "required": ["providers", "text"]}, "textai_detectionResponseModel": {"properties": {"sapling": {"$ref": "#/components/schemas/textai_detectionAiDetectionDataClass", "default": null}, "winstonai": {"$ref": "#/components/schemas/textai_detectionAiDetectionDataClass", "default": null}, "originalityai": {"$ref": "#/components/schemas/textai_detectionAiDetectionDataClass", "default": null}}, "title": "textai_detectionResponseModel", "type": "object"}, "textanonymizationAnonymizationDataClass": {"properties": {"result": {"title": "Result", "type": "string"}, "entities": {"items": {"$ref": "#/components/schemas/AnonymizationEntity"}, "title": "Entities", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["result", "status"], "title": "textanonymizationAnonymizationDataClass", "type": "object"}, "textanonymizationResponseModel": {"properties": {"microsoft": {"$ref": "#/components/schemas/textanonymizationAnonymizationDataClass", "default": null}, "privateai": {"$ref": "#/components/schemas/textanonymizationAnonymizationDataClass", "default": null}, "oneai": {"$ref": "#/components/schemas/textanonymizationAnonymizationDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/textanonymizationAnonymizationDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/textanonymizationAnonymizationDataClass", "default": null}, "emvista": {"$ref": "#/components/schemas/textanonymizationAnonymizationDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/textanonymizationAnonymizationDataClass", "default": null}}, "title": "textanonymizationResponseModel", "type": "object"}, "textchatChatDataClass": {"properties": {"generated_text": {"title": "Generated Text", "type": "string"}, "message": {"items": {"$ref": "#/components/schemas/ChatMessageDataClass"}, "title": "Message", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["generated_text", "status"], "title": "textchatChatDataClass", "type": "object"}, "textchatChatRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "nullable": true, "default": "", "description": "Start your conversation here..."}, "chatbot_global_action": {"type": "string", "nullable": true, "default": "", "description": "A system message that helps set the behavior of the assistant. For example, 'You are a helpful assistant'."}, "previous_history": {"type": "array", "items": {"$ref": "#/components/schemas/ChatMessageRequest"}, "description": "A list containing all the previous conversations between the user and the chatbot AI. Each item in the list should be a dictionary with two keys: 'role' and 'message'. The 'role' key specifies the role of the speaker and can have the values 'user' or 'assistant'. The 'message' key contains the text of the conversation from the respective role. For example: [{'role': 'user', 'message': 'Hello'}, {'role': 'assistant', 'message': 'Hi, how can I help you?'}, ...]. This format allows easy identification of the speaker's role and their corresponding message."}, "temperature": {"type": "number", "format": "double", "maximum": 2, "minimum": 0, "default": 0.0, "description": "Higher values mean the model will take more risks and value 0 (argmax sampling) works better for scenarios with a well-defined answer."}, "max_tokens": {"type": "integer", "minimum": 1, "default": 4096, "description": "The maximum number of tokens to generate in the completion. The token count of your prompt plus max_tokens cannot exceed the model's context length."}, "tool_choice": {"allOf": [{"$ref": "#/components/schemas/ToolChoiceEnum"}], "default": "auto", "description": "`auto`: the model will choose to use tools if needed, `required`: force model to use any of the available tools, `none`: force model to not select a tool\n\n* `auto` - auto\n* `required` - required\n* `none` - none"}, "available_tools": {"type": "array", "items": {"$ref": "#/components/schemas/ChatAvailableToolsRequest"}, "description": "A list of tools the model may generate the right arguments for."}, "tool_results": {"type": "array", "items": {"$ref": "#/components/schemas/ChatToolResultRequest"}, "description": "List of results obtained from applying the tool_call arguments to your own tool."}, "reasoning_effort": {"allOf": [{"$ref": "#/components/schemas/ReasoningEffortEnum"}], "description": "Optional parameter to control the model's reasoning depth. \nAllows specifying the level of analytical effort in generating responses. \n\n**Choices**:\n- 'low': Minimal reasoning, quick responses\n- 'medium': Balanced reasoning approach\n- 'high': In-depth, comprehensive reasoning\n\n**Example**: 'high' for complex problem-solving tasks\n\n* `low` - low\n* `medium` - medium\n* `high` - high"}}, "required": ["providers"]}, "textchatChatStreamRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "nullable": true, "default": "", "description": "Start your conversation here..."}, "chatbot_global_action": {"type": "string", "nullable": true, "default": "", "description": "A system message that helps set the behavior of the assistant. For example, 'You are a helpful assistant'."}, "previous_history": {"type": "array", "items": {"$ref": "#/components/schemas/ChatMessageRequest"}, "description": "A list containing all the previous conversations between the user and the chatbot AI. Each item in the list should be a dictionary with two keys: 'role' and 'message'. The 'role' key specifies the role of the speaker and can have the values 'user' or 'assistant'. The 'message' key contains the text of the conversation from the respective role. For example: [{'role': 'user', 'message': 'Hello'}, {'role': 'assistant', 'message': 'Hi, how can I help you?'}, ...]. This format allows easy identification of the speaker's role and their corresponding message."}, "temperature": {"type": "number", "format": "double", "maximum": 2, "minimum": 0, "default": 0.0, "description": "Higher values mean the model will take more risks and value 0 (argmax sampling) works better for scenarios with a well-defined answer."}, "max_tokens": {"type": "integer", "minimum": 1, "default": 4096, "description": "The maximum number of tokens to generate in the completion. The token count of your prompt plus max_tokens cannot exceed the model's context length."}, "tool_choice": {"allOf": [{"$ref": "#/components/schemas/ToolChoiceEnum"}], "default": "auto", "description": "`auto`: the model will choose to use tools if needed, `required`: force model to use any of the available tools, `none`: force model to not select a tool\n\n* `auto` - auto\n* `required` - required\n* `none` - none"}, "available_tools": {"type": "array", "items": {"$ref": "#/components/schemas/ChatAvailableToolsRequest"}, "description": "A list of tools the model may generate the right arguments for."}, "tool_results": {"type": "array", "items": {"$ref": "#/components/schemas/ChatToolResultRequest"}, "description": "List of results obtained from applying the tool_call arguments to your own tool."}, "reasoning_effort": {"allOf": [{"$ref": "#/components/schemas/ReasoningEffortEnum"}], "description": "Optional parameter to control the model's reasoning depth. \nAllows specifying the level of analytical effort in generating responses. \n\n**Choices**:\n- 'low': Minimal reasoning, quick responses\n- 'medium': Balanced reasoning approach\n- 'high': In-depth, comprehensive reasoning\n\n**Example**: 'high' for complex problem-solving tasks\n\n* `low` - low\n* `medium` - medium\n* `high` - high"}, "fallback_type": {"allOf": [{"$ref": "#/components/schemas/FallbackTypeEnum"}], "default": "continue"}}, "required": ["providers"]}, "textchatResponseModel": {"properties": {"mistral": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "meta": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "anthropic": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "deepseek": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "cohere": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "together_ai": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "replicate": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "groq": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "perplexityai": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "google": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/textchatChatDataClass", "default": null}}, "title": "textchatResponseModel", "type": "object"}, "textcode_generationCodeGenerationDataClass": {"properties": {"generated_text": {"title": "Generated Text", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["generated_text", "status"], "title": "textcode_generationCodeGenerationDataClass", "type": "object"}, "textcode_generationCodeGenerationRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "prompt": {"type": "string", "nullable": true, "default": "", "description": "Entrer the source code that will be used as a context."}, "instruction": {"type": "string", "minLength": 1, "description": "Entrer the instruction you want to be followed."}, "temperature": {"type": "number", "format": "double", "maximum": 1, "minimum": 0, "default": 0.0, "description": "Higher values mean the model will take more risks and value 0 (argmax sampling) works better for scenarios with a well-defined answer."}, "max_tokens": {"type": "integer", "minimum": 1, "default": 1000, "description": "The maximum number of tokens to generate in the completion. The token count of your prompt plus max_tokens cannot exceed the model's context length."}}, "required": ["instruction", "providers"]}, "textcode_generationResponseModel": {"properties": {"google": {"$ref": "#/components/schemas/textcode_generationCodeGenerationDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/textcode_generationCodeGenerationDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/textcode_generationCodeGenerationDataClass", "default": null}}, "title": "textcode_generationResponseModel", "type": "object"}, "textembeddingsEmbeddingsDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/EmbeddingDataClass"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "textembeddingsEmbeddingsDataClass", "type": "object"}, "textembeddingsEmbeddingsRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "texts": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "List of texts to transform into embeddings."}, "dimensions": {"type": "integer", "minimum": 1, "nullable": true, "description": " parameter to control the size of the output embedding vecto"}}, "required": ["providers", "texts"]}, "textembeddingsResponseModel": {"properties": {"mistral": {"$ref": "#/components/schemas/textembeddingsEmbeddingsDataClass", "default": null}, "google": {"$ref": "#/components/schemas/textembeddingsEmbeddingsDataClass", "default": null}, "jina": {"$ref": "#/components/schemas/textembeddingsEmbeddingsDataClass", "default": null}, "cohere": {"$ref": "#/components/schemas/textembeddingsEmbeddingsDataClass", "default": null}, "ai21labs": {"$ref": "#/components/schemas/textembeddingsEmbeddingsDataClass", "default": null}, "iointelligence": {"$ref": "#/components/schemas/textembeddingsEmbeddingsDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/textembeddingsEmbeddingsDataClass", "default": null}}, "title": "textembeddingsResponseModel", "type": "object"}, "textemotion_detectionEmotionDetectionDataClass": {"properties": {"text": {"title": "Text", "type": "string"}, "items": {"items": {"$ref": "#/components/schemas/EmotionItem"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["text", "status"], "title": "textemotion_detectionEmotionDetectionDataClass", "type": "object"}, "textemotion_detectionEmotionDetectionRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "minLength": 1, "description": "Text to analyze"}}, "required": ["providers", "text"]}, "textemotion_detectionResponseModel": {"properties": {"vernai": {"$ref": "#/components/schemas/textemotion_detectionEmotionDetectionDataClass", "default": null}}, "title": "textemotion_detectionResponseModel", "type": "object"}, "textentity_sentimentEntitySentimentDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/Entity"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["items", "status"], "title": "textentity_sentimentEntitySentimentDataClass", "type": "object"}, "textentity_sentimentEntitySentimentRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "minLength": 1, "description": "Text to analyze"}, "language": {"type": "string", "nullable": true, "description": "Language code for the language the input text is written in (eg: en, fr)."}}, "required": ["providers", "text"]}, "textentity_sentimentResponseModel": {"properties": {"google": {"$ref": "#/components/schemas/textentity_sentimentEntitySentimentDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/textentity_sentimentEntitySentimentDataClass", "default": null}}, "title": "textentity_sentimentResponseModel", "type": "object"}, "textkeyword_extractionKeywordExtractionDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/InfosKeywordExtractionDataClass"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "textkeyword_extractionKeywordExtractionDataClass", "type": "object"}, "textkeyword_extractionResponseModel": {"properties": {"tenstorrent": {"$ref": "#/components/schemas/textkeyword_extractionKeywordExtractionDataClass", "default": null}, "corticalio": {"$ref": "#/components/schemas/textkeyword_extractionKeywordExtractionDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/textkeyword_extractionKeywordExtractionDataClass", "default": null}, "oneai": {"$ref": "#/components/schemas/textkeyword_extractionKeywordExtractionDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/textkeyword_extractionKeywordExtractionDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/textkeyword_extractionKeywordExtractionDataClass", "default": null}, "emvista": {"$ref": "#/components/schemas/textkeyword_extractionKeywordExtractionDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/textkeyword_extractionKeywordExtractionDataClass", "default": null}}, "title": "textkeyword_extractionResponseModel", "type": "object"}, "textmoderationModerationDataClass": {"properties": {"nsfw_likelihood": {"title": "Nsfw Likelihood", "type": "integer"}, "items": {"items": {"$ref": "#/components/schemas/TextModerationItem"}, "title": "Items", "type": "array"}, "nsfw_likelihood_score": {"title": "Nsfw Likelihood Score", "type": "integer"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["nsfw_likelihood", "nsfw_likelihood_score", "status"], "title": "textmoderationModerationDataClass", "type": "object"}, "textmoderationResponseModel": {"properties": {"microsoft": {"$ref": "#/components/schemas/textmoderationModerationDataClass", "default": null}, "google": {"$ref": "#/components/schemas/textmoderationModerationDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/textmoderationModerationDataClass", "default": null}}, "title": "textmoderationResponseModel", "type": "object"}, "textnamed_entity_recognitionNamedEntityRecognitionDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/InfosNamedEntityRecognitionDataClass"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "textnamed_entity_recognitionNamedEntityRecognitionDataClass", "type": "object"}, "textnamed_entity_recognitionResponseModel": {"properties": {"tenstorrent": {"$ref": "#/components/schemas/textnamed_entity_recognitionNamedEntityRecognitionDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/textnamed_entity_recognitionNamedEntityRecognitionDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/textnamed_entity_recognitionNamedEntityRecognitionDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/textnamed_entity_recognitionNamedEntityRecognitionDataClass", "default": null}, "google": {"$ref": "#/components/schemas/textnamed_entity_recognitionNamedEntityRecognitionDataClass", "default": null}, "oneai": {"$ref": "#/components/schemas/textnamed_entity_recognitionNamedEntityRecognitionDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/textnamed_entity_recognitionNamedEntityRecognitionDataClass", "default": null}}, "title": "textnamed_entity_recognitionResponseModel", "type": "object"}, "textplagia_detectionPlagiaDetectionDataClass": {"properties": {"plagia_score": {"title": "Plagia Score", "type": "integer"}, "items": {"items": {"$ref": "#/components/schemas/PlagiaDetectionItem"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["plagia_score", "status"], "title": "textplagia_detectionPlagiaDetectionDataClass", "type": "object"}, "textplagia_detectionPlagiaDetectionRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "minLength": 1, "description": "A text content on which a plagiarism detection analysis will be run"}, "title": {"type": "string", "nullable": true, "default": "", "description": "Content title"}}, "required": ["providers", "text"]}, "textplagia_detectionResponseModel": {"properties": {"winstonai": {"$ref": "#/components/schemas/textplagia_detectionPlagiaDetectionDataClass", "default": null}, "originalityai": {"$ref": "#/components/schemas/textplagia_detectionPlagiaDetectionDataClass", "default": null}}, "title": "textplagia_detectionResponseModel", "type": "object"}, "textprompt_optimizationPromptOptimizationDataClass": {"properties": {"missing_information": {"title": "Missing Information", "type": "string"}, "items": {"items": {"$ref": "#/components/schemas/PromptDataClass"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["missing_information", "status"], "title": "textprompt_optimizationPromptOptimizationDataClass", "type": "object"}, "textprompt_optimizationPromptOptimizationRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "minLength": 1, "description": "Description of the desired prompt."}, "target_provider": {"type": "string", "minLength": 1, "description": "Select the provider for the prompt optimization"}}, "required": ["providers", "target_provider", "text"]}, "textprompt_optimizationResponseModel": {"properties": {"openai": {"$ref": "#/components/schemas/textprompt_optimizationPromptOptimizationDataClass", "default": null}}, "title": "textprompt_optimizationResponseModel", "type": "object"}, "textsentiment_analysisResponseModel": {"properties": {"tenstorrent": {"$ref": "#/components/schemas/textsentiment_analysisSentimentAnalysisDataClass", "default": null}, "sapling": {"$ref": "#/components/schemas/textsentiment_analysisSentimentAnalysisDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/textsentiment_analysisSentimentAnalysisDataClass", "default": null}, "oneai": {"$ref": "#/components/schemas/textsentiment_analysisSentimentAnalysisDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/textsentiment_analysisSentimentAnalysisDataClass", "default": null}, "ibm": {"$ref": "#/components/schemas/textsentiment_analysisSentimentAnalysisDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/textsentiment_analysisSentimentAnalysisDataClass", "default": null}, "google": {"$ref": "#/components/schemas/textsentiment_analysisSentimentAnalysisDataClass", "default": null}, "emvista": {"$ref": "#/components/schemas/textsentiment_analysisSentimentAnalysisDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/textsentiment_analysisSentimentAnalysisDataClass", "default": null}}, "title": "textsentiment_analysisResponseModel", "type": "object"}, "textsentiment_analysisSentimentAnalysisDataClass": {"properties": {"general_sentiment": {"allOf": [{"$ref": "#/components/schemas/GeneralSentimentEnum"}], "title": "General Sentiment"}, "general_sentiment_rate": {"maximum": 1, "minimum": 0, "title": "General Sentiment Rate", "type": "integer"}, "items": {"items": {"$ref": "#/components/schemas/SegmentSentimentAnalysisDataClass"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["general_sentiment", "general_sentiment_rate", "status"], "title": "textsentiment_analysisSentimentAnalysisDataClass", "type": "object"}, "textspell_checkResponseModel": {"properties": {"prowritingaid": {"$ref": "#/components/schemas/textspell_checkSpellCheckDataClass", "default": null}, "sapling": {"$ref": "#/components/schemas/textspell_checkSpellCheckDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/textspell_checkSpellCheckDataClass", "default": null}, "cohere": {"$ref": "#/components/schemas/textspell_checkSpellCheckDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/textspell_checkSpellCheckDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/textspell_checkSpellCheckDataClass", "default": null}}, "title": "textspell_checkResponseModel", "type": "object"}, "textspell_checkSpellCheckDataClass": {"properties": {"text": {"title": "Text", "type": "string"}, "items": {"items": {"$ref": "#/components/schemas/SpellCheckItem"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["text", "status"], "title": "textspell_checkSpellCheckDataClass", "type": "object"}, "textspell_checkSpellCheckRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "minLength": 1, "description": "Text to analyze"}, "language": {"type": "string", "nullable": true, "description": "Language code for the language the input text is written in (eg: en, fr)."}}, "required": ["providers", "text"]}, "textsummarizeResponseModel": {"properties": {"meaningcloud": {"$ref": "#/components/schemas/textsummarizeSummarizeDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/textsummarizeSummarizeDataClass", "default": null}, "anthropic": {"$ref": "#/components/schemas/textsummarizeSummarizeDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/textsummarizeSummarizeDataClass", "default": null}, "writesonic": {"$ref": "#/components/schemas/textsummarizeSummarizeDataClass", "default": null}, "oneai": {"$ref": "#/components/schemas/textsummarizeSummarizeDataClass", "default": null}, "cohere": {"$ref": "#/components/schemas/textsummarizeSummarizeDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/textsummarizeSummarizeDataClass", "default": null}, "emvista": {"$ref": "#/components/schemas/textsummarizeSummarizeDataClass", "default": null}, "alephalpha": {"$ref": "#/components/schemas/textsummarizeSummarizeDataClass", "default": null}}, "title": "textsummarizeResponseModel", "type": "object"}, "textsummarizeSummarizeDataClass": {"properties": {"result": {"title": "Result", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["result", "status"], "title": "textsummarizeSummarizeDataClass", "type": "object"}, "textsummarizeSummarizeRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "minLength": 1, "description": "Text to analyze"}, "language": {"type": "string", "nullable": true, "description": "Language code for the language the input text is written in (eg: en, fr)."}, "output_sentences": {"type": "integer", "minimum": 1, "default": 1}}, "required": ["providers", "text"]}, "texttopic_extractionResponseModel": {"properties": {"google": {"$ref": "#/components/schemas/texttopic_extractionTopicExtractionDataClass", "default": null}, "tenstorrent": {"$ref": "#/components/schemas/texttopic_extractionTopicExtractionDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/texttopic_extractionTopicExtractionDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/texttopic_extractionTopicExtractionDataClass", "default": null}}, "title": "texttopic_extractionResponseModel", "type": "object"}, "texttopic_extractionTopicExtractionDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/ExtractedTopic"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "texttopic_extractionTopicExtractionDataClass", "type": "object"}, "texttopic_extractiontextanonymizationtextmoderationtextnamed_entity_recognitiontextkeyword_extractiontextsyntax_analysistextsentiment_analysisTextAnalysisRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "minLength": 1, "description": "Text to analyze"}, "language": {"type": "string", "nullable": true, "description": "Language code for the language the input text is written in (eg: en, fr)."}}, "required": ["providers", "text"]}, "translationautomatic_translationAutomaticTranslationDataClass": {"properties": {"text": {"title": "Text", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["text", "status"], "title": "translationautomatic_translationAutomaticTranslationDataClass", "type": "object"}, "translationautomatic_translationAutomaticTranslationRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "minLength": 1, "description": "Text to analyze"}, "source_language": {"type": "string", "nullable": true, "description": "Source language code (ex: en, fr)"}, "target_language": {"type": "string", "minLength": 1, "description": "Target language code (ex: en, fr)"}}, "required": ["providers", "target_language", "text"]}, "translationautomatic_translationResponseModel": {"properties": {"deepl": {"$ref": "#/components/schemas/translationautomatic_translationAutomaticTranslationDataClass", "default": null}, "microsoft": {"$ref": "#/components/schemas/translationautomatic_translationAutomaticTranslationDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/translationautomatic_translationAutomaticTranslationDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/translationautomatic_translationAutomaticTranslationDataClass", "default": null}, "google": {"$ref": "#/components/schemas/translationautomatic_translationAutomaticTranslationDataClass", "default": null}, "modernmt": {"$ref": "#/components/schemas/translationautomatic_translationAutomaticTranslationDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/translationautomatic_translationAutomaticTranslationDataClass", "default": null}}, "title": "translationautomatic_translationResponseModel", "type": "object"}, "translationdocument_translationDocumentTranslationDataClass": {"properties": {"file": {"title": "File", "type": "string"}, "document_resource_url": {"title": "Document Resource Url", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["file", "document_resource_url", "status"], "title": "translationdocument_translationDocumentTranslationDataClass", "type": "object"}, "translationdocument_translationDocumentTranslationRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "file_password": {"type": "string", "nullable": true, "description": "If your PDF file has a password, you can pass it here!", "maxLength": 200}, "source_language": {"type": "string", "nullable": true, "description": "Source language code (ex: en, fr)"}, "target_language": {"type": "string", "minLength": 1, "description": "Target language code (ex: en, fr)"}}, "required": ["providers", "target_language"]}, "translationdocument_translationResponseModel": {"properties": {"google": {"$ref": "#/components/schemas/translationdocument_translationDocumentTranslationDataClass", "default": null}, "deepl": {"$ref": "#/components/schemas/translationdocument_translationDocumentTranslationDataClass", "default": null}}, "title": "translationdocument_translationResponseModel", "type": "object"}, "translationlanguage_detectionLanguageDetectionDataClass": {"properties": {"items": {"items": {"$ref": "#/components/schemas/InfosLanguageDetectionDataClass"}, "title": "Items", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["status"], "title": "translationlanguage_detectionLanguageDetectionDataClass", "type": "object"}, "translationlanguage_detectionLanguageDetectionRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "text": {"type": "string", "minLength": 1, "description": "Text to analyze"}}, "required": ["providers", "text"]}, "translationlanguage_detectionResponseModel": {"properties": {"microsoft": {"$ref": "#/components/schemas/translationlanguage_detectionLanguageDetectionDataClass", "default": null}, "xai": {"$ref": "#/components/schemas/translationlanguage_detectionLanguageDetectionDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/translationlanguage_detectionLanguageDetectionDataClass", "default": null}, "google": {"$ref": "#/components/schemas/translationlanguage_detectionLanguageDetectionDataClass", "default": null}, "oneai": {"$ref": "#/components/schemas/translationlanguage_detectionLanguageDetectionDataClass", "default": null}, "modernmt": {"$ref": "#/components/schemas/translationlanguage_detectionLanguageDetectionDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/translationlanguage_detectionLanguageDetectionDataClass", "default": null}}, "title": "translationlanguage_detectionResponseModel", "type": "object"}, "videodeepfake_detection_asyncDeepfakeDetectionAsyncDataClass": {"properties": {"average_score": {"maximum": 1, "minimum": 0, "title": "Average Score", "type": "integer"}, "prediction": {"allOf": [{"$ref": "#/components/schemas/PredictionB20Enum"}], "title": "Prediction"}, "details_per_frame": {"items": {"$ref": "#/components/schemas/DetailPerFrame"}, "title": "Details Per Frame", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["average_score", "prediction", "id", "final_status"], "title": "videodeepfake_detection_asyncDeepfakeDetectionAsyncDataClass", "type": "object"}, "videodeepfake_detection_asyncModel": {"properties": {"sightengine": {"$ref": "#/components/schemas/videodeepfake_detection_asyncDeepfakeDetectionAsyncDataClass", "default": null}}, "title": "videodeepfake_detection_asyncModel", "type": "object"}, "videoexplicit_content_detection_asyncExplicitContentDetectionAsyncDataClass": {"properties": {"moderation": {"items": {"$ref": "#/components/schemas/ContentNSFW"}, "title": "Moderation", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["id", "final_status"], "title": "videoexplicit_content_detection_asyncExplicitContentDetectionAsyncDataClass", "type": "object"}, "videoexplicit_content_detection_asyncModel": {"properties": {"google": {"$ref": "#/components/schemas/videoexplicit_content_detection_asyncExplicitContentDetectionAsyncDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/videoexplicit_content_detection_asyncExplicitContentDetectionAsyncDataClass", "default": null}}, "title": "videoexplicit_content_detection_asyncModel", "type": "object"}, "videoface_detection_asyncFaceDetectionAsyncDataClass": {"properties": {"faces": {"items": {"$ref": "#/components/schemas/VideoFace"}, "title": "Faces", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["id", "final_status"], "title": "videoface_detection_asyncFaceDetectionAsyncDataClass", "type": "object"}, "videoface_detection_asyncModel": {"properties": {"google": {"$ref": "#/components/schemas/videoface_detection_asyncFaceDetectionAsyncDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/videoface_detection_asyncFaceDetectionAsyncDataClass", "default": null}}, "title": "videoface_detection_asyncModel", "type": "object"}, "videogeneration_asyncGenerationAsyncDataClass": {"properties": {"video": {"title": "Video", "type": "string"}, "video_resource_url": {"title": "Video Resource Url", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["video", "video_resource_url", "id", "final_status"], "title": "videogeneration_asyncGenerationAsyncDataClass", "type": "object"}, "videogeneration_asyncModel": {"properties": {"microsoft": {"$ref": "#/components/schemas/videogeneration_asyncGenerationAsyncDataClass", "default": null}, "bytedance": {"$ref": "#/components/schemas/videogeneration_asyncGenerationAsyncDataClass", "default": null}, "minimax": {"$ref": "#/components/schemas/videogeneration_asyncGenerationAsyncDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/videogeneration_asyncGenerationAsyncDataClass", "default": null}, "google": {"$ref": "#/components/schemas/videogeneration_asyncGenerationAsyncDataClass", "default": null}, "openai": {"$ref": "#/components/schemas/videogeneration_asyncGenerationAsyncDataClass", "default": null}}, "title": "videogeneration_asyncModel", "type": "object"}, "videolabel_detection_asyncLabelDetectionAsyncDataClass": {"properties": {"labels": {"items": {"$ref": "#/components/schemas/VideoLabel"}, "title": "Labels", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["id", "final_status"], "title": "videolabel_detection_asyncLabelDetectionAsyncDataClass", "type": "object"}, "videolabel_detection_asyncModel": {"properties": {"google": {"$ref": "#/components/schemas/videolabel_detection_asyncLabelDetectionAsyncDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/videolabel_detection_asyncLabelDetectionAsyncDataClass", "default": null}}, "title": "videolabel_detection_asyncModel", "type": "object"}, "videologo_detection_asyncLogoDetectionAsyncDataClass": {"properties": {"logos": {"items": {"$ref": "#/components/schemas/LogoTrack"}, "title": "Logos", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["id", "final_status"], "title": "videologo_detection_asyncLogoDetectionAsyncDataClass", "type": "object"}, "videologo_detection_asyncModel": {"properties": {"google": {"$ref": "#/components/schemas/videologo_detection_asyncLogoDetectionAsyncDataClass", "default": null}, "twelvelabs": {"$ref": "#/components/schemas/videologo_detection_asyncLogoDetectionAsyncDataClass", "default": null}}, "title": "videologo_detection_asyncModel", "type": "object"}, "videoobject_tracking_asyncModel": {"properties": {"google": {"$ref": "#/components/schemas/videoobject_tracking_asyncObjectTrackingAsyncDataClass", "default": null}}, "title": "videoobject_tracking_asyncModel", "type": "object"}, "videoobject_tracking_asyncObjectTrackingAsyncDataClass": {"properties": {"objects": {"items": {"$ref": "#/components/schemas/ObjectTrack"}, "title": "Objects", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["id", "final_status"], "title": "videoobject_tracking_asyncObjectTrackingAsyncDataClass", "type": "object"}, "videoperson_tracking_asyncModel": {"properties": {"google": {"$ref": "#/components/schemas/videoperson_tracking_asyncPersonTrackingAsyncDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/videoperson_tracking_asyncPersonTrackingAsyncDataClass", "default": null}}, "title": "videoperson_tracking_asyncModel", "type": "object"}, "videoperson_tracking_asyncPersonTrackingAsyncDataClass": {"properties": {"persons": {"items": {"$ref": "#/components/schemas/VideoTrackingPerson"}, "title": "Persons", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["id", "final_status"], "title": "videoperson_tracking_asyncPersonTrackingAsyncDataClass", "type": "object"}, "videoquestion_answerQuestionAnswerDataClass": {"properties": {"answer": {"title": "Answer", "type": "string"}, "finish_reason": {"title": "Finish Reason", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "status": {"allOf": [{"$ref": "#/components/schemas/Status549Enum"}], "title": "Status"}}, "required": ["answer", "finish_reason", "status"], "title": "videoquestion_answerQuestionAnswerDataClass", "type": "object"}, "videoquestion_answerQuestionAnswerRequest": {"type": "object", "properties": {"settings": {"type": "string", "default": {}, "description": "A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {\"google\" : \"google_model\", \"ibm\": \"ibm_model\"...}.\n "}, "providers": {"type": "array", "items": {"type": "string", "minLength": 1}, "description": "It can be one (ex: **'amazon'** or **'google'**) or multiple provider(s) (ex: **'amazon,microsoft,google'**) that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: **'amazon/model1, amazon/model2, google/model3'**)"}, "fallback_providers": {"type": "array", "items": {"type": "string"}, "default": [], "description": "Providers in this list will be used as fallback if the call to provider in `providers` parameter fails.\n To use this feature, you must input **only one** provider in the `providers` parameter. but you can put up to 5 fallbacks.\n\nThey will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.\n\n\n*Doesn't work with async subfeatures.*\n ", "maxItems": 5}, "response_as_dict": {"type": "boolean", "default": true, "description": "Optional : When set to **true** (default), the response is an object of responses with providers names as keys :
\n ``` {\"google\" : { \"status\": \"success\", ... }, } ```
\n When set to **false** the response structure is a list of response objects :
\n ``` [{\"status\": \"success\", \"provider\": \"google\" ... }, ] ```.
\n "}, "attributes_as_list": {"type": "boolean", "default": false, "description": "Optional : When set to **false** (default) the structure of the extracted items is list of objects having different attributes :
\n ```{'items': [{\"attribute_1\": \"x1\",\"attribute_2\": \"y2\"}, ... ]}```
\n When it is set to **true**, the response contains an object with each attribute as a list :
\n ```{ \"attribute_1\": [\"x1\",\"x2\", ...], \"attribute_2\": [y1, y2, ...]}``` "}, "show_base_64": {"type": "boolean", "default": true}, "show_original_response": {"type": "boolean", "default": false, "description": "Optional : Shows the original response of the provider.
\n When set to **true**, a new attribute *original_response* will appear in the response object."}, "file": {"type": "string", "format": "binary", "description": "File to analyse in binary format to be used with *content-type*: **multipart/form-data**
**Does not work with application/json !**", "pattern": "(?:mp4|mpeg|mov|avi|x\\-flx|mpg|webm|wmv|3gpp)$"}, "file_url": {"type": "string", "format": "uri", "nullable": true, "description": "File **URL** to analyse to be used with with *content-type*: **application/json**."}, "temperature": {"type": "number", "format": "double", "maximum": 1, "minimum": 0, "default": 0.0, "description": "Higher values mean the model will take more risks and value 0 (argmax sampling) works better for scenarios with a well-defined answer."}, "max_tokens": {"type": "integer", "maximum": 3000000, "minimum": 1, "description": "The maximum number of tokens to generate in the completion. This value, combined with the token count of your prompt, cannot exceed the model's context length."}, "text": {"type": "string", "minLength": 1, "description": "Question about the video"}}, "required": ["providers", "text"]}, "videoquestion_answerResponseModel": {"properties": {"google": {"$ref": "#/components/schemas/videoquestion_answerQuestionAnswerDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/videoquestion_answerQuestionAnswerDataClass", "default": null}}, "title": "videoquestion_answerResponseModel", "type": "object"}, "videoquestion_answer_asyncModel": {"properties": {"google": {"$ref": "#/components/schemas/videoquestion_answer_asyncQuestionAnswerAsyncDataClass", "default": null}}, "title": "videoquestion_answer_asyncModel", "type": "object"}, "videoquestion_answer_asyncQuestionAnswerAsyncDataClass": {"properties": {"answer": {"title": "Answer", "type": "string"}, "finish_reason": {"title": "Finish Reason", "type": "string"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["answer", "finish_reason", "id", "final_status"], "title": "videoquestion_answer_asyncQuestionAnswerAsyncDataClass", "type": "object"}, "videoshot_change_detection_asyncModel": {"properties": {"google": {"$ref": "#/components/schemas/videoshot_change_detection_asyncShotChangeDetectionAsyncDataClass", "default": null}}, "title": "videoshot_change_detection_asyncModel", "type": "object"}, "videoshot_change_detection_asyncShotChangeDetectionAsyncDataClass": {"properties": {"shotAnnotations": {"items": {"$ref": "#/components/schemas/ShotFrame"}, "title": "Shotannotations", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["id", "final_status"], "title": "videoshot_change_detection_asyncShotChangeDetectionAsyncDataClass", "type": "object"}, "videotext_detection_asyncModel": {"properties": {"google": {"$ref": "#/components/schemas/videotext_detection_asyncTextDetectionAsyncDataClass", "default": null}, "amazon": {"$ref": "#/components/schemas/videotext_detection_asyncTextDetectionAsyncDataClass", "default": null}, "twelvelabs": {"$ref": "#/components/schemas/videotext_detection_asyncTextDetectionAsyncDataClass", "default": null}}, "title": "videotext_detection_asyncModel", "type": "object"}, "videotext_detection_asyncTextDetectionAsyncDataClass": {"properties": {"texts": {"items": {"$ref": "#/components/schemas/VideoText"}, "title": "Texts", "type": "array"}, "original_response": {"default": null, "description": "original response sent by the provider, hidden by default, show it by passing the `show_original_response` field to `true` in your request", "title": "Original Response"}, "id": {"title": "Id", "type": "string"}, "final_status": {"allOf": [{"$ref": "#/components/schemas/FinalStatusEnum"}], "title": "Final Status"}, "error": {"additionalProperties": true, "default": null, "title": "Error", "type": "object"}}, "required": ["id", "final_status"], "title": "videotext_detection_asyncTextDetectionAsyncDataClass", "type": "object"}}, "securitySchemes": {"FeatureApiAuth": {"type": "http", "scheme": "bearer", "bearerFormat": "JWT"}, "WorkflowShareApiAuth": {"type": "http", "scheme": "bearer", "bearerFormat": "JWT"}, "jwtAuth": {"type": "http", "scheme": "bearer", "bearerFormat": "JWT"}}}, "servers": [{"url": "https://api.edenai.run/v2"}], "security": [{"FeatureApiAuth": []}]} \ No newline at end of file