v1

latestOpenAPI 3.1.0Apache 2.02026-07-245981,1853.0 MB
Model Management

Create Model Object

Use this API to create a new Model object record.

🗒 Things to Know

  • This API only supports creating Model objects via Object Manager.
post/api/custom-entity/v2/models

Request body

namestring required

The name of the object.

descriptionstring

The description of the object.

modelVersionstring

The version of the model.

limitationsstring

The limitations of the model.

biasesstring

The known biases of the model.

demographicParityDifferencestring decimal

The demographic parity difference measurement.

demographicParityRatiostring decimal

The demographic parity ratio measurement.

equalizedOddsDifferencestring decimal

The equalized odds difference measurement.

equalizedOddsRatiostring decimal

The equalized odds ratio measurement.

referenceLinkstring uri

The reference link or other URL.

hubReferenceIdstring

The hub reference identifier to cross-reference model repositories.

modelSource'Internal Development' | 'Vendor' | 'Open Source' | 'Third Party'

The source of the model.

additionalAttributesobject

This parameter can be used to store attribute details in key value pairs.

Example request

{
  "name": "Customer Sentiment Analysis Model",
  "description": "Model for analyzing customer feedback sentiment",
  "modelVersion": "1.0.0",
  "limitations": "Limited accuracy for non-English languages",
  "biases": "May have cultural bias based on training data",
  "modelSource": "Internal Development",
  "referenceLink": "https://docs.example.com/models/sentiment-analysis"
}

Response

Model entity created successfully

idstring uuid required

The unique identifier of the entity.

numberinteger required

The numerical order in which the entity was created.

namestring

The name of the entity.

orgGroupIdstring uuid

The unique identifier of the organization.

schemaIdstring uuid required

The unique identifier of the schema.

attributesobject

Example response

{
  "id": "f2229953-b4b5-4042-8cb9-b78038cc4c46",
  "number": 1,
  "name": "OneTrust",
  "orgGroupId": "d1119953-b4b5-4042-8cb9-b78038cc2c46",
  "entityType": {
    "id": "a2319953-b4b5-4042-8cb9-b78038cc4c46",
    "name": "Asset"
  },
  "workflowAndStage": {
    "id": "b271c01a-89a9-41b1-8185-0a3e2bfdad84",
    "name": "Vendor On-Boarding Workflow",
    "type": "Vendor",
    "workflowMode": "BASIC",
    "stageId": "9fc111cb-c379-4f08-8aff-5be954c1a6e6",
    "stageName": "Start On-Boarding"
  },
  "attributes": {
    "textAttributeName": [
      {
        "value": "Text"
      }
    ],
    "optionBasedAttributeName": [
      {
        "id": "f2229953-b4b5-4042-8cb9-b78038cc4c46"
      }
    ]
  },
  "auditFields": {
    "createdBy": {
      "id": "c21319953-b4b5-4042-8cb9-b78038cc4c51",
      "name": "Name"
    },
    "lastModifiedBy": {
      "id": "c21319953-b4b5-4042-8cb9-b78038cc4c51",
      "name": "Name"
    }
  }
}