v2

latestOpenAPI 3.1.0raw.githubusercontent.com2024-09-26192307950.1 KB
workspaces

Create Model Version Pipeline Run Link

Create a new model version to pipeline run link.

Args: workspace_name_or_id: Name or ID of the workspace. model_version_id: ID of the model version. model_version_pipeline_run_link: The model version to pipeline run link to create. auth_context: Authentication context.

Returns: - If Model Version to Pipeline Run Link already exists - returns the existing link. - Otherwise, returns the newly created model version to pipeline run link.

Raises: IllegalOperationError: If the workspace or user specified in the model version does not match the current workspace or authenticated user.

post/api/v1/workspaces/{workspace_name_or_id}/model_versions/{model_version_id}/runs

Path parameters

string required
OR
string uuid required
model_version_idstring uuid required

Request body

userstring uuid required
workspacestring uuid required
modelstring uuid required
model_versionstring uuid required
pipeline_runstring uuid required

Response

Successful Response

metadataBaseResponseMetadata

Base metadata model.

Used as a base class for all metadata models associated with responses.

resourcesModelVersionPipelineRunResponseResources

Class for all resource models associated with the model version pipeline run entity.

idstring uuid required
permission_deniedboolean