Package com.datadog.api.client.v2.api
Class ModelLabApiApi
java.lang.Object
com.datadog.api.client.v2.api.ModelLabApiApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ModelLabApiApi
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classManage optional parameters to listModelLabProjects.static classManage optional parameters to listModelLabRunArtifacts.static classManage optional parameters to listModelLabRuns. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteModelLabRun(Long runId) Delete a Model Lab run.deleteModelLabRunAsync(Long runId) Delete a Model Lab run.Delete a Model Lab run by its ID.Delete a Model Lab run.Get the API client.getModelLabArtifactContent(String projectId, String artifactPath) Get Model Lab artifact content.getModelLabArtifactContentAsync(String projectId, String artifactPath) Get Model Lab artifact content.getModelLabArtifactContentWithHttpInfo(String projectId, String artifactPath) Download the raw content of a Model Lab artifact file.getModelLabArtifactContentWithHttpInfoAsync(String projectId, String artifactPath) Get Model Lab artifact content.getModelLabProject(Long projectId) Get a Model Lab project.getModelLabProjectAsync(Long projectId) Get a Model Lab project.getModelLabProjectWithHttpInfo(Long projectId) Get a single Model Lab project by its ID.getModelLabProjectWithHttpInfoAsync(Long projectId) Get a Model Lab project.getModelLabRun(Long runId) Get a Model Lab run.getModelLabRunAsync(Long runId) Get a Model Lab run.getModelLabRunWithHttpInfo(Long runId) Get a single Model Lab run by its ID.Get a Model Lab run.listModelLabProjectArtifacts(Long projectId) List Model Lab project artifacts.listModelLabProjectArtifactsAsync(Long projectId) List Model Lab project artifacts.listModelLabProjectArtifactsWithHttpInfo(Long projectId) List all artifact files for a specific Model Lab project.List Model Lab project artifacts.List Model Lab project facet keys.List Model Lab project facet keys.List all available facet keys for filtering Model Lab projects.List Model Lab project facet keys.listModelLabProjectFacetValues(ModelLabProjectFacetType facetType, String facetName) List Model Lab project facet values.listModelLabProjectFacetValuesAsync(ModelLabProjectFacetType facetType, String facetName) List Model Lab project facet values.listModelLabProjectFacetValuesWithHttpInfo(ModelLabProjectFacetType facetType, String facetName) List available facet values for a specific project facet key.listModelLabProjectFacetValuesWithHttpInfoAsync(ModelLabProjectFacetType facetType, String facetName) List Model Lab project facet values.List Model Lab projects.List Model Lab projects.List Model Lab projects.List Model Lab projects.List all Model Lab projects for the current organization.listModelLabProjectsWithHttpInfoAsync(ModelLabApiApi.ListModelLabProjectsOptionalParameters parameters) List Model Lab projects.listModelLabRunArtifacts(Long runId) List Model Lab run artifacts.listModelLabRunArtifacts(Long runId, ModelLabApiApi.ListModelLabRunArtifactsOptionalParameters parameters) List Model Lab run artifacts.List Model Lab run artifacts.listModelLabRunArtifactsAsync(Long runId, ModelLabApiApi.ListModelLabRunArtifactsOptionalParameters parameters) List Model Lab run artifacts.listModelLabRunArtifactsWithHttpInfo(Long runId, ModelLabApiApi.ListModelLabRunArtifactsOptionalParameters parameters) List artifact files for a specific Model Lab run.listModelLabRunArtifactsWithHttpInfoAsync(Long runId, ModelLabApiApi.ListModelLabRunArtifactsOptionalParameters parameters) List Model Lab run artifacts.listModelLabRunFacetKeys(Long filterProjectId) List Model Lab run facet keys.listModelLabRunFacetKeysAsync(Long filterProjectId) List Model Lab run facet keys.listModelLabRunFacetKeysWithHttpInfo(Long filterProjectId) List all available facet keys for filtering Model Lab runs.listModelLabRunFacetKeysWithHttpInfoAsync(Long filterProjectId) List Model Lab run facet keys.listModelLabRunFacetValues(Long filterProjectId, ModelLabFacetType facetType, String facetName) List Model Lab run facet values.listModelLabRunFacetValuesAsync(Long filterProjectId, ModelLabFacetType facetType, String facetName) List Model Lab run facet values.listModelLabRunFacetValuesWithHttpInfo(Long filterProjectId, ModelLabFacetType facetType, String facetName) List available facet values for a specific run facet key.listModelLabRunFacetValuesWithHttpInfoAsync(Long filterProjectId, ModelLabFacetType facetType, String facetName) List Model Lab run facet values.List Model Lab runs.List Model Lab runs.List Model Lab runs.List Model Lab runs.List all Model Lab runs for the current organization.List Model Lab runs.voidpinModelLabRun(Long runId) Pin a Model Lab run.pinModelLabRunAsync(Long runId) Pin a Model Lab run.pinModelLabRunWithHttpInfo(Long runId) Pin a Model Lab run for the current user.Pin a Model Lab run.voidsetApiClient(ApiClient apiClient) Set the API client.voidstarModelLabProject(Long projectId) Star a Model Lab project.starModelLabProjectAsync(Long projectId) Star a Model Lab project.starModelLabProjectWithHttpInfo(Long projectId) Star a Model Lab project for the current user.starModelLabProjectWithHttpInfoAsync(Long projectId) Star a Model Lab project.voidunpinModelLabRun(Long runId) Unpin a Model Lab run.unpinModelLabRunAsync(Long runId) Unpin a Model Lab run.unpinModelLabRunWithHttpInfo(Long runId) Remove the pin from a Model Lab run for the current user.Unpin a Model Lab run.voidunstarModelLabProject(Long projectId) Remove star from a Model Lab project.unstarModelLabProjectAsync(Long projectId) Remove star from a Model Lab project.unstarModelLabProjectWithHttpInfo(Long projectId) Remove the star from a Model Lab project for the current user.unstarModelLabProjectWithHttpInfoAsync(Long projectId) Remove star from a Model Lab project.
-
Constructor Details
-
ModelLabApiApi
public ModelLabApiApi() -
ModelLabApiApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
deleteModelLabRun
Delete a Model Lab run.- Parameters:
runId- The ID of the Model Lab run. (required)- Throws:
ApiException- if fails to make API call
-
deleteModelLabRunAsync
Delete a Model Lab run.- Parameters:
runId- The ID of the Model Lab run. (required)- Returns:
- CompletableFuture
-
deleteModelLabRunWithHttpInfo
Delete a Model Lab run by its ID.- Parameters:
runId- The ID of the Model Lab run. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 400 Bad Request - 404 Not Found - 429 Too many requests - 500 Internal Server Error -
-
deleteModelLabRunWithHttpInfoAsync
Delete a Model Lab run.- Parameters:
runId- The ID of the Model Lab run. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
getModelLabArtifactContent
Get Model Lab artifact content.See
getModelLabArtifactContentWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
projectId- ID of the project. (required)artifactPath- Path to the artifact relative to the project directory. (required)- Returns:
- File
- Throws:
ApiException- if fails to make API call
-
getModelLabArtifactContentAsync
public CompletableFuture<File> getModelLabArtifactContentAsync(String projectId, String artifactPath) Get Model Lab artifact content.See
getModelLabArtifactContentWithHttpInfoAsync(java.lang.String, java.lang.String).- Parameters:
projectId- ID of the project. (required)artifactPath- Path to the artifact relative to the project directory. (required)- Returns:
- CompletableFuture<File>
-
getModelLabArtifactContentWithHttpInfo
public ApiResponse<File> getModelLabArtifactContentWithHttpInfo(String projectId, String artifactPath) throws ApiException Download the raw content of a Model Lab artifact file.- Parameters:
projectId- ID of the project. (required)artifactPath- Path to the artifact relative to the project directory. (required)- Returns:
- ApiResponse<File>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 429 Too many requests - 500 Internal Server Error -
-
getModelLabArtifactContentWithHttpInfoAsync
public CompletableFuture<ApiResponse<File>> getModelLabArtifactContentWithHttpInfoAsync(String projectId, String artifactPath) Get Model Lab artifact content.See
getModelLabArtifactContentWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
projectId- ID of the project. (required)artifactPath- Path to the artifact relative to the project directory. (required)- Returns:
- CompletableFuture<ApiResponse<File>>
-
getModelLabProject
Get a Model Lab project.- Parameters:
projectId- The ID of the Model Lab project. (required)- Returns:
- ModelLabProjectResponse
- Throws:
ApiException- if fails to make API call
-
getModelLabProjectAsync
Get a Model Lab project.- Parameters:
projectId- The ID of the Model Lab project. (required)- Returns:
- CompletableFuture<ModelLabProjectResponse>
-
getModelLabProjectWithHttpInfo
public ApiResponse<ModelLabProjectResponse> getModelLabProjectWithHttpInfo(Long projectId) throws ApiException Get a single Model Lab project by its ID.- Parameters:
projectId- The ID of the Model Lab project. (required)- Returns:
- ApiResponse<ModelLabProjectResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 404 Not Found - 429 Too many requests - 500 Internal Server Error -
-
getModelLabProjectWithHttpInfoAsync
public CompletableFuture<ApiResponse<ModelLabProjectResponse>> getModelLabProjectWithHttpInfoAsync(Long projectId) Get a Model Lab project.- Parameters:
projectId- The ID of the Model Lab project. (required)- Returns:
- CompletableFuture<ApiResponse<ModelLabProjectResponse>>
-
getModelLabRun
Get a Model Lab run.- Parameters:
runId- The ID of the Model Lab run. (required)- Returns:
- ModelLabRunResponse
- Throws:
ApiException- if fails to make API call
-
getModelLabRunAsync
Get a Model Lab run.- Parameters:
runId- The ID of the Model Lab run. (required)- Returns:
- CompletableFuture<ModelLabRunResponse>
-
getModelLabRunWithHttpInfo
Get a single Model Lab run by its ID.- Parameters:
runId- The ID of the Model Lab run. (required)- Returns:
- ApiResponse<ModelLabRunResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 404 Not Found - 429 Too many requests - 500 Internal Server Error -
-
getModelLabRunWithHttpInfoAsync
public CompletableFuture<ApiResponse<ModelLabRunResponse>> getModelLabRunWithHttpInfoAsync(Long runId) Get a Model Lab run.- Parameters:
runId- The ID of the Model Lab run. (required)- Returns:
- CompletableFuture<ApiResponse<ModelLabRunResponse>>
-
listModelLabProjectArtifacts
public ModelLabProjectArtifactsResponse listModelLabProjectArtifacts(Long projectId) throws ApiException List Model Lab project artifacts.See
listModelLabProjectArtifactsWithHttpInfo(java.lang.Long).- Parameters:
projectId- The ID of the Model Lab project. (required)- Returns:
- ModelLabProjectArtifactsResponse
- Throws:
ApiException- if fails to make API call
-
listModelLabProjectArtifactsAsync
public CompletableFuture<ModelLabProjectArtifactsResponse> listModelLabProjectArtifactsAsync(Long projectId) List Model Lab project artifacts.See
listModelLabProjectArtifactsWithHttpInfoAsync(java.lang.Long).- Parameters:
projectId- The ID of the Model Lab project. (required)- Returns:
- CompletableFuture<ModelLabProjectArtifactsResponse>
-
listModelLabProjectArtifactsWithHttpInfo
public ApiResponse<ModelLabProjectArtifactsResponse> listModelLabProjectArtifactsWithHttpInfo(Long projectId) throws ApiException List all artifact files for a specific Model Lab project.- Parameters:
projectId- The ID of the Model Lab project. (required)- Returns:
- ApiResponse<ModelLabProjectArtifactsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 429 Too many requests - 500 Internal Server Error -
-
listModelLabProjectArtifactsWithHttpInfoAsync
public CompletableFuture<ApiResponse<ModelLabProjectArtifactsResponse>> listModelLabProjectArtifactsWithHttpInfoAsync(Long projectId) List Model Lab project artifacts.See
listModelLabProjectArtifactsWithHttpInfo(java.lang.Long).- Parameters:
projectId- The ID of the Model Lab project. (required)- Returns:
- CompletableFuture<ApiResponse<ModelLabProjectArtifactsResponse>>
-
listModelLabProjectFacetKeys
List Model Lab project facet keys.- Returns:
- ModelLabFacetKeysResponse
- Throws:
ApiException- if fails to make API call
-
listModelLabProjectFacetKeysAsync
List Model Lab project facet keys.- Returns:
- CompletableFuture<ModelLabFacetKeysResponse>
-
listModelLabProjectFacetKeysWithHttpInfo
public ApiResponse<ModelLabFacetKeysResponse> listModelLabProjectFacetKeysWithHttpInfo() throws ApiExceptionList all available facet keys for filtering Model Lab projects.- Returns:
- ApiResponse<ModelLabFacetKeysResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 429 Too many requests - 500 Internal Server Error -
-
listModelLabProjectFacetKeysWithHttpInfoAsync
public CompletableFuture<ApiResponse<ModelLabFacetKeysResponse>> listModelLabProjectFacetKeysWithHttpInfoAsync()List Model Lab project facet keys.- Returns:
- CompletableFuture<ApiResponse<ModelLabFacetKeysResponse>>
-
listModelLabProjectFacetValues
public ModelLabFacetValuesResponse listModelLabProjectFacetValues(ModelLabProjectFacetType facetType, String facetName) throws ApiException List Model Lab project facet values.- Parameters:
facetType- Facet type. Valid values: tag. (required)facetName- Facet name. (required)- Returns:
- ModelLabFacetValuesResponse
- Throws:
ApiException- if fails to make API call
-
listModelLabProjectFacetValuesAsync
public CompletableFuture<ModelLabFacetValuesResponse> listModelLabProjectFacetValuesAsync(ModelLabProjectFacetType facetType, String facetName) List Model Lab project facet values.- Parameters:
facetType- Facet type. Valid values: tag. (required)facetName- Facet name. (required)- Returns:
- CompletableFuture<ModelLabFacetValuesResponse>
-
listModelLabProjectFacetValuesWithHttpInfo
public ApiResponse<ModelLabFacetValuesResponse> listModelLabProjectFacetValuesWithHttpInfo(ModelLabProjectFacetType facetType, String facetName) throws ApiException List available facet values for a specific project facet key.- Parameters:
facetType- Facet type. Valid values: tag. (required)facetName- Facet name. (required)- Returns:
- ApiResponse<ModelLabFacetValuesResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 429 Too many requests - 500 Internal Server Error -
-
listModelLabProjectFacetValuesWithHttpInfoAsync
public CompletableFuture<ApiResponse<ModelLabFacetValuesResponse>> listModelLabProjectFacetValuesWithHttpInfoAsync(ModelLabProjectFacetType facetType, String facetName) List Model Lab project facet values.- Parameters:
facetType- Facet type. Valid values: tag. (required)facetName- Facet name. (required)- Returns:
- CompletableFuture<ApiResponse<ModelLabFacetValuesResponse>>
-
listModelLabProjects
List Model Lab projects.- Returns:
- ModelLabProjectsResponse
- Throws:
ApiException- if fails to make API call
-
listModelLabProjectsAsync
List Model Lab projects.- Returns:
- CompletableFuture<ModelLabProjectsResponse>
-
listModelLabProjects
public ModelLabProjectsResponse listModelLabProjects(ModelLabApiApi.ListModelLabProjectsOptionalParameters parameters) throws ApiException List Model Lab projects.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ModelLabProjectsResponse
- Throws:
ApiException- if fails to make API call
-
listModelLabProjectsAsync
public CompletableFuture<ModelLabProjectsResponse> listModelLabProjectsAsync(ModelLabApiApi.ListModelLabProjectsOptionalParameters parameters) List Model Lab projects.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ModelLabProjectsResponse>
-
listModelLabProjectsWithHttpInfo
public ApiResponse<ModelLabProjectsResponse> listModelLabProjectsWithHttpInfo(ModelLabApiApi.ListModelLabProjectsOptionalParameters parameters) throws ApiException List all Model Lab projects for the current organization.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<ModelLabProjectsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 429 Too many requests - 500 Internal Server Error -
-
listModelLabProjectsWithHttpInfoAsync
public CompletableFuture<ApiResponse<ModelLabProjectsResponse>> listModelLabProjectsWithHttpInfoAsync(ModelLabApiApi.ListModelLabProjectsOptionalParameters parameters) List Model Lab projects.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<ModelLabProjectsResponse>>
-
listModelLabRunArtifacts
List Model Lab run artifacts.- Parameters:
runId- The ID of the Model Lab run. (required)- Returns:
- ModelLabRunArtifactsResponse
- Throws:
ApiException- if fails to make API call
-
listModelLabRunArtifactsAsync
List Model Lab run artifacts.- Parameters:
runId- The ID of the Model Lab run. (required)- Returns:
- CompletableFuture<ModelLabRunArtifactsResponse>
-
listModelLabRunArtifacts
public ModelLabRunArtifactsResponse listModelLabRunArtifacts(Long runId, ModelLabApiApi.ListModelLabRunArtifactsOptionalParameters parameters) throws ApiException List Model Lab run artifacts.- Parameters:
runId- The ID of the Model Lab run. (required)parameters- Optional parameters for the request.- Returns:
- ModelLabRunArtifactsResponse
- Throws:
ApiException- if fails to make API call
-
listModelLabRunArtifactsAsync
public CompletableFuture<ModelLabRunArtifactsResponse> listModelLabRunArtifactsAsync(Long runId, ModelLabApiApi.ListModelLabRunArtifactsOptionalParameters parameters) List Model Lab run artifacts.- Parameters:
runId- The ID of the Model Lab run. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ModelLabRunArtifactsResponse>
-
listModelLabRunArtifactsWithHttpInfo
public ApiResponse<ModelLabRunArtifactsResponse> listModelLabRunArtifactsWithHttpInfo(Long runId, ModelLabApiApi.ListModelLabRunArtifactsOptionalParameters parameters) throws ApiException List artifact files for a specific Model Lab run.- Parameters:
runId- The ID of the Model Lab run. (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<ModelLabRunArtifactsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 404 Not Found - 429 Too many requests - 500 Internal Server Error -
-
listModelLabRunArtifactsWithHttpInfoAsync
public CompletableFuture<ApiResponse<ModelLabRunArtifactsResponse>> listModelLabRunArtifactsWithHttpInfoAsync(Long runId, ModelLabApiApi.ListModelLabRunArtifactsOptionalParameters parameters) List Model Lab run artifacts.- Parameters:
runId- The ID of the Model Lab run. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<ModelLabRunArtifactsResponse>>
-
listModelLabRunFacetKeys
List Model Lab run facet keys.- Parameters:
filterProjectId- Filter by project ID. (required)- Returns:
- ModelLabFacetKeysResponse
- Throws:
ApiException- if fails to make API call
-
listModelLabRunFacetKeysAsync
public CompletableFuture<ModelLabFacetKeysResponse> listModelLabRunFacetKeysAsync(Long filterProjectId) List Model Lab run facet keys.See
listModelLabRunFacetKeysWithHttpInfoAsync(java.lang.Long).- Parameters:
filterProjectId- Filter by project ID. (required)- Returns:
- CompletableFuture<ModelLabFacetKeysResponse>
-
listModelLabRunFacetKeysWithHttpInfo
public ApiResponse<ModelLabFacetKeysResponse> listModelLabRunFacetKeysWithHttpInfo(Long filterProjectId) throws ApiException List all available facet keys for filtering Model Lab runs.- Parameters:
filterProjectId- Filter by project ID. (required)- Returns:
- ApiResponse<ModelLabFacetKeysResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 404 Not Found - 429 Too many requests - 500 Internal Server Error -
-
listModelLabRunFacetKeysWithHttpInfoAsync
public CompletableFuture<ApiResponse<ModelLabFacetKeysResponse>> listModelLabRunFacetKeysWithHttpInfoAsync(Long filterProjectId) List Model Lab run facet keys.- Parameters:
filterProjectId- Filter by project ID. (required)- Returns:
- CompletableFuture<ApiResponse<ModelLabFacetKeysResponse>>
-
listModelLabRunFacetValues
public ModelLabFacetValuesResponse listModelLabRunFacetValues(Long filterProjectId, ModelLabFacetType facetType, String facetName) throws ApiException List Model Lab run facet values.- Parameters:
filterProjectId- Filter by project ID. (required)facetType- Facet type. Valid values: parameter, attribute, tag, metric. (required)facetName- Facet name. (required)- Returns:
- ModelLabFacetValuesResponse
- Throws:
ApiException- if fails to make API call
-
listModelLabRunFacetValuesAsync
public CompletableFuture<ModelLabFacetValuesResponse> listModelLabRunFacetValuesAsync(Long filterProjectId, ModelLabFacetType facetType, String facetName) List Model Lab run facet values.- Parameters:
filterProjectId- Filter by project ID. (required)facetType- Facet type. Valid values: parameter, attribute, tag, metric. (required)facetName- Facet name. (required)- Returns:
- CompletableFuture<ModelLabFacetValuesResponse>
-
listModelLabRunFacetValuesWithHttpInfo
public ApiResponse<ModelLabFacetValuesResponse> listModelLabRunFacetValuesWithHttpInfo(Long filterProjectId, ModelLabFacetType facetType, String facetName) throws ApiException List available facet values for a specific run facet key.- Parameters:
filterProjectId- Filter by project ID. (required)facetType- Facet type. Valid values: parameter, attribute, tag, metric. (required)facetName- Facet name. (required)- Returns:
- ApiResponse<ModelLabFacetValuesResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 404 Not Found - 429 Too many requests - 500 Internal Server Error -
-
listModelLabRunFacetValuesWithHttpInfoAsync
public CompletableFuture<ApiResponse<ModelLabFacetValuesResponse>> listModelLabRunFacetValuesWithHttpInfoAsync(Long filterProjectId, ModelLabFacetType facetType, String facetName) List Model Lab run facet values.- Parameters:
filterProjectId- Filter by project ID. (required)facetType- Facet type. Valid values: parameter, attribute, tag, metric. (required)facetName- Facet name. (required)- Returns:
- CompletableFuture<ApiResponse<ModelLabFacetValuesResponse>>
-
listModelLabRuns
List Model Lab runs.- Returns:
- ModelLabRunsResponse
- Throws:
ApiException- if fails to make API call
-
listModelLabRunsAsync
List Model Lab runs.- Returns:
- CompletableFuture<ModelLabRunsResponse>
-
listModelLabRuns
public ModelLabRunsResponse listModelLabRuns(ModelLabApiApi.ListModelLabRunsOptionalParameters parameters) throws ApiException List Model Lab runs.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ModelLabRunsResponse
- Throws:
ApiException- if fails to make API call
-
listModelLabRunsAsync
public CompletableFuture<ModelLabRunsResponse> listModelLabRunsAsync(ModelLabApiApi.ListModelLabRunsOptionalParameters parameters) List Model Lab runs.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ModelLabRunsResponse>
-
listModelLabRunsWithHttpInfo
public ApiResponse<ModelLabRunsResponse> listModelLabRunsWithHttpInfo(ModelLabApiApi.ListModelLabRunsOptionalParameters parameters) throws ApiException List all Model Lab runs for the current organization.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<ModelLabRunsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 429 Too many requests - 500 Internal Server Error -
-
listModelLabRunsWithHttpInfoAsync
public CompletableFuture<ApiResponse<ModelLabRunsResponse>> listModelLabRunsWithHttpInfoAsync(ModelLabApiApi.ListModelLabRunsOptionalParameters parameters) List Model Lab runs.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<ModelLabRunsResponse>>
-
pinModelLabRun
Pin a Model Lab run.- Parameters:
runId- The ID of the Model Lab run. (required)- Throws:
ApiException- if fails to make API call
-
pinModelLabRunAsync
Pin a Model Lab run.- Parameters:
runId- The ID of the Model Lab run. (required)- Returns:
- CompletableFuture
-
pinModelLabRunWithHttpInfo
Pin a Model Lab run for the current user.- Parameters:
runId- The ID of the Model Lab run. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests - 500 Internal Server Error -
-
pinModelLabRunWithHttpInfoAsync
Pin a Model Lab run.- Parameters:
runId- The ID of the Model Lab run. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
starModelLabProject
Star a Model Lab project.- Parameters:
projectId- The ID of the Model Lab project. (required)- Throws:
ApiException- if fails to make API call
-
starModelLabProjectAsync
Star a Model Lab project.- Parameters:
projectId- The ID of the Model Lab project. (required)- Returns:
- CompletableFuture
-
starModelLabProjectWithHttpInfo
Star a Model Lab project for the current user.- Parameters:
projectId- The ID of the Model Lab project. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests - 500 Internal Server Error -
-
starModelLabProjectWithHttpInfoAsync
Star a Model Lab project.- Parameters:
projectId- The ID of the Model Lab project. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
unpinModelLabRun
Unpin a Model Lab run.- Parameters:
runId- The ID of the Model Lab run. (required)- Throws:
ApiException- if fails to make API call
-
unpinModelLabRunAsync
Unpin a Model Lab run.- Parameters:
runId- The ID of the Model Lab run. (required)- Returns:
- CompletableFuture
-
unpinModelLabRunWithHttpInfo
Remove the pin from a Model Lab run for the current user.- Parameters:
runId- The ID of the Model Lab run. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests - 500 Internal Server Error -
-
unpinModelLabRunWithHttpInfoAsync
Unpin a Model Lab run.- Parameters:
runId- The ID of the Model Lab run. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
unstarModelLabProject
Remove star from a Model Lab project.- Parameters:
projectId- The ID of the Model Lab project. (required)- Throws:
ApiException- if fails to make API call
-
unstarModelLabProjectAsync
Remove star from a Model Lab project.- Parameters:
projectId- The ID of the Model Lab project. (required)- Returns:
- CompletableFuture
-
unstarModelLabProjectWithHttpInfo
Remove the star from a Model Lab project for the current user.- Parameters:
projectId- The ID of the Model Lab project. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests - 500 Internal Server Error -
-
unstarModelLabProjectWithHttpInfoAsync
Remove star from a Model Lab project.- Parameters:
projectId- The ID of the Model Lab project. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-