Class ZCL_IBMX_WML_V4

public inheriting from ZCL_IBMX_SERVICE_EXT create public

Documentation

watsonx.ai Runtime

No documentation available.

Types

Visibility and LevelNameDocumentation
publictt_json_patch_operation TYPE STANDARD TABLE OF T_JSON_PATCH_OPERATION WITH NON-UNIQUE DEFAULT KEY

Array parameter type for method DEPLOYMENT_JOB_DEF_UPDATE

publict_allowed_identities TYPE STANDARD TABLE OF T_ALLOWED_IDENTITY WITH NON-UNIQUE DEFAULT KEY

The list of allowed identities that are allowed to access

the remote system.
publict_allowed_identity (structured type)

The allowed identity.

publict_all_content_metadata (structured type)

The metadata related to the attachments.

publict_api_error (structured type)

An error message.

publict_api_error_response (structured type)

The data returned when an error is encountered.

publict_api_error_target (structured type)

The target of the error.

publict_base_model (structured type)

The model id of the base model for this job.

publict_batch_request (structured type)

Indicates that this is a batch deployment. An empty object

has to be specified.
publict_binary_classification (structured type) No documentation available.
publict_bluemix_account (structured type) No documentation available.
publict_cnsmptn_capacity_unit_hours (structured type) No documentation available.
publict_cnsmptn_deployment_job_count (structured type)

Limit for deployment jobs.

publict_common_patch_request_helper (structured type)

The common fields that can be patched. This is a helper for

`cpdctl`.
publict_compute_usage_metrics (structured type)

Compute usage metrics.

publict_confusion_matrix (structured type)

The confusion matrix for the selected class.

publict_consumption (structured type)

The consumption part is available only when `plan.version`

is `2`. All the values are calculated at the account level the instance belongs to, not the instance itself.
publict_consumption_details (structured type)

Compute usage details in a given context and framework.

publict_consumption_do_job_count (structured type) No documentation available.
publict_consumption_gpu_count (structured type) No documentation available.
publict_content_gzip type FILE

Arbitrary `gzip` file.

publict_content_info (structured type)

The content information to be uploaded.

publict_content_json type JSONOBJECT

Arbitrary `JSON` file.

publict_content_location (structured type)

Details about the attachments that should be uploaded with

this model.
publict_content_location_field (structured type) No documentation available.
publict_content_metadata (structured type)

The metadata related to the attachment.

publict_content_text type STRING

Arbitrary `text` file.

publict_content_xml type JSONOBJECT

Arbitrary `XML` file.

publict_content_zip type FILE

Arbitrary `zip` file.

publict_custom type JSONOBJECT

User defined properties specified as key-value pairs.

publict_data_connection type JSONOBJECT

Contains a set of fields specific to each connection. See

here for [details about specifying connections](#datareferences).
publict_data_connection_reference (structured type)

A reference to data with an optional data schema. If

necessary, it is possible to provide a data connection that contains just the data schema.
publict_data_input (structured type)

Data shape (rows, columns) passed as input to the

transformer/transformation.
publict_data_location type MAP

Contains a set of fields that describe the location of the

data with respect to the `connection`.
publict_data_output (structured type)

Data shape after the transformation.

publict_data_preprocessing_trans (structured type)

Informational information about the preprocessing

transformation that was executed during the training run.
publict_data_schema (structured type)

The schema of the expected data, see


[datarecord-metadata-v2-schema](https://raw.githubusercontent.com/elyra-ai/pipel ine-schemas/master/common-pipeline/datarecord-metadata/datarecord-metadata-v2-sc hema.json) for the schema definition.
publict_deployment_entity (structured type)

The definition of the deployment.

publict_deployment_entity_common (structured type)

See the description in `POST /ml/v4/deployments`.

publict_deployment_entity_request (structured type)

See the description in `POST /ml/v4/deployments`.

publict_deployment_patch_req_helper (structured type)

The common fields that can be patched. This is a helper for

`cpdctl`.
publict_deployment_resource (structured type)

A deployment resource.

publict_deployment_resources (structured type)

The deployment resources.

publict_deployment_resources_system (structured type)

System details including warnings and stats. This will get

populated only if 'stats' query parameter is passed with 'true'.
publict_deployment_scaling (structured type)

Status information related to the state of the scaling, if

scaling is in progress or has completed.
publict_deployment_status (structured type)

Specifies the current status, additional information about

the deployment and any failure messages in case of deployment failures.
publict_deployment_system_details (structured type)

Optional details provided by the service about statistics of

the number of deployments created. The deployments that are counted will depend on the request parameters.
publict_dplymnt_job_def_patch_helper (structured type)

Can patch the deployment id.

publict_entity_request_space_body (structured type)

The properties that are part of a request that supports

spaces.
publict_entity_req_spc_project_body (structured type)

The properties that are part of a request that supports

spaces and projects. Either `space_id` or `project_id` has to be provided and is mandatory.
publict_environment_variables type MAP

This property is used to specify environment variables and

their values required to be consumed by the batch deployment job. The environment variables and values must be specified as key-value pairs.

This property is currently supported only for Python Scripts in batch deployment jobs.
publict_evaluations_spec TYPE STANDARD TABLE OF T_EVALUATIONS_SPEC_ITEM WITH NON-UNIQUE DEFAULT KEY

A list of evaluation specifications.

publict_evaluations_spec_item (structured type)

An evaluation specification used to support evaluations for

TensorFlow.
publict_evaluation_definition (structured type)

The optional evaluation definition.

publict_evaluation_metric (structured type)

An evaluation metric.

publict_experiment_entity (structured type)

The details of the experiment to be created.

publict_experiment_entity_request (structured type)

The details of the experiment to be created.

publict_experiment_resource (structured type)

The information for an experiment.

publict_experiment_resources (structured type)

A paginated list of experiments.

publict_experiment_rev_entity_req (structured type)

The details for the revision.

publict_extra_model_entity (structured type)

Information related to the upload of the model content.

publict_fdrtd_learning_model_spec (structured type) No documentation available.
publict_fdrtd_learning_remote_train (structured type)

The remote training for federated learning.

publict_fdrtd_lrnng_info_aggregator (structured type) No documentation available.
publict_fdrtd_lrnng_inf_aggrgtr_cnn1 (structured type) No documentation available.
publict_fdrtd_lrnng_inf_rmt_train_s1 (structured type) No documentation available.
publict_fdrtd_lrnng_inf_rmt_train_s2 (structured type) No documentation available.
publict_fdrtd_lrnng_inf_rmt_train_s3 (structured type) No documentation available.
publict_fdrtd_lrnng_rmt_train_rmt_t1 (structured type) No documentation available.
publict_features_importance TYPE STANDARD TABLE OF T_FEATURE_IMPORTANCE WITH NON-UNIQUE DEFAULT KEY No documentation available.
publict_feature_coefficients type MAP

The feature names where the calculated score describes the

importance of each feature in the decision-making process.
publict_feature_importance (structured type) No documentation available.
publict_federated_learning (structured type)

Federated Learning.

publict_federated_learning_crypto (structured type)

Settings for cryptographic fusion for federated learning.

publict_federated_learning_info (structured type)

Federated learning info.

publict_federated_learning_model (structured type)

The model type for federated_learning.

publict_federated_learning_optimizer (structured type)

The optimizer for federated learning.

publict_field_job_status (structured type)

The status of the job.

publict_field_solve_state (structured type)

The solve state for a Decision Optimization job.

publict_function_entity (structured type)

The details of the function to be created.

publict_function_entity_request (structured type)

The details of the function to be created.

publict_function_entity_schemas (structured type)

The schemas of the expected data.

publict_function_resource (structured type)

The information for a function.

publict_function_resources (structured type)

A paginated list of functions.

publict_func_revision_entity_request (structured type)

The details for the revision.

publict_gpu_metrics (structured type)

GPU metrics.

publict_gpu_metrics_memory (structured type) No documentation available.
publict_hardware_spec (structured type)

A hardware specification.

publict_hybrd_ppln_hardware_specs TYPE STANDARD TABLE OF T_HYBRD_PPLN_HRDWR_SPECS_ITEM WITH NON-UNIQUE DEFAULT KEY

Hybrid pipeline hardware specification.

publict_hybrd_ppln_hrdwr_specs_item (structured type) No documentation available.
publict_hyper_parameter (structured type)

A set of hyper parameters.

publict_incremental_training (structured type)

The process of training the model in batches.

publict_inference (structured type)

The details of an inference API.

publict_instance_resource (structured type) No documentation available.
publict_instance_resources (structured type)

Information for paging when querying resources.

publict_instance_resource_entity (structured type) No documentation available.
publict_instance_resrc_entity_plan (structured type) No documentation available.
publict_intermediate_model (structured type)

The details of the intermediate model.

publict_jb_decision_optimization_req (structured type)

Details about the input/output data and other properties to

be used for a batch deployment job of a Decision Optimization problem. You can find more information in [Deploying Decision Optimization](https://dataplatform.cloud.ibm.com/docs/content/DO/WML_Deployment /ModelIODataDefn.html) documentation. Use the `solve_parameters` as named value pairs to control the Decision Optimization solve behavior. Use the `input_data` and `output_data` properties to specify respectively input and output data for batch processing as part of the job's payload. Use the `input_data_references` and `output_data_references` properties to specify respectively input and output data for batch processing as remote data sources.
publict_jb_decision_optimization_res (structured type)

The solve state for a Decision Optimization job.

publict_jobs_resource (structured type)

The information related to the job.

publict_jobs_resources (structured type)

The information related to the jobs.

publict_job_entity (structured type)

Details about the batch deployment job.



The `deployment` is a reference to the deployment associated with the deployment job or deployment job definition.

The `scoring` and `decision_optimization` properties are mutually exclusive. Specify only one of these when submitting a batch deployment job.

Use `hybrid_pipeline_hardware_specs` only in a batch deployment job of a hybrid pipeline in order to specify compute configuration for each pipeline node. For all other cases use `hardware_spec` to specify compute configuration.

In case of output data references where the data asset is a remote database, users can specify if the batch deployment output must be appended to the table or if the table is to be truncated and output data updated.
`output_data_references.location.write_mode` parameter can be used to for this purpose. The values `truncate` or `append` can be specified for `output_data_references.location.write_mode` parameter.
* Specifying `truncate` as value will truncate the table and the batch output data will be inserted.
* Specifying `append` as value will insert the batch output data to the remote database table.
* The `write_mode` parameter is applicable only for `output_data_references` parameter.
* The `write_mode` parameter will be applicable only for remote database related data assets. This parameter will not be applicable for local data asset or COS based data asset.
publict_job_entity_request (structured type)

Details about the batch deployment job.



The `deployment` is a reference to the deployment associated with the deployment job or deployment job definition.

The `scoring` and `decision_optimization` properties are mutually exclusive. Specify only one of these when submitting a batch deployment job.

Use `hybrid_pipeline_hardware_specs` only in a batch deployment job of a hybrid pipeline in order to specify compute configuration for each pipeline node. For all other cases use `hardware_spec` to specify compute configuration.

In case of output data references where the data asset is a remote database, users can specify if the batch deployment output must be appended to the table or if the table is to be truncated and output data updated.
`output_data_references.location.write_mode` parameter can be used to for this purpose. The values `truncate` or `append` can be specified for `output_data_references.location.write_mode` parameter.
* Specifying `truncate` as value will truncate the table and the batch output data will be inserted.
* Specifying `append` as value will insert the batch output data to the remote database table.
* The `write_mode` parameter is applicable only for `output_data_references` parameter.
* The `write_mode` parameter will be applicable only for remote database related data assets. This parameter will not be applicable for local data asset or COS based data asset.
publict_job_entity_result (structured type)

Details about the batch deployment job.



The `deployment` is a reference to the deployment associated with the deployment job or deployment job definition.

The `scoring` and `decision_optimization` properties are mutually exclusive.
publict_job_resource (structured type)

The information for a deployment job definition.

publict_job_resources (structured type)

A paginated list of deployment job definitions.

publict_job_resource_entity (structured type)

Details about the batch deployment job.



The `deployment` is a reference to the deployment associated with the deployment job or deployment job definition.

The `scoring` and `decision_optimization` properties are mutually exclusive. Specify only one of these when submitting a batch deployment job.

Use `hybrid_pipeline_hardware_specs` only in a batch deployment job of a hybrid pipeline in order to specify compute configuration for each pipeline node. For all other cases use `hardware_spec` to specify compute configuration.

In case of output data references where the data asset is a remote database, users can specify if the batch deployment output must be appended to the table or if the table is to be truncated and output data updated.
`output_data_references.location.write_mode` parameter can be used to for this purpose. The values `truncate` or `append` can be specified for `output_data_references.location.write_mode` parameter.
* Specifying `truncate` as value will truncate the table and the batch output data will be inserted.
* Specifying `append` as value will insert the batch output data to the remote database table.
* The `write_mode` parameter is applicable only for `output_data_references` parameter.
* The `write_mode` parameter will be applicable only for remote database related data assets. This parameter will not be applicable for local data asset or COS based data asset.
publict_job_resource_metadata (structured type)

Common metadata for a resource where `project_id` or

`space_id` must be present.
publict_job_revision_entity_request (structured type)

The details for the revision.

publict_job_scoring_request (structured type)

Details about the input/output data and other properties to

be used for a batch deployment job of a model, Python Function or a Python Scripts.

Use `input_data` property to specify the input data for batch processing as part of the job's payload. The `input_data` property is mutually exclusive with `input_data_references` property, only use one of these. When `input_data` is specified, the processed output of batch deployment job will be available in `scoring.predictions` parameter in the deployment job response. `input_data` property is not supported for batch deployment of Python Scripts.

Use `input_data_references` property to specify the details pertaining to the remote source where the input data for batch deployment job is available. The `input_data_references` must be used with `output_data_references`. The `input_data_references` property is mutually exclusive with `input_data` property, only use one of these. The `input_data_references` property is not supported for batch deployment job of Spark models and Python Functions.

Use `output_data_references` property to specify the details pertaining to the remote source where the input data for batch deployment job is available. `output_data_references` must be used with `input_data_references`. The `output_data_references` property is not supported for batch deployment job of Spark models and Python Functions.
publict_job_scoring_result (structured type)

The status of the job.

publict_job_status (structured type)

The status of the job.

publict_job_status_entity (structured type)

Information about the platform job assets related to this

execution.
publict_job_status_message (structured type)

An optional message related to the job status.

publict_json_patch TYPE STANDARD TABLE OF T_JSON_PATCH_OPERATION WITH NON-UNIQUE DEFAULT KEY

See [JSON PATCH RFC

6902](https://tools.ietf.org/html/rfc6902).
publict_json_patch_operation (structured type)

This model represents an individual patch operation to be

performed on an object, as defined by
[RFC 6902](https://tools.ietf.org/html/rfc6902).
publict_limit_expiration_date type DATE

The expiration date of the instance limit.

publict_mdl_def_entity_req_platform (structured type) No documentation available.
publict_message (structured type)

Optional messages related to the resource.

publict_metric (structured type)

A metric.

publict_metrics TYPE STANDARD TABLE OF T_METRIC WITH NON-UNIQUE DEFAULT KEY

Metrics that can be returned by an operation.

publict_metrics_context (structured type)

Provides extra information for this training stage in the

context of auto-ml.
publict_metric_tsad_metrics type JSONOBJECT

The metrics from the time series anomaly detection. For more

information, please see the [Creating a Time Series Anomaly Prediction](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/au toai-ts-ad.html?audience=wdp) documentation.
publict_metric_ts_metrics type JSONOBJECT

The metrics from the time series. For more information,

please see the [Time Series Implementation](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-dat a/autoai-timeseries-details.html?audience=wdp#ts-metrics) documentation.
publict_metric_ts_metrics_ts_holdout (structured type)

Metrics generated during evaluation of the pipeline on

holdout data.
publict_metric_ts_metrics_ts_train (structured type) No documentation available.
publict_ml_federated_metric (structured type)

The metrics from federated training.

publict_model_definition_entity (structured type)

The definition of a model. The `software_spec` is used only

for training. Either space_id or project_id has to be provided and is mandatory.
publict_model_definition_id (structured type)

The model definition.

publict_model_definition_rel (structured type)

A model. The `software_spec` is a reference to a software

specification. The `hardware_spec` is a reference to a hardware specification.
publict_model_definition_resource (structured type)

The information for a model definition.

publict_model_definition_resources (structured type)

A paginated list of model definitions.

publict_model_def_entity_platform (structured type) No documentation available.
publict_model_def_entity_request (structured type)

The definition of a model. The `software_spec` is used only

for training. Either space_id or project_id has to be provided and is mandatory.
publict_model_def_rev_entity_request (structured type)

The details for the revision.

publict_model_entity (structured type)

The details of the model to be created.

publict_model_entity_model_version (structured type)

Optional metadata that can be used to provide information

about this model that can be tracked with IBM AI Factsheets. See [Using AI Factsheets](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/fa ctsheets-model-inventory.html) for more details.
publict_model_entity_request (structured type)

The details of the model to be created.

publict_model_entity_schemas (structured type)

If the prediction schemas are provided here then they take

precedent over any schemas provided in the data references. Note that data references contain the schema for the associated data and this object contains the schema(s) for the associated prediction, if any. In the case that the prediction input data matches exactly the schema of the training data references then the prediction schema can be omitted. However it is highly recommended to always specify the prediction schemas using this field.
publict_model_entity_size (structured type)

This will be used by scoring to record the size of the

model.
publict_model_location (structured type)

The location of the intermediate model.

publict_model_reference (structured type)

A reference to a model that is used by this function. Note

that the reference can be to a model that is in a different space or project from this function. For this reason either a `space_id` or a `project_id` must be provided or the `space_id` or a `project_id` of the function will be assumed.
publict_model_resource (structured type)

The information for a model.

publict_model_resources (structured type)

A paginated list of models.

publict_model_resource_entity (structured type)

Information related to the upload of the model content.

publict_model_rev_entity_request (structured type)

The details for the revision.

publict_mtrc_tsad_metrics_tsad_train (structured type)

Metrics generated in model selection phase.

publict_mtrc_tsd_mtrcs_tsad_holdout (structured type)

Metrics generated in model evaluation phase.

publict_mtrc_tsd_mtrcs_tsd_train_ag1 (structured type) No documentation available.
publict_mtrc_ts_metrics_ts_backtest (structured type)

Metrics generated during evaluation of the pipeline on

backtest data.
publict_multi_class_classification (structured type) No documentation available.
publict_multi_class_classifications (structured type) No documentation available.
publict_object_location (structured type)

A reference to data.

publict_object_location_optim (structured type)

A reference to data.

publict_online_parameters (structured type)

A set of key-value pairs where `key` is the parameter name.

publict_online_request (structured type)

Indicates that this is an online deployment. An empty object

has to be specified. If the online scoring schema has a `type` of `DataFrame` then the scoring payload will be converted to a `Pandas` data frame.
publict_organization (structured type)

A remote organization.

publict_pagination (structured type)

Information for paging when querying resources.

publict_pagination_base (structured type) No documentation available.
publict_pagination_first (structured type)

The reference to the first item in the current page.

publict_pagination_next (structured type)

A reference to the first item of the next page, if any.

publict_pipeline_entity (structured type)

The details of the pipeline to be created.

publict_pipeline_entity_request (structured type)

The details of the pipeline to be created.

publict_pipeline_rel (structured type)

A pipeline. The `hardware_spec` is a reference to the

hardware specification. The `hybrid_pipeline_hardware_specs` are used only when training a hybrid pipeline in order to specify compute requirement for each pipeline node.
publict_pipeline_resource (structured type)

The information for a pipeline.

publict_pipeline_resources (structured type)

A paginated list of pipelines.

publict_pipeline_rev_entity_request (structured type)

The details for the revision.

publict_platform_job (structured type)

Information about the platform job assets related to this

execution. Depending on the `version` date passed, the `platform_jobs` section in the response may or may not be populated. Use the GET call to retrieve the deployment job, this GET call will eventually populate the `platform_jobs` section. Refer to the `version date` description for more details.
publict_ppln_rel_data_bindings_item (structured type) No documentation available.
publict_ppln_rel_nodes_param_item (structured type) No documentation available.
publict_project_id type STRING

The project that contains the resource. Either `space_id` or

`project_id` has to be given.
publict_project_id_only type STRING

The project that contains the resource.

publict_rel (structured type)

A reference to a resource.

publict_remote_admin (structured type)

The details of the remote administrator for the organization

and identities.
publict_remote_train_system_entity (structured type)

The definition of a remote system used by Federated

Learning.
publict_remote_train_system_metric (structured type)

The remote training system metric.

publict_remote_train_system_resource (structured type)

The information for a remote training system.

publict_remote_train_sys_entity_req (structured type)

The definition of a remote system used by Federated

Learning.
publict_remote_train_sys_resources (structured type)

A paginated list of remote training systems.

publict_resource_commit_info (structured type)

Information related to the revision.

publict_resource_meta (structured type)

Common metadata for a resource where `project_id` or

`space_id` must be present.
publict_resource_meta_base (structured type)

Common metadata for a resource.

publict_resource_meta_simple (structured type)

Common metadata for a simple resource.

publict_rev_entity_space_request (structured type)

The details for the revision.

publict_rev_entity_spc_project_req (structured type)

The details for the revision.

publict_rmt_train_sys_patch_helper (structured type)

Fields that can be patched.

publict_rmt_train_sys_rev_entity_req (structured type)

The details for the revision.

publict_roc_curve (structured type)

The roc (receiver operating characteristic) curve for the

selected class.
publict_scoring_parameters (structured type)

Parameters that can be used to control the prediction

request.
publict_scoring_payload (structured type)

The payload for scoring.

publict_scoring_payload_optim (structured type)

The payload for scoring.

publict_scoring_payload_optim_value type JSONOBJECT

The record.

publict_scoring_payload_optim_values TYPE STANDARD TABLE OF T_SCORING_PAYLOAD_OPTIM_VALUE WITH NON-UNIQUE DEFAULT KEY

The records.

publict_scoring_targets type TT_JSONOBJECT No documentation available.
publict_scrng_param_forecast_window type INTEGER

The forecast window to use for the prediction. If no value

is set then the value used during training will be used.
publict_simple_rel (structured type)

A reference to a resource.

publict_software_spec_rel (structured type)

A software specification.

publict_solve_parameters type JSONOBJECT

To control solve behavior, you can specify solve parameters

in your request as key-value pairs.
publict_solve_state (structured type)

The solve state for a Decision Optimization job.

publict_space_id type STRING

The space that contains the resource. Either `space_id` or

`project_id` has to be given.
publict_space_id_only type STRING

The space that contains the resource.

publict_stats (structured type)

The stats about deployments for a space.

publict_step_info (structured type)

Details about the step.

publict_sync_scoring_data (structured type)

Scoring data.

publict_sync_scoring_data_item (structured type)

The input data.

publict_sync_scoring_data_results (structured type)

Scoring results.

publict_sync_scrng_data_item_values type TT_JSONOBJECT No documentation available.
publict_system (structured type)

System details.

publict_system_details (structured type)

Optional details coming from the service and related to the

API call or the associated resource.
publict_tags type TT_STRING

A list of tags for this resource.

publict_token_count (structured type)

The token count for the account.

publict_training_definition_entity (structured type)

The `training_data_references` contain the training datasets

and the
`results_reference` the connection where results will be stored.
publict_training_definition_resource (structured type)

The information for a training definition.

publict_training_details (structured type)

Information about the training job that created this model.

publict_training_reference (structured type)

The `pipeline` is a reference to the pipeline. The

`model_definition` is the library reference that contains the training library.
publict_training_resource (structured type)

Training resource.

publict_training_resources (structured type)

Information for paging when querying resources.

publict_training_resource_entity (structured type)

The `training_data_references` contain the training datasets

and the
`results_reference` the connection where results will be stored.
publict_training_status (structured type)

Status of the model.

publict_training_status_hpo (structured type)

Hyperparameter optimization.

publict_training_status_message (structured type)

Message.

publict_training_websocket (structured type) No documentation available.
publict_train_definition_resources (structured type)

A paginated list of training definitions.

publict_train_def_entity_request (structured type)

The `training_data_references` contain the training datasets

and the
`results_reference` the connection where results will be stored.
publict_train_def_patch_helper (structured type)

Fields that can be patched.

publict_train_def_rev_entity_request (structured type)

The details for the revision.

publict_train_ref_hypr_prm_optmztn (structured type)

The hyper parameters used in the experiment.

publict_train_ref_hypr_prm_optmztn_1 (structured type)

Optimization algorithm.

publict_train_resource_entity_common (structured type)

The `training_data_references` contain the training datasets

and the
`results_reference` the connection where results will be stored.
publict_train_resrc_entity_request (structured type)

The `training_data_references` contain the training datasets

and the
`results_reference` the connection where results will be stored.
publict_tsad_holdout (structured type)

Metrics generated in model evaluation phase.

publict_tsad_holdout_agg (structured type)

Aggregated scores of anomaly types per metric.

publict_tsad_holdout_agg_f1 (structured type)

Harmonic average of the precision and recall, with best

value of 1 (perfect precision and recall) and worst at 0.
publict_tsad_holdout_agg_precision (structured type)

Measures the accuracy of a prediction based on percent of

positive predictions that are correct.
publict_tsad_holdout_agg_recall (structured type)

Measures the percentage of identified positive predictions

against possible positives in data set.
publict_tsad_holdout_agg_roc_auc (structured type)

Measure of how well a parameter can distinguish between two

groups.
publict_tsad_holdout_iterations_item (structured type) No documentation available.
publict_tsad_holdout_supporting_rank (structured type)

Pipeline ranking based on the specified metric.

publict_tsad_training (structured type)

Metrics generated in model selection phase.

publict_tsd_hldt_aggrgtd_score_item (structured type) No documentation available.
publict_tsd_hldt_agg_avg_prcsn_lclz1 (structured type)

Localized extreme anomaly refers to an unusual data point in

a time series, which deviates significantly from the data points around it.
publict_tsd_hldt_agg_avg_prcsn_lvl_1 (structured type)

Level shift anomaly refers to a segment in which the mean

value of a time series is changed.
publict_tsd_hldt_agg_avg_prcsn_trend (structured type)

trend anomaly refers to a segment of time series, which has

a trend change compared to the time series before the segment.
publict_tsd_hldt_agg_avg_precision (structured type)

Average of the accuracy of predictions based on percent of

positive predictions that are correct.
publict_tsd_hldt_itrtns_itm_avg_prc1 (structured type)

(Recommended): Average of the accuracy of predictions based

on percent of positive predictions that are correct.
publict_tsd_hldt_spprtng_rnk_avg_pr1 (structured type)

(Recommended): Average of the accuracy of predictions based

on percent of positive predictions that are correct.
publict_tsd_hldt_spprtng_rnk_avg_pr2 (structured type)

Level shift anomaly refers to a segment in which the mean

value of a time series is changed. Includes scores for all pipelines.
publict_tsd_train_aggrgtd_score_item (structured type) No documentation available.
publict_ts_backtest (structured type)

Metrics generated during evaluation of the pipeline on

backtest data.
publict_ts_holdout (structured type)

Metrics generated during evaluation of the pipeline on

holdout data.
publict_ts_metric_backtest (structured type)

Metrics from the backtest data.

publict_ts_metric_levels (structured type)

A set of metrics.

publict_ts_mtrc_bcktst_itrtns_item (structured type) No documentation available.
publict_ts_training (structured type) No documentation available.
publict_ts_training_training (structured type)

Metrics generated during training.

publict_variance (structured type)

Variance anomaly refers to a segment of time series in which

the variance of a time series is changed.
publict_warning (structured type)

A warning message.

Constants

Visibility and LevelNameDocumentation
public staticc_abapname_dictionary (structured type)

Map ABAP identifiers to service identifiers.

public staticc_required_fields (structured type)

List of required fields per type.

Methods

Visibility and LevelNameDocumentation
public instance
deployments_compute_predict
importingi_deployment_idtype STRING
i_syncscoringdatatype T_SYNC_SCORING_DATA
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_SYNC_SCORING_DATA_RESULTS
raisingzcx_ibmx_service_exception

Execute a synchronous deployment prediction

Execute a synchronous prediction for the deployment with the specified identifier.
If a `serving_name` is used then it must match the `serving_name` that is returned in the `inference` field.
Parameters
i_deployment_id The `deployment_id` can be either the `deployment_id` that identifies the deployment or a `serving_name` that allows a predefined URL to be used to post a prediction.
i_syncscoringdata The scoring data.
e_response Service return value of type T_SYNC_SCORING_DATA_RESULTS
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
deployments_create
importingi_deploymententityrequesttype T_DEPLOYMENT_ENTITY_REQUEST
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_DEPLOYMENT_RESOURCE
raisingzcx_ibmx_service_exception

Create a new WML deployment

Create a new deployment, the parameters specifying the deployment type are `online` and `batch`.
These parameters are mutually exclusive, specify only one of these when creating a deployment.
Use `hybrid_pipeline_hardware_specs` only when creating a `batch` deployment job of a hybrid pipeline in order to specify compute configuration for each pipeline node. For all other `batch` deployment cases use `hardware_spec` to specify compute configuration. The `hybrid_pipeline_hardware_specs` and `hardware_spec` are mutually exclusive, specify only one of these when creating a deployment.
For `batch` deployments, `hardware_spec.num_nodes` parameter is not currently supported.
For `online` deployments, `hardware_spec` cannot be specified at the time of creation, `hardware_spec.num_nodes` parameter is not supported as part of `POST /ml/v4/deployments` API request, but it can be updated using `PATCH /ml/v4/deployments/<deployment id>`.
For `online` deployments, `serving_name` can be provided in `online.parameters`.
The serving name can have the characters `[a-z,0-9,_]` and must not be more than 36 characters.
The `serving_name` can be used in the prediction URL in place of the `deployment_id`.
See the documentation [supported frameworks](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/pm _service_supported_frameworks.html?context=cpdaas&audience=wdp) for details about which frameworks can be used in a deployment.
Parameters
i_deploymententityrequest The deployment entity.
e_response Service return value of type T_DEPLOYMENT_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
deployments_delete
importingi_deployment_idtype STRING
i_space_idtype STRING
raisingzcx_ibmx_service_exception

Delete the deployment

Delete the deployment with the specified identifier.
Parameters
i_deployment_id The deployment id.
i_space_id Retrieves the deployments of assets that belong to this space.
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
deployments_get
importingi_deployment_idtype STRING
i_space_idtype STRING
i_accepttype STRING default 'application/json'
exportinge_responsetype T_DEPLOYMENT_RESOURCE
raisingzcx_ibmx_service_exception

Retrieve the deployment details

Retrieve the deployment details with the specified identifier.
Parameters
i_deployment_id The deployment id.
i_space_id Retrieves the deployments of assets that belong to this space.
e_response Service return value of type T_DEPLOYMENT_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
deployments_list
importingi_space_idtype STRING optional
i_serving_nametype STRING optional
i_tag_valuetype STRING optional
i_asset_idtype STRING optional
i_nametype STRING optional
i_typetype STRING optional
i_statetype STRING optional
i_statstype BOOLEAN optional
i_conflicttype BOOLEAN default C_BOOLEAN_FALSE
i_accepttype STRING default 'application/json'
exportinge_responsetype T_DEPLOYMENT_RESOURCES
raisingzcx_ibmx_service_exception

Retrieve the deployments

Retrieve the list of deployments for the specified space.
Parameters
i_space_id Retrieves the deployments that belong to this space.
i_serving_name Retrieves the deployment, if any, that contains this `serving_name`.
i_tag_value Retrieves only the resources with the given tag value.
i_asset_id Retrieves only the resources with the given asset_id, asset_id would be either model_id or function_id.
i_name Retrieves only the resources with the given name.
i_type Retrieves the resources filtered with the given type. Allowed values are `model`, `function`, `py_script` and `do`.
i_state Retrieves the resources filtered by state. Allowed values are `initializing`, `updating`, `ready` and `failed`.
i_stats Returns stats about deployments within a space or across spaces if it is set to true. This query parameter cannot be combined with any other except for 'space_id'.
i_conflict Returns whether serving_name is available for use or not. This query parameter cannot be combined with any other except for 'serving_name'.
e_response Service return value of type T_DEPLOYMENT_RESOURCES
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
deployments_update
importingi_deployment_idtype STRING
i_space_idtype STRING
i_json_patchtype TT_JSON_PATCH_OPERATION
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_DEPLOYMENT_RESOURCE
raisingzcx_ibmx_service_exception

Update the deployment metadata

Update the deployment metadata.
The following parameters of deployment metadata are supported for the patch operation.
- `/tags` - `/name` - `/description` - `/custom` - `/hardware_spec` - `/hybrid_pipeline_hardware_specs` - `/asset` - `/online/parameters`
In case of online deployments, using PATCH operation of `/ml/v4/deployments`, users can update the number of copies of an online deployment.
Users can specify the desired value of number of copies in `hardware_spec.num_nodes` parameter.
As `hardware_spec.name` or `hardware_spec.id` is mandatory for `hardware_spec` schema, a valid value such as `XS`, `S` must be specified for `hardware_spec.name` parameter as part of PATCH request. Alternatively, users can also specify a valid ID of a hardware specification in `hardware_spec.id` parameter. However, changes related to `hardware_spec.name` or `hardware_spec.id` specified in PATCH operation will not be applied for online deployments.
<br />
In case of batch deployments, using PATCH operation of `/ml/v4/deployments`, users can update the hardware specification so that subsequent batch deployment jobs can make use of the updated compute configurations. To update the compute configuration, users must specify a valid value for either `hardware_spec.name` or `hardware_spec.id` of the hardware specification that suits their requirement. In the batch deployment context, `hardware_spec.num_nodes` parameter is not currently supported.
<br />
When 'asset' is patched with id/rev:
- Deployment with the patched id/rev is started. - With an asynchronous deployment (`version` greater than [2021-05-01](#vd-2021-05-01)), 202 response code will be returned and
one can poll the deployment for the status.
- If any failures, deployment will be reverted back to the previous id/rev
and the failure message will be captured in 'failures' field in the response.

In the case of an online deployment, the PATCH operation with path specified as `/online/parameters` can be used to update the `serving_name`.
Parameters
i_deployment_id The deployment id.
i_space_id Retrieves the deployments of assets that belong to this space.
i_json_patch The json patch.
e_response Service return value of type T_DEPLOYMENT_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
deployment_jobs_create
importingi_jobentityrequesttype T_JOB_ENTITY_REQUEST
i_retentiontype STRING optional
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_JOBS_RESOURCE
raisingzcx_ibmx_service_exception

Start an asynchronous deployment job

Start a deployment job asynchronously. This can perform batch scoring, streaming, or other types of batch
operations, such as solving a Decision Optimization problem.
Depending on the `version` date passed, the `platform_jobs` section in the response may or may not be populated.
Use the GET call to retrieve the deployment job, this GET call will eventually populate the `platform_jobs` section.
Refer to the `version date` description for more details.
Parameters
i_jobentityrequest The request body contains information about the batch deployment job that is described in more detail below.

The `deployment` is a reference to the deployment associated with the deployment job or deployment job definition.

The `scoring` and `decision_optimization` properties are mutually exclusive. Specify only one of these when submitting a batch deployment job, one of these fields must be defined.

Use `hybrid_pipeline_hardware_specs` only in a batch deployment job of a hybrid pipeline in order to specify compute configuration for each pipeline node. For all other cases use `hardware_spec` to specify compute configuration.

In case of output data references where the data asset is a remote database, users can specify if the batch deployment output must be appended to the table or if the table is to be truncated and output data updated. The `output_data_references.location.write_mode` parameter can be used to for this purpose. The values `truncate` or `append` can be specified for `output_data_references.location.write_mode` parameter.
* Specifying `truncate` as value will truncate the table and the batch output data will be inserted.
* Specifying `append` as value will insert the batch output data to the remote database table.
* The `write_mode` parameter is applicable only for `output_data_references` parameter.
* The `write_mode` parameter will be applicable only for remote database related data assets. This parameter will not be applicable for local data assets or a COS based data asset.
i_retention Defines number of days to retain the job meta. Job meta will be auto deleted after that. Value '-1' sets the meta to be never auto deleted. accepted values are positive integer and '-1'. The default value if the parameter is not passed is '30' days.
e_response Service return value of type T_JOBS_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
deployment_jobs_delete
importingi_job_idtype STRING
i_space_idtype STRING
i_hard_deletetype BOOLEAN optional
raisingzcx_ibmx_service_exception

Cancel the deployment job

Cancel the specified deployment job.
Parameters
i_job_id The id of the job.
i_space_id Cancel the deployment job that belong to this space.
i_hard_delete Set to true in order to also delete the job metadata information.
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
deployment_jobs_get
importingi_job_idtype STRING
i_space_idtype STRING
i_includetype STRING optional
i_accepttype STRING default 'application/json'
exportinge_responsetype T_JOBS_RESOURCE
raisingzcx_ibmx_service_exception

Retrieve the deployment job

Retrieve the deployment job. The predicted data bound to this job_id is going to
be kept around for a limited time based on the service configuration.
Parameters
i_job_id The id of the job.
i_space_id Retrieve the deployment job that belong to this space.
i_include Retrieves only fields from `decision_optimization` and `scoring` section mentioned as comma separated values as output response fields. Retrieves all the fields if not mentioned.
e_response Service return value of type T_JOBS_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
deployment_jobs_list
importingi_space_idtype STRING
i_tag_valuetype STRING optional
i_statetype STRING optional
i_deployment_idtype STRING optional
i_includetype STRING optional
i_accepttype STRING default 'application/json'
exportinge_responsetype T_JOBS_RESOURCES
raisingzcx_ibmx_service_exception

Retrieve the deployment jobs

Retrieve the status of the current jobs. The system will apply a max limit of jobs retained by the system
as we cannot accumulate an infinite number of jobs. Only most recent 300 jobs (system configurable)
will be preserved. Older jobs will be purged by the system.
Parameters
i_space_id Retrieves the deployment jobs that belong to this space.
i_tag_value Retrieves only the jobs with these tags (comma separated).
i_state Filter based on on the deployment job state: queued, running, completed, failed etc.
i_deployment_id Filter based on the deployment_id.
i_include Retrieves only fields from `decision_optimization` and `scoring` section mentioned as comma separated values as output response fields. Retrieves all the fields if not mentioned.
e_response Service return value of type T_JOBS_RESOURCES
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
deployment_job_definitions_get
importingi_job_definition_idtype STRING
i_space_idtype STRING
i_revtype STRING optional
i_accepttype STRING default 'application/json'
exportinge_responsetype T_JOB_RESOURCE
raisingzcx_ibmx_service_exception

Retrieve the deployment job definition

Retrieve the deployment job definition with the specified identifier. If `rev` query parameter is provided,
`rev=latest` will fetch the latest revision. A call with `rev={revision_number}` will fetch the given
revision_number record.
Parameters
i_job_definition_id Deployment job definition identifier.
i_space_id The space that contains the resource.
i_rev The revision number of the resource.
e_response Service return value of type T_JOB_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
deployment_job_def_create
importingi_jobentityrequesttype T_JOB_ENTITY_REQUEST
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_JOB_RESOURCE
raisingzcx_ibmx_service_exception

Create a new deployment job definition

Create a new deployment job definition with the given payload. A deployment job definition represents the deployment metadata information in order to create a batch job in WML. This contains the same metadata used by the /ml/v4/deployment_jobs endpoint. This means that when submitting batch deployment jobs the user can either provide the job definition inline or reference a job definition in a query parameter.
Parameters
i_jobentityrequest Payload for creating the deployment job definition.
e_response Service return value of type T_JOB_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
deployment_job_def_cre_rev
importingi_job_definition_idtype STRING
i_jobrevisionentityrequesttype T_JOB_REVISION_ENTITY_REQUEST
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_JOB_RESOURCE
raisingzcx_ibmx_service_exception

Create a new deployment job definition revision

Create a new deployment job definition revision.
The current metadata and content for
job_definition_id will be taken and a new revision created.
Parameters
i_job_definition_id Deployment job definition identifier.
i_jobrevisionentityrequest No documentation available.
e_response Service return value of type T_JOB_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
deployment_job_def_delete
importingi_job_definition_idtype STRING
i_space_idtype STRING
raisingzcx_ibmx_service_exception

Delete the deployment job definition

Delete the deployment job definition with the specified identifier. This will delete all revisions of
this deployment job definition as well. For each revision all attachments will also be deleted.
Parameters
i_job_definition_id Deployment job definition identifier.
i_space_id The space that contains the resource.
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
deployment_job_def_list
importingi_space_idtype STRING
i_starttype STRING optional
i_limittype INTEGER default 100
i_tag_valuetype STRING optional
i_searchtype STRING optional
i_accepttype STRING default 'application/json'
exportinge_responsetype T_JOB_RESOURCES
raisingzcx_ibmx_service_exception

Retrieve the deployment job definitions

Retrieve the deployment job definitions for the specified space.
Parameters
i_space_id The space that contains the resource.
i_start Token required for token-based pagination. This token cannot be determined by end user. It is generated by the service and it is set in the href available in the `next` field.
i_limit How many resources should be returned. By default limit is 100. Max limit allowed is 200.
i_tag_value Return only the resources with the given tag values, separated by `or` or `and` to support multiple tags.
i_search Returns only resources that match this search string. The path to the field must be the complete path to the field, and this field must be one of the indexed fields for this resource type. Note that the search string must be URL encoded.
e_response Service return value of type T_JOB_RESOURCES
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
deployment_job_def_lst_rev
importingi_job_definition_idtype STRING
i_space_idtype STRING
i_starttype STRING optional
i_limittype INTEGER default 100
i_accepttype STRING default 'application/json'
exportinge_responsetype T_JOB_RESOURCES
raisingzcx_ibmx_service_exception

Retrieve the deployment job definition revisions

Retrieve the deployment job definition revisions.
Parameters
i_job_definition_id Deployment job definition identifier.
i_space_id The space that contains the resource.
i_start Token required for token-based pagination. This token cannot be determined by end user. It is generated by the service and it is set in the href available in the `next` field.
i_limit How many resources should be returned. By default limit is 100. Max limit allowed is 200.
e_response Service return value of type T_JOB_RESOURCES
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
deployment_job_def_update
importingi_job_definition_idtype STRING
i_space_idtype STRING
i_json_patchtype TT_JSON_PATCH_OPERATION
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_JOB_RESOURCE
raisingzcx_ibmx_service_exception

Update the deployment job definition

Update the deployment job definition with the provided patch data.
The following fields can be patched:
- `/tags`
- `/name`
- `/description`
- `/custom`
- `/deployment`
Parameters
i_job_definition_id Deployment job definition identifier.
i_space_id The space that contains the resource.
i_json_patch Input For Patch. This is the patch body which corresponds to the JavaScript Object Notation (JSON) Patch standard (RFC 6902).
e_response Service return value of type T_JOB_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
experiments_create
importingi_experimententityrequesttype T_EXPERIMENT_ENTITY_REQUEST
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_EXPERIMENT_RESOURCE
raisingzcx_ibmx_service_exception

Create a new experiment

Create a new experiment with the given payload. An experiment represents an asset that captures a set of `pipeline` or `model definition` assets that will be trained at the same time on the same data set.
Parameters
i_experimententityrequest Payload for creating the experiment. Either `space_id` or `project_id` has to be provided and is mandatory.
e_response Service return value of type T_EXPERIMENT_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
experiments_create_revision
importingi_experiment_idtype STRING
i_exprmntrvsnnttyrqsttype T_EXPERIMENT_REV_ENTITY_REQ
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_EXPERIMENT_RESOURCE
raisingzcx_ibmx_service_exception

Create a new experiment revision

Create a new experiment revision.
The current metadata and content for
experiment_id will be taken and a new revision created.
Either `space_id` or `project_id` has to be provided and is mandatory.
Parameters
i_experiment_id Experiment identifier.
i_exprmntrvsnnttyrqst No documentation available.
e_response Service return value of type T_EXPERIMENT_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
experiments_delete
importingi_experiment_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
raisingzcx_ibmx_service_exception

Delete the experiment

Delete the experiment with the specified identifier. This will delete all revisions of
this experiment as well. For each revision all attachments will also be deleted.
Parameters
i_experiment_id Experiment identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
experiments_get
importingi_experiment_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
i_revtype STRING optional
i_accepttype STRING default 'application/json'
exportinge_responsetype T_EXPERIMENT_RESOURCE
raisingzcx_ibmx_service_exception

Retrieve the experiment

Retrieve the experiment with the specified identifier. If `rev` query parameter is provided,
`rev=latest` will fetch the latest revision. A call with `rev={revision_number}` will fetch the given
revision_number record. Either `space_id` or `project_id` has to be provided and is mandatory.
Parameters
i_experiment_id Experiment identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_rev The revision number of the resource.
e_response Service return value of type T_EXPERIMENT_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
experiments_list
importingi_space_idtype STRING optional
i_project_idtype STRING optional
i_starttype STRING optional
i_limittype INTEGER default 100
i_tag_valuetype STRING optional
i_searchtype STRING optional
i_accepttype STRING default 'application/json'
exportinge_responsetype T_EXPERIMENT_RESOURCES
raisingzcx_ibmx_service_exception

Retrieve the experiments

Retrieve the experiments for the specified space or project.
Parameters
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_start Token required for token-based pagination. This token cannot be determined by end user. It is generated by the service and it is set in the href available in the `next` field.
i_limit How many resources should be returned. By default limit is 100. Max limit allowed is 200.
i_tag_value Return only the resources with the given tag values, separated by `or` or `and` to support multiple tags.
i_search Returns only resources that match this search string. The path to the field must be the complete path to the field, and this field must be one of the indexed fields for this resource type. Note that the search string must be URL encoded.
e_response Service return value of type T_EXPERIMENT_RESOURCES
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
experiments_list_revisions
importingi_experiment_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
i_starttype STRING optional
i_limittype INTEGER default 100
i_accepttype STRING default 'application/json'
exportinge_responsetype T_EXPERIMENT_RESOURCES
raisingzcx_ibmx_service_exception

Retrieve the experiment revisions

Retrieve the experiment revisions.
Parameters
i_experiment_id Experiment identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_start Token required for token-based pagination. This token cannot be determined by end user. It is generated by the service and it is set in the href available in the `next` field.
i_limit How many resources should be returned. By default limit is 100. Max limit allowed is 200.
e_response Service return value of type T_EXPERIMENT_RESOURCES
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
experiments_update
importingi_experiment_idtype STRING
i_json_patchtype TT_JSON_PATCH_OPERATION
i_space_idtype STRING optional
i_project_idtype STRING optional
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_EXPERIMENT_RESOURCE
raisingzcx_ibmx_service_exception

Update the experiment

Update the experiment with the provided patch data.
The following fields can be patched:
- `/tags`
- `/name`
- `/description`
- `/custom`
Parameters
i_experiment_id Experiment identifier.
i_json_patch Input For Patch. This is the patch body which corresponds to the JavaScript Object Notation (JSON) Patch standard (RFC 6902).
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
e_response Service return value of type T_EXPERIMENT_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
functions_create
importingi_functionentityrequesttype T_FUNCTION_ENTITY_REQUEST
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_FUNCTION_RESOURCE
raisingzcx_ibmx_service_exception

Create a new function

Create a new function with the given payload. A function is some code that can be deployed as an online, or batch deployment.
Parameters
i_functionentityrequest Payload for creating the function. Either `space_id` or `project_id` has to be provided and is mandatory.
e_response Service return value of type T_FUNCTION_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
functions_create_revision
importingi_function_idtype STRING
i_fnctnrvsnnttyrqsttype T_FUNC_REVISION_ENTITY_REQUEST
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_FUNCTION_RESOURCE
raisingzcx_ibmx_service_exception

Create a new function revision

Create a new function revision.
The current metadata and content for
function_id will be taken and a new revision created.
Either `space_id` or `project_id` has to be provided and is mandatory.
Parameters
i_function_id Function identifier.
i_fnctnrvsnnttyrqst No documentation available.
e_response Service return value of type T_FUNCTION_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
functions_delete
importingi_function_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
raisingzcx_ibmx_service_exception

Delete the function

Delete the function with the specified identifier. This will delete all revisions of
this function as well. For each revision all attachments will also be deleted.
Parameters
i_function_id Function identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
functions_download_code
importingi_function_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
i_revtype STRING optional
i_accepttype STRING default 'application/zip'
exportinge_responsetype FILE
raisingzcx_ibmx_service_exception

Download the function code

Download the function code.
It is possible to get the `code` for a given
revision of the `function`.
Functions expect a zip file that contains a python file that make up the function. Python functions specify what needs to be run when the function is deployed and what needs to be run when the scoring function is called. In other words, you are able to customize what preparation WML does in the environment when you deploy the function, as well as what steps WML takes to generate the output when you call the API later on. The function consists of the outer function (any place that is not within the score function) and the inner score function. The code that sits in the outer function runs when the function is deployed, and the environment is then frozen and ready to be used whenever the online scoring or batch inline job processing API is called. The code that sits in the inner score function runs when the online scoring or batch inline job processing API is called, in the environment customized by the outer function. See [Deploying Python function](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/ml-d eploy-py-function.html?context=cpdaas${content_description}audience=wd p) for more details. This is illustrated in the example below: <pre> <br /> ...python code used to set up the environment... <br /> <br /> def score(payload): <br /> df_payload = pd.DataFrame(payload[values]) <br /> df_payload.columns = payload[fields] <br /> ... <br /> output = {result : res} <br /> return output <br /> <br /> return score <br /> </pre>
Parameters
i_function_id Function identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_rev The revision number of the resource.
e_response Service return value of type FILE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
functions_get
importingi_function_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
i_revtype STRING optional
i_accepttype STRING default 'application/json'
exportinge_responsetype T_FUNCTION_RESOURCE
raisingzcx_ibmx_service_exception

Retrieve the function

Retrieve the function with the specified identifier. If `rev` query parameter is provided,
`rev=latest` will fetch the latest revision. A call with `rev={revision_number}` will fetch the given
revision_number record. Either `space_id` or `project_id` has to be provided and is mandatory.
Parameters
i_function_id Function identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_rev The revision number of the resource.
e_response Service return value of type T_FUNCTION_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
functions_list
importingi_space_idtype STRING optional
i_project_idtype STRING optional
i_starttype STRING optional
i_limittype INTEGER default 100
i_tag_valuetype STRING optional
i_searchtype STRING optional
i_accepttype STRING default 'application/json'
exportinge_responsetype T_FUNCTION_RESOURCES
raisingzcx_ibmx_service_exception

Retrieve the functions

Retrieve the functions for the specified space or project.
Parameters
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_start Token required for token-based pagination. This token cannot be determined by end user. It is generated by the service and it is set in the href available in the `next` field.
i_limit How many resources should be returned. By default limit is 100. Max limit allowed is 200.
i_tag_value Return only the resources with the given tag values, separated by `or` or `and` to support multiple tags.
i_search Returns only resources that match this search string. The path to the field must be the complete path to the field, and this field must be one of the indexed fields for this resource type. Note that the search string must be URL encoded.
e_response Service return value of type T_FUNCTION_RESOURCES
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
functions_list_revisions
importingi_function_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
i_starttype STRING optional
i_limittype INTEGER default 100
i_accepttype STRING default 'application/json'
exportinge_responsetype T_FUNCTION_RESOURCES
raisingzcx_ibmx_service_exception

Retrieve the function revisions

Retrieve the function revisions.
Parameters
i_function_id Function identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_start Token required for token-based pagination. This token cannot be determined by end user. It is generated by the service and it is set in the href available in the `next` field.
i_limit How many resources should be returned. By default limit is 100. Max limit allowed is 200.
e_response Service return value of type T_FUNCTION_RESOURCES
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
functions_update
importingi_function_idtype STRING
i_json_patchtype TT_JSON_PATCH_OPERATION
i_space_idtype STRING optional
i_project_idtype STRING optional
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_FUNCTION_RESOURCE
raisingzcx_ibmx_service_exception

Update the function

Update the function with the provided patch data.
The following fields can be patched:
- `/tags`
- `/name`
- `/description`
- `/custom`
Parameters
i_function_id Function identifier.
i_json_patch Input For Patch. This is the patch body which corresponds to the JavaScript Object Notation (JSON) Patch standard (RFC 6902).
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
e_response Service return value of type T_FUNCTION_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
functions_upload_code
importingi_function_idtype STRING
i_upload_codetype FILE
i_space_idtype STRING optional
i_project_idtype STRING optional
i_contenttypetype STRING default 'application/gzip'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_CONTENT_METADATA
raisingzcx_ibmx_service_exception

Upload the function code

Upload the function code. Functions expect a zip file that contains a python file that make up the function. Python functions specify what needs to be run when the function is deployed and what needs to be run when the scoring function is called. In other words, you are able to customize what preparation WML does in the environment when you deploy the function, as well as what steps WML takes to generate the output when you call the API later on. The function consists of the outer function (any place that is not within the score function) and the inner score function. The code that sits in the outer function runs when the function is deployed, and the environment is then frozen and ready to be used whenever the online scoring or batch inline job processing API is called. The code that sits in the inner score function runs when the online scoring or batch inline job processing API is called, in the environment customized by the outer function. See [Deploying Python function](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/ml-d eploy-py-function.html?context=cpdaas${content_description}audience=wd p) for more details. This is illustrated in the example below: <pre> <br /> ...python code used to set up the environment... <br /> <br /> def score(payload): <br /> df_payload = pd.DataFrame(payload[values]) <br /> df_payload.columns = payload[fields] <br /> ... <br /> output = {result : res} <br /> return output <br /> <br /> return score <br /> </pre>
Parameters
i_function_id Function identifier.
i_upload_code A gzip file containing code files.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
e_response Service return value of type T_CONTENT_METADATA
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instanceget_appname redefinition 
public instanceget_request_prop redefinition 
public instanceget_sdk_version_date redefinition 
public instance
instances_get
importingi_instance_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
i_consumption_detailstype BOOLEAN default C_BOOLEAN_FALSE
i_accepttype STRING default 'application/json'
exportinge_responsetype T_INSTANCE_RESOURCE
raisingzcx_ibmx_service_exception

Retrieve the service instance

Retrieve the service instance details.
Parameters
i_instance_id The instance identifier.
i_space_id Defines authorization context that allows a space member to perform this operation.
i_project_id Defines authorization context that allows a project member to perform this operation.
i_consumption_details Only if `consumption_details` is set to `true` the instance `entity.consumption.details` part is available in response.
e_response Service return value of type T_INSTANCE_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
instances_list
importingi_space_idtype TT_STRING optional
i_project_idtype TT_STRING optional
i_starttype STRING optional
i_limittype INTEGER default 100
i_consumption_detailstype BOOLEAN default C_BOOLEAN_FALSE
i_accepttype STRING default 'application/json'
exportinge_responsetype T_INSTANCE_RESOURCES
raisingzcx_ibmx_service_exception

Retrieve the service instances

Retrieve the service instances. Either `space_id` or `project_id` query parameter is mandatory but both can be provided.
Parameters
i_space_id Return resources pertaining to any space_id listed. Either `space_id` or `project_id` query parameter is mandatory but both can be provided.
i_project_id Return resources pertaining to any project_id listed. Either `space_id` or `project_id` query parameter is mandatory but both can be provided.
i_start Token required for token-based pagination. This token cannot be determined by end user. It is generated by the service and it is set in the href available in the `next` field.
i_limit How many resources should be returned. By default limit is 100. Max limit allowed is 200.
i_consumption_details Only if `consumption_details` is set to `true` each instance `entity.consumption.details` part is available in response.
e_response Service return value of type T_INSTANCE_RESOURCES
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
models_create
importingi_modelentityrequesttype T_MODEL_ENTITY_REQUEST
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_MODEL_RESOURCE
raisingzcx_ibmx_service_exception

Create a new model

Create a new model with the given payload. A model represents a machine learning model asset.
If a `202` status is returned then the model will be ready when the
`content_import_state` in the model
status (/ml/v4/models/{model_id}) is `completed`.
If `content_import_state` is not used then a `201` status is returned.
Parameters
i_modelentityrequest Payload for creating the model. Either `space_id` or `project_id` has to be provided and is mandatory. A software specification is required for all model types except curated models.
e_response Service return value of type T_MODEL_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
models_create_revision
importingi_model_idtype STRING
i_modelrevisionentityrequesttype T_MODEL_REV_ENTITY_REQUEST
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_MODEL_RESOURCE
raisingzcx_ibmx_service_exception

Create a new model revision

Create a new model revision.
The current metadata and content for
model_id will be taken and a new revision created.
Either `space_id` or `project_id` has to be provided and is mandatory.
Parameters
i_model_id Model identifier.
i_modelrevisionentityrequest No documentation available.
e_response Service return value of type T_MODEL_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
models_delete
importingi_model_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
raisingzcx_ibmx_service_exception

Delete the model

Delete the model with the specified identifier. This will delete all revisions of
this model as well. For each revision all attachments will also be deleted.
Parameters
i_model_id Model identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
models_delete_content
importingi_model_idtype STRING
i_attachment_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
raisingzcx_ibmx_service_exception

Delete the model content

Delete the content for the specified model.
Parameters
i_model_id Model identifier.
i_attachment_id Identifier for the attachment for resources that support separate content.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
models_download_content
importingi_model_idtype STRING
i_attachment_idtype STRING
i_accepttype STRING optional
i_space_idtype STRING optional
i_project_idtype STRING optional
i_revtype STRING optional
exportinge_responsetype FILE
raisingzcx_ibmx_service_exception

Download the model content

Download the model content.
Parameters
i_model_id Model identifier.
i_attachment_id Identifier for the attachment for resources that support separate content.
i_accept The type of the response: application/zip, application/gzip, application/json, text/plain, or application/xml. A character encoding can be specified by including a `charset` parameter. For example, 'text/plain;charset=utf-8'.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_rev The revision number of the resource.
e_response Service return value of type FILE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
models_filtered_download
importingi_model_idtype STRING
i_accepttype STRING optional
i_space_idtype STRING optional
i_project_idtype STRING optional
i_revtype STRING optional
i_pipeline_node_idtype STRING optional
i_deployment_idtype STRING optional
i_nametype STRING optional
i_content_formattype STRING optional
exportinge_responsetype FILE
raisingzcx_ibmx_service_exception

Download the model content that matches a certain criteria

Download the model content identified by the provided criteria.
If more than one attachment is found for the given filter then a
`400` error is returned. If there are no attachments that match the
filter then a `404` error is returned. If there are no filters then,
if there is a single attachment, the attachment content will
be returned otherwise a `400` or `404` error will be returned as
described above.
This method is just a shortcut for getting the attachment metadata
and then downloading by attachment id.
Parameters
i_model_id Model identifier.
i_accept The type of the response: application/zip, application/gzip, application/json, text/plain, or application/xml. A character encoding can be specified by including a `charset` parameter. For example, 'text/plain;charset=utf-8'.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_rev The revision number of the resource.
i_pipeline_node_id Returns only resources that match this `pipeline_node_id`, this is only relevant if `content_format` is `pipeline-node`.
i_deployment_id Returns only resources that match this `deployment_id`, this is only relevant if `content_format` is `coreml`.
i_name Match an attachment with this name.
i_content_format This is the format of the content. Any value can be used for the format and is there to be able to easily find content by format.
e_response Service return value of type FILE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
models_get
importingi_model_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
i_revtype STRING optional
i_accepttype STRING default 'application/json'
exportinge_responsetype T_MODEL_RESOURCE
raisingzcx_ibmx_service_exception

Retrieve the model

Retrieve the model with the specified identifier. If `rev` query parameter is provided,
`rev=latest` will fetch the latest revision. A call with `rev={revision_number}` will fetch the given
revision_number record. Either `space_id` or `project_id` has to be provided and is mandatory.
Parameters
i_model_id Model identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_rev The revision number of the resource.
e_response Service return value of type T_MODEL_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
models_list
importingi_space_idtype STRING optional
i_project_idtype STRING optional
i_starttype STRING optional
i_limittype INTEGER default 100
i_tag_valuetype STRING optional
i_searchtype STRING optional
i_accepttype STRING default 'application/json'
exportinge_responsetype T_MODEL_RESOURCES
raisingzcx_ibmx_service_exception

Retrieve the models

Retrieve the models for the specified space or project.
Parameters
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_start Token required for token-based pagination. This token cannot be determined by end user. It is generated by the service and it is set in the href available in the `next` field.
i_limit How many resources should be returned. By default limit is 100. Max limit allowed is 200.
i_tag_value Return only the resources with the given tag values, separated by `or` or `and` to support multiple tags.
i_search Returns only resources that match this search string. The path to the field must be the complete path to the field, and this field must be one of the indexed fields for this resource type. Note that the search string must be URL encoded.
e_response Service return value of type T_MODEL_RESOURCES
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
models_list_attachments
importingi_model_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
i_revtype STRING optional
i_nametype STRING optional
i_content_formattype STRING optional
i_accepttype STRING default 'application/json'
exportinge_responsetype T_ALL_CONTENT_METADATA
raisingzcx_ibmx_service_exception

Retrieve the model content metadata list

Retrieve the content metadata list for the specified model attachments.
Parameters
i_model_id Model identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_rev The revision number of the resource.
i_name List only attachments with the given name.
i_content_format This is the format of the content. Any value can be used for the format and is there to be able to easily find content by format.
e_response Service return value of type T_ALL_CONTENT_METADATA
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
models_list_revisions
importingi_model_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
i_starttype STRING optional
i_limittype INTEGER default 100
i_accepttype STRING default 'application/json'
exportinge_responsetype T_MODEL_RESOURCES
raisingzcx_ibmx_service_exception

Retrieve the model revisions

Retrieve the model revisions.
Parameters
i_model_id Model identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_start Token required for token-based pagination. This token cannot be determined by end user. It is generated by the service and it is set in the href available in the `next` field.
i_limit How many resources should be returned. By default limit is 100. Max limit allowed is 200.
e_response Service return value of type T_MODEL_RESOURCES
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
models_update
importingi_model_idtype STRING
i_json_patchtype TT_JSON_PATCH_OPERATION
i_space_idtype STRING optional
i_project_idtype STRING optional
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_MODEL_RESOURCE
raisingzcx_ibmx_service_exception

Update the model

Update the model with the provided patch data.
The following fields can be patched:
- `/tags`
- `/name`
- `/description`
- `/custom`
- `/software_spec` (operation `replace` only)
- `/model_version` (operation `add` and `replace` only)
Parameters
i_model_id Model identifier.
i_json_patch Input For Patch. This is the patch body which corresponds to the JavaScript Object Notation (JSON) Patch standard (RFC 6902).
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
e_response Service return value of type T_MODEL_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
models_upload_content
importingi_model_idtype STRING
i_content_formattype STRING
i_upload_contenttype JSONOBJECT
i_content_typetype STRING default 'application/json'
i_space_idtype STRING optional
i_project_idtype STRING optional
i_pipeline_node_idtype STRING optional
i_deployment_idtype STRING optional
i_nametype STRING optional
i_accepttype STRING default 'application/json'
exportinge_responsetype T_CONTENT_METADATA
raisingzcx_ibmx_service_exception

Upload the model content

Upload the content for the specified model.
Parameters
i_model_id Model identifier.
i_content_format This is the format of the content. Any value can be used for the format and is there to be able to easily find content by format.
i_upload_content models file.
i_content_type The type of the input. A character encoding can be specified by including a `charset` parameter. For example, 'text/plain;charset=utf-8'.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_pipeline_node_id Returns only resources that match this `pipeline_node_id`, this is only relevant if `content_format` is `pipeline-node`.
i_deployment_id Returns only resources that match this `deployment_id`, this is only relevant if `content_format` is `coreml`.
i_name Provide the name of the attachment.
e_response Service return value of type T_CONTENT_METADATA
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
model_definitions_create
importingi_modeldefinitionentityrequesttype T_MODEL_DEF_ENTITY_REQUEST
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_MODEL_DEFINITION_RESOURCE
raisingzcx_ibmx_service_exception

Create a new model definition

Create a new model definition with the given payload. A model definition represents the code that is used to train one or more models.
Parameters
i_modeldefinitionentityrequest Payload for creating the model definition. Either `space_id` or `project_id` has to be provided and is mandatory.
e_response Service return value of type T_MODEL_DEFINITION_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
model_definitions_delete
importingi_model_definition_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
raisingzcx_ibmx_service_exception

Delete the model definition

Delete the model definition with the specified identifier. This will delete all revisions of
this model definition as well. For each revision all attachments will also be deleted.
Parameters
i_model_definition_id Model definition identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
model_definitions_get
importingi_model_definition_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
i_revtype STRING optional
i_accepttype STRING default 'application/json'
exportinge_responsetype T_MODEL_DEFINITION_RESOURCE
raisingzcx_ibmx_service_exception

Retrieve the model definition

Retrieve the model definition with the specified identifier. If `rev` query parameter is provided,
`rev=latest` will fetch the latest revision. A call with `rev={revision_number}` will fetch the given
revision_number record. Either `space_id` or `project_id` has to be provided and is mandatory.
Parameters
i_model_definition_id Model definition identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_rev The revision number of the resource.
e_response Service return value of type T_MODEL_DEFINITION_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
model_definitions_list
importingi_space_idtype STRING optional
i_project_idtype STRING optional
i_starttype STRING optional
i_limittype INTEGER default 100
i_tag_valuetype STRING optional
i_searchtype STRING optional
i_accepttype STRING default 'application/json'
exportinge_responsetype T_MODEL_DEFINITION_RESOURCES
raisingzcx_ibmx_service_exception

Retrieve the model definitions

Retrieve the model definitions for the specified space or project.
Parameters
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_start Token required for token-based pagination. This token cannot be determined by end user. It is generated by the service and it is set in the href available in the `next` field.
i_limit How many resources should be returned. By default limit is 100. Max limit allowed is 200.
i_tag_value Return only the resources with the given tag values, separated by `or` or `and` to support multiple tags.
i_search Returns only resources that match this search string. The path to the field must be the complete path to the field, and this field must be one of the indexed fields for this resource type. Note that the search string must be URL encoded.
e_response Service return value of type T_MODEL_DEFINITION_RESOURCES
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
model_definitions_update
importingi_model_definition_idtype STRING
i_json_patchtype TT_JSON_PATCH_OPERATION
i_space_idtype STRING optional
i_project_idtype STRING optional
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_MODEL_DEFINITION_RESOURCE
raisingzcx_ibmx_service_exception

Update the model definition

Update the model definition with the provided patch data.
The following fields can be patched:
- `/tags`
- `/name`
- `/description`
- `/custom`
Parameters
i_model_definition_id Model definition identifier.
i_json_patch Input For Patch. This is the patch body which corresponds to the JavaScript Object Notation (JSON) Patch standard (RFC 6902).
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
e_response Service return value of type T_MODEL_DEFINITION_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
model_definitions_upload_model
importingi_model_definition_idtype STRING
i_upload_modeltype FILE
i_space_idtype STRING optional
i_project_idtype STRING optional
i_contenttypetype STRING default 'application/gzip'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_CONTENT_METADATA
raisingzcx_ibmx_service_exception

Upload the model definition model

Upload the model definition model. Model definitions for Deep Learning accept a zip file that contains one or more python files organized in any directory structure.
Parameters
i_model_definition_id Model definition identifier.
i_upload_model A gzip file containing code files.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
e_response Service return value of type T_CONTENT_METADATA
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
model_def_create_revision
importingi_model_definition_idtype STRING
i_mdldfntnrvsnnttyrqsttype T_MODEL_DEF_REV_ENTITY_REQUEST
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_MODEL_DEFINITION_RESOURCE
raisingzcx_ibmx_service_exception

Create a new model definition revision

Create a new model definition revision.
The current metadata and content for
model_definition_id will be taken and a new revision created.
Either `space_id` or `project_id` has to be provided and is mandatory.
Parameters
i_model_definition_id Model definition identifier.
i_mdldfntnrvsnnttyrqst No documentation available.
e_response Service return value of type T_MODEL_DEFINITION_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
model_def_download_model
importingi_model_definition_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
i_revtype STRING optional
i_accepttype STRING default 'application/zip'
exportinge_responsetype FILE
raisingzcx_ibmx_service_exception

Download the model definition model

Download the model definition model.
It is possible to get the `model` for a given
revision of the `model definition`.
Model definitions for Deep Learning accept a zip file that contains one or more python files organized in any directory structure.
Parameters
i_model_definition_id Model definition identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_rev The revision number of the resource.
e_response Service return value of type FILE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
model_def_list_revisions
importingi_model_definition_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
i_starttype STRING optional
i_limittype INTEGER default 100
i_accepttype STRING default 'application/json'
exportinge_responsetype T_MODEL_DEFINITION_RESOURCES
raisingzcx_ibmx_service_exception

Retrieve the model definition revisions

Retrieve the model definition revisions.
Parameters
i_model_definition_id Model definition identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_start Token required for token-based pagination. This token cannot be determined by end user. It is generated by the service and it is set in the href available in the `next` field.
i_limit How many resources should be returned. By default limit is 100. Max limit allowed is 200.
e_response Service return value of type T_MODEL_DEFINITION_RESOURCES
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
pipelines_create
importingi_pipelineentityrequesttype T_PIPELINE_ENTITY_REQUEST
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_PIPELINE_RESOURCE
raisingzcx_ibmx_service_exception

Create a new pipeline

Create a new pipeline with the given payload. A pipeline represents a hybrid-pipeline, as a JSON document, that is used to train one or more models.
Parameters
i_pipelineentityrequest Payload for creating the pipeline. Either `space_id` or `project_id` has to be provided and is mandatory.
e_response Service return value of type T_PIPELINE_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
pipelines_create_revision
importingi_pipeline_idtype STRING
i_pplnrvsnnttyrqsttype T_PIPELINE_REV_ENTITY_REQUEST
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_PIPELINE_RESOURCE
raisingzcx_ibmx_service_exception

Create a new pipeline revision

Create a new pipeline revision.
The current metadata and content for
pipeline_id will be taken and a new revision created.
Either `space_id` or `project_id` has to be provided and is mandatory.
Parameters
i_pipeline_id Pipeline identifier.
i_pplnrvsnnttyrqst No documentation available.
e_response Service return value of type T_PIPELINE_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
pipelines_delete
importingi_pipeline_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
raisingzcx_ibmx_service_exception

Delete the pipeline

Delete the pipeline with the specified identifier. This will delete all revisions of
this pipeline as well. For each revision all attachments will also be deleted.
Parameters
i_pipeline_id Pipeline identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
pipelines_get
importingi_pipeline_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
i_revtype STRING optional
i_accepttype STRING default 'application/json'
exportinge_responsetype T_PIPELINE_RESOURCE
raisingzcx_ibmx_service_exception

Retrieve the pipeline

Retrieve the pipeline with the specified identifier. If `rev` query parameter is provided,
`rev=latest` will fetch the latest revision. A call with `rev={revision_number}` will fetch the given
revision_number record. Either `space_id` or `project_id` has to be provided and is mandatory.
Parameters
i_pipeline_id Pipeline identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_rev The revision number of the resource.
e_response Service return value of type T_PIPELINE_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
pipelines_list
importingi_space_idtype STRING optional
i_project_idtype STRING optional
i_starttype STRING optional
i_limittype INTEGER default 100
i_tag_valuetype STRING optional
i_searchtype STRING optional
i_accepttype STRING default 'application/json'
exportinge_responsetype T_PIPELINE_RESOURCES
raisingzcx_ibmx_service_exception

Retrieve the pipelines

Retrieve the pipelines for the specified space or project.
Parameters
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_start Token required for token-based pagination. This token cannot be determined by end user. It is generated by the service and it is set in the href available in the `next` field.
i_limit How many resources should be returned. By default limit is 100. Max limit allowed is 200.
i_tag_value Return only the resources with the given tag values, separated by `or` or `and` to support multiple tags.
i_search Returns only resources that match this search string. The path to the field must be the complete path to the field, and this field must be one of the indexed fields for this resource type. Note that the search string must be URL encoded.
e_response Service return value of type T_PIPELINE_RESOURCES
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
pipelines_list_revisions
importingi_pipeline_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
i_starttype STRING optional
i_limittype INTEGER default 100
i_accepttype STRING default 'application/json'
exportinge_responsetype T_PIPELINE_RESOURCES
raisingzcx_ibmx_service_exception

Retrieve the pipeline revisions

Retrieve the pipeline revisions.
Parameters
i_pipeline_id Pipeline identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_start Token required for token-based pagination. This token cannot be determined by end user. It is generated by the service and it is set in the href available in the `next` field.
i_limit How many resources should be returned. By default limit is 100. Max limit allowed is 200.
e_response Service return value of type T_PIPELINE_RESOURCES
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
pipelines_update
importingi_pipeline_idtype STRING
i_json_patchtype TT_JSON_PATCH_OPERATION
i_space_idtype STRING optional
i_project_idtype STRING optional
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_PIPELINE_RESOURCE
raisingzcx_ibmx_service_exception

Update the pipeline

Update the pipeline with the provided patch data.
The following fields can be patched:
- `/tags`
- `/name`
- `/description`
- `/custom`
Parameters
i_pipeline_id Pipeline identifier.
i_json_patch Input For Patch. This is the patch body which corresponds to the JavaScript Object Notation (JSON) Patch standard (RFC 6902).
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
e_response Service return value of type T_PIPELINE_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
remote_training_systems_create
importingi_rmttrnngsystmnttyrqsttype T_REMOTE_TRAIN_SYS_ENTITY_REQ
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_REMOTE_TRAIN_SYSTEM_RESOURCE
raisingzcx_ibmx_service_exception

Create a new remote training system

Create a new remote training system with the given payload. A remote training system represents a remote system used by Federated Learning. This definition is necessary to control who can register to a federated learning job.
Parameters
i_rmttrnngsystmnttyrqst Payload for creating the remote training system. Either `space_id` or `project_id` has to be provided and is mandatory.
e_response Service return value of type T_REMOTE_TRAIN_SYSTEM_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
remote_training_systems_delete
importingi_remote_training_system_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
raisingzcx_ibmx_service_exception

Delete the remote training system

Delete the remote training system with the specified identifier. This will delete all revisions of
this remote training system as well. For each revision all attachments will also be deleted.
Parameters
i_remote_training_system_id Remote training system identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
remote_training_systems_get
importingi_remote_training_system_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
i_revtype STRING optional
i_accepttype STRING default 'application/json'
exportinge_responsetype T_REMOTE_TRAIN_SYSTEM_RESOURCE
raisingzcx_ibmx_service_exception

Retrieve the remote training system

Retrieve the remote training system with the specified identifier. If `rev` query parameter is provided,
`rev=latest` will fetch the latest revision. A call with `rev={revision_number}` will fetch the given
revision_number record. Either `space_id` or `project_id` has to be provided and is mandatory.
Parameters
i_remote_training_system_id Remote training system identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_rev The revision number of the resource.
e_response Service return value of type T_REMOTE_TRAIN_SYSTEM_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
remote_training_systems_list
importingi_space_idtype STRING optional
i_project_idtype STRING optional
i_starttype STRING optional
i_limittype INTEGER default 100
i_tag_valuetype STRING optional
i_searchtype STRING optional
i_accepttype STRING default 'application/json'
exportinge_responsetype T_REMOTE_TRAIN_SYS_RESOURCES
raisingzcx_ibmx_service_exception

Retrieve the remote training systems

Retrieve the remote training systems for the specified space or project.
Parameters
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_start Token required for token-based pagination. This token cannot be determined by end user. It is generated by the service and it is set in the href available in the `next` field.
i_limit How many resources should be returned. By default limit is 100. Max limit allowed is 200.
i_tag_value Return only the resources with the given tag values, separated by `or` or `and` to support multiple tags.
i_search Returns only resources that match this search string. The path to the field must be the complete path to the field, and this field must be one of the indexed fields for this resource type. Note that the search string must be URL encoded.
e_response Service return value of type T_REMOTE_TRAIN_SYS_RESOURCES
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
remote_training_systems_update
importingi_remote_training_system_idtype STRING
i_json_patchtype TT_JSON_PATCH_OPERATION
i_space_idtype STRING optional
i_project_idtype STRING optional
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_REMOTE_TRAIN_SYSTEM_RESOURCE
raisingzcx_ibmx_service_exception

Update the remote training system

Update the remote training system with the provided patch data.
The following fields can be patched:
- `/tags`
- `/name`
- `/description`
- `/custom`
- `/organization`
- `/allowed_identities`
- `/remote_admin`
Parameters
i_remote_training_system_id Remote training system identifier.
i_json_patch Input For Patch. This is the patch body which corresponds to the JavaScript Object Notation (JSON) Patch standard (RFC 6902).
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
e_response Service return value of type T_REMOTE_TRAIN_SYSTEM_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
remote_train_sys_cre_revision
importingi_remote_training_system_idtype STRING
i_rmttrnngsystmrvsnnttyrqsttype T_RMT_TRAIN_SYS_REV_ENTITY_REQ
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_REMOTE_TRAIN_SYSTEM_RESOURCE
raisingzcx_ibmx_service_exception

Create a new remote training system revision

Create a new remote training system revision.
The current metadata and content for
remote_training_system_id will be taken and a new revision created.
Either `space_id` or `project_id` has to be provided and is mandatory.
Parameters
i_remote_training_system_id Remote training system identifier.
i_rmttrnngsystmrvsnnttyrqst No documentation available.
e_response Service return value of type T_REMOTE_TRAIN_SYSTEM_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
remote_train_sys_lst_revisions
importingi_remote_training_system_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
i_starttype STRING optional
i_limittype INTEGER default 100
i_accepttype STRING default 'application/json'
exportinge_responsetype T_REMOTE_TRAIN_SYS_RESOURCES
raisingzcx_ibmx_service_exception

Retrieve the remote training system revisions

Retrieve the remote training system revisions.
Parameters
i_remote_training_system_id Remote training system identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_start Token required for token-based pagination. This token cannot be determined by end user. It is generated by the service and it is set in the href available in the `next` field.
i_limit How many resources should be returned. By default limit is 100. Max limit allowed is 200.
e_response Service return value of type T_REMOTE_TRAIN_SYS_RESOURCES
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
trainings_create
importingi_trnngrsrcnttyrqsttype T_TRAIN_RESRC_ENTITY_REQUEST
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_TRAINING_RESOURCE
raisingzcx_ibmx_service_exception

Create a new WML training

Create a new WML training.
Parameters
i_trnngrsrcnttyrqst No documentation available.
e_response Service return value of type T_TRAINING_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
trainings_delete
importingi_training_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
i_hard_deletetype BOOLEAN optional
raisingzcx_ibmx_service_exception

Cancel the training

Cancel the specified training and remove it.
Parameters
i_training_id The training identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_hard_delete Set to true in order to also delete the job metadata information.
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
trainings_get
importingi_training_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
i_accepttype STRING default 'application/json'
exportinge_responsetype T_TRAINING_RESOURCE
raisingzcx_ibmx_service_exception

Retrieve the training

Retrieve the training with the specified identifier. This call supports Web-Socket upgrade.
However in order to preserve bandwidth, web-socket messages are not context complete.
Meaning that a single web-socket message only reflects a message or metric happening in the
context of a training job or sub-job (in case of experiment trainings or HPO/AutoML trainings). Hence the metadata property of a
web-socket message contains a parent with the href information of the parent job that triggered this particular job.
Also the metrics will be provided as they arrive from the backend runtime, and not as a cumulative list.
In order to get the full view of the running training job the caller should do a regular GET call.
Parameters
i_training_id The training identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
e_response Service return value of type T_TRAINING_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
trainings_list
importingi_starttype STRING optional
i_limittype INTEGER default 100
i_total_counttype BOOLEAN optional
i_tag_valuetype STRING optional
i_typetype STRING optional
i_statetype STRING optional
i_space_idtype STRING optional
i_project_idtype STRING optional
i_parent_idtype STRING optional
i_accepttype STRING default 'application/json'
exportinge_responsetype T_TRAINING_RESOURCES
raisingzcx_ibmx_service_exception

Retrieve the list of trainings

Retrieve the list of trainings for the specified space or project.
Parameters
i_start Token required for token-based pagination. This token cannot be determined by end user. It is generated by the service and it is set in the href available in the `next` field.
i_limit How many resources should be returned. Default value is 100. Max value is 200.
i_total_count Compute the total count. May have performance impact.
i_tag_value Return only the resources with the given tag value.
i_type Filter based on 'pipeline' or 'experiment' trainings. Example: `type=pipeline`. If not provided, returns all the trainings.
i_state Filter based on on the training job state: queued, running, completed, failed etc.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_parent_id Return the training jobs that are sub-jobs of this parent_id job. The parent_id can be the experiment job ID.
e_response Service return value of type T_TRAINING_RESOURCES
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
training_definitions_create
importingi_trnngdfntnnttyrqsttype T_TRAIN_DEF_ENTITY_REQUEST
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_TRAINING_DEFINITION_RESOURCE
raisingzcx_ibmx_service_exception

Create a new training definition

Create a new training definition with the given payload. A training definition represents the training meta-data necessary to start a training job.
Parameters
i_trnngdfntnnttyrqst Payload for creating the training definition. Either `space_id` or `project_id` has to be provided and is mandatory.
e_response Service return value of type T_TRAINING_DEFINITION_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
training_definitions_delete
importingi_training_definition_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
raisingzcx_ibmx_service_exception

Delete the training definition

Delete the training definition with the specified identifier. This will delete all revisions of
this training definition as well. For each revision all attachments will also be deleted.
Parameters
i_training_definition_id Training definition identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
training_definitions_get
importingi_training_definition_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
i_revtype STRING optional
i_accepttype STRING default 'application/json'
exportinge_responsetype T_TRAINING_DEFINITION_RESOURCE
raisingzcx_ibmx_service_exception

Retrieve the training definition

Retrieve the training definition with the specified identifier. If `rev` query parameter is provided,
`rev=latest` will fetch the latest revision. A call with `rev={revision_number}` will fetch the given
revision_number record. Either `space_id` or `project_id` has to be provided and is mandatory.
Parameters
i_training_definition_id Training definition identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_rev The revision number of the resource.
e_response Service return value of type T_TRAINING_DEFINITION_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
training_definitions_list
importingi_space_idtype STRING optional
i_project_idtype STRING optional
i_starttype STRING optional
i_limittype INTEGER default 100
i_tag_valuetype STRING optional
i_searchtype STRING optional
i_accepttype STRING default 'application/json'
exportinge_responsetype T_TRAIN_DEFINITION_RESOURCES
raisingzcx_ibmx_service_exception

Retrieve the training definitions

Retrieve the training definitions for the specified space or project.
Parameters
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_start Token required for token-based pagination. This token cannot be determined by end user. It is generated by the service and it is set in the href available in the `next` field.
i_limit How many resources should be returned. By default limit is 100. Max limit allowed is 200.
i_tag_value Return only the resources with the given tag values, separated by `or` or `and` to support multiple tags.
i_search Returns only resources that match this search string. The path to the field must be the complete path to the field, and this field must be one of the indexed fields for this resource type. Note that the search string must be URL encoded.
e_response Service return value of type T_TRAIN_DEFINITION_RESOURCES
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
training_definitions_update
importingi_training_definition_idtype STRING
i_json_patchtype TT_JSON_PATCH_OPERATION
i_space_idtype STRING optional
i_project_idtype STRING optional
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_TRAINING_DEFINITION_RESOURCE
raisingzcx_ibmx_service_exception

Update the training definition

Update the training definition with the provided patch data.
The following fields can be patched:
- `/tags`
- `/name`
- `/description`
- `/custom`
- `/federated_learning`
Parameters
i_training_definition_id Training definition identifier.
i_json_patch Input For Patch. This is the patch body which corresponds to the JavaScript Object Notation (JSON) Patch standard (RFC 6902).
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
e_response Service return value of type T_TRAINING_DEFINITION_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
train_def_create_revision
importingi_training_definition_idtype STRING
i_trnngdfntnrvsnnttyrqsttype T_TRAIN_DEF_REV_ENTITY_REQUEST
i_contenttypetype STRING default 'application/json'
i_accepttype STRING default 'application/json'
exportinge_responsetype T_TRAINING_DEFINITION_RESOURCE
raisingzcx_ibmx_service_exception

Create a new training definition revision

Create a new training definition revision.
The current metadata and content for
training_definition_id will be taken and a new revision created.
Either `space_id` or `project_id` has to be provided and is mandatory.
Parameters
i_training_definition_id Training definition identifier.
i_trnngdfntnrvsnnttyrqst No documentation available.
e_response Service return value of type T_TRAINING_DEFINITION_RESOURCE
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.
public instance
train_def_list_revisions
importingi_training_definition_idtype STRING
i_space_idtype STRING optional
i_project_idtype STRING optional
i_starttype STRING optional
i_limittype INTEGER default 100
i_accepttype STRING default 'application/json'
exportinge_responsetype T_TRAIN_DEFINITION_RESOURCES
raisingzcx_ibmx_service_exception

Retrieve the training definition revisions

Retrieve the training definition revisions.
Parameters
i_training_definition_id Training definition identifier.
i_space_id The space that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_project_id The project that contains the resource. Either `space_id` or `project_id` query parameter has to be given.
i_start Token required for token-based pagination. This token cannot be determined by end user. It is generated by the service and it is set in the href available in the `next` field.
i_limit How many resources should be returned. By default limit is 100. Max limit allowed is 200.
e_response Service return value of type T_TRAIN_DEFINITION_RESOURCES
Class-based Exceptions
zcx_ibmx_service_exception Exception being raised in case of an error.