public class ArkApi extends Object
public ArkApi()
public ArkApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call batchChatCompletionsCall(BatchChatCompletionsRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic BatchChatCompletionsResponse batchChatCompletions(BatchChatCompletionsRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<BatchChatCompletionsResponse> batchChatCompletionsWithHttpInfo(@NotNull @NotNull BatchChatCompletionsRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call batchChatCompletionsAsync(BatchChatCompletionsRequest body, ApiCallback<BatchChatCompletionsResponse> callback) throws ApiException
body - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call botsChatCompletionsCall(BotsChatCompletionsRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic BotsChatCompletionsResponse botsChatCompletions(BotsChatCompletionsRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<BotsChatCompletionsResponse> botsChatCompletionsWithHttpInfo(@NotNull @NotNull BotsChatCompletionsRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call botsChatCompletionsAsync(BotsChatCompletionsRequest body, ApiCallback<BotsChatCompletionsResponse> callback) throws ApiException
body - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call chatCompletionsTextCall(ChatCompletionsTextRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ChatCompletionsTextResponse chatCompletionsText(ChatCompletionsTextRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChatCompletionsTextResponse> chatCompletionsTextWithHttpInfo(@NotNull @NotNull ChatCompletionsTextRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call chatCompletionsTextAsync(ChatCompletionsTextRequest body, ApiCallback<ChatCompletionsTextResponse> callback) throws ApiException
body - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call chatCompletionsVisionCall(ChatCompletionsVisionRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ChatCompletionsVisionResponse chatCompletionsVision(ChatCompletionsVisionRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChatCompletionsVisionResponse> chatCompletionsVisionWithHttpInfo(@NotNull @NotNull ChatCompletionsVisionRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call chatCompletionsVisionAsync(ChatCompletionsVisionRequest body, ApiCallback<ChatCompletionsVisionResponse> callback) throws ApiException
body - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call contextChatCompletionsCall(ContextChatCompletionsRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ContextChatCompletionsResponse contextChatCompletions(ContextChatCompletionsRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ContextChatCompletionsResponse> contextChatCompletionsWithHttpInfo(@NotNull @NotNull ContextChatCompletionsRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call contextChatCompletionsAsync(ContextChatCompletionsRequest body, ApiCallback<ContextChatCompletionsResponse> callback) throws ApiException
body - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call contextCreateCall(ContextCreateRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ContextCreateResponse contextCreate(ContextCreateRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ContextCreateResponse> contextCreateWithHttpInfo(@NotNull @NotNull ContextCreateRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call contextCreateAsync(ContextCreateRequest body, ApiCallback<ContextCreateResponse> callback) throws ApiException
body - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call createBatchInferenceJobCall(CreateBatchInferenceJobRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CreateBatchInferenceJobResponse createBatchInferenceJob(CreateBatchInferenceJobRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CreateBatchInferenceJobResponse> createBatchInferenceJobWithHttpInfo(@NotNull @NotNull CreateBatchInferenceJobRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createBatchInferenceJobAsync(CreateBatchInferenceJobRequest body, ApiCallback<CreateBatchInferenceJobResponse> callback) throws ApiException
body - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call createContentsGenerationsTasksCall(CreateContentsGenerationsTasksRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CreateContentsGenerationsTasksResponse createContentsGenerationsTasks(CreateContentsGenerationsTasksRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CreateContentsGenerationsTasksResponse> createContentsGenerationsTasksWithHttpInfo(@NotNull @NotNull CreateContentsGenerationsTasksRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createContentsGenerationsTasksAsync(CreateContentsGenerationsTasksRequest body, ApiCallback<CreateContentsGenerationsTasksResponse> callback) throws ApiException
body - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call createEndpointCall(CreateEndpointRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CreateEndpointResponse createEndpoint(CreateEndpointRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CreateEndpointResponse> createEndpointWithHttpInfo(@NotNull @NotNull CreateEndpointRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createEndpointAsync(CreateEndpointRequest body, ApiCallback<CreateEndpointResponse> callback) throws ApiException
body - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call createModelCustomizationJobCall(CreateModelCustomizationJobRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CreateModelCustomizationJobResponse createModelCustomizationJob(CreateModelCustomizationJobRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CreateModelCustomizationJobResponse> createModelCustomizationJobWithHttpInfo(@NotNull @NotNull CreateModelCustomizationJobRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createModelCustomizationJobAsync(CreateModelCustomizationJobRequest body, ApiCallback<CreateModelCustomizationJobResponse> callback) throws ApiException
body - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call deleteEndpointCall(DeleteEndpointRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic DeleteEndpointResponse deleteEndpoint(DeleteEndpointRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DeleteEndpointResponse> deleteEndpointWithHttpInfo(@NotNull @NotNull DeleteEndpointRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteEndpointAsync(DeleteEndpointRequest body, ApiCallback<DeleteEndpointResponse> callback) throws ApiException
body - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call embeddingsCall(EmbeddingsRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic EmbeddingsResponse embeddings(EmbeddingsRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<EmbeddingsResponse> embeddingsWithHttpInfo(@NotNull @NotNull EmbeddingsRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call embeddingsAsync(EmbeddingsRequest body, ApiCallback<EmbeddingsResponse> callback) throws ApiException
body - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call embeddingsMultimodalCall(EmbeddingsMultimodalRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic EmbeddingsMultimodalResponse embeddingsMultimodal(EmbeddingsMultimodalRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<EmbeddingsMultimodalResponse> embeddingsMultimodalWithHttpInfo(@NotNull @NotNull EmbeddingsMultimodalRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call embeddingsMultimodalAsync(EmbeddingsMultimodalRequest body, ApiCallback<EmbeddingsMultimodalResponse> callback) throws ApiException
body - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getApiKeyCall(GetApiKeyRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetApiKeyResponse getApiKey(GetApiKeyRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetApiKeyResponse> getApiKeyWithHttpInfo(@NotNull @NotNull GetApiKeyRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getApiKeyAsync(GetApiKeyRequest body, ApiCallback<GetApiKeyResponse> callback) throws ApiException
body - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getEndpointCall(GetEndpointRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetEndpointResponse getEndpoint(GetEndpointRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetEndpointResponse> getEndpointWithHttpInfo(@NotNull @NotNull GetEndpointRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getEndpointAsync(GetEndpointRequest body, ApiCallback<GetEndpointResponse> callback) throws ApiException
body - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getEndpointCertificateCall(GetEndpointCertificateRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetEndpointCertificateResponse getEndpointCertificate(GetEndpointCertificateRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetEndpointCertificateResponse> getEndpointCertificateWithHttpInfo(@NotNull @NotNull GetEndpointCertificateRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getEndpointCertificateAsync(GetEndpointCertificateRequest body, ApiCallback<GetEndpointCertificateResponse> callback) throws ApiException
body - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getModelCustomizationJobCall(GetModelCustomizationJobRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetModelCustomizationJobResponse getModelCustomizationJob(GetModelCustomizationJobRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetModelCustomizationJobResponse> getModelCustomizationJobWithHttpInfo(@NotNull @NotNull GetModelCustomizationJobRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getModelCustomizationJobAsync(GetModelCustomizationJobRequest body, ApiCallback<GetModelCustomizationJobResponse> callback) throws ApiException
body - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call listBatchInferenceJobsCall(ListBatchInferenceJobsRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ListBatchInferenceJobsResponse listBatchInferenceJobs(ListBatchInferenceJobsRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ListBatchInferenceJobsResponse> listBatchInferenceJobsWithHttpInfo(@NotNull @NotNull ListBatchInferenceJobsRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listBatchInferenceJobsAsync(ListBatchInferenceJobsRequest body, ApiCallback<ListBatchInferenceJobsResponse> callback) throws ApiException
body - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call listEndpointsCall(ListEndpointsRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ListEndpointsResponse listEndpoints(ListEndpointsRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ListEndpointsResponse> listEndpointsWithHttpInfo(@NotNull @NotNull ListEndpointsRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listEndpointsAsync(ListEndpointsRequest body, ApiCallback<ListEndpointsResponse> callback) throws ApiException
body - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call listModelCustomizationJobsCall(ListModelCustomizationJobsRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ListModelCustomizationJobsResponse listModelCustomizationJobs(ListModelCustomizationJobsRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ListModelCustomizationJobsResponse> listModelCustomizationJobsWithHttpInfo(@NotNull @NotNull ListModelCustomizationJobsRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listModelCustomizationJobsAsync(ListModelCustomizationJobsRequest body, ApiCallback<ListModelCustomizationJobsResponse> callback) throws ApiException
body - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call tokenizationCall(TokenizationRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic TokenizationResponse tokenization(TokenizationRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<TokenizationResponse> tokenizationWithHttpInfo(@NotNull @NotNull TokenizationRequest body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call tokenizationAsync(TokenizationRequest body, ApiCallback<TokenizationResponse> callback) throws ApiException
body - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2025. All rights reserved.