Class AiConfigsApi


  • public class AiConfigsApi
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ApiClient getApiClient()  
      java.lang.String getCustomBaseUrl()  
      int getHostIndex()  
      AgentOptimizationRuns listAgentOptimizationRuns​(java.lang.String projectKey, java.lang.String optimizationKey, java.lang.Integer limit, java.lang.Integer offset)
      List agent optimization runs Get one run summary per distinct run_id across all versions of an agent optimization config, ordered by created_at DESC.
      okhttp3.Call listAgentOptimizationRunsAsync​(java.lang.String projectKey, java.lang.String optimizationKey, java.lang.Integer limit, java.lang.Integer offset, ApiCallback<AgentOptimizationRuns> _callback)
      List agent optimization runs (asynchronously) Get one run summary per distinct run_id across all versions of an agent optimization config, ordered by created_at DESC.
      okhttp3.Call listAgentOptimizationRunsCall​(java.lang.String projectKey, java.lang.String optimizationKey, java.lang.Integer limit, java.lang.Integer offset, ApiCallback _callback)
      Build call for listAgentOptimizationRuns
      ApiResponse<AgentOptimizationRuns> listAgentOptimizationRunsWithHttpInfo​(java.lang.String projectKey, java.lang.String optimizationKey, java.lang.Integer limit, java.lang.Integer offset)
      List agent optimization runs Get one run summary per distinct run_id across all versions of an agent optimization config, ordered by created_at DESC.
      ToolReferences listAIToolReferences​(java.lang.String projectKey, java.lang.String toolKey, java.lang.Integer limit, java.lang.Integer offset)
      List AI tool references Get all AgentControl config variations that currently reference this tool.
      okhttp3.Call listAIToolReferencesAsync​(java.lang.String projectKey, java.lang.String toolKey, java.lang.Integer limit, java.lang.Integer offset, ApiCallback<ToolReferences> _callback)
      List AI tool references (asynchronously) Get all AgentControl config variations that currently reference this tool.
      okhttp3.Call listAIToolReferencesCall​(java.lang.String projectKey, java.lang.String toolKey, java.lang.Integer limit, java.lang.Integer offset, ApiCallback _callback)
      Build call for listAIToolReferences
      ApiResponse<ToolReferences> listAIToolReferencesWithHttpInfo​(java.lang.String projectKey, java.lang.String toolKey, java.lang.Integer limit, java.lang.Integer offset)
      List AI tool references Get all AgentControl config variations that currently reference this tool.
      void setApiClient​(ApiClient apiClient)  
      void setCustomBaseUrl​(java.lang.String customBaseUrl)  
      void setHostIndex​(int hostIndex)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AiConfigsApi

        public AiConfigsApi()
      • AiConfigsApi

        public AiConfigsApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getHostIndex

        public int getHostIndex()
      • setHostIndex

        public void setHostIndex​(int hostIndex)
      • getCustomBaseUrl

        public java.lang.String getCustomBaseUrl()
      • setCustomBaseUrl

        public void setCustomBaseUrl​(java.lang.String customBaseUrl)
      • listAIToolReferencesCall

        public okhttp3.Call listAIToolReferencesCall​(@Nonnull
                                                     java.lang.String projectKey,
                                                     @Nonnull
                                                     java.lang.String toolKey,
                                                     @Nullable
                                                     java.lang.Integer limit,
                                                     @Nullable
                                                     java.lang.Integer offset,
                                                     ApiCallback _callback)
                                              throws ApiException
        Build call for listAIToolReferences
        Parameters:
        projectKey - (required)
        toolKey - (required)
        limit - The number of resources to return. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • listAIToolReferences

        public ToolReferences listAIToolReferences​(@Nonnull
                                                   java.lang.String projectKey,
                                                   @Nonnull
                                                   java.lang.String toolKey,
                                                   @Nullable
                                                   java.lang.Integer limit,
                                                   @Nullable
                                                   java.lang.Integer offset)
                                            throws ApiException
        List AI tool references Get all AgentControl config variations that currently reference this tool.
        Parameters:
        projectKey - (required)
        toolKey - (required)
        limit - The number of resources to return. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        Returns:
        ToolReferences
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • listAIToolReferencesWithHttpInfo

        public ApiResponse<ToolReferences> listAIToolReferencesWithHttpInfo​(@Nonnull
                                                                            java.lang.String projectKey,
                                                                            @Nonnull
                                                                            java.lang.String toolKey,
                                                                            @Nullable
                                                                            java.lang.Integer limit,
                                                                            @Nullable
                                                                            java.lang.Integer offset)
                                                                     throws ApiException
        List AI tool references Get all AgentControl config variations that currently reference this tool.
        Parameters:
        projectKey - (required)
        toolKey - (required)
        limit - The number of resources to return. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        Returns:
        ApiResponse<ToolReferences>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • listAIToolReferencesAsync

        public okhttp3.Call listAIToolReferencesAsync​(@Nonnull
                                                      java.lang.String projectKey,
                                                      @Nonnull
                                                      java.lang.String toolKey,
                                                      @Nullable
                                                      java.lang.Integer limit,
                                                      @Nullable
                                                      java.lang.Integer offset,
                                                      ApiCallback<ToolReferences> _callback)
                                               throws ApiException
        List AI tool references (asynchronously) Get all AgentControl config variations that currently reference this tool.
        Parameters:
        projectKey - (required)
        toolKey - (required)
        limit - The number of resources to return. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • listAgentOptimizationRunsCall

        public okhttp3.Call listAgentOptimizationRunsCall​(@Nonnull
                                                          java.lang.String projectKey,
                                                          @Nonnull
                                                          java.lang.String optimizationKey,
                                                          @Nullable
                                                          java.lang.Integer limit,
                                                          @Nullable
                                                          java.lang.Integer offset,
                                                          ApiCallback _callback)
                                                   throws ApiException
        Build call for listAgentOptimizationRuns
        Parameters:
        projectKey - (required)
        optimizationKey - (required)
        limit - The number of resources to return. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • listAgentOptimizationRuns

        public AgentOptimizationRuns listAgentOptimizationRuns​(@Nonnull
                                                               java.lang.String projectKey,
                                                               @Nonnull
                                                               java.lang.String optimizationKey,
                                                               @Nullable
                                                               java.lang.Integer limit,
                                                               @Nullable
                                                               java.lang.Integer offset)
                                                        throws ApiException
        List agent optimization runs Get one run summary per distinct run_id across all versions of an agent optimization config, ordered by created_at DESC.
        Parameters:
        projectKey - (required)
        optimizationKey - (required)
        limit - The number of resources to return. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        Returns:
        AgentOptimizationRuns
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • listAgentOptimizationRunsWithHttpInfo

        public ApiResponse<AgentOptimizationRuns> listAgentOptimizationRunsWithHttpInfo​(@Nonnull
                                                                                        java.lang.String projectKey,
                                                                                        @Nonnull
                                                                                        java.lang.String optimizationKey,
                                                                                        @Nullable
                                                                                        java.lang.Integer limit,
                                                                                        @Nullable
                                                                                        java.lang.Integer offset)
                                                                                 throws ApiException
        List agent optimization runs Get one run summary per distinct run_id across all versions of an agent optimization config, ordered by created_at DESC.
        Parameters:
        projectKey - (required)
        optimizationKey - (required)
        limit - The number of resources to return. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        Returns:
        ApiResponse<AgentOptimizationRuns>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • listAgentOptimizationRunsAsync

        public okhttp3.Call listAgentOptimizationRunsAsync​(@Nonnull
                                                           java.lang.String projectKey,
                                                           @Nonnull
                                                           java.lang.String optimizationKey,
                                                           @Nullable
                                                           java.lang.Integer limit,
                                                           @Nullable
                                                           java.lang.Integer offset,
                                                           ApiCallback<AgentOptimizationRuns> _callback)
                                                    throws ApiException
        List agent optimization runs (asynchronously) Get one run summary per distinct run_id across all versions of an agent optimization config, ordered by created_at DESC.
        Parameters:
        projectKey - (required)
        optimizationKey - (required)
        limit - The number of resources to return. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object