Package com.launchdarkly.api.api
Class AiConfigsApi
- java.lang.Object
-
- com.launchdarkly.api.api.AiConfigsApi
-
public class AiConfigsApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AiConfigsApi()AiConfigsApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()java.lang.StringgetCustomBaseUrl()intgetHostIndex()AgentOptimizationRunslistAgentOptimizationRuns(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.CalllistAgentOptimizationRunsAsync(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.CalllistAgentOptimizationRunsCall(java.lang.String projectKey, java.lang.String optimizationKey, java.lang.Integer limit, java.lang.Integer offset, ApiCallback _callback)Build call for listAgentOptimizationRunsApiResponse<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.ToolReferenceslistAIToolReferences(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.CalllistAIToolReferencesAsync(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.CalllistAIToolReferencesCall(java.lang.String projectKey, java.lang.String toolKey, java.lang.Integer limit, java.lang.Integer offset, ApiCallback _callback)Build call for listAIToolReferencesApiResponse<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.voidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(java.lang.String customBaseUrl)voidsetHostIndex(int hostIndex)
-
-
-
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 ApiExceptionBuild 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 ApiExceptionList 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 ApiExceptionBuild 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 ApiExceptionList 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
-
-