Table of Contents

Search

  1. Preface
  2. Informatica Intelligent Cloud Services REST API
  3. Platform REST API version 2 resources
  4. Platform REST API version 3 resources
  5. Data Integration REST API
  6. Mass Ingestion Files REST API
  7. Mass Ingestion Streaming REST API
  8. Model Serve REST API
  9. RunAJob utility
  10. ParamSetCli utility
  11. REST API codes
  12. REST API resource quick references

REST API Reference

REST API Reference

Registering a machine learning model

Registering a machine learning model

Use the Documents resource to register a machine learning model after you upload the model file.

POST request

To register a machine learning model, include the project or folder ID in the URI. Use the following URI:
/frs/v1/Projects('<project ID>')/Documents
Include the following fields in the request:
Field
Type
Description
name
String
Machine learning model asset name.
description
String
Optional. Description of the machine learning model.
documentType
String
Use
MLOPS_MODEL
.
nativeData
Object
Blob object that defines the machine learning model.
Include the following fields in the nativeData object:
Field
Type
Description
name
String
Machine learning model asset name.
framework
String
Framework used to create the machine learning model. Use one of the following values:
  • Python
  • PyTorch
  • TensorFlow
framework_type
String
Internal type of the framework.
For a Python model, use
Custom
.
For a PyTorch or TensorFlow model, use
Standard
.
file_id
String
Model file ID generated when you upload the model file.
file_name
String
Name of the model file. The name must match the file name you used to generate the model file ID.
size
String
Size of the model file in GB.
file_type
String
Use
zip
.
inputField
Input fields that the machine learning model expects. Include at least one input field.
name
String
Name of the field.
dataType
String
Data type of the field.
shape
String
Required for array data types. Shape of the array. For example,
[2,3]
.
outputField
Output fields that the machine learning model returns. Include at least one output field.
name
String
Name of the field.
dataType
String
Data type of the field.
shape
String
Required for array data types. Shape of the array. For example,
[2,3]
.

POST response

Returns a summary of the machine learning model.

0 COMMENTS

We’d like to hear from you!