v1

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

Create Stack Component

Creates a stack component.

Args: workspace_name_or_id: Name or ID of the workspace. component: Stack component to register.

Returns: The created stack component.

Raises: IllegalOperationError: If the workspace specified in the stack component does not match the current workspace.

post/api/v1/workspaces/{workspace_name_or_id}/components

Path parameters

string required
OR
string uuid required

Request body

userstring uuid required
workspacestring uuid required
namestring required
type'alerter' | 'annotator' | 'artifact_store' | 'container_registry' | 'data_validator' | 'experiment_tracker' | 'feature_store' | 'image_builder' | 'model_deployer' | 'orchestrator' | 'step_operator' | 'model_registry' required

All possible types a StackComponent can have.

flavorstring required
configurationobject required
connector_resource_idstring nullable

The ID of a specific resource instance to gain access to through the connector

labelsobject nullable
component_spec_pathstring nullable
connectorstring uuid nullable

Response

Successful Response

resourcesComponentResponseResources

Class for all resource models associated with the component entity.

idstring uuid required
permission_deniedboolean
namestring required