v1

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

Create Model Version Artifact Link

Create a new model version to artifact link.

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

Returns: The created model version to artifact 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}/artifacts

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
artifact_versionstring uuid required
is_model_artifactboolean
is_deployment_artifactboolean

Response

Successful Response

metadataBaseResponseMetadata

Base metadata model.

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

resourcesModelVersionArtifactResponseResources

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

idstring uuid required
permission_deniedboolean