v2

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

Create Run Metadata

Creates run metadata.

Args: workspace_name_or_id: Name or ID of the workspace. run_metadata: The run metadata to create. auth_context: Authentication context.

Returns: The created run metadata.

Raises: IllegalOperationError: If the workspace or user specified in the run metadata does not match the current workspace or authenticated user. RuntimeError: If the resource type is not supported.

post/api/v1/workspaces/{workspace_name_or_id}/run-metadata

Path parameters

string required
OR
string uuid required

Request body

userstring uuid required
workspacestring uuid required
resource_idstring uuid required
resource_type'pipeline_run' | 'step_run' | 'artifact_version' | 'model_version' required

All possible resource types for adding metadata.

stack_component_idstring uuid nullable required
valuesobject required
typesobject required

Response

Successful Response

resourcesRunMetadataResponseResources

Class for all resource models associated with the run metadata entity.

idstring uuid required
permission_deniedboolean