Model management
Use the endpoints described below to for model management.
GET /api/v2/modelPackages/
Retrieve the list of model packages a user has access to.
Parameters
Name |
In |
Type |
Required |
Description |
offset |
query |
integer |
false |
This many results will be skipped. |
limit |
query |
integer |
false |
At most this many results are returned. |
modelId |
query |
string |
false |
If specified, limit results to model packages for the model with the specified ID. |
similarTo |
query |
string |
false |
Return model packages similar to a given model package ID. If used, will only return model packages that match target.name , target.type , target.classNames (for classification models), modelKind.isTimeSeries , and modelKind.isMultiseries of the specified model package. |
forChallenger |
query |
boolean |
false |
Can be used with similarTo to request similar model packages with the intent to use them as challenger models; for external model packages, instead of returning similar external model packages, similar DataRobot and Custom model packages will be retrieved. |
search |
query |
string |
false |
Provide a term to search for in package name, model name, or description |
predictionThreshold |
query |
number |
false |
Prediction threshold used for binary classification models |
imported |
query |
boolean |
false |
If specified, filter for either imported (true) or non-imported (false) model packages |
predictionEnvironmentId |
query |
string |
false |
Can be used to filter packages by what is supported by the prediction environment |
modelKind |
query |
any |
false |
Return models from the registry that match a specific format. |
buildStatus |
query |
string |
false |
If specified, filter model packages by the build status. |
Enumerated Values
Parameter |
Value |
buildStatus |
[inProgress , complete , failed ] |
Example responses
200 Response
{
"properties": {
"count": {
"description": "Number of items returned on this page.",
"type": "integer"
},
"data": {
"description": "list of formatted model packages",
"items": {
"properties": {
"activeDeploymentCount": {
"description": "Number of deployments currently using this model package",
"type": "integer"
},
"buildStatus": {
"description": "Model package build status",
"enum": [
"inProgress",
"complete",
"failed"
],
"type": [
"string",
"null"
]
},
"capabilities": {
"description": "Capabilities of the current model package.",
"properties": {
"supportsAutomaticActuals": {
"description": "Whether inferring actual values from time series history data and automatically feeding them back for accuracy estimation is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsChallengerModels": {
"description": "Whether Challenger Models are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsFeatureDriftTracking": {
"description": "Whether Feature Drift is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsHumilityRecommendedRules": {
"description": "Whether calculating values for recommended Humility Rules is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsHumilityRules": {
"description": "Whether Humility Rules are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsHumilityRulesDefaultCalculations": {
"description": "Whether calculating default values for Humility Rules is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2"
},
"supportsPredictionWarning": {
"description": "Whether Prediction Warnings are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsRetraining": {
"description": "Whether deployment supports retraining.",
"type": "boolean",
"x-versionadded": "v2.28",
"x-versiondeprecated": "v2.29"
},
"supportsScoringCodeDownload": {
"description": "Whether scoring code download is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsSecondaryDatasets": {
"description": "If the deployments supports secondary datasets.",
"type": "boolean",
"x-versionadded": "v2.28",
"x-versiondeprecated": "v2.29"
},
"supportsSegmentedAnalysisDriftAndAccuracy": {
"description": "Whether tracking features in training and predictions data for segmented analysis is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsShapBasedPredictionExplanations": {
"description": "Whether shap-based prediction explanations are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsTargetDriftTracking": {
"description": "Whether Target Drift is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
}
},
"required": [
"supportsChallengerModels",
"supportsFeatureDriftTracking",
"supportsHumilityRecommendedRules",
"supportsHumilityRules",
"supportsHumilityRulesDefaultCalculations",
"supportsPredictionWarning",
"supportsSecondaryDatasets",
"supportsSegmentedAnalysisDriftAndAccuracy",
"supportsShapBasedPredictionExplanations",
"supportsTargetDriftTracking"
],
"type": "object"
},
"datasets": {
"description": "dataset information for the model package",
"properties": {
"baselineSegmentedBy": {
"description": "Names of categorical features by which the training baseline was segmented. This allows for deployment prediction requests to be segmented by those same features. Segmenting the training baseline by these features allows for users to perform segmented analysis of Data Drift and Accuracy, and to compare the same subset of training and scoring data based on the selected segment attribute and segment value.",
"items": {
"type": "string"
},
"type": "array"
},
"datasetName": {
"description": "Name of dataset used to train the model",
"type": [
"string",
"null"
]
},
"holdoutDataCatalogId": {
"description": "ID for holdout data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"holdoutDataCatalogVersionId": {
"description": "Version ID for holdout data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"holdoutDataCreatedAt": {
"description": "Time when the holdout data item was created",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDataCreatorEmail": {
"description": "Email of the user who created the holdout data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDataCreatorId": {
"default": null,
"description": "ID of the creator of the holdout data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDataCreatorName": {
"description": "Name of the user who created the holdout data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDatasetName": {
"description": "Name of dataset used for model holdout",
"type": [
"string",
"null"
]
},
"targetHistogramBaseline": {
"description": "Values used to establish the training baseline",
"enum": [
"predictions",
"actuals"
],
"type": "string"
},
"trainingDataCatalogId": {
"description": "ID for training data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"trainingDataCatalogVersionId": {
"description": "Version ID for training data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"trainingDataCreatedAt": {
"description": "Time when the training data item was created",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataCreatorEmail": {
"description": "Email of the user who created the training data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataCreatorId": {
"default": null,
"description": "ID of the creator of the training data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataCreatorName": {
"description": "Name of the user who created the training data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataSize": {
"description": "Number of rows in training data (used by DR models)",
"type": "integer"
}
},
"required": [
"baselineSegmentedBy",
"datasetName",
"holdoutDataCatalogId",
"holdoutDataCatalogVersionId",
"holdoutDatasetName",
"trainingDataCatalogId",
"trainingDataCatalogVersionId"
],
"type": "object"
},
"id": {
"description": "ID of the Model package",
"type": "string"
},
"importMeta": {
"description": "Information from when this Model Package was first saved",
"properties": {
"containsFearPipeline": {
"description": "Exists for imported models only, indicates thatmodel package contains file with fear pipeline.",
"type": [
"boolean",
"null"
]
},
"containsFeaturelists": {
"description": "Exists for imported models only, indicates thatmodel package contains file with featurelists.",
"type": [
"boolean",
"null"
]
},
"containsLeaderboardMeta": {
"description": "Exists for imported models only, indicates thatmodel package contains file with leaderboard meta.",
"type": [
"boolean",
"null"
]
},
"containsProjectMeta": {
"description": "Exists for imported models only, indicates thatmodel package contains file with project meta.",
"type": [
"boolean",
"null"
]
},
"creatorFullName": {
"description": "Full name of the person who created this model package",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "User ID of the person who created this Model Package",
"type": "string"
},
"creatorUsername": {
"description": "Username of the person who created this model package",
"type": "string"
},
"dateCreated": {
"description": "When this Model Package was created",
"type": "string"
},
"originalFileName": {
"description": "Exists for imported models only, the original file name that was uploaded",
"type": [
"string",
"null"
]
}
},
"required": [
"creatorFullName",
"creatorId",
"creatorUsername",
"dateCreated",
"originalFileName"
],
"type": "object"
},
"isArchived": {
"description": "Whether the model package is permanently archived (cannot be used in deployment or replacement)",
"type": "boolean"
},
"isDeprecated": {
"description": "Whether the model package is deprecated. eg. python2 models are deprecated.",
"type": "boolean",
"x-versionadded": "v2.29"
},
"mlpkgFileContents": {
"description": "Information about the content of .mlpkg artifact",
"properties": {
"allTimeSeriesPredictionIntervals": {
"description": "Whether .mlpkg contains TS prediction intervals computed for all percentiles",
"type": [
"boolean",
"null"
],
"x-versionadded": "v2.31"
}
},
"type": "object"
},
"modelDescription": {
"description": "model description information for the model package",
"properties": {
"buildEnvironmentType": {
"description": "build environment type of the model",
"enum": [
"DataRobot",
"Python",
"R",
"Java",
"Other"
],
"type": "string"
},
"description": {
"description": "a description of the model",
"type": [
"string",
"null"
]
},
"location": {
"description": "location of the model",
"type": [
"string",
"null"
]
},
"modelCreatedAt": {
"description": "time when the model was created",
"type": [
"string",
"null"
]
},
"modelCreatorEmail": {
"description": "email of the user who created the model",
"type": [
"string",
"null"
]
},
"modelCreatorId": {
"default": null,
"description": "ID of the creator of the model",
"type": [
"string",
"null"
]
},
"modelCreatorName": {
"description": "name of the user who created the model",
"type": [
"string",
"null"
]
},
"modelName": {
"description": "model name",
"type": "string"
}
},
"required": [
"buildEnvironmentType",
"description",
"location"
],
"type": "object"
},
"modelExecutionType": {
"description": "Type of model package. `dedicated` (native DataRobot models) and `custom_inference_model` (user added inference models) both execute on DataRobot prediction servers, `external` do not",
"enum": [
"dedicated",
"custom_inference_model",
"external"
],
"type": "string"
},
"modelId": {
"description": "ID of the model",
"type": "string"
},
"modelKind": {
"description": "Model attribute information",
"properties": {
"isAnomalyDetectionModel": {
"description": "true if this is an anomaly detection model",
"type": "boolean"
},
"isCombinedModel": {
"description": "true if model is a combined model",
"type": "boolean",
"x-versionadded": "v2.27"
},
"isFeatureDiscovery": {
"description": "true if this model uses the Feature Discovery feature",
"type": "boolean"
},
"isMultiseries": {
"description": "true if model is multiseries",
"type": "boolean"
},
"isTimeSeries": {
"description": "true if model is time series",
"type": "boolean"
},
"isUnsupervisedLearning": {
"description": "true if model used unsupervised learning",
"type": "boolean"
}
},
"required": [
"isAnomalyDetectionModel",
"isCombinedModel",
"isFeatureDiscovery",
"isMultiseries",
"isTimeSeries",
"isUnsupervisedLearning"
],
"type": "object"
},
"name": {
"description": "Model package name",
"type": "string"
},
"permissions": {
"description": "List of action permissions the user making the request has on the model package",
"items": {
"type": "string"
},
"type": "array",
"x-versionadded": "v2.20"
},
"sourceMeta": {
"description": "Meta information from where this model was generated",
"properties": {
"customModelDetails": {
"description": "Details of the custom model associated to this registered model version",
"properties": {
"createdAt": {
"description": "Time when the custom model was created",
"type": "string"
},
"creatorEmail": {
"description": "Email of the user who created the custom model",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "ID of the creator of the custom model",
"type": "string"
},
"creatorName": {
"description": "Name of the user who created the custom model",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the associated custom model",
"type": "string"
},
"versionLabel": {
"description": "Label of associated custom model version.",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
}
},
"required": [
"createdAt",
"creatorId",
"id"
],
"type": "object"
},
"environmentUrl": {
"description": "If available, URL of the source model",
"format": "uri",
"type": [
"string",
"null"
]
},
"fips_140_2Enabled": {
"description": "true if the model was built with FIPS-140-2",
"type": "boolean"
},
"projectCreatedAt": {
"description": "If available, time when the project was created",
"type": [
"string",
"null"
]
},
"projectCreatorEmail": {
"description": "If available, email of the user who created the project",
"type": [
"string",
"null"
]
},
"projectCreatorId": {
"default": null,
"description": "If available, ID of the creator of the project",
"type": [
"string",
"null"
]
},
"projectCreatorName": {
"description": "If available, name of the user who created the project",
"type": [
"string",
"null"
]
},
"projectId": {
"description": "If available, the project id used for this model",
"type": [
"string",
"null"
]
},
"projectName": {
"description": "If available, the project name for this model",
"type": [
"string",
"null"
]
},
"scoringCode": {
"description": "If available, information about the model's scoring code",
"properties": {
"dataRobotPredictionVersion": {
"description": "DataRobot prediction API version for the scoring code",
"type": [
"string",
"null"
]
},
"location": {
"description": "Location of the scoring code",
"enum": [
"local_leaderboard",
"mlpkg"
],
"type": [
"string",
"null"
]
}
},
"required": [
"dataRobotPredictionVersion",
"location"
],
"type": "object"
},
"useCaseDetails": {
"description": "Details of the use-case associated to this registered model version",
"properties": {
"createdAt": {
"description": "Time when use-case was created",
"type": "string"
},
"creatorEmail": {
"description": "Email of the user who created use-case",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "ID of the creator of the use-case",
"type": "string"
},
"creatorName": {
"description": "Name of the user who created use-case",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the associated use-case",
"type": "string"
},
"name": {
"description": "Name of the use case at the moment of creation",
"type": [
"string",
"null"
]
}
},
"required": [
"createdAt",
"creatorId",
"id"
],
"type": "object"
}
},
"required": [
"environmentUrl",
"projectId",
"projectName",
"scoringCode"
],
"type": "object"
},
"target": {
"description": "target information for the model package",
"properties": {
"classCount": {
"description": "Number of classes for classification models.",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"classNames": {
"description": "Class names for prediction results. When target type is Binary, two class names are returned. The first element is the minority (positive) class and the second element is the majority (negative) class. Limited to 100 returned for Multiclass.",
"items": {
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"name": {
"description": "name of the target column",
"type": "string"
},
"predictionProbabilitiesColumn": {
"description": "Field or column name containing prediction probabilities",
"type": [
"string",
"null"
]
},
"predictionThreshold": {
"description": "Prediction threshold used for binary classification models",
"maximum": 1,
"minimum": 0,
"type": [
"number",
"null"
]
},
"type": {
"description": "Target type of the model.",
"enum": [
"Binary",
"Regression",
"Multiclass",
"Multilabel",
"TextGeneration",
"GeoPoint",
"AgenticWorkflow"
],
"type": "string"
}
},
"required": [
"classCount",
"classNames",
"name",
"predictionProbabilitiesColumn",
"predictionThreshold",
"type"
],
"type": "object"
},
"timeseries": {
"description": "time series information for the model package",
"properties": {
"datetimeColumnFormat": {
"description": "Date format for forecast date and forecast point column",
"type": [
"string",
"null"
]
},
"datetimeColumnName": {
"description": "Name of the forecast date column",
"type": [
"string",
"null"
]
},
"effectiveFeatureDerivationWindowEnd": {
"description": "Same concept as `featureDerivationWindowEnd` which is chosen by the user and based on the initial sampled data from the eda sample. When the dataset goes through aim, the pipeline reads the full dataset and figures out the \"real\" FDW (i.e., the effective FDW). For most models, eFDW is approximately the same as the FDW.",
"maximum": 0,
"type": [
"integer",
"null"
],
"x-versionadded": "v2.25"
},
"effectiveFeatureDerivationWindowStart": {
"description": "Same concept as `featureDerivationWindowStart` which is chosen by the user and based on the initial sampled data from the eda sample. When the dataset goes through aim, the pipeline reads the full dataset and figures out the \"real\" FDW (i.e., the effective FDW). For most models, eFDW is approximately the same as the FDW.",
"maximum": 0,
"type": [
"integer",
"null"
],
"x-versionadded": "v2.25"
},
"featureDerivationWindowEnd": {
"description": "Negative number or zero defining how many time units of the forecast distances time unit into the past relative to the forecast point the feature derivation window should end.",
"maximum": 0,
"type": [
"integer",
"null"
]
},
"featureDerivationWindowStart": {
"description": "Negative number or zero defining how many time units of the forecast distances time unit into the past relative to the forecast point the feature derivation window should begin.",
"maximum": 0,
"type": [
"integer",
"null"
]
},
"forecastDistanceColumnName": {
"description": "Name of the forecast distance column",
"type": [
"string",
"null"
]
},
"forecastDistances": {
"description": "List of integer forecast distances",
"items": {
"type": "integer"
},
"type": "array"
},
"forecastDistancesTimeUnit": {
"description": "The time unit of forecast distances",
"enum": [
"MICROSECOND",
"MILLISECOND",
"SECOND",
"MINUTE",
"HOUR",
"DAY",
"WEEK",
"MONTH",
"QUARTER",
"YEAR"
],
"type": [
"string",
"null"
]
},
"forecastPointColumnName": {
"description": "Name of the forecast point column",
"type": [
"string",
"null"
]
},
"isCrossSeries": {
"description": "true if the model is cross-series.",
"type": [
"boolean",
"null"
]
},
"isNewSeriesSupport": {
"description": "true if the model is optimized to support new series.",
"type": [
"boolean",
"null"
],
"x-versionadded": "v2.25"
},
"isTraditionalTimeSeries": {
"description": "true if the model is traditional time series.",
"type": [
"boolean",
"null"
]
},
"seriesColumnName": {
"description": "Name of the series column in case of multi-series date",
"type": [
"string",
"null"
]
}
},
"required": [
"datetimeColumnFormat",
"datetimeColumnName",
"effectiveFeatureDerivationWindowEnd",
"effectiveFeatureDerivationWindowStart",
"featureDerivationWindowEnd",
"featureDerivationWindowStart",
"forecastDistanceColumnName",
"forecastDistances",
"forecastDistancesTimeUnit",
"forecastPointColumnName",
"isCrossSeries",
"isNewSeriesSupport",
"isTraditionalTimeSeries",
"seriesColumnName"
],
"type": "object"
},
"updatedBy": {
"description": "Information on the user who last modified the registered model",
"properties": {
"email": {
"description": "Email of the user",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the user",
"type": "string"
},
"name": {
"description": "Full name of the user",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
},
"userProvidedId": {
"description": "A user-provided unique ID associated with the given custom inference model.",
"type": "string"
}
},
"required": [
"activeDeploymentCount",
"capabilities",
"datasets",
"id",
"importMeta",
"isArchived",
"isDeprecated",
"modelDescription",
"modelExecutionType",
"modelId",
"modelKind",
"name",
"permissions",
"sourceMeta",
"target",
"timeseries",
"updatedBy"
],
"type": "object"
},
"type": "array"
},
"next": {
"description": "URL pointing to the next page (if null, there is no next page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"previous": {
"description": "URL pointing to the previous page (if null, there is no previous page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"totalCount": {
"description": "The total number of items across all pages.",
"type": "integer"
}
},
"required": [
"data",
"next",
"previous",
"totalCount"
],
"type": "object"
}
Responses
To perform this operation, you must be authenticated by means of one of the following methods:
BearerAuth
POST /api/v2/modelPackages/fromLeaderboard/
Create model package from a Leaderboard model.
Body parameter
{
"properties": {
"computeAllTsIntervals": {
"default": null,
"description": "Whether to compute all Time Series prediction intervals (1-100 percentiles)",
"type": [
"boolean",
"null"
]
},
"description": {
"default": "",
"description": "Description of the model package.",
"maxLength": 2048,
"type": [
"string",
"null"
]
},
"distributionPredictionModelId": {
"default": null,
"description": "ID of the DataRobot distribution prediction model trained on predictions from the DataRobot model.",
"type": [
"string",
"null"
]
},
"modelId": {
"description": "ID of the DataRobot model.",
"type": "string"
},
"name": {
"default": null,
"description": "Name of the model package.",
"maxLength": 1024,
"type": [
"string",
"null"
]
},
"predictionThreshold": {
"description": "Threshold used for binary classification in predictions",
"maximum": 1,
"minimum": 0,
"type": "number"
}
},
"required": [
"modelId"
],
"type": "object"
}
Parameters
Responses
Status |
Meaning |
Description |
Schema |
202 |
Accepted |
A job for building model package file was successfully submitted. |
None |
422 |
Unprocessable Entity |
Unable to process the Model Package creation request. |
None |
To perform this operation, you must be authenticated by means of one of the following methods:
BearerAuth
POST /api/v2/modelPackages/fromLearningModel/
Create model package from DataRobot model.
.. minversion:: v2.31
DEPRECATED: please use the following route instead:
POST /api/v2/modelPackages/fromLeaderboard/
Body parameter
{
"properties": {
"description": {
"description": "Description of the model package.",
"maxLength": 2048,
"type": [
"string",
"null"
]
},
"distributionPredictionModelId": {
"default": null,
"description": "ID of the DataRobot distribution prediction model trained on predictions from the DataRobot model.",
"type": [
"string",
"null"
]
},
"modelId": {
"description": "ID of the DataRobot model.",
"type": "string"
},
"name": {
"default": null,
"description": "Name of the model package.",
"maxLength": 1024,
"type": [
"string",
"null"
]
},
"predictionThreshold": {
"description": "Threshold used for binary classification in predictions",
"maximum": 1,
"minimum": 0,
"type": "number"
}
},
"required": [
"modelId"
],
"type": "object"
}
Parameters
Responses
Status |
Meaning |
Description |
Schema |
201 |
Created |
none |
None |
403 |
Forbidden |
The user does not have permission to create a Model Package. |
None |
404 |
Not Found |
Either the model_id not exist or the user does not have permission to view the model and project. |
None |
422 |
Unprocessable Entity |
Unable to process the Model Package creation request. |
None |
To perform this operation, you must be authenticated by means of one of the following methods:
BearerAuth
GET /api/v2/modelPackages/{modelPackageId}/
Retrieve info about a model package.
Parameters
Name |
In |
Type |
Required |
Description |
modelPackageId |
path |
string |
true |
ID of the model package. |
Example responses
200 Response
{
"properties": {
"activeDeploymentCount": {
"description": "Number of deployments currently using this model package",
"type": "integer"
},
"buildStatus": {
"description": "Model package build status",
"enum": [
"inProgress",
"complete",
"failed"
],
"type": [
"string",
"null"
]
},
"capabilities": {
"description": "Capabilities of the current model package.",
"properties": {
"supportsAutomaticActuals": {
"description": "Whether inferring actual values from time series history data and automatically feeding them back for accuracy estimation is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsChallengerModels": {
"description": "Whether Challenger Models are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsFeatureDriftTracking": {
"description": "Whether Feature Drift is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsHumilityRecommendedRules": {
"description": "Whether calculating values for recommended Humility Rules is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsHumilityRules": {
"description": "Whether Humility Rules are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsHumilityRulesDefaultCalculations": {
"description": "Whether calculating default values for Humility Rules is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2"
},
"supportsPredictionWarning": {
"description": "Whether Prediction Warnings are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsRetraining": {
"description": "Whether deployment supports retraining.",
"type": "boolean",
"x-versionadded": "v2.28",
"x-versiondeprecated": "v2.29"
},
"supportsScoringCodeDownload": {
"description": "Whether scoring code download is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsSecondaryDatasets": {
"description": "If the deployments supports secondary datasets.",
"type": "boolean",
"x-versionadded": "v2.28",
"x-versiondeprecated": "v2.29"
},
"supportsSegmentedAnalysisDriftAndAccuracy": {
"description": "Whether tracking features in training and predictions data for segmented analysis is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsShapBasedPredictionExplanations": {
"description": "Whether shap-based prediction explanations are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsTargetDriftTracking": {
"description": "Whether Target Drift is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
}
},
"required": [
"supportsChallengerModels",
"supportsFeatureDriftTracking",
"supportsHumilityRecommendedRules",
"supportsHumilityRules",
"supportsHumilityRulesDefaultCalculations",
"supportsPredictionWarning",
"supportsSecondaryDatasets",
"supportsSegmentedAnalysisDriftAndAccuracy",
"supportsShapBasedPredictionExplanations",
"supportsTargetDriftTracking"
],
"type": "object"
},
"datasets": {
"description": "dataset information for the model package",
"properties": {
"baselineSegmentedBy": {
"description": "Names of categorical features by which the training baseline was segmented. This allows for deployment prediction requests to be segmented by those same features. Segmenting the training baseline by these features allows for users to perform segmented analysis of Data Drift and Accuracy, and to compare the same subset of training and scoring data based on the selected segment attribute and segment value.",
"items": {
"type": "string"
},
"type": "array"
},
"datasetName": {
"description": "Name of dataset used to train the model",
"type": [
"string",
"null"
]
},
"holdoutDataCatalogId": {
"description": "ID for holdout data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"holdoutDataCatalogVersionId": {
"description": "Version ID for holdout data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"holdoutDataCreatedAt": {
"description": "Time when the holdout data item was created",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDataCreatorEmail": {
"description": "Email of the user who created the holdout data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDataCreatorId": {
"default": null,
"description": "ID of the creator of the holdout data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDataCreatorName": {
"description": "Name of the user who created the holdout data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDatasetName": {
"description": "Name of dataset used for model holdout",
"type": [
"string",
"null"
]
},
"targetHistogramBaseline": {
"description": "Values used to establish the training baseline",
"enum": [
"predictions",
"actuals"
],
"type": "string"
},
"trainingDataCatalogId": {
"description": "ID for training data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"trainingDataCatalogVersionId": {
"description": "Version ID for training data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"trainingDataCreatedAt": {
"description": "Time when the training data item was created",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataCreatorEmail": {
"description": "Email of the user who created the training data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataCreatorId": {
"default": null,
"description": "ID of the creator of the training data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataCreatorName": {
"description": "Name of the user who created the training data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataSize": {
"description": "Number of rows in training data (used by DR models)",
"type": "integer"
}
},
"required": [
"baselineSegmentedBy",
"datasetName",
"holdoutDataCatalogId",
"holdoutDataCatalogVersionId",
"holdoutDatasetName",
"trainingDataCatalogId",
"trainingDataCatalogVersionId"
],
"type": "object"
},
"id": {
"description": "ID of the Model package",
"type": "string"
},
"importMeta": {
"description": "Information from when this Model Package was first saved",
"properties": {
"containsFearPipeline": {
"description": "Exists for imported models only, indicates thatmodel package contains file with fear pipeline.",
"type": [
"boolean",
"null"
]
},
"containsFeaturelists": {
"description": "Exists for imported models only, indicates thatmodel package contains file with featurelists.",
"type": [
"boolean",
"null"
]
},
"containsLeaderboardMeta": {
"description": "Exists for imported models only, indicates thatmodel package contains file with leaderboard meta.",
"type": [
"boolean",
"null"
]
},
"containsProjectMeta": {
"description": "Exists for imported models only, indicates thatmodel package contains file with project meta.",
"type": [
"boolean",
"null"
]
},
"creatorFullName": {
"description": "Full name of the person who created this model package",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "User ID of the person who created this Model Package",
"type": "string"
},
"creatorUsername": {
"description": "Username of the person who created this model package",
"type": "string"
},
"dateCreated": {
"description": "When this Model Package was created",
"type": "string"
},
"originalFileName": {
"description": "Exists for imported models only, the original file name that was uploaded",
"type": [
"string",
"null"
]
}
},
"required": [
"creatorFullName",
"creatorId",
"creatorUsername",
"dateCreated",
"originalFileName"
],
"type": "object"
},
"isArchived": {
"description": "Whether the model package is permanently archived (cannot be used in deployment or replacement)",
"type": "boolean"
},
"isDeprecated": {
"description": "Whether the model package is deprecated. eg. python2 models are deprecated.",
"type": "boolean",
"x-versionadded": "v2.29"
},
"mlpkgFileContents": {
"description": "Information about the content of .mlpkg artifact",
"properties": {
"allTimeSeriesPredictionIntervals": {
"description": "Whether .mlpkg contains TS prediction intervals computed for all percentiles",
"type": [
"boolean",
"null"
],
"x-versionadded": "v2.31"
}
},
"type": "object"
},
"modelDescription": {
"description": "model description information for the model package",
"properties": {
"buildEnvironmentType": {
"description": "build environment type of the model",
"enum": [
"DataRobot",
"Python",
"R",
"Java",
"Other"
],
"type": "string"
},
"description": {
"description": "a description of the model",
"type": [
"string",
"null"
]
},
"location": {
"description": "location of the model",
"type": [
"string",
"null"
]
},
"modelCreatedAt": {
"description": "time when the model was created",
"type": [
"string",
"null"
]
},
"modelCreatorEmail": {
"description": "email of the user who created the model",
"type": [
"string",
"null"
]
},
"modelCreatorId": {
"default": null,
"description": "ID of the creator of the model",
"type": [
"string",
"null"
]
},
"modelCreatorName": {
"description": "name of the user who created the model",
"type": [
"string",
"null"
]
},
"modelName": {
"description": "model name",
"type": "string"
}
},
"required": [
"buildEnvironmentType",
"description",
"location"
],
"type": "object"
},
"modelExecutionType": {
"description": "Type of model package. `dedicated` (native DataRobot models) and `custom_inference_model` (user added inference models) both execute on DataRobot prediction servers, `external` do not",
"enum": [
"dedicated",
"custom_inference_model",
"external"
],
"type": "string"
},
"modelId": {
"description": "ID of the model",
"type": "string"
},
"modelKind": {
"description": "Model attribute information",
"properties": {
"isAnomalyDetectionModel": {
"description": "true if this is an anomaly detection model",
"type": "boolean"
},
"isCombinedModel": {
"description": "true if model is a combined model",
"type": "boolean",
"x-versionadded": "v2.27"
},
"isFeatureDiscovery": {
"description": "true if this model uses the Feature Discovery feature",
"type": "boolean"
},
"isMultiseries": {
"description": "true if model is multiseries",
"type": "boolean"
},
"isTimeSeries": {
"description": "true if model is time series",
"type": "boolean"
},
"isUnsupervisedLearning": {
"description": "true if model used unsupervised learning",
"type": "boolean"
}
},
"required": [
"isAnomalyDetectionModel",
"isCombinedModel",
"isFeatureDiscovery",
"isMultiseries",
"isTimeSeries",
"isUnsupervisedLearning"
],
"type": "object"
},
"name": {
"description": "Model package name",
"type": "string"
},
"permissions": {
"description": "List of action permissions the user making the request has on the model package",
"items": {
"type": "string"
},
"type": "array",
"x-versionadded": "v2.20"
},
"sourceMeta": {
"description": "Meta information from where this model was generated",
"properties": {
"customModelDetails": {
"description": "Details of the custom model associated to this registered model version",
"properties": {
"createdAt": {
"description": "Time when the custom model was created",
"type": "string"
},
"creatorEmail": {
"description": "Email of the user who created the custom model",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "ID of the creator of the custom model",
"type": "string"
},
"creatorName": {
"description": "Name of the user who created the custom model",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the associated custom model",
"type": "string"
},
"versionLabel": {
"description": "Label of associated custom model version.",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
}
},
"required": [
"createdAt",
"creatorId",
"id"
],
"type": "object"
},
"environmentUrl": {
"description": "If available, URL of the source model",
"format": "uri",
"type": [
"string",
"null"
]
},
"fips_140_2Enabled": {
"description": "true if the model was built with FIPS-140-2",
"type": "boolean"
},
"projectCreatedAt": {
"description": "If available, time when the project was created",
"type": [
"string",
"null"
]
},
"projectCreatorEmail": {
"description": "If available, email of the user who created the project",
"type": [
"string",
"null"
]
},
"projectCreatorId": {
"default": null,
"description": "If available, ID of the creator of the project",
"type": [
"string",
"null"
]
},
"projectCreatorName": {
"description": "If available, name of the user who created the project",
"type": [
"string",
"null"
]
},
"projectId": {
"description": "If available, the project id used for this model",
"type": [
"string",
"null"
]
},
"projectName": {
"description": "If available, the project name for this model",
"type": [
"string",
"null"
]
},
"scoringCode": {
"description": "If available, information about the model's scoring code",
"properties": {
"dataRobotPredictionVersion": {
"description": "DataRobot prediction API version for the scoring code",
"type": [
"string",
"null"
]
},
"location": {
"description": "Location of the scoring code",
"enum": [
"local_leaderboard",
"mlpkg"
],
"type": [
"string",
"null"
]
}
},
"required": [
"dataRobotPredictionVersion",
"location"
],
"type": "object"
},
"useCaseDetails": {
"description": "Details of the use-case associated to this registered model version",
"properties": {
"createdAt": {
"description": "Time when use-case was created",
"type": "string"
},
"creatorEmail": {
"description": "Email of the user who created use-case",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "ID of the creator of the use-case",
"type": "string"
},
"creatorName": {
"description": "Name of the user who created use-case",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the associated use-case",
"type": "string"
},
"name": {
"description": "Name of the use case at the moment of creation",
"type": [
"string",
"null"
]
}
},
"required": [
"createdAt",
"creatorId",
"id"
],
"type": "object"
}
},
"required": [
"environmentUrl",
"projectId",
"projectName",
"scoringCode"
],
"type": "object"
},
"target": {
"description": "target information for the model package",
"properties": {
"classCount": {
"description": "Number of classes for classification models.",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"classNames": {
"description": "Class names for prediction results. When target type is Binary, two class names are returned. The first element is the minority (positive) class and the second element is the majority (negative) class. Limited to 100 returned for Multiclass.",
"items": {
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"name": {
"description": "name of the target column",
"type": "string"
},
"predictionProbabilitiesColumn": {
"description": "Field or column name containing prediction probabilities",
"type": [
"string",
"null"
]
},
"predictionThreshold": {
"description": "Prediction threshold used for binary classification models",
"maximum": 1,
"minimum": 0,
"type": [
"number",
"null"
]
},
"type": {
"description": "Target type of the model.",
"enum": [
"Binary",
"Regression",
"Multiclass",
"Multilabel",
"TextGeneration",
"GeoPoint",
"AgenticWorkflow"
],
"type": "string"
}
},
"required": [
"classCount",
"classNames",
"name",
"predictionProbabilitiesColumn",
"predictionThreshold",
"type"
],
"type": "object"
},
"timeseries": {
"description": "time series information for the model package",
"properties": {
"datetimeColumnFormat": {
"description": "Date format for forecast date and forecast point column",
"type": [
"string",
"null"
]
},
"datetimeColumnName": {
"description": "Name of the forecast date column",
"type": [
"string",
"null"
]
},
"effectiveFeatureDerivationWindowEnd": {
"description": "Same concept as `featureDerivationWindowEnd` which is chosen by the user and based on the initial sampled data from the eda sample. When the dataset goes through aim, the pipeline reads the full dataset and figures out the \"real\" FDW (i.e., the effective FDW). For most models, eFDW is approximately the same as the FDW.",
"maximum": 0,
"type": [
"integer",
"null"
],
"x-versionadded": "v2.25"
},
"effectiveFeatureDerivationWindowStart": {
"description": "Same concept as `featureDerivationWindowStart` which is chosen by the user and based on the initial sampled data from the eda sample. When the dataset goes through aim, the pipeline reads the full dataset and figures out the \"real\" FDW (i.e., the effective FDW). For most models, eFDW is approximately the same as the FDW.",
"maximum": 0,
"type": [
"integer",
"null"
],
"x-versionadded": "v2.25"
},
"featureDerivationWindowEnd": {
"description": "Negative number or zero defining how many time units of the forecast distances time unit into the past relative to the forecast point the feature derivation window should end.",
"maximum": 0,
"type": [
"integer",
"null"
]
},
"featureDerivationWindowStart": {
"description": "Negative number or zero defining how many time units of the forecast distances time unit into the past relative to the forecast point the feature derivation window should begin.",
"maximum": 0,
"type": [
"integer",
"null"
]
},
"forecastDistanceColumnName": {
"description": "Name of the forecast distance column",
"type": [
"string",
"null"
]
},
"forecastDistances": {
"description": "List of integer forecast distances",
"items": {
"type": "integer"
},
"type": "array"
},
"forecastDistancesTimeUnit": {
"description": "The time unit of forecast distances",
"enum": [
"MICROSECOND",
"MILLISECOND",
"SECOND",
"MINUTE",
"HOUR",
"DAY",
"WEEK",
"MONTH",
"QUARTER",
"YEAR"
],
"type": [
"string",
"null"
]
},
"forecastPointColumnName": {
"description": "Name of the forecast point column",
"type": [
"string",
"null"
]
},
"isCrossSeries": {
"description": "true if the model is cross-series.",
"type": [
"boolean",
"null"
]
},
"isNewSeriesSupport": {
"description": "true if the model is optimized to support new series.",
"type": [
"boolean",
"null"
],
"x-versionadded": "v2.25"
},
"isTraditionalTimeSeries": {
"description": "true if the model is traditional time series.",
"type": [
"boolean",
"null"
]
},
"seriesColumnName": {
"description": "Name of the series column in case of multi-series date",
"type": [
"string",
"null"
]
}
},
"required": [
"datetimeColumnFormat",
"datetimeColumnName",
"effectiveFeatureDerivationWindowEnd",
"effectiveFeatureDerivationWindowStart",
"featureDerivationWindowEnd",
"featureDerivationWindowStart",
"forecastDistanceColumnName",
"forecastDistances",
"forecastDistancesTimeUnit",
"forecastPointColumnName",
"isCrossSeries",
"isNewSeriesSupport",
"isTraditionalTimeSeries",
"seriesColumnName"
],
"type": "object"
},
"updatedBy": {
"description": "Information on the user who last modified the registered model",
"properties": {
"email": {
"description": "Email of the user",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the user",
"type": "string"
},
"name": {
"description": "Full name of the user",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
},
"userProvidedId": {
"description": "A user-provided unique ID associated with the given custom inference model.",
"type": "string"
}
},
"required": [
"activeDeploymentCount",
"capabilities",
"datasets",
"id",
"importMeta",
"isArchived",
"isDeprecated",
"modelDescription",
"modelExecutionType",
"modelId",
"modelKind",
"name",
"permissions",
"sourceMeta",
"target",
"timeseries",
"updatedBy"
],
"type": "object"
}
Responses
Status |
Meaning |
Description |
Schema |
200 |
OK |
none |
ModelPackageRetrieveResponse |
404 |
Not Found |
Either the model package does not exist or the user does not have permission to view the model package. |
None |
To perform this operation, you must be authenticated by means of one of the following methods:
BearerAuth
POST /api/v2/modelPackages/{modelPackageId}/archive/
(Deprecated in v2.32) Permanently archive a model package. It will no longer be able to be used in new deployments or replacement. It will not be accessible in the model package list api. It will only be accessible at the model package retrieve route for this model package.
Parameters
Name |
In |
Type |
Required |
Description |
modelPackageId |
path |
string |
true |
ID of the model package. |
Responses
Status |
Meaning |
Description |
Schema |
204 |
No Content |
none |
None |
To perform this operation, you must be authenticated by means of one of the following methods:
BearerAuth
GET /api/v2/modelPackages/{modelPackageId}/capabilities/
Retrieve the capabilities for the model package.
Parameters
Name |
In |
Type |
Required |
Description |
modelPackageId |
path |
string |
true |
ID of the model package. |
Example responses
200 Response
{
"properties": {
"data": {
"description": "List of all capabilities.",
"items": {
"properties": {
"messages": {
"description": "Messages explaining why the capability is supported or not supported.",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "The name of the capability.",
"type": "string"
},
"supported": {
"description": "If the capability is supported.",
"type": "boolean"
}
},
"required": [
"messages",
"name",
"supported"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"data"
],
"type": "object"
}
Responses
To perform this operation, you must be authenticated by means of one of the following methods:
BearerAuth
GET /api/v2/modelPackages/{modelPackageId}/features/
Retrieve the feature list for given model package.
Parameters
Name |
In |
Type |
Required |
Description |
offset |
query |
integer |
true |
The number of features to skip, defaults to 0. |
limit |
query |
integer |
true |
The number of features to return, defaults to 0. |
includeNonPredictionFeatures |
query |
string |
false |
When True will return all raw features in the universe dataset associated with the deployment, and when False will return only those raw features used to make predictions on the deployment. |
forSegmentedAnalysis |
query |
string |
false |
When True, features returned will be filtered to those usable for segmented analysis. |
search |
query |
string |
false |
Case insensitive search against names of the deployment's features. |
orderBy |
query |
string |
false |
The sort order to apply to the list of features. Prefix the attribute name with a dash to sort in descending order, e.g., "-name". |
modelPackageId |
path |
string |
true |
ID of the model package. |
Enumerated Values
Parameter |
Value |
includeNonPredictionFeatures |
[false , False , true , True ] |
forSegmentedAnalysis |
[false , False , true , True ] |
orderBy |
[name , importance , -name , -importance ] |
Example responses
200 Response
{
"properties": {
"count": {
"description": "Number of items returned on this page.",
"type": "integer"
},
"data": {
"description": "An array of features.",
"items": {
"properties": {
"dateFormat": {
"description": "The date format string for how this feature was interpreted.",
"type": [
"string",
"null"
]
},
"featureType": {
"description": "Feature type.",
"type": [
"string",
"null"
]
},
"importance": {
"description": "Numeric measure of the relationship strength between the feature and target (independent of model or other features).",
"type": [
"number",
"null"
]
},
"knownInAdvance": {
"description": "Whether the feature was selected as known in advance in a time-series model, false for non-time-series models.",
"type": "boolean"
},
"name": {
"description": "Feature name.",
"type": "string"
}
},
"required": [
"dateFormat",
"featureType",
"importance",
"knownInAdvance",
"name"
],
"type": "object"
},
"type": "array"
},
"next": {
"description": "URL pointing to the next page (if null, there is no next page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"previous": {
"description": "URL pointing to the previous page (if null, there is no previous page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"totalCount": {
"description": "The total number of items across all pages.",
"type": "integer",
"x-versionadded": "v2.35"
}
},
"required": [
"data",
"next",
"previous",
"totalCount"
],
"type": "object"
}
Responses
To perform this operation, you must be authenticated by means of one of the following methods:
BearerAuth
GET /api/v2/modelPackages/{modelPackageId}/modelLogs/
List model package's model logs
Parameters
Name |
In |
Type |
Required |
Description |
offset |
query |
integer |
false |
Number of results that will be skipped. |
limit |
query |
integer |
false |
At most this many results will be returned. |
modelPackageId |
path |
string |
true |
ID of the model package. |
Example responses
200 Response
{
"properties": {
"count": {
"description": "Number of items returned on this page.",
"type": "integer"
},
"data": {
"description": "Log entries.",
"items": {
"properties": {
"level": {
"description": "Name of the level of the logging event.",
"enum": [
"DEBUG",
"INFO",
"WARNING",
"ERROR",
"CRITICAL"
],
"type": "string"
},
"message": {
"description": "Message of the logging event.",
"type": "string"
},
"time": {
"description": "POSIX time of the logging event.",
"type": "number"
}
},
"required": [
"level",
"message",
"time"
],
"type": "object",
"x-versionadded": "v2.35"
},
"maxItems": 100,
"type": "array"
},
"next": {
"description": "URL pointing to the next page (if null, there is no next page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"previous": {
"description": "URL pointing to the previous page (if null, there is no previous page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"totalCount": {
"description": "The total number of items across all pages.",
"type": "integer"
}
},
"required": [
"data",
"next",
"previous",
"totalCount"
],
"type": "object",
"x-versionadded": "v2.35"
}
Responses
To perform this operation, you must be authenticated by means of one of the following methods:
BearerAuth
GET /api/v2/modelPackages/{modelPackageId}/sharedRoles/
(Deprecated in v2.32) instead.Get a list of users, groups and organizations who have access to this model package and their roles on the model package.
Parameters
Name |
In |
Type |
Required |
Description |
id |
query |
string |
false |
Only return roles for a user, group or organization with this identifier. |
offset |
query |
integer |
true |
This many results will be skipped |
limit |
query |
integer |
true |
At most this many results are returned |
name |
query |
string |
false |
Only return roles for a user, group or organization with this name. |
shareRecipientType |
query |
string |
false |
List access controls for recipients with this type. |
modelPackageId |
path |
string |
true |
ID of the model package. |
Enumerated Values
Parameter |
Value |
shareRecipientType |
[user , group , organization ] |
Example responses
200 Response
{
"properties": {
"count": {
"description": "The number of items returned.",
"type": "integer"
},
"data": {
"description": "The access control list.",
"items": {
"properties": {
"id": {
"description": "The identifier of the recipient.",
"type": "string"
},
"name": {
"description": "The name of the recipient.",
"type": "string"
},
"role": {
"description": "The role of the recipient on this entity.",
"enum": [
"ADMIN",
"CONSUMER",
"DATA_SCIENTIST",
"EDITOR",
"OBSERVER",
"OWNER",
"READ_ONLY",
"READ_WRITE",
"USER"
],
"type": "string"
},
"shareRecipientType": {
"description": "The type of the recipient.",
"enum": [
"user",
"group",
"organization"
],
"type": "string"
}
},
"required": [
"id",
"name",
"role",
"shareRecipientType"
],
"type": "object"
},
"maxItems": 1000,
"type": "array"
},
"next": {
"description": "URL pointing to the next page.",
"type": [
"string",
"null"
]
},
"previous": {
"description": "URL pointing to the previous page.",
"type": [
"string",
"null"
]
},
"totalCount": {
"description": "Total number of items matching the condition.",
"type": "integer"
}
},
"required": [
"count",
"data",
"next",
"previous",
"totalCount"
],
"type": "object"
}
Responses
Status |
Meaning |
Description |
Schema |
200 |
OK |
The model package's access control list. |
SharingListV2Response |
404 |
Not Found |
Either the Model Package does not exist or the user does not have permissions to view the Model Package. |
None |
422 |
Unprocessable Entity |
Both username and userId were specified |
None |
To perform this operation, you must be authenticated by means of one of the following methods:
BearerAuth
GET /api/v2/registeredModels/
List registered models.
Parameters
Name |
In |
Type |
Required |
Description |
offset |
query |
integer |
false |
This many results will be skipped. |
limit |
query |
integer |
false |
At most this many results are returned. |
search |
query |
string |
false |
A term to search for in registered model name |
createdAtStartTs |
query |
string(date-time) |
false |
Registered models created on or after this timestamp |
createdAtEndTs |
query |
string(date-time) |
false |
Registered models created before this timestamp. Defaults to the current time |
modifiedAtStartTs |
query |
string(date-time) |
false |
Registered models modified on or after this timestamp |
modifiedAtEndTs |
query |
string(date-time) |
false |
Registered models modified before this timestamp. Defaults to the current time |
targetName |
query |
string |
false |
Name of the target to filter by |
targetType |
query |
string |
false |
Type of the target to filter by |
createdBy |
query |
string |
false |
Email of the user that created registered model to filter by |
sortKey |
query |
string |
false |
Key to order result by |
sortDirection |
query |
string |
false |
Sort direction |
compatibleWithLeaderboardModelId |
query |
string |
false |
If specified, limit results to registered models containing versions (model packages) for the leaderboard model with the specified ID. |
compatibleWithModelPackageId |
query |
string |
false |
Return registered models that have versions (model packages) compatible with given model package ID. If used, will only return registered models which have versions that match target.name , target.type , target.classNames (for classification models), modelKind.isTimeSeries , and modelKind.isMultiseries of the specified model package. |
forChallenger |
query |
boolean |
false |
Can be used with compatibleWithModelPackageId to request similar registered models that contain versions (model packages)that can be used as challenger models; for external model packages, instead of returning similar external model packages, similar DataRobot and Custom model packages will be retrieved. |
predictionThreshold |
query |
number |
false |
If specified, return any registered models containing one or more versions matching the prediction threshold used for binary classification models |
imported |
query |
boolean |
false |
If specified, return any registered models that contain either imported (true) or non-imported (false) versions (model packages) |
predictionEnvironmentId |
query |
string |
false |
Can be used to filter registered models by what is supported by the prediction environment |
modelKind |
query |
any |
false |
Return models that contain versions matching a specific format |
buildStatus |
query |
string |
false |
If specified, only return models that have versions with specified build status |
stage |
query |
string |
false |
If specified, only returns models that have versions in the specified stage. |
isGlobal |
query |
boolean |
false |
Return only global (accessible to all users in the organization) registered models or local(accessible only to the owner and the users with whom it has been explicitly shared) |
tagKeys |
query |
string |
false |
List of tag keys to filter by. |
tagValues |
query |
string |
false |
List of tag values to filter by. |
Enumerated Values
Parameter |
Value |
sortKey |
[createdAt , modifiedAt , name ] |
sortDirection |
[asc , desc ] |
buildStatus |
[inProgress , complete , failed ] |
stage |
[Registered , Development , Staging , Production , Archived ] |
Example responses
200 Response
{
"properties": {
"count": {
"description": "Number of items returned on this page.",
"type": "integer"
},
"data": {
"description": "List of formatted registered models",
"items": {
"properties": {
"createdAt": {
"description": "Date when the registered model was created",
"format": "date-time",
"type": "string"
},
"createdBy": {
"description": "Information on the creator of the registered model",
"properties": {
"email": {
"description": "Email of the user that created the registered model",
"type": "string"
},
"id": {
"description": "ID of user that created the registered model",
"type": "string"
},
"name": {
"description": "Full name of the user that created the registered model",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
},
"description": {
"description": "Description of the registered model",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the registered model",
"type": "string"
},
"isArchived": {
"description": "Whether the model is archived",
"type": "boolean"
},
"isGlobal": {
"description": "Whether the registered model is global (accessible to all users in the organization) or local(accessible only to the owner and the users with whom it has been explicitly shared)",
"type": "boolean"
},
"lastVersionNum": {
"description": "Latest version associated to this registered model",
"type": "integer"
},
"modifiedAt": {
"description": "Date when the registered model was last modified",
"format": "date-time",
"type": "string"
},
"modifiedBy": {
"description": "Information on the user who last modified the registered model",
"properties": {
"email": {
"description": "Email of the user",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the user",
"type": "string"
},
"name": {
"description": "Full name of the user",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
},
"name": {
"description": "Name of the registered model",
"type": "string"
},
"target": {
"description": "Information on the target variable",
"properties": {
"name": {
"description": "Name of the target variable",
"type": "string"
},
"type": {
"description": "Type of the target variable",
"type": [
"string",
"null"
]
}
},
"required": [
"name",
"type"
],
"type": "object"
}
},
"required": [
"createdAt",
"createdBy",
"id",
"isArchived",
"lastVersionNum",
"modifiedAt",
"modifiedBy",
"name",
"target"
],
"type": "object"
},
"type": "array"
},
"next": {
"description": "URL pointing to the next page (if null, there is no next page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"previous": {
"description": "URL pointing to the previous page (if null, there is no previous page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"totalCount": {
"description": "The total number of items across all pages.",
"type": "integer"
}
},
"required": [
"data",
"next",
"previous",
"totalCount"
],
"type": "object"
}
Responses
To perform this operation, you must be authenticated by means of one of the following methods:
BearerAuth
DELETE /api/v2/registeredModels/{registeredModelId}/
Permanently archive a registered model and all of its versions
Parameters
Name |
In |
Type |
Required |
Description |
registeredModelId |
path |
string |
true |
ID of the registered model. |
Responses
Status |
Meaning |
Description |
Schema |
204 |
No Content |
none |
None |
To perform this operation, you must be authenticated by means of one of the following methods:
BearerAuth
GET /api/v2/registeredModels/{registeredModelId}/
Retrieve info about a registered model.
Parameters
Name |
In |
Type |
Required |
Description |
registeredModelId |
path |
string |
true |
ID of the registered model. |
Example responses
200 Response
{
"properties": {
"createdAt": {
"description": "Date when the registered model was created",
"format": "date-time",
"type": "string"
},
"createdBy": {
"description": "Information on the creator of the registered model",
"properties": {
"email": {
"description": "Email of the user that created the registered model",
"type": "string"
},
"id": {
"description": "ID of user that created the registered model",
"type": "string"
},
"name": {
"description": "Full name of the user that created the registered model",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
},
"description": {
"description": "Description of the registered model",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the registered model",
"type": "string"
},
"isArchived": {
"description": "Whether the model is archived",
"type": "boolean"
},
"isGlobal": {
"description": "Whether the registered model is global (accessible to all users in the organization) or local(accessible only to the owner and the users with whom it has been explicitly shared)",
"type": "boolean"
},
"lastVersionNum": {
"description": "Latest version associated to this registered model",
"type": "integer"
},
"modifiedAt": {
"description": "Date when the registered model was last modified",
"format": "date-time",
"type": "string"
},
"modifiedBy": {
"description": "Information on the user who last modified the registered model",
"properties": {
"email": {
"description": "Email of the user",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the user",
"type": "string"
},
"name": {
"description": "Full name of the user",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
},
"name": {
"description": "Name of the registered model",
"type": "string"
},
"target": {
"description": "Information on the target variable",
"properties": {
"name": {
"description": "Name of the target variable",
"type": "string"
},
"type": {
"description": "Type of the target variable",
"type": [
"string",
"null"
]
}
},
"required": [
"name",
"type"
],
"type": "object"
}
},
"required": [
"createdAt",
"createdBy",
"id",
"isArchived",
"lastVersionNum",
"modifiedAt",
"modifiedBy",
"name",
"target"
],
"type": "object"
}
Responses
Status |
Meaning |
Description |
Schema |
200 |
OK |
none |
RegisteredModelResponse |
404 |
Not Found |
The registered model does not exist or the user does not have permission to view the model package. |
None |
To perform this operation, you must be authenticated by means of one of the following methods:
BearerAuth
PATCH /api/v2/registeredModels/{registeredModelId}/
Update registered model
Body parameter
{
"properties": {
"description": {
"description": "Description of the registered model",
"maxLength": 2048,
"type": "string"
},
"isGlobal": {
"description": "Make registered model global (accessible to all users in the organization) or local(accessible only to the owner and the users with whom it has been explicitly shared)",
"type": "boolean"
},
"name": {
"description": "Name of the registered model",
"maxLength": 1024,
"type": "string"
}
},
"type": "object"
}
Parameters
Name |
In |
Type |
Required |
Description |
registeredModelId |
path |
string |
true |
ID of the registered model. |
body |
body |
RegisteredModelUpdate |
false |
none |
Responses
Status |
Meaning |
Description |
Schema |
200 |
OK |
none |
None |
422 |
Unprocessable Entity |
Unable to process the Registered Model update request |
None |
To perform this operation, you must be authenticated by means of one of the following methods:
BearerAuth
GET /api/v2/registeredModels/{registeredModelId}/deployments/
List deployments associated with the given registered model
Parameters
Name |
In |
Type |
Required |
Description |
offset |
query |
integer |
false |
This many results will be skipped. |
limit |
query |
integer |
false |
At most this many results are returned. |
search |
query |
string |
false |
Filter deployments with name matching search term |
sortKey |
query |
string |
false |
Key to order result by |
sortDirection |
query |
string |
false |
Sort direction |
registeredModelId |
path |
string |
true |
ID of the registered model. |
Enumerated Values
Parameter |
Value |
sortKey |
[createdAt , label ] |
sortDirection |
[asc , desc ] |
Example responses
200 Response
{
"properties": {
"count": {
"description": "Number of items returned on this page.",
"type": "integer"
},
"data": {
"description": "List of formatted deployments",
"items": {
"properties": {
"createdAt": {
"description": "Deployment creation date",
"type": "string"
},
"createdBy": {
"description": "Information on the user who last modified the registered model",
"properties": {
"email": {
"description": "Email of the user",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the user",
"type": "string"
},
"name": {
"description": "Full name of the user",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
},
"currentlyDeployed": {
"description": "Whether version of this registered model is currently deployed",
"type": "boolean"
},
"firstDeployedAt": {
"description": "When version of this registered model was first deployed",
"type": [
"string",
"null"
]
},
"firstDeployedBy": {
"description": "Information on the user who last modified the registered model",
"properties": {
"email": {
"description": "Email of the user",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the user",
"type": "string"
},
"name": {
"description": "Full name of the user",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
},
"id": {
"description": "ID of the deployment",
"type": "string"
},
"isChallenger": {
"description": "True if given version is a challenger in a given deployment",
"type": "boolean"
},
"label": {
"description": "Label of the deployment",
"type": [
"string",
"null"
]
},
"predictionEnvironment": {
"description": "Information related to the current PredictionEnvironment.",
"properties": {
"id": {
"description": "ID of the PredictionEnvironment.",
"type": [
"string",
"null"
]
},
"isManagedByManagementAgent": {
"description": "True if PredictionEnvironment is using Management Agent.",
"type": "boolean"
},
"name": {
"description": "Name of the PredictionEnvironment.",
"type": "string"
},
"platform": {
"description": "Platform of the PredictionEnvironment.",
"enum": [
"aws",
"gcp",
"azure",
"onPremise",
"datarobot",
"datarobotServerless",
"openShift",
"other",
"snowflake",
"sapAiCore"
],
"type": "string"
},
"plugin": {
"description": "Plugin name of the PredictionEnvironment.",
"type": [
"string",
"null"
]
},
"supportedModelFormats": {
"description": "Model formats that the PredictionEnvironment supports.",
"items": {
"enum": [
"datarobot",
"datarobotScoringCode",
"customModel",
"externalModel"
],
"type": "string"
},
"maxItems": 4,
"minItems": 1,
"type": "array"
}
},
"required": [
"id",
"isManagedByManagementAgent",
"name",
"platform"
],
"type": "object"
},
"registeredModelVersion": {
"description": "Version of the registered model",
"type": "integer"
},
"status": {
"description": "Status of the deployment",
"type": "string"
}
},
"required": [
"createdAt",
"createdBy",
"currentlyDeployed",
"firstDeployedAt",
"firstDeployedBy",
"id",
"isChallenger",
"label",
"registeredModelVersion",
"status"
],
"type": "object"
},
"type": "array"
},
"next": {
"description": "URL pointing to the next page (if null, there is no next page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"previous": {
"description": "URL pointing to the previous page (if null, there is no previous page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"totalCount": {
"description": "The total number of items across all pages.",
"type": "integer"
}
},
"required": [
"data",
"next",
"previous",
"totalCount"
],
"type": "object"
}
Responses
To perform this operation, you must be authenticated by means of one of the following methods:
BearerAuth
GET /api/v2/registeredModels/{registeredModelId}/sharedRoles/
Get a list of users, groups and organizations who have access to this registered model and their roles on the registered model.
Parameters
Name |
In |
Type |
Required |
Description |
id |
query |
string |
false |
Only return roles for a user, group or organization with this identifier. |
offset |
query |
integer |
true |
This many results will be skipped |
limit |
query |
integer |
true |
At most this many results are returned |
name |
query |
string |
false |
Only return roles for a user, group or organization with this name. |
shareRecipientType |
query |
string |
false |
List access controls for recipients with this type. |
registeredModelId |
path |
string |
true |
ID of the registered model. |
Enumerated Values
Parameter |
Value |
shareRecipientType |
[user , group , organization ] |
Example responses
200 Response
{
"properties": {
"count": {
"description": "The number of items returned.",
"type": "integer"
},
"data": {
"description": "The access control list.",
"items": {
"properties": {
"id": {
"description": "The identifier of the recipient.",
"type": "string"
},
"name": {
"description": "The name of the recipient.",
"type": "string"
},
"role": {
"description": "The role of the recipient on this entity.",
"enum": [
"ADMIN",
"CONSUMER",
"DATA_SCIENTIST",
"EDITOR",
"OBSERVER",
"OWNER",
"READ_ONLY",
"READ_WRITE",
"USER"
],
"type": "string"
},
"shareRecipientType": {
"description": "The type of the recipient.",
"enum": [
"user",
"group",
"organization"
],
"type": "string"
}
},
"required": [
"id",
"name",
"role",
"shareRecipientType"
],
"type": "object"
},
"maxItems": 1000,
"type": "array"
},
"next": {
"description": "URL pointing to the next page.",
"type": [
"string",
"null"
]
},
"previous": {
"description": "URL pointing to the previous page.",
"type": [
"string",
"null"
]
},
"totalCount": {
"description": "Total number of items matching the condition.",
"type": "integer"
}
},
"required": [
"count",
"data",
"next",
"previous",
"totalCount"
],
"type": "object"
}
Responses
Status |
Meaning |
Description |
Schema |
200 |
OK |
The registered model's access control list. |
SharingListV2Response |
404 |
Not Found |
Either the Registered Model does not exist or the user does not have permissions to view the Registered Model. |
None |
422 |
Unprocessable Entity |
Both username and userId were specified |
None |
To perform this operation, you must be authenticated by means of one of the following methods:
BearerAuth
PATCH /api/v2/registeredModels/{registeredModelId}/sharedRoles/
Set roles for users on this registered model.
Body parameter
{
"properties": {
"operation": {
"description": "Name of the action being taken. The only operation is 'updateRoles'.",
"enum": [
"updateRoles"
],
"type": "string"
},
"roles": {
"description": "Array of GrantAccessControl objects., up to maximum 100 objects.",
"items": {
"oneOf": [
{
"properties": {
"role": {
"description": "The role of the recipient on this entity. One of OWNER, USER, OBSERVER.",
"type": "string"
},
"shareRecipientType": {
"description": "Describes the recipient type, either user, group, or organization.",
"enum": [
"user",
"group",
"organization"
],
"type": "string"
},
"username": {
"description": "Username of the user to update the access role for.",
"type": "string"
}
},
"required": [
"role",
"shareRecipientType",
"username"
],
"type": "object"
},
{
"properties": {
"id": {
"description": "The ID of the recipient.",
"type": "string"
},
"role": {
"description": "The role of the recipient on this entity. One of OWNER, USER, OBSERVER.",
"type": "string"
},
"shareRecipientType": {
"description": "Describes the recipient type, either user, group, or organization.",
"enum": [
"user",
"group",
"organization"
],
"type": "string"
}
},
"required": [
"id",
"role",
"shareRecipientType"
],
"type": "object"
}
]
},
"maxItems": 100,
"minItems": 1,
"type": "array"
}
},
"required": [
"operation",
"roles"
],
"type": "object"
}
Parameters
Name |
In |
Type |
Required |
Description |
registeredModelId |
path |
string |
true |
ID of the registered model. |
body |
body |
SharedRolesUpdate |
false |
none |
Responses
Status |
Meaning |
Description |
Schema |
204 |
No Content |
Roles updated successfully. |
None |
409 |
Conflict |
The request would leave the registered model without an owner. |
None |
422 |
Unprocessable Entity |
One of the users in the request does not exist, or the request is otherwise invalid |
None |
To perform this operation, you must be authenticated by means of one of the following methods:
BearerAuth
GET /api/v2/registeredModels/{registeredModelId}/versions/
List registered model's versions.
Parameters
Name |
In |
Type |
Required |
Description |
offset |
query |
integer |
false |
This many results will be skipped. |
limit |
query |
integer |
false |
At most this many results are returned. |
sortKey |
query |
string |
false |
Key to order result by |
sortDirection |
query |
string |
false |
Sort direction |
targetName |
query |
string |
false |
Name of the target to filter by |
targetType |
query |
string |
false |
Type of the target to filter by |
search |
query |
string |
false |
A term to search for in version name, model name, or description |
compatibleWithLeaderboardModelId |
query |
string |
false |
If specified, limit results to versions (model packages) of the leaderboard model with the specified ID. |
compatibleWithModelPackageId |
query |
string |
false |
Return versions compatible with given model package ID. If used, will only return versions that match target.name , target.type , target.classNames (for classification models), modelKind.isTimeSeries , and modelKind.isMultiseries of the specified model package |
forChallenger |
query |
boolean |
false |
Can be used with compatibleWithModelPackageId to request similar versions that can be used as challenger models; for external model packages, instead of returning similar external model packages, similar DataRobot and Custom model packages will be retrieved |
predictionThreshold |
query |
number |
false |
Return versions with the specified prediction threshold used for binary classification models |
imported |
query |
boolean |
false |
If specified, return either imported (true) or non-imported (false) versions (model packages) |
predictionEnvironmentId |
query |
string |
false |
Can be used to filter versions (model packages) by what is supported by the prediction environment |
modelKind |
query |
any |
false |
Return versions that match a specific format. |
buildStatus |
query |
string |
false |
If specified, filter versions by the build status. |
stage |
query |
string |
false |
If specified, filter versions by the stage. |
useCaseId |
query |
string |
false |
If specified, filter versions by use-case id. |
createdBy |
query |
string |
false |
Email of the user that created registered model version to filter by |
registeredModelId |
path |
string |
true |
ID of the registered model. |
Enumerated Values
Parameter |
Value |
sortKey |
[version , modelType , status , createdAt , updatedAt ] |
sortDirection |
[asc , desc ] |
buildStatus |
[inProgress , complete , failed ] |
stage |
[Registered , Development , Staging , Production , Archived ] |
Example responses
200 Response
{
"properties": {
"count": {
"description": "Number of items returned on this page.",
"type": "integer"
},
"data": {
"description": "List of formatted registered model's versions",
"items": {
"properties": {
"activeDeploymentCount": {
"description": "Number of deployments currently using this model package",
"type": "integer"
},
"buildStatus": {
"description": "Model package build status",
"enum": [
"inProgress",
"complete",
"failed"
],
"type": [
"string",
"null"
]
},
"capabilities": {
"description": "Capabilities of the current model package.",
"properties": {
"supportsAutomaticActuals": {
"description": "Whether inferring actual values from time series history data and automatically feeding them back for accuracy estimation is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsChallengerModels": {
"description": "Whether Challenger Models are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsFeatureDriftTracking": {
"description": "Whether Feature Drift is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsHumilityRecommendedRules": {
"description": "Whether calculating values for recommended Humility Rules is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsHumilityRules": {
"description": "Whether Humility Rules are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsHumilityRulesDefaultCalculations": {
"description": "Whether calculating default values for Humility Rules is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2"
},
"supportsPredictionWarning": {
"description": "Whether Prediction Warnings are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsRetraining": {
"description": "Whether deployment supports retraining.",
"type": "boolean",
"x-versionadded": "v2.28",
"x-versiondeprecated": "v2.29"
},
"supportsScoringCodeDownload": {
"description": "Whether scoring code download is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsSecondaryDatasets": {
"description": "If the deployments supports secondary datasets.",
"type": "boolean",
"x-versionadded": "v2.28",
"x-versiondeprecated": "v2.29"
},
"supportsSegmentedAnalysisDriftAndAccuracy": {
"description": "Whether tracking features in training and predictions data for segmented analysis is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsShapBasedPredictionExplanations": {
"description": "Whether shap-based prediction explanations are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsTargetDriftTracking": {
"description": "Whether Target Drift is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
}
},
"required": [
"supportsChallengerModels",
"supportsFeatureDriftTracking",
"supportsHumilityRecommendedRules",
"supportsHumilityRules",
"supportsHumilityRulesDefaultCalculations",
"supportsPredictionWarning",
"supportsSecondaryDatasets",
"supportsSegmentedAnalysisDriftAndAccuracy",
"supportsShapBasedPredictionExplanations",
"supportsTargetDriftTracking"
],
"type": "object"
},
"datasets": {
"description": "dataset information for the model package",
"properties": {
"baselineSegmentedBy": {
"description": "Names of categorical features by which the training baseline was segmented. This allows for deployment prediction requests to be segmented by those same features. Segmenting the training baseline by these features allows for users to perform segmented analysis of Data Drift and Accuracy, and to compare the same subset of training and scoring data based on the selected segment attribute and segment value.",
"items": {
"type": "string"
},
"type": "array"
},
"datasetName": {
"description": "Name of dataset used to train the model",
"type": [
"string",
"null"
]
},
"holdoutDataCatalogId": {
"description": "ID for holdout data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"holdoutDataCatalogVersionId": {
"description": "Version ID for holdout data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"holdoutDataCreatedAt": {
"description": "Time when the holdout data item was created",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDataCreatorEmail": {
"description": "Email of the user who created the holdout data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDataCreatorId": {
"default": null,
"description": "ID of the creator of the holdout data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDataCreatorName": {
"description": "Name of the user who created the holdout data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDatasetName": {
"description": "Name of dataset used for model holdout",
"type": [
"string",
"null"
]
},
"targetHistogramBaseline": {
"description": "Values used to establish the training baseline",
"enum": [
"predictions",
"actuals"
],
"type": "string"
},
"trainingDataCatalogId": {
"description": "ID for training data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"trainingDataCatalogVersionId": {
"description": "Version ID for training data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"trainingDataCreatedAt": {
"description": "Time when the training data item was created",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataCreatorEmail": {
"description": "Email of the user who created the training data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataCreatorId": {
"default": null,
"description": "ID of the creator of the training data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataCreatorName": {
"description": "Name of the user who created the training data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataSize": {
"description": "Number of rows in training data (used by DR models)",
"type": "integer"
}
},
"required": [
"baselineSegmentedBy",
"datasetName",
"holdoutDataCatalogId",
"holdoutDataCatalogVersionId",
"holdoutDatasetName",
"trainingDataCatalogId",
"trainingDataCatalogVersionId"
],
"type": "object"
},
"id": {
"description": "ID of the Model package",
"type": "string"
},
"importMeta": {
"description": "Information from when this Model Package was first saved",
"properties": {
"containsFearPipeline": {
"description": "Exists for imported models only, indicates thatmodel package contains file with fear pipeline.",
"type": [
"boolean",
"null"
]
},
"containsFeaturelists": {
"description": "Exists for imported models only, indicates thatmodel package contains file with featurelists.",
"type": [
"boolean",
"null"
]
},
"containsLeaderboardMeta": {
"description": "Exists for imported models only, indicates thatmodel package contains file with leaderboard meta.",
"type": [
"boolean",
"null"
]
},
"containsProjectMeta": {
"description": "Exists for imported models only, indicates thatmodel package contains file with project meta.",
"type": [
"boolean",
"null"
]
},
"creatorFullName": {
"description": "Full name of the person who created this model package",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "User ID of the person who created this Model Package",
"type": "string"
},
"creatorUsername": {
"description": "Username of the person who created this model package",
"type": "string"
},
"dateCreated": {
"description": "When this Model Package was created",
"type": "string"
},
"originalFileName": {
"description": "Exists for imported models only, the original file name that was uploaded",
"type": [
"string",
"null"
]
}
},
"required": [
"creatorFullName",
"creatorId",
"creatorUsername",
"dateCreated",
"originalFileName"
],
"type": "object"
},
"isArchived": {
"description": "Whether the model package is permanently archived (cannot be used in deployment or replacement)",
"type": "boolean"
},
"isDeprecated": {
"description": "Whether the model package is deprecated. eg. python2 models are deprecated.",
"type": "boolean",
"x-versionadded": "v2.29"
},
"mlpkgFileContents": {
"description": "Information about the content of .mlpkg artifact",
"properties": {
"allTimeSeriesPredictionIntervals": {
"description": "Whether .mlpkg contains TS prediction intervals computed for all percentiles",
"type": [
"boolean",
"null"
],
"x-versionadded": "v2.31"
}
},
"type": "object"
},
"modelDescription": {
"description": "model description information for the model package",
"properties": {
"buildEnvironmentType": {
"description": "build environment type of the model",
"enum": [
"DataRobot",
"Python",
"R",
"Java",
"Other"
],
"type": "string"
},
"description": {
"description": "a description of the model",
"type": [
"string",
"null"
]
},
"location": {
"description": "location of the model",
"type": [
"string",
"null"
]
},
"modelCreatedAt": {
"description": "time when the model was created",
"type": [
"string",
"null"
]
},
"modelCreatorEmail": {
"description": "email of the user who created the model",
"type": [
"string",
"null"
]
},
"modelCreatorId": {
"default": null,
"description": "ID of the creator of the model",
"type": [
"string",
"null"
]
},
"modelCreatorName": {
"description": "name of the user who created the model",
"type": [
"string",
"null"
]
},
"modelName": {
"description": "model name",
"type": "string"
}
},
"required": [
"buildEnvironmentType",
"description",
"location"
],
"type": "object"
},
"modelExecutionType": {
"description": "Type of model package. `dedicated` (native DataRobot models) and `custom_inference_model` (user added inference models) both execute on DataRobot prediction servers, `external` do not",
"enum": [
"dedicated",
"custom_inference_model",
"external"
],
"type": "string"
},
"modelId": {
"description": "ID of the model",
"type": "string"
},
"modelKind": {
"description": "Model attribute information",
"properties": {
"isAnomalyDetectionModel": {
"description": "true if this is an anomaly detection model",
"type": "boolean"
},
"isCombinedModel": {
"description": "true if model is a combined model",
"type": "boolean",
"x-versionadded": "v2.27"
},
"isFeatureDiscovery": {
"description": "true if this model uses the Feature Discovery feature",
"type": "boolean"
},
"isMultiseries": {
"description": "true if model is multiseries",
"type": "boolean"
},
"isTimeSeries": {
"description": "true if model is time series",
"type": "boolean"
},
"isUnsupervisedLearning": {
"description": "true if model used unsupervised learning",
"type": "boolean"
}
},
"required": [
"isAnomalyDetectionModel",
"isCombinedModel",
"isFeatureDiscovery",
"isMultiseries",
"isTimeSeries",
"isUnsupervisedLearning"
],
"type": "object"
},
"name": {
"description": "Model package name",
"type": "string"
},
"permissions": {
"description": "List of action permissions the user making the request has on the model package",
"items": {
"type": "string"
},
"type": "array",
"x-versionadded": "v2.20"
},
"sourceMeta": {
"description": "Meta information from where this model was generated",
"properties": {
"customModelDetails": {
"description": "Details of the custom model associated to this registered model version",
"properties": {
"createdAt": {
"description": "Time when the custom model was created",
"type": "string"
},
"creatorEmail": {
"description": "Email of the user who created the custom model",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "ID of the creator of the custom model",
"type": "string"
},
"creatorName": {
"description": "Name of the user who created the custom model",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the associated custom model",
"type": "string"
},
"versionLabel": {
"description": "Label of associated custom model version.",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
}
},
"required": [
"createdAt",
"creatorId",
"id"
],
"type": "object"
},
"environmentUrl": {
"description": "If available, URL of the source model",
"format": "uri",
"type": [
"string",
"null"
]
},
"fips_140_2Enabled": {
"description": "true if the model was built with FIPS-140-2",
"type": "boolean"
},
"projectCreatedAt": {
"description": "If available, time when the project was created",
"type": [
"string",
"null"
]
},
"projectCreatorEmail": {
"description": "If available, email of the user who created the project",
"type": [
"string",
"null"
]
},
"projectCreatorId": {
"default": null,
"description": "If available, ID of the creator of the project",
"type": [
"string",
"null"
]
},
"projectCreatorName": {
"description": "If available, name of the user who created the project",
"type": [
"string",
"null"
]
},
"projectId": {
"description": "If available, the project id used for this model",
"type": [
"string",
"null"
]
},
"projectName": {
"description": "If available, the project name for this model",
"type": [
"string",
"null"
]
},
"scoringCode": {
"description": "If available, information about the model's scoring code",
"properties": {
"dataRobotPredictionVersion": {
"description": "DataRobot prediction API version for the scoring code",
"type": [
"string",
"null"
]
},
"location": {
"description": "Location of the scoring code",
"enum": [
"local_leaderboard",
"mlpkg"
],
"type": [
"string",
"null"
]
}
},
"required": [
"dataRobotPredictionVersion",
"location"
],
"type": "object"
},
"useCaseDetails": {
"description": "Details of the use-case associated to this registered model version",
"properties": {
"createdAt": {
"description": "Time when use-case was created",
"type": "string"
},
"creatorEmail": {
"description": "Email of the user who created use-case",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "ID of the creator of the use-case",
"type": "string"
},
"creatorName": {
"description": "Name of the user who created use-case",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the associated use-case",
"type": "string"
},
"name": {
"description": "Name of the use case at the moment of creation",
"type": [
"string",
"null"
]
}
},
"required": [
"createdAt",
"creatorId",
"id"
],
"type": "object"
}
},
"required": [
"environmentUrl",
"projectId",
"projectName",
"scoringCode"
],
"type": "object"
},
"target": {
"description": "target information for the model package",
"properties": {
"classCount": {
"description": "Number of classes for classification models.",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"classNames": {
"description": "Class names for prediction results. When target type is Binary, two class names are returned. The first element is the minority (positive) class and the second element is the majority (negative) class. Limited to 100 returned for Multiclass.",
"items": {
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"name": {
"description": "name of the target column",
"type": "string"
},
"predictionProbabilitiesColumn": {
"description": "Field or column name containing prediction probabilities",
"type": [
"string",
"null"
]
},
"predictionThreshold": {
"description": "Prediction threshold used for binary classification models",
"maximum": 1,
"minimum": 0,
"type": [
"number",
"null"
]
},
"type": {
"description": "Target type of the model.",
"enum": [
"Binary",
"Regression",
"Multiclass",
"Multilabel",
"TextGeneration",
"GeoPoint",
"AgenticWorkflow"
],
"type": "string"
}
},
"required": [
"classCount",
"classNames",
"name",
"predictionProbabilitiesColumn",
"predictionThreshold",
"type"
],
"type": "object"
},
"timeseries": {
"description": "time series information for the model package",
"properties": {
"datetimeColumnFormat": {
"description": "Date format for forecast date and forecast point column",
"type": [
"string",
"null"
]
},
"datetimeColumnName": {
"description": "Name of the forecast date column",
"type": [
"string",
"null"
]
},
"effectiveFeatureDerivationWindowEnd": {
"description": "Same concept as `featureDerivationWindowEnd` which is chosen by the user and based on the initial sampled data from the eda sample. When the dataset goes through aim, the pipeline reads the full dataset and figures out the \"real\" FDW (i.e., the effective FDW). For most models, eFDW is approximately the same as the FDW.",
"maximum": 0,
"type": [
"integer",
"null"
],
"x-versionadded": "v2.25"
},
"effectiveFeatureDerivationWindowStart": {
"description": "Same concept as `featureDerivationWindowStart` which is chosen by the user and based on the initial sampled data from the eda sample. When the dataset goes through aim, the pipeline reads the full dataset and figures out the \"real\" FDW (i.e., the effective FDW). For most models, eFDW is approximately the same as the FDW.",
"maximum": 0,
"type": [
"integer",
"null"
],
"x-versionadded": "v2.25"
},
"featureDerivationWindowEnd": {
"description": "Negative number or zero defining how many time units of the forecast distances time unit into the past relative to the forecast point the feature derivation window should end.",
"maximum": 0,
"type": [
"integer",
"null"
]
},
"featureDerivationWindowStart": {
"description": "Negative number or zero defining how many time units of the forecast distances time unit into the past relative to the forecast point the feature derivation window should begin.",
"maximum": 0,
"type": [
"integer",
"null"
]
},
"forecastDistanceColumnName": {
"description": "Name of the forecast distance column",
"type": [
"string",
"null"
]
},
"forecastDistances": {
"description": "List of integer forecast distances",
"items": {
"type": "integer"
},
"type": "array"
},
"forecastDistancesTimeUnit": {
"description": "The time unit of forecast distances",
"enum": [
"MICROSECOND",
"MILLISECOND",
"SECOND",
"MINUTE",
"HOUR",
"DAY",
"WEEK",
"MONTH",
"QUARTER",
"YEAR"
],
"type": [
"string",
"null"
]
},
"forecastPointColumnName": {
"description": "Name of the forecast point column",
"type": [
"string",
"null"
]
},
"isCrossSeries": {
"description": "true if the model is cross-series.",
"type": [
"boolean",
"null"
]
},
"isNewSeriesSupport": {
"description": "true if the model is optimized to support new series.",
"type": [
"boolean",
"null"
],
"x-versionadded": "v2.25"
},
"isTraditionalTimeSeries": {
"description": "true if the model is traditional time series.",
"type": [
"boolean",
"null"
]
},
"seriesColumnName": {
"description": "Name of the series column in case of multi-series date",
"type": [
"string",
"null"
]
}
},
"required": [
"datetimeColumnFormat",
"datetimeColumnName",
"effectiveFeatureDerivationWindowEnd",
"effectiveFeatureDerivationWindowStart",
"featureDerivationWindowEnd",
"featureDerivationWindowStart",
"forecastDistanceColumnName",
"forecastDistances",
"forecastDistancesTimeUnit",
"forecastPointColumnName",
"isCrossSeries",
"isNewSeriesSupport",
"isTraditionalTimeSeries",
"seriesColumnName"
],
"type": "object"
},
"updatedBy": {
"description": "Information on the user who last modified the registered model",
"properties": {
"email": {
"description": "Email of the user",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the user",
"type": "string"
},
"name": {
"description": "Full name of the user",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
},
"userProvidedId": {
"description": "A user-provided unique ID associated with the given custom inference model.",
"type": "string"
}
},
"required": [
"activeDeploymentCount",
"capabilities",
"datasets",
"id",
"importMeta",
"isArchived",
"isDeprecated",
"modelDescription",
"modelExecutionType",
"modelId",
"modelKind",
"name",
"permissions",
"sourceMeta",
"target",
"timeseries",
"updatedBy"
],
"type": "object"
},
"type": "array"
},
"next": {
"description": "URL pointing to the next page (if null, there is no next page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"previous": {
"description": "URL pointing to the previous page (if null, there is no previous page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"totalCount": {
"description": "The total number of items across all pages.",
"type": "integer"
}
},
"required": [
"data",
"next",
"previous",
"totalCount"
],
"type": "object"
}
Responses
To perform this operation, you must be authenticated by means of one of the following methods:
BearerAuth
GET /api/v2/registeredModels/{registeredModelId}/versions/{versionId}/
Get a registered model's version.
Parameters
Name |
In |
Type |
Required |
Description |
registeredModelId |
path |
string |
true |
ID of the registered model. |
versionId |
path |
string |
true |
ID of the registered model's version. |
Example responses
200 Response
{
"properties": {
"activeDeploymentCount": {
"description": "Number of deployments currently using this model package",
"type": "integer"
},
"buildStatus": {
"description": "Model package build status",
"enum": [
"inProgress",
"complete",
"failed"
],
"type": [
"string",
"null"
]
},
"capabilities": {
"description": "Capabilities of the current model package.",
"properties": {
"supportsAutomaticActuals": {
"description": "Whether inferring actual values from time series history data and automatically feeding them back for accuracy estimation is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsChallengerModels": {
"description": "Whether Challenger Models are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsFeatureDriftTracking": {
"description": "Whether Feature Drift is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsHumilityRecommendedRules": {
"description": "Whether calculating values for recommended Humility Rules is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsHumilityRules": {
"description": "Whether Humility Rules are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsHumilityRulesDefaultCalculations": {
"description": "Whether calculating default values for Humility Rules is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2"
},
"supportsPredictionWarning": {
"description": "Whether Prediction Warnings are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsRetraining": {
"description": "Whether deployment supports retraining.",
"type": "boolean",
"x-versionadded": "v2.28",
"x-versiondeprecated": "v2.29"
},
"supportsScoringCodeDownload": {
"description": "Whether scoring code download is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsSecondaryDatasets": {
"description": "If the deployments supports secondary datasets.",
"type": "boolean",
"x-versionadded": "v2.28",
"x-versiondeprecated": "v2.29"
},
"supportsSegmentedAnalysisDriftAndAccuracy": {
"description": "Whether tracking features in training and predictions data for segmented analysis is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsShapBasedPredictionExplanations": {
"description": "Whether shap-based prediction explanations are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsTargetDriftTracking": {
"description": "Whether Target Drift is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
}
},
"required": [
"supportsChallengerModels",
"supportsFeatureDriftTracking",
"supportsHumilityRecommendedRules",
"supportsHumilityRules",
"supportsHumilityRulesDefaultCalculations",
"supportsPredictionWarning",
"supportsSecondaryDatasets",
"supportsSegmentedAnalysisDriftAndAccuracy",
"supportsShapBasedPredictionExplanations",
"supportsTargetDriftTracking"
],
"type": "object"
},
"datasets": {
"description": "dataset information for the model package",
"properties": {
"baselineSegmentedBy": {
"description": "Names of categorical features by which the training baseline was segmented. This allows for deployment prediction requests to be segmented by those same features. Segmenting the training baseline by these features allows for users to perform segmented analysis of Data Drift and Accuracy, and to compare the same subset of training and scoring data based on the selected segment attribute and segment value.",
"items": {
"type": "string"
},
"type": "array"
},
"datasetName": {
"description": "Name of dataset used to train the model",
"type": [
"string",
"null"
]
},
"holdoutDataCatalogId": {
"description": "ID for holdout data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"holdoutDataCatalogVersionId": {
"description": "Version ID for holdout data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"holdoutDataCreatedAt": {
"description": "Time when the holdout data item was created",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDataCreatorEmail": {
"description": "Email of the user who created the holdout data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDataCreatorId": {
"default": null,
"description": "ID of the creator of the holdout data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDataCreatorName": {
"description": "Name of the user who created the holdout data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDatasetName": {
"description": "Name of dataset used for model holdout",
"type": [
"string",
"null"
]
},
"targetHistogramBaseline": {
"description": "Values used to establish the training baseline",
"enum": [
"predictions",
"actuals"
],
"type": "string"
},
"trainingDataCatalogId": {
"description": "ID for training data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"trainingDataCatalogVersionId": {
"description": "Version ID for training data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"trainingDataCreatedAt": {
"description": "Time when the training data item was created",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataCreatorEmail": {
"description": "Email of the user who created the training data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataCreatorId": {
"default": null,
"description": "ID of the creator of the training data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataCreatorName": {
"description": "Name of the user who created the training data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataSize": {
"description": "Number of rows in training data (used by DR models)",
"type": "integer"
}
},
"required": [
"baselineSegmentedBy",
"datasetName",
"holdoutDataCatalogId",
"holdoutDataCatalogVersionId",
"holdoutDatasetName",
"trainingDataCatalogId",
"trainingDataCatalogVersionId"
],
"type": "object"
},
"id": {
"description": "ID of the Model package",
"type": "string"
},
"importMeta": {
"description": "Information from when this Model Package was first saved",
"properties": {
"containsFearPipeline": {
"description": "Exists for imported models only, indicates thatmodel package contains file with fear pipeline.",
"type": [
"boolean",
"null"
]
},
"containsFeaturelists": {
"description": "Exists for imported models only, indicates thatmodel package contains file with featurelists.",
"type": [
"boolean",
"null"
]
},
"containsLeaderboardMeta": {
"description": "Exists for imported models only, indicates thatmodel package contains file with leaderboard meta.",
"type": [
"boolean",
"null"
]
},
"containsProjectMeta": {
"description": "Exists for imported models only, indicates thatmodel package contains file with project meta.",
"type": [
"boolean",
"null"
]
},
"creatorFullName": {
"description": "Full name of the person who created this model package",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "User ID of the person who created this Model Package",
"type": "string"
},
"creatorUsername": {
"description": "Username of the person who created this model package",
"type": "string"
},
"dateCreated": {
"description": "When this Model Package was created",
"type": "string"
},
"originalFileName": {
"description": "Exists for imported models only, the original file name that was uploaded",
"type": [
"string",
"null"
]
}
},
"required": [
"creatorFullName",
"creatorId",
"creatorUsername",
"dateCreated",
"originalFileName"
],
"type": "object"
},
"isArchived": {
"description": "Whether the model package is permanently archived (cannot be used in deployment or replacement)",
"type": "boolean"
},
"isDeprecated": {
"description": "Whether the model package is deprecated. eg. python2 models are deprecated.",
"type": "boolean",
"x-versionadded": "v2.29"
},
"mlpkgFileContents": {
"description": "Information about the content of .mlpkg artifact",
"properties": {
"allTimeSeriesPredictionIntervals": {
"description": "Whether .mlpkg contains TS prediction intervals computed for all percentiles",
"type": [
"boolean",
"null"
],
"x-versionadded": "v2.31"
}
},
"type": "object"
},
"modelDescription": {
"description": "model description information for the model package",
"properties": {
"buildEnvironmentType": {
"description": "build environment type of the model",
"enum": [
"DataRobot",
"Python",
"R",
"Java",
"Other"
],
"type": "string"
},
"description": {
"description": "a description of the model",
"type": [
"string",
"null"
]
},
"location": {
"description": "location of the model",
"type": [
"string",
"null"
]
},
"modelCreatedAt": {
"description": "time when the model was created",
"type": [
"string",
"null"
]
},
"modelCreatorEmail": {
"description": "email of the user who created the model",
"type": [
"string",
"null"
]
},
"modelCreatorId": {
"default": null,
"description": "ID of the creator of the model",
"type": [
"string",
"null"
]
},
"modelCreatorName": {
"description": "name of the user who created the model",
"type": [
"string",
"null"
]
},
"modelName": {
"description": "model name",
"type": "string"
}
},
"required": [
"buildEnvironmentType",
"description",
"location"
],
"type": "object"
},
"modelExecutionType": {
"description": "Type of model package. `dedicated` (native DataRobot models) and `custom_inference_model` (user added inference models) both execute on DataRobot prediction servers, `external` do not",
"enum": [
"dedicated",
"custom_inference_model",
"external"
],
"type": "string"
},
"modelId": {
"description": "ID of the model",
"type": "string"
},
"modelKind": {
"description": "Model attribute information",
"properties": {
"isAnomalyDetectionModel": {
"description": "true if this is an anomaly detection model",
"type": "boolean"
},
"isCombinedModel": {
"description": "true if model is a combined model",
"type": "boolean",
"x-versionadded": "v2.27"
},
"isFeatureDiscovery": {
"description": "true if this model uses the Feature Discovery feature",
"type": "boolean"
},
"isMultiseries": {
"description": "true if model is multiseries",
"type": "boolean"
},
"isTimeSeries": {
"description": "true if model is time series",
"type": "boolean"
},
"isUnsupervisedLearning": {
"description": "true if model used unsupervised learning",
"type": "boolean"
}
},
"required": [
"isAnomalyDetectionModel",
"isCombinedModel",
"isFeatureDiscovery",
"isMultiseries",
"isTimeSeries",
"isUnsupervisedLearning"
],
"type": "object"
},
"name": {
"description": "Model package name",
"type": "string"
},
"permissions": {
"description": "List of action permissions the user making the request has on the model package",
"items": {
"type": "string"
},
"type": "array",
"x-versionadded": "v2.20"
},
"sourceMeta": {
"description": "Meta information from where this model was generated",
"properties": {
"customModelDetails": {
"description": "Details of the custom model associated to this registered model version",
"properties": {
"createdAt": {
"description": "Time when the custom model was created",
"type": "string"
},
"creatorEmail": {
"description": "Email of the user who created the custom model",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "ID of the creator of the custom model",
"type": "string"
},
"creatorName": {
"description": "Name of the user who created the custom model",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the associated custom model",
"type": "string"
},
"versionLabel": {
"description": "Label of associated custom model version.",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
}
},
"required": [
"createdAt",
"creatorId",
"id"
],
"type": "object"
},
"environmentUrl": {
"description": "If available, URL of the source model",
"format": "uri",
"type": [
"string",
"null"
]
},
"fips_140_2Enabled": {
"description": "true if the model was built with FIPS-140-2",
"type": "boolean"
},
"projectCreatedAt": {
"description": "If available, time when the project was created",
"type": [
"string",
"null"
]
},
"projectCreatorEmail": {
"description": "If available, email of the user who created the project",
"type": [
"string",
"null"
]
},
"projectCreatorId": {
"default": null,
"description": "If available, ID of the creator of the project",
"type": [
"string",
"null"
]
},
"projectCreatorName": {
"description": "If available, name of the user who created the project",
"type": [
"string",
"null"
]
},
"projectId": {
"description": "If available, the project id used for this model",
"type": [
"string",
"null"
]
},
"projectName": {
"description": "If available, the project name for this model",
"type": [
"string",
"null"
]
},
"scoringCode": {
"description": "If available, information about the model's scoring code",
"properties": {
"dataRobotPredictionVersion": {
"description": "DataRobot prediction API version for the scoring code",
"type": [
"string",
"null"
]
},
"location": {
"description": "Location of the scoring code",
"enum": [
"local_leaderboard",
"mlpkg"
],
"type": [
"string",
"null"
]
}
},
"required": [
"dataRobotPredictionVersion",
"location"
],
"type": "object"
},
"useCaseDetails": {
"description": "Details of the use-case associated to this registered model version",
"properties": {
"createdAt": {
"description": "Time when use-case was created",
"type": "string"
},
"creatorEmail": {
"description": "Email of the user who created use-case",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "ID of the creator of the use-case",
"type": "string"
},
"creatorName": {
"description": "Name of the user who created use-case",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the associated use-case",
"type": "string"
},
"name": {
"description": "Name of the use case at the moment of creation",
"type": [
"string",
"null"
]
}
},
"required": [
"createdAt",
"creatorId",
"id"
],
"type": "object"
}
},
"required": [
"environmentUrl",
"projectId",
"projectName",
"scoringCode"
],
"type": "object"
},
"target": {
"description": "target information for the model package",
"properties": {
"classCount": {
"description": "Number of classes for classification models.",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"classNames": {
"description": "Class names for prediction results. When target type is Binary, two class names are returned. The first element is the minority (positive) class and the second element is the majority (negative) class. Limited to 100 returned for Multiclass.",
"items": {
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"name": {
"description": "name of the target column",
"type": "string"
},
"predictionProbabilitiesColumn": {
"description": "Field or column name containing prediction probabilities",
"type": [
"string",
"null"
]
},
"predictionThreshold": {
"description": "Prediction threshold used for binary classification models",
"maximum": 1,
"minimum": 0,
"type": [
"number",
"null"
]
},
"type": {
"description": "Target type of the model.",
"enum": [
"Binary",
"Regression",
"Multiclass",
"Multilabel",
"TextGeneration",
"GeoPoint",
"AgenticWorkflow"
],
"type": "string"
}
},
"required": [
"classCount",
"classNames",
"name",
"predictionProbabilitiesColumn",
"predictionThreshold",
"type"
],
"type": "object"
},
"timeseries": {
"description": "time series information for the model package",
"properties": {
"datetimeColumnFormat": {
"description": "Date format for forecast date and forecast point column",
"type": [
"string",
"null"
]
},
"datetimeColumnName": {
"description": "Name of the forecast date column",
"type": [
"string",
"null"
]
},
"effectiveFeatureDerivationWindowEnd": {
"description": "Same concept as `featureDerivationWindowEnd` which is chosen by the user and based on the initial sampled data from the eda sample. When the dataset goes through aim, the pipeline reads the full dataset and figures out the \"real\" FDW (i.e., the effective FDW). For most models, eFDW is approximately the same as the FDW.",
"maximum": 0,
"type": [
"integer",
"null"
],
"x-versionadded": "v2.25"
},
"effectiveFeatureDerivationWindowStart": {
"description": "Same concept as `featureDerivationWindowStart` which is chosen by the user and based on the initial sampled data from the eda sample. When the dataset goes through aim, the pipeline reads the full dataset and figures out the \"real\" FDW (i.e., the effective FDW). For most models, eFDW is approximately the same as the FDW.",
"maximum": 0,
"type": [
"integer",
"null"
],
"x-versionadded": "v2.25"
},
"featureDerivationWindowEnd": {
"description": "Negative number or zero defining how many time units of the forecast distances time unit into the past relative to the forecast point the feature derivation window should end.",
"maximum": 0,
"type": [
"integer",
"null"
]
},
"featureDerivationWindowStart": {
"description": "Negative number or zero defining how many time units of the forecast distances time unit into the past relative to the forecast point the feature derivation window should begin.",
"maximum": 0,
"type": [
"integer",
"null"
]
},
"forecastDistanceColumnName": {
"description": "Name of the forecast distance column",
"type": [
"string",
"null"
]
},
"forecastDistances": {
"description": "List of integer forecast distances",
"items": {
"type": "integer"
},
"type": "array"
},
"forecastDistancesTimeUnit": {
"description": "The time unit of forecast distances",
"enum": [
"MICROSECOND",
"MILLISECOND",
"SECOND",
"MINUTE",
"HOUR",
"DAY",
"WEEK",
"MONTH",
"QUARTER",
"YEAR"
],
"type": [
"string",
"null"
]
},
"forecastPointColumnName": {
"description": "Name of the forecast point column",
"type": [
"string",
"null"
]
},
"isCrossSeries": {
"description": "true if the model is cross-series.",
"type": [
"boolean",
"null"
]
},
"isNewSeriesSupport": {
"description": "true if the model is optimized to support new series.",
"type": [
"boolean",
"null"
],
"x-versionadded": "v2.25"
},
"isTraditionalTimeSeries": {
"description": "true if the model is traditional time series.",
"type": [
"boolean",
"null"
]
},
"seriesColumnName": {
"description": "Name of the series column in case of multi-series date",
"type": [
"string",
"null"
]
}
},
"required": [
"datetimeColumnFormat",
"datetimeColumnName",
"effectiveFeatureDerivationWindowEnd",
"effectiveFeatureDerivationWindowStart",
"featureDerivationWindowEnd",
"featureDerivationWindowStart",
"forecastDistanceColumnName",
"forecastDistances",
"forecastDistancesTimeUnit",
"forecastPointColumnName",
"isCrossSeries",
"isNewSeriesSupport",
"isTraditionalTimeSeries",
"seriesColumnName"
],
"type": "object"
},
"updatedBy": {
"description": "Information on the user who last modified the registered model",
"properties": {
"email": {
"description": "Email of the user",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the user",
"type": "string"
},
"name": {
"description": "Full name of the user",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
},
"userProvidedId": {
"description": "A user-provided unique ID associated with the given custom inference model.",
"type": "string"
}
},
"required": [
"activeDeploymentCount",
"capabilities",
"datasets",
"id",
"importMeta",
"isArchived",
"isDeprecated",
"modelDescription",
"modelExecutionType",
"modelId",
"modelKind",
"name",
"permissions",
"sourceMeta",
"target",
"timeseries",
"updatedBy"
],
"type": "object"
}
Responses
To perform this operation, you must be authenticated by means of one of the following methods:
BearerAuth
GET /api/v2/registeredModels/{registeredModelId}/versions/{versionId}/deployments/
List all deployments associated with registered model version.
Parameters
Name |
In |
Type |
Required |
Description |
offset |
query |
integer |
false |
This many results will be skipped. |
limit |
query |
integer |
false |
At most this many results are returned. |
search |
query |
string |
false |
Filter deployments with name matching search term |
sortKey |
query |
string |
false |
Key to order result by |
sortDirection |
query |
string |
false |
Sort direction |
registeredModelId |
path |
string |
true |
ID of the registered model. |
versionId |
path |
string |
true |
ID of the registered model's version. |
Enumerated Values
Parameter |
Value |
sortKey |
[createdAt , label ] |
sortDirection |
[asc , desc ] |
Example responses
200 Response
{
"properties": {
"count": {
"description": "Number of items returned on this page.",
"type": "integer"
},
"data": {
"description": "List of formatted deployments",
"items": {
"properties": {
"createdAt": {
"description": "Deployment creation date",
"type": "string"
},
"createdBy": {
"description": "Information on the user who last modified the registered model",
"properties": {
"email": {
"description": "Email of the user",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the user",
"type": "string"
},
"name": {
"description": "Full name of the user",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
},
"currentlyDeployed": {
"description": "Whether version of this registered model is currently deployed",
"type": "boolean"
},
"firstDeployedAt": {
"description": "When version of this registered model was first deployed",
"type": [
"string",
"null"
]
},
"firstDeployedBy": {
"description": "Information on the user who last modified the registered model",
"properties": {
"email": {
"description": "Email of the user",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the user",
"type": "string"
},
"name": {
"description": "Full name of the user",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
},
"id": {
"description": "ID of the deployment",
"type": "string"
},
"isChallenger": {
"description": "True if given version is a challenger in a given deployment",
"type": "boolean"
},
"label": {
"description": "Label of the deployment",
"type": [
"string",
"null"
]
},
"predictionEnvironment": {
"description": "Information related to the current PredictionEnvironment.",
"properties": {
"id": {
"description": "ID of the PredictionEnvironment.",
"type": [
"string",
"null"
]
},
"isManagedByManagementAgent": {
"description": "True if PredictionEnvironment is using Management Agent.",
"type": "boolean"
},
"name": {
"description": "Name of the PredictionEnvironment.",
"type": "string"
},
"platform": {
"description": "Platform of the PredictionEnvironment.",
"enum": [
"aws",
"gcp",
"azure",
"onPremise",
"datarobot",
"datarobotServerless",
"openShift",
"other",
"snowflake",
"sapAiCore"
],
"type": "string"
},
"plugin": {
"description": "Plugin name of the PredictionEnvironment.",
"type": [
"string",
"null"
]
},
"supportedModelFormats": {
"description": "Model formats that the PredictionEnvironment supports.",
"items": {
"enum": [
"datarobot",
"datarobotScoringCode",
"customModel",
"externalModel"
],
"type": "string"
},
"maxItems": 4,
"minItems": 1,
"type": "array"
}
},
"required": [
"id",
"isManagedByManagementAgent",
"name",
"platform"
],
"type": "object"
},
"registeredModelVersion": {
"description": "Version of the registered model",
"type": "integer"
},
"status": {
"description": "Status of the deployment",
"type": "string"
}
},
"required": [
"createdAt",
"createdBy",
"currentlyDeployed",
"firstDeployedAt",
"firstDeployedBy",
"id",
"isChallenger",
"label",
"registeredModelVersion",
"status"
],
"type": "object"
},
"type": "array"
},
"next": {
"description": "URL pointing to the next page (if null, there is no next page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"previous": {
"description": "URL pointing to the previous page (if null, there is no previous page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"totalCount": {
"description": "The total number of items across all pages.",
"type": "integer"
}
},
"required": [
"data",
"next",
"previous",
"totalCount"
],
"type": "object"
}
Responses
To perform this operation, you must be authenticated by means of one of the following methods:
BearerAuth
Schemas
AccessControlV2
{
"properties": {
"id": {
"description": "The identifier of the recipient.",
"type": "string"
},
"name": {
"description": "The name of the recipient.",
"type": "string"
},
"role": {
"description": "The role of the recipient on this entity.",
"enum": [
"ADMIN",
"CONSUMER",
"DATA_SCIENTIST",
"EDITOR",
"OBSERVER",
"OWNER",
"READ_ONLY",
"READ_WRITE",
"USER"
],
"type": "string"
},
"shareRecipientType": {
"description": "The type of the recipient.",
"enum": [
"user",
"group",
"organization"
],
"type": "string"
}
},
"required": [
"id",
"name",
"role",
"shareRecipientType"
],
"type": "object"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
id |
string |
true |
|
The identifier of the recipient. |
name |
string |
true |
|
The name of the recipient. |
role |
string |
true |
|
The role of the recipient on this entity. |
shareRecipientType |
string |
true |
|
The type of the recipient. |
Enumerated Values
Property |
Value |
role |
[ADMIN , CONSUMER , DATA_SCIENTIST , EDITOR , OBSERVER , OWNER , READ_ONLY , READ_WRITE , USER ] |
shareRecipientType |
[user , group , organization ] |
CustomModelDetails
{
"description": "Details of the custom model associated to this registered model version",
"properties": {
"createdAt": {
"description": "Time when the custom model was created",
"type": "string"
},
"creatorEmail": {
"description": "Email of the user who created the custom model",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "ID of the creator of the custom model",
"type": "string"
},
"creatorName": {
"description": "Name of the user who created the custom model",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the associated custom model",
"type": "string"
},
"versionLabel": {
"description": "Label of associated custom model version.",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
}
},
"required": [
"createdAt",
"creatorId",
"id"
],
"type": "object"
}
Details of the custom model associated to this registered model version
Properties
Name |
Type |
Required |
Restrictions |
Description |
createdAt |
string |
true |
|
Time when the custom model was created |
creatorEmail |
string,null |
false |
|
Email of the user who created the custom model |
creatorId |
string |
true |
|
ID of the creator of the custom model |
creatorName |
string,null |
false |
|
Name of the user who created the custom model |
id |
string |
true |
|
ID of the associated custom model |
versionLabel |
string,null |
false |
|
Label of associated custom model version. |
DeploymentPredictionEnvironmentResponse
{
"description": "Information related to the current PredictionEnvironment.",
"properties": {
"id": {
"description": "ID of the PredictionEnvironment.",
"type": [
"string",
"null"
]
},
"isManagedByManagementAgent": {
"description": "True if PredictionEnvironment is using Management Agent.",
"type": "boolean"
},
"name": {
"description": "Name of the PredictionEnvironment.",
"type": "string"
},
"platform": {
"description": "Platform of the PredictionEnvironment.",
"enum": [
"aws",
"gcp",
"azure",
"onPremise",
"datarobot",
"datarobotServerless",
"openShift",
"other",
"snowflake",
"sapAiCore"
],
"type": "string"
},
"plugin": {
"description": "Plugin name of the PredictionEnvironment.",
"type": [
"string",
"null"
]
},
"supportedModelFormats": {
"description": "Model formats that the PredictionEnvironment supports.",
"items": {
"enum": [
"datarobot",
"datarobotScoringCode",
"customModel",
"externalModel"
],
"type": "string"
},
"maxItems": 4,
"minItems": 1,
"type": "array"
}
},
"required": [
"id",
"isManagedByManagementAgent",
"name",
"platform"
],
"type": "object"
}
Information related to the current PredictionEnvironment.
Properties
Name |
Type |
Required |
Restrictions |
Description |
id |
string,null |
true |
|
ID of the PredictionEnvironment. |
isManagedByManagementAgent |
boolean |
true |
|
True if PredictionEnvironment is using Management Agent. |
name |
string |
true |
|
Name of the PredictionEnvironment. |
platform |
string |
true |
|
Platform of the PredictionEnvironment. |
plugin |
string,null |
false |
|
Plugin name of the PredictionEnvironment. |
supportedModelFormats |
[string] |
false |
maxItems: 4 minItems: 1
|
Model formats that the PredictionEnvironment supports. |
Enumerated Values
Property |
Value |
platform |
[aws , gcp , azure , onPremise , datarobot , datarobotServerless , openShift , other , snowflake , sapAiCore ] |
Feature
{
"properties": {
"dateFormat": {
"description": "The date format string for how this feature was interpreted.",
"type": [
"string",
"null"
]
},
"featureType": {
"description": "Feature type.",
"type": [
"string",
"null"
]
},
"importance": {
"description": "Numeric measure of the relationship strength between the feature and target (independent of model or other features).",
"type": [
"number",
"null"
]
},
"knownInAdvance": {
"description": "Whether the feature was selected as known in advance in a time-series model, false for non-time-series models.",
"type": "boolean"
},
"name": {
"description": "Feature name.",
"type": "string"
}
},
"required": [
"dateFormat",
"featureType",
"importance",
"knownInAdvance",
"name"
],
"type": "object"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
dateFormat |
string,null |
true |
|
The date format string for how this feature was interpreted. |
featureType |
string,null |
true |
|
Feature type. |
importance |
number,null |
true |
|
Numeric measure of the relationship strength between the feature and target (independent of model or other features). |
knownInAdvance |
boolean |
true |
|
Whether the feature was selected as known in advance in a time-series model, false for non-time-series models. |
name |
string |
true |
|
Feature name. |
FeatureListResponse
{
"properties": {
"count": {
"description": "Number of items returned on this page.",
"type": "integer"
},
"data": {
"description": "An array of features.",
"items": {
"properties": {
"dateFormat": {
"description": "The date format string for how this feature was interpreted.",
"type": [
"string",
"null"
]
},
"featureType": {
"description": "Feature type.",
"type": [
"string",
"null"
]
},
"importance": {
"description": "Numeric measure of the relationship strength between the feature and target (independent of model or other features).",
"type": [
"number",
"null"
]
},
"knownInAdvance": {
"description": "Whether the feature was selected as known in advance in a time-series model, false for non-time-series models.",
"type": "boolean"
},
"name": {
"description": "Feature name.",
"type": "string"
}
},
"required": [
"dateFormat",
"featureType",
"importance",
"knownInAdvance",
"name"
],
"type": "object"
},
"type": "array"
},
"next": {
"description": "URL pointing to the next page (if null, there is no next page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"previous": {
"description": "URL pointing to the previous page (if null, there is no previous page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"totalCount": {
"description": "The total number of items across all pages.",
"type": "integer",
"x-versionadded": "v2.35"
}
},
"required": [
"data",
"next",
"previous",
"totalCount"
],
"type": "object"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
count |
integer |
false |
|
Number of items returned on this page. |
data |
[Feature] |
true |
|
An array of features. |
next |
string,null(uri) |
true |
|
URL pointing to the next page (if null, there is no next page). |
previous |
string,null(uri) |
true |
|
URL pointing to the previous page (if null, there is no previous page). |
totalCount |
integer |
true |
|
The total number of items across all pages. |
GrantAccessControlWithId
{
"properties": {
"id": {
"description": "The ID of the recipient.",
"type": "string"
},
"role": {
"description": "The role of the recipient on this entity. One of OWNER, USER, OBSERVER.",
"type": "string"
},
"shareRecipientType": {
"description": "Describes the recipient type, either user, group, or organization.",
"enum": [
"user",
"group",
"organization"
],
"type": "string"
}
},
"required": [
"id",
"role",
"shareRecipientType"
],
"type": "object"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
id |
string |
true |
|
The ID of the recipient. |
role |
string |
true |
|
The role of the recipient on this entity. One of OWNER, USER, OBSERVER. |
shareRecipientType |
string |
true |
|
Describes the recipient type, either user, group, or organization. |
Enumerated Values
Property |
Value |
shareRecipientType |
[user , group , organization ] |
GrantAccessControlWithUsername
{
"properties": {
"role": {
"description": "The role of the recipient on this entity. One of OWNER, USER, OBSERVER.",
"type": "string"
},
"shareRecipientType": {
"description": "Describes the recipient type, either user, group, or organization.",
"enum": [
"user",
"group",
"organization"
],
"type": "string"
},
"username": {
"description": "Username of the user to update the access role for.",
"type": "string"
}
},
"required": [
"role",
"shareRecipientType",
"username"
],
"type": "object"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
role |
string |
true |
|
The role of the recipient on this entity. One of OWNER, USER, OBSERVER. |
shareRecipientType |
string |
true |
|
Describes the recipient type, either user, group, or organization. |
username |
string |
true |
|
Username of the user to update the access role for. |
Enumerated Values
Property |
Value |
shareRecipientType |
[user , group , organization ] |
MlpkgFileContents
{
"description": "Information about the content of .mlpkg artifact",
"properties": {
"allTimeSeriesPredictionIntervals": {
"description": "Whether .mlpkg contains TS prediction intervals computed for all percentiles",
"type": [
"boolean",
"null"
],
"x-versionadded": "v2.31"
}
},
"type": "object"
}
Information about the content of .mlpkg artifact
Properties
Name |
Type |
Required |
Restrictions |
Description |
allTimeSeriesPredictionIntervals |
boolean,null |
false |
|
Whether .mlpkg contains TS prediction intervals computed for all percentiles |
ModelPackageCapabilities
{
"description": "Capabilities of the current model package.",
"properties": {
"supportsAutomaticActuals": {
"description": "Whether inferring actual values from time series history data and automatically feeding them back for accuracy estimation is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsChallengerModels": {
"description": "Whether Challenger Models are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsFeatureDriftTracking": {
"description": "Whether Feature Drift is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsHumilityRecommendedRules": {
"description": "Whether calculating values for recommended Humility Rules is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsHumilityRules": {
"description": "Whether Humility Rules are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsHumilityRulesDefaultCalculations": {
"description": "Whether calculating default values for Humility Rules is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2"
},
"supportsPredictionWarning": {
"description": "Whether Prediction Warnings are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsRetraining": {
"description": "Whether deployment supports retraining.",
"type": "boolean",
"x-versionadded": "v2.28",
"x-versiondeprecated": "v2.29"
},
"supportsScoringCodeDownload": {
"description": "Whether scoring code download is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsSecondaryDatasets": {
"description": "If the deployments supports secondary datasets.",
"type": "boolean",
"x-versionadded": "v2.28",
"x-versiondeprecated": "v2.29"
},
"supportsSegmentedAnalysisDriftAndAccuracy": {
"description": "Whether tracking features in training and predictions data for segmented analysis is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsShapBasedPredictionExplanations": {
"description": "Whether shap-based prediction explanations are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsTargetDriftTracking": {
"description": "Whether Target Drift is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
}
},
"required": [
"supportsChallengerModels",
"supportsFeatureDriftTracking",
"supportsHumilityRecommendedRules",
"supportsHumilityRules",
"supportsHumilityRulesDefaultCalculations",
"supportsPredictionWarning",
"supportsSecondaryDatasets",
"supportsSegmentedAnalysisDriftAndAccuracy",
"supportsShapBasedPredictionExplanations",
"supportsTargetDriftTracking"
],
"type": "object"
}
Capabilities of the current model package.
Properties
Name |
Type |
Required |
Restrictions |
Description |
supportsAutomaticActuals |
boolean |
false |
|
Whether inferring actual values from time series history data and automatically feeding them back for accuracy estimation is supported by this model package. |
supportsChallengerModels |
boolean |
true |
|
Whether Challenger Models are supported by this model package. |
supportsFeatureDriftTracking |
boolean |
true |
|
Whether Feature Drift is supported by this model package. |
supportsHumilityRecommendedRules |
boolean |
true |
|
Whether calculating values for recommended Humility Rules is supported by this model package. |
supportsHumilityRules |
boolean |
true |
|
Whether Humility Rules are supported by this model package. |
supportsHumilityRulesDefaultCalculations |
boolean |
true |
|
Whether calculating default values for Humility Rules is supported by this model package. |
supportsPredictionWarning |
boolean |
true |
|
Whether Prediction Warnings are supported by this model package. |
supportsRetraining |
boolean |
false |
|
Whether deployment supports retraining. |
supportsScoringCodeDownload |
boolean |
false |
|
Whether scoring code download is supported by this model package. |
supportsSecondaryDatasets |
boolean |
true |
|
If the deployments supports secondary datasets. |
supportsSegmentedAnalysisDriftAndAccuracy |
boolean |
true |
|
Whether tracking features in training and predictions data for segmented analysis is supported by this model package. |
supportsShapBasedPredictionExplanations |
boolean |
true |
|
Whether shap-based prediction explanations are supported by this model package. |
supportsTargetDriftTracking |
boolean |
true |
|
Whether Target Drift is supported by this model package. |
ModelPackageCapabilitiesRetrieveResponse
{
"properties": {
"data": {
"description": "List of all capabilities.",
"items": {
"properties": {
"messages": {
"description": "Messages explaining why the capability is supported or not supported.",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "The name of the capability.",
"type": "string"
},
"supported": {
"description": "If the capability is supported.",
"type": "boolean"
}
},
"required": [
"messages",
"name",
"supported"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"data"
],
"type": "object"
}
Properties
ModelPackageCapability
{
"properties": {
"messages": {
"description": "Messages explaining why the capability is supported or not supported.",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "The name of the capability.",
"type": "string"
},
"supported": {
"description": "If the capability is supported.",
"type": "boolean"
}
},
"required": [
"messages",
"name",
"supported"
],
"type": "object"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
messages |
[string] |
true |
|
Messages explaining why the capability is supported or not supported. |
name |
string |
true |
|
The name of the capability. |
supported |
boolean |
true |
|
If the capability is supported. |
ModelPackageCreateFromLeaderboard
{
"properties": {
"computeAllTsIntervals": {
"default": null,
"description": "Whether to compute all Time Series prediction intervals (1-100 percentiles)",
"type": [
"boolean",
"null"
]
},
"description": {
"default": "",
"description": "Description of the model package.",
"maxLength": 2048,
"type": [
"string",
"null"
]
},
"distributionPredictionModelId": {
"default": null,
"description": "ID of the DataRobot distribution prediction model trained on predictions from the DataRobot model.",
"type": [
"string",
"null"
]
},
"modelId": {
"description": "ID of the DataRobot model.",
"type": "string"
},
"name": {
"default": null,
"description": "Name of the model package.",
"maxLength": 1024,
"type": [
"string",
"null"
]
},
"predictionThreshold": {
"description": "Threshold used for binary classification in predictions",
"maximum": 1,
"minimum": 0,
"type": "number"
}
},
"required": [
"modelId"
],
"type": "object"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
computeAllTsIntervals |
boolean,null |
false |
|
Whether to compute all Time Series prediction intervals (1-100 percentiles) |
description |
string,null |
false |
maxLength: 2048
|
Description of the model package. |
distributionPredictionModelId |
string,null |
false |
|
ID of the DataRobot distribution prediction model trained on predictions from the DataRobot model. |
modelId |
string |
true |
|
ID of the DataRobot model. |
name |
string,null |
false |
maxLength: 1024
|
Name of the model package. |
predictionThreshold |
number |
false |
maximum: 1 minimum: 0
|
Threshold used for binary classification in predictions |
ModelPackageCreateFromLearningModel
{
"properties": {
"description": {
"description": "Description of the model package.",
"maxLength": 2048,
"type": [
"string",
"null"
]
},
"distributionPredictionModelId": {
"default": null,
"description": "ID of the DataRobot distribution prediction model trained on predictions from the DataRobot model.",
"type": [
"string",
"null"
]
},
"modelId": {
"description": "ID of the DataRobot model.",
"type": "string"
},
"name": {
"default": null,
"description": "Name of the model package.",
"maxLength": 1024,
"type": [
"string",
"null"
]
},
"predictionThreshold": {
"description": "Threshold used for binary classification in predictions",
"maximum": 1,
"minimum": 0,
"type": "number"
}
},
"required": [
"modelId"
],
"type": "object"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
description |
string,null |
false |
maxLength: 2048
|
Description of the model package. |
distributionPredictionModelId |
string,null |
false |
|
ID of the DataRobot distribution prediction model trained on predictions from the DataRobot model. |
modelId |
string |
true |
|
ID of the DataRobot model. |
name |
string,null |
false |
maxLength: 1024
|
Name of the model package. |
predictionThreshold |
number |
false |
maximum: 1 minimum: 0
|
Threshold used for binary classification in predictions |
ModelPackageDatasets
{
"description": "dataset information for the model package",
"properties": {
"baselineSegmentedBy": {
"description": "Names of categorical features by which the training baseline was segmented. This allows for deployment prediction requests to be segmented by those same features. Segmenting the training baseline by these features allows for users to perform segmented analysis of Data Drift and Accuracy, and to compare the same subset of training and scoring data based on the selected segment attribute and segment value.",
"items": {
"type": "string"
},
"type": "array"
},
"datasetName": {
"description": "Name of dataset used to train the model",
"type": [
"string",
"null"
]
},
"holdoutDataCatalogId": {
"description": "ID for holdout data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"holdoutDataCatalogVersionId": {
"description": "Version ID for holdout data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"holdoutDataCreatedAt": {
"description": "Time when the holdout data item was created",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDataCreatorEmail": {
"description": "Email of the user who created the holdout data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDataCreatorId": {
"default": null,
"description": "ID of the creator of the holdout data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDataCreatorName": {
"description": "Name of the user who created the holdout data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDatasetName": {
"description": "Name of dataset used for model holdout",
"type": [
"string",
"null"
]
},
"targetHistogramBaseline": {
"description": "Values used to establish the training baseline",
"enum": [
"predictions",
"actuals"
],
"type": "string"
},
"trainingDataCatalogId": {
"description": "ID for training data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"trainingDataCatalogVersionId": {
"description": "Version ID for training data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"trainingDataCreatedAt": {
"description": "Time when the training data item was created",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataCreatorEmail": {
"description": "Email of the user who created the training data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataCreatorId": {
"default": null,
"description": "ID of the creator of the training data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataCreatorName": {
"description": "Name of the user who created the training data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataSize": {
"description": "Number of rows in training data (used by DR models)",
"type": "integer"
}
},
"required": [
"baselineSegmentedBy",
"datasetName",
"holdoutDataCatalogId",
"holdoutDataCatalogVersionId",
"holdoutDatasetName",
"trainingDataCatalogId",
"trainingDataCatalogVersionId"
],
"type": "object"
}
dataset information for the model package
Properties
Name |
Type |
Required |
Restrictions |
Description |
baselineSegmentedBy |
[string] |
true |
|
Names of categorical features by which the training baseline was segmented. This allows for deployment prediction requests to be segmented by those same features. Segmenting the training baseline by these features allows for users to perform segmented analysis of Data Drift and Accuracy, and to compare the same subset of training and scoring data based on the selected segment attribute and segment value. |
datasetName |
string,null |
true |
|
Name of dataset used to train the model |
holdoutDataCatalogId |
string,null |
true |
|
ID for holdout data (returned from uploading a data set) |
holdoutDataCatalogVersionId |
string,null |
true |
|
Version ID for holdout data (returned from uploading a data set) |
holdoutDataCreatedAt |
string,null |
false |
|
Time when the holdout data item was created |
holdoutDataCreatorEmail |
string,null |
false |
|
Email of the user who created the holdout data item |
holdoutDataCreatorId |
string,null |
false |
|
ID of the creator of the holdout data item |
holdoutDataCreatorName |
string,null |
false |
|
Name of the user who created the holdout data item |
holdoutDatasetName |
string,null |
true |
|
Name of dataset used for model holdout |
targetHistogramBaseline |
string |
false |
|
Values used to establish the training baseline |
trainingDataCatalogId |
string,null |
true |
|
ID for training data (returned from uploading a data set) |
trainingDataCatalogVersionId |
string,null |
true |
|
Version ID for training data (returned from uploading a data set) |
trainingDataCreatedAt |
string,null |
false |
|
Time when the training data item was created |
trainingDataCreatorEmail |
string,null |
false |
|
Email of the user who created the training data item |
trainingDataCreatorId |
string,null |
false |
|
ID of the creator of the training data item |
trainingDataCreatorName |
string,null |
false |
|
Name of the user who created the training data item |
trainingDataSize |
integer |
false |
|
Number of rows in training data (used by DR models) |
Enumerated Values
Property |
Value |
targetHistogramBaseline |
[predictions , actuals ] |
{
"description": "Information from when this Model Package was first saved",
"properties": {
"containsFearPipeline": {
"description": "Exists for imported models only, indicates thatmodel package contains file with fear pipeline.",
"type": [
"boolean",
"null"
]
},
"containsFeaturelists": {
"description": "Exists for imported models only, indicates thatmodel package contains file with featurelists.",
"type": [
"boolean",
"null"
]
},
"containsLeaderboardMeta": {
"description": "Exists for imported models only, indicates thatmodel package contains file with leaderboard meta.",
"type": [
"boolean",
"null"
]
},
"containsProjectMeta": {
"description": "Exists for imported models only, indicates thatmodel package contains file with project meta.",
"type": [
"boolean",
"null"
]
},
"creatorFullName": {
"description": "Full name of the person who created this model package",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "User ID of the person who created this Model Package",
"type": "string"
},
"creatorUsername": {
"description": "Username of the person who created this model package",
"type": "string"
},
"dateCreated": {
"description": "When this Model Package was created",
"type": "string"
},
"originalFileName": {
"description": "Exists for imported models only, the original file name that was uploaded",
"type": [
"string",
"null"
]
}
},
"required": [
"creatorFullName",
"creatorId",
"creatorUsername",
"dateCreated",
"originalFileName"
],
"type": "object"
}
Information from when this Model Package was first saved
Properties
Name |
Type |
Required |
Restrictions |
Description |
containsFearPipeline |
boolean,null |
false |
|
Exists for imported models only, indicates thatmodel package contains file with fear pipeline. |
containsFeaturelists |
boolean,null |
false |
|
Exists for imported models only, indicates thatmodel package contains file with featurelists. |
containsLeaderboardMeta |
boolean,null |
false |
|
Exists for imported models only, indicates thatmodel package contains file with leaderboard meta. |
containsProjectMeta |
boolean,null |
false |
|
Exists for imported models only, indicates thatmodel package contains file with project meta. |
creatorFullName |
string,null |
true |
|
Full name of the person who created this model package |
creatorId |
string |
true |
|
User ID of the person who created this Model Package |
creatorUsername |
string |
true |
|
Username of the person who created this model package |
dateCreated |
string |
true |
|
When this Model Package was created |
originalFileName |
string,null |
true |
|
Exists for imported models only, the original file name that was uploaded |
ModelPackageListResponse
{
"properties": {
"count": {
"description": "Number of items returned on this page.",
"type": "integer"
},
"data": {
"description": "list of formatted model packages",
"items": {
"properties": {
"activeDeploymentCount": {
"description": "Number of deployments currently using this model package",
"type": "integer"
},
"buildStatus": {
"description": "Model package build status",
"enum": [
"inProgress",
"complete",
"failed"
],
"type": [
"string",
"null"
]
},
"capabilities": {
"description": "Capabilities of the current model package.",
"properties": {
"supportsAutomaticActuals": {
"description": "Whether inferring actual values from time series history data and automatically feeding them back for accuracy estimation is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsChallengerModels": {
"description": "Whether Challenger Models are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsFeatureDriftTracking": {
"description": "Whether Feature Drift is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsHumilityRecommendedRules": {
"description": "Whether calculating values for recommended Humility Rules is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsHumilityRules": {
"description": "Whether Humility Rules are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsHumilityRulesDefaultCalculations": {
"description": "Whether calculating default values for Humility Rules is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2"
},
"supportsPredictionWarning": {
"description": "Whether Prediction Warnings are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsRetraining": {
"description": "Whether deployment supports retraining.",
"type": "boolean",
"x-versionadded": "v2.28",
"x-versiondeprecated": "v2.29"
},
"supportsScoringCodeDownload": {
"description": "Whether scoring code download is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsSecondaryDatasets": {
"description": "If the deployments supports secondary datasets.",
"type": "boolean",
"x-versionadded": "v2.28",
"x-versiondeprecated": "v2.29"
},
"supportsSegmentedAnalysisDriftAndAccuracy": {
"description": "Whether tracking features in training and predictions data for segmented analysis is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsShapBasedPredictionExplanations": {
"description": "Whether shap-based prediction explanations are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsTargetDriftTracking": {
"description": "Whether Target Drift is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
}
},
"required": [
"supportsChallengerModels",
"supportsFeatureDriftTracking",
"supportsHumilityRecommendedRules",
"supportsHumilityRules",
"supportsHumilityRulesDefaultCalculations",
"supportsPredictionWarning",
"supportsSecondaryDatasets",
"supportsSegmentedAnalysisDriftAndAccuracy",
"supportsShapBasedPredictionExplanations",
"supportsTargetDriftTracking"
],
"type": "object"
},
"datasets": {
"description": "dataset information for the model package",
"properties": {
"baselineSegmentedBy": {
"description": "Names of categorical features by which the training baseline was segmented. This allows for deployment prediction requests to be segmented by those same features. Segmenting the training baseline by these features allows for users to perform segmented analysis of Data Drift and Accuracy, and to compare the same subset of training and scoring data based on the selected segment attribute and segment value.",
"items": {
"type": "string"
},
"type": "array"
},
"datasetName": {
"description": "Name of dataset used to train the model",
"type": [
"string",
"null"
]
},
"holdoutDataCatalogId": {
"description": "ID for holdout data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"holdoutDataCatalogVersionId": {
"description": "Version ID for holdout data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"holdoutDataCreatedAt": {
"description": "Time when the holdout data item was created",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDataCreatorEmail": {
"description": "Email of the user who created the holdout data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDataCreatorId": {
"default": null,
"description": "ID of the creator of the holdout data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDataCreatorName": {
"description": "Name of the user who created the holdout data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDatasetName": {
"description": "Name of dataset used for model holdout",
"type": [
"string",
"null"
]
},
"targetHistogramBaseline": {
"description": "Values used to establish the training baseline",
"enum": [
"predictions",
"actuals"
],
"type": "string"
},
"trainingDataCatalogId": {
"description": "ID for training data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"trainingDataCatalogVersionId": {
"description": "Version ID for training data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"trainingDataCreatedAt": {
"description": "Time when the training data item was created",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataCreatorEmail": {
"description": "Email of the user who created the training data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataCreatorId": {
"default": null,
"description": "ID of the creator of the training data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataCreatorName": {
"description": "Name of the user who created the training data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataSize": {
"description": "Number of rows in training data (used by DR models)",
"type": "integer"
}
},
"required": [
"baselineSegmentedBy",
"datasetName",
"holdoutDataCatalogId",
"holdoutDataCatalogVersionId",
"holdoutDatasetName",
"trainingDataCatalogId",
"trainingDataCatalogVersionId"
],
"type": "object"
},
"id": {
"description": "ID of the Model package",
"type": "string"
},
"importMeta": {
"description": "Information from when this Model Package was first saved",
"properties": {
"containsFearPipeline": {
"description": "Exists for imported models only, indicates thatmodel package contains file with fear pipeline.",
"type": [
"boolean",
"null"
]
},
"containsFeaturelists": {
"description": "Exists for imported models only, indicates thatmodel package contains file with featurelists.",
"type": [
"boolean",
"null"
]
},
"containsLeaderboardMeta": {
"description": "Exists for imported models only, indicates thatmodel package contains file with leaderboard meta.",
"type": [
"boolean",
"null"
]
},
"containsProjectMeta": {
"description": "Exists for imported models only, indicates thatmodel package contains file with project meta.",
"type": [
"boolean",
"null"
]
},
"creatorFullName": {
"description": "Full name of the person who created this model package",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "User ID of the person who created this Model Package",
"type": "string"
},
"creatorUsername": {
"description": "Username of the person who created this model package",
"type": "string"
},
"dateCreated": {
"description": "When this Model Package was created",
"type": "string"
},
"originalFileName": {
"description": "Exists for imported models only, the original file name that was uploaded",
"type": [
"string",
"null"
]
}
},
"required": [
"creatorFullName",
"creatorId",
"creatorUsername",
"dateCreated",
"originalFileName"
],
"type": "object"
},
"isArchived": {
"description": "Whether the model package is permanently archived (cannot be used in deployment or replacement)",
"type": "boolean"
},
"isDeprecated": {
"description": "Whether the model package is deprecated. eg. python2 models are deprecated.",
"type": "boolean",
"x-versionadded": "v2.29"
},
"mlpkgFileContents": {
"description": "Information about the content of .mlpkg artifact",
"properties": {
"allTimeSeriesPredictionIntervals": {
"description": "Whether .mlpkg contains TS prediction intervals computed for all percentiles",
"type": [
"boolean",
"null"
],
"x-versionadded": "v2.31"
}
},
"type": "object"
},
"modelDescription": {
"description": "model description information for the model package",
"properties": {
"buildEnvironmentType": {
"description": "build environment type of the model",
"enum": [
"DataRobot",
"Python",
"R",
"Java",
"Other"
],
"type": "string"
},
"description": {
"description": "a description of the model",
"type": [
"string",
"null"
]
},
"location": {
"description": "location of the model",
"type": [
"string",
"null"
]
},
"modelCreatedAt": {
"description": "time when the model was created",
"type": [
"string",
"null"
]
},
"modelCreatorEmail": {
"description": "email of the user who created the model",
"type": [
"string",
"null"
]
},
"modelCreatorId": {
"default": null,
"description": "ID of the creator of the model",
"type": [
"string",
"null"
]
},
"modelCreatorName": {
"description": "name of the user who created the model",
"type": [
"string",
"null"
]
},
"modelName": {
"description": "model name",
"type": "string"
}
},
"required": [
"buildEnvironmentType",
"description",
"location"
],
"type": "object"
},
"modelExecutionType": {
"description": "Type of model package. `dedicated` (native DataRobot models) and `custom_inference_model` (user added inference models) both execute on DataRobot prediction servers, `external` do not",
"enum": [
"dedicated",
"custom_inference_model",
"external"
],
"type": "string"
},
"modelId": {
"description": "ID of the model",
"type": "string"
},
"modelKind": {
"description": "Model attribute information",
"properties": {
"isAnomalyDetectionModel": {
"description": "true if this is an anomaly detection model",
"type": "boolean"
},
"isCombinedModel": {
"description": "true if model is a combined model",
"type": "boolean",
"x-versionadded": "v2.27"
},
"isFeatureDiscovery": {
"description": "true if this model uses the Feature Discovery feature",
"type": "boolean"
},
"isMultiseries": {
"description": "true if model is multiseries",
"type": "boolean"
},
"isTimeSeries": {
"description": "true if model is time series",
"type": "boolean"
},
"isUnsupervisedLearning": {
"description": "true if model used unsupervised learning",
"type": "boolean"
}
},
"required": [
"isAnomalyDetectionModel",
"isCombinedModel",
"isFeatureDiscovery",
"isMultiseries",
"isTimeSeries",
"isUnsupervisedLearning"
],
"type": "object"
},
"name": {
"description": "Model package name",
"type": "string"
},
"permissions": {
"description": "List of action permissions the user making the request has on the model package",
"items": {
"type": "string"
},
"type": "array",
"x-versionadded": "v2.20"
},
"sourceMeta": {
"description": "Meta information from where this model was generated",
"properties": {
"customModelDetails": {
"description": "Details of the custom model associated to this registered model version",
"properties": {
"createdAt": {
"description": "Time when the custom model was created",
"type": "string"
},
"creatorEmail": {
"description": "Email of the user who created the custom model",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "ID of the creator of the custom model",
"type": "string"
},
"creatorName": {
"description": "Name of the user who created the custom model",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the associated custom model",
"type": "string"
},
"versionLabel": {
"description": "Label of associated custom model version.",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
}
},
"required": [
"createdAt",
"creatorId",
"id"
],
"type": "object"
},
"environmentUrl": {
"description": "If available, URL of the source model",
"format": "uri",
"type": [
"string",
"null"
]
},
"fips_140_2Enabled": {
"description": "true if the model was built with FIPS-140-2",
"type": "boolean"
},
"projectCreatedAt": {
"description": "If available, time when the project was created",
"type": [
"string",
"null"
]
},
"projectCreatorEmail": {
"description": "If available, email of the user who created the project",
"type": [
"string",
"null"
]
},
"projectCreatorId": {
"default": null,
"description": "If available, ID of the creator of the project",
"type": [
"string",
"null"
]
},
"projectCreatorName": {
"description": "If available, name of the user who created the project",
"type": [
"string",
"null"
]
},
"projectId": {
"description": "If available, the project id used for this model",
"type": [
"string",
"null"
]
},
"projectName": {
"description": "If available, the project name for this model",
"type": [
"string",
"null"
]
},
"scoringCode": {
"description": "If available, information about the model's scoring code",
"properties": {
"dataRobotPredictionVersion": {
"description": "DataRobot prediction API version for the scoring code",
"type": [
"string",
"null"
]
},
"location": {
"description": "Location of the scoring code",
"enum": [
"local_leaderboard",
"mlpkg"
],
"type": [
"string",
"null"
]
}
},
"required": [
"dataRobotPredictionVersion",
"location"
],
"type": "object"
},
"useCaseDetails": {
"description": "Details of the use-case associated to this registered model version",
"properties": {
"createdAt": {
"description": "Time when use-case was created",
"type": "string"
},
"creatorEmail": {
"description": "Email of the user who created use-case",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "ID of the creator of the use-case",
"type": "string"
},
"creatorName": {
"description": "Name of the user who created use-case",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the associated use-case",
"type": "string"
},
"name": {
"description": "Name of the use case at the moment of creation",
"type": [
"string",
"null"
]
}
},
"required": [
"createdAt",
"creatorId",
"id"
],
"type": "object"
}
},
"required": [
"environmentUrl",
"projectId",
"projectName",
"scoringCode"
],
"type": "object"
},
"target": {
"description": "target information for the model package",
"properties": {
"classCount": {
"description": "Number of classes for classification models.",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"classNames": {
"description": "Class names for prediction results. When target type is Binary, two class names are returned. The first element is the minority (positive) class and the second element is the majority (negative) class. Limited to 100 returned for Multiclass.",
"items": {
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"name": {
"description": "name of the target column",
"type": "string"
},
"predictionProbabilitiesColumn": {
"description": "Field or column name containing prediction probabilities",
"type": [
"string",
"null"
]
},
"predictionThreshold": {
"description": "Prediction threshold used for binary classification models",
"maximum": 1,
"minimum": 0,
"type": [
"number",
"null"
]
},
"type": {
"description": "Target type of the model.",
"enum": [
"Binary",
"Regression",
"Multiclass",
"Multilabel",
"TextGeneration",
"GeoPoint",
"AgenticWorkflow"
],
"type": "string"
}
},
"required": [
"classCount",
"classNames",
"name",
"predictionProbabilitiesColumn",
"predictionThreshold",
"type"
],
"type": "object"
},
"timeseries": {
"description": "time series information for the model package",
"properties": {
"datetimeColumnFormat": {
"description": "Date format for forecast date and forecast point column",
"type": [
"string",
"null"
]
},
"datetimeColumnName": {
"description": "Name of the forecast date column",
"type": [
"string",
"null"
]
},
"effectiveFeatureDerivationWindowEnd": {
"description": "Same concept as `featureDerivationWindowEnd` which is chosen by the user and based on the initial sampled data from the eda sample. When the dataset goes through aim, the pipeline reads the full dataset and figures out the \"real\" FDW (i.e., the effective FDW). For most models, eFDW is approximately the same as the FDW.",
"maximum": 0,
"type": [
"integer",
"null"
],
"x-versionadded": "v2.25"
},
"effectiveFeatureDerivationWindowStart": {
"description": "Same concept as `featureDerivationWindowStart` which is chosen by the user and based on the initial sampled data from the eda sample. When the dataset goes through aim, the pipeline reads the full dataset and figures out the \"real\" FDW (i.e., the effective FDW). For most models, eFDW is approximately the same as the FDW.",
"maximum": 0,
"type": [
"integer",
"null"
],
"x-versionadded": "v2.25"
},
"featureDerivationWindowEnd": {
"description": "Negative number or zero defining how many time units of the forecast distances time unit into the past relative to the forecast point the feature derivation window should end.",
"maximum": 0,
"type": [
"integer",
"null"
]
},
"featureDerivationWindowStart": {
"description": "Negative number or zero defining how many time units of the forecast distances time unit into the past relative to the forecast point the feature derivation window should begin.",
"maximum": 0,
"type": [
"integer",
"null"
]
},
"forecastDistanceColumnName": {
"description": "Name of the forecast distance column",
"type": [
"string",
"null"
]
},
"forecastDistances": {
"description": "List of integer forecast distances",
"items": {
"type": "integer"
},
"type": "array"
},
"forecastDistancesTimeUnit": {
"description": "The time unit of forecast distances",
"enum": [
"MICROSECOND",
"MILLISECOND",
"SECOND",
"MINUTE",
"HOUR",
"DAY",
"WEEK",
"MONTH",
"QUARTER",
"YEAR"
],
"type": [
"string",
"null"
]
},
"forecastPointColumnName": {
"description": "Name of the forecast point column",
"type": [
"string",
"null"
]
},
"isCrossSeries": {
"description": "true if the model is cross-series.",
"type": [
"boolean",
"null"
]
},
"isNewSeriesSupport": {
"description": "true if the model is optimized to support new series.",
"type": [
"boolean",
"null"
],
"x-versionadded": "v2.25"
},
"isTraditionalTimeSeries": {
"description": "true if the model is traditional time series.",
"type": [
"boolean",
"null"
]
},
"seriesColumnName": {
"description": "Name of the series column in case of multi-series date",
"type": [
"string",
"null"
]
}
},
"required": [
"datetimeColumnFormat",
"datetimeColumnName",
"effectiveFeatureDerivationWindowEnd",
"effectiveFeatureDerivationWindowStart",
"featureDerivationWindowEnd",
"featureDerivationWindowStart",
"forecastDistanceColumnName",
"forecastDistances",
"forecastDistancesTimeUnit",
"forecastPointColumnName",
"isCrossSeries",
"isNewSeriesSupport",
"isTraditionalTimeSeries",
"seriesColumnName"
],
"type": "object"
},
"updatedBy": {
"description": "Information on the user who last modified the registered model",
"properties": {
"email": {
"description": "Email of the user",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the user",
"type": "string"
},
"name": {
"description": "Full name of the user",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
},
"userProvidedId": {
"description": "A user-provided unique ID associated with the given custom inference model.",
"type": "string"
}
},
"required": [
"activeDeploymentCount",
"capabilities",
"datasets",
"id",
"importMeta",
"isArchived",
"isDeprecated",
"modelDescription",
"modelExecutionType",
"modelId",
"modelKind",
"name",
"permissions",
"sourceMeta",
"target",
"timeseries",
"updatedBy"
],
"type": "object"
},
"type": "array"
},
"next": {
"description": "URL pointing to the next page (if null, there is no next page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"previous": {
"description": "URL pointing to the previous page (if null, there is no previous page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"totalCount": {
"description": "The total number of items across all pages.",
"type": "integer"
}
},
"required": [
"data",
"next",
"previous",
"totalCount"
],
"type": "object"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
count |
integer |
false |
|
Number of items returned on this page. |
data |
[ModelPackageRetrieveResponse] |
true |
|
list of formatted model packages |
next |
string,null(uri) |
true |
|
URL pointing to the next page (if null, there is no next page). |
previous |
string,null(uri) |
true |
|
URL pointing to the previous page (if null, there is no previous page). |
totalCount |
integer |
true |
|
The total number of items across all pages. |
ModelPackageModelDescription
{
"description": "model description information for the model package",
"properties": {
"buildEnvironmentType": {
"description": "build environment type of the model",
"enum": [
"DataRobot",
"Python",
"R",
"Java",
"Other"
],
"type": "string"
},
"description": {
"description": "a description of the model",
"type": [
"string",
"null"
]
},
"location": {
"description": "location of the model",
"type": [
"string",
"null"
]
},
"modelCreatedAt": {
"description": "time when the model was created",
"type": [
"string",
"null"
]
},
"modelCreatorEmail": {
"description": "email of the user who created the model",
"type": [
"string",
"null"
]
},
"modelCreatorId": {
"default": null,
"description": "ID of the creator of the model",
"type": [
"string",
"null"
]
},
"modelCreatorName": {
"description": "name of the user who created the model",
"type": [
"string",
"null"
]
},
"modelName": {
"description": "model name",
"type": "string"
}
},
"required": [
"buildEnvironmentType",
"description",
"location"
],
"type": "object"
}
model description information for the model package
Properties
Name |
Type |
Required |
Restrictions |
Description |
buildEnvironmentType |
string |
true |
|
build environment type of the model |
description |
string,null |
true |
|
a description of the model |
location |
string,null |
true |
|
location of the model |
modelCreatedAt |
string,null |
false |
|
time when the model was created |
modelCreatorEmail |
string,null |
false |
|
email of the user who created the model |
modelCreatorId |
string,null |
false |
|
ID of the creator of the model |
modelCreatorName |
string,null |
false |
|
name of the user who created the model |
modelName |
string |
false |
|
model name |
Enumerated Values
Property |
Value |
buildEnvironmentType |
[DataRobot , Python , R , Java , Other ] |
ModelPackageModelKind
{
"description": "Model attribute information",
"properties": {
"isAnomalyDetectionModel": {
"description": "true if this is an anomaly detection model",
"type": "boolean"
},
"isCombinedModel": {
"description": "true if model is a combined model",
"type": "boolean",
"x-versionadded": "v2.27"
},
"isFeatureDiscovery": {
"description": "true if this model uses the Feature Discovery feature",
"type": "boolean"
},
"isMultiseries": {
"description": "true if model is multiseries",
"type": "boolean"
},
"isTimeSeries": {
"description": "true if model is time series",
"type": "boolean"
},
"isUnsupervisedLearning": {
"description": "true if model used unsupervised learning",
"type": "boolean"
}
},
"required": [
"isAnomalyDetectionModel",
"isCombinedModel",
"isFeatureDiscovery",
"isMultiseries",
"isTimeSeries",
"isUnsupervisedLearning"
],
"type": "object"
}
Model attribute information
Properties
Name |
Type |
Required |
Restrictions |
Description |
isAnomalyDetectionModel |
boolean |
true |
|
true if this is an anomaly detection model |
isCombinedModel |
boolean |
true |
|
true if model is a combined model |
isFeatureDiscovery |
boolean |
true |
|
true if this model uses the Feature Discovery feature |
isMultiseries |
boolean |
true |
|
true if model is multiseries |
isTimeSeries |
boolean |
true |
|
true if model is time series |
isUnsupervisedLearning |
boolean |
true |
|
true if model used unsupervised learning |
ModelPackageModelLogsEntry
{
"properties": {
"level": {
"description": "Name of the level of the logging event.",
"enum": [
"DEBUG",
"INFO",
"WARNING",
"ERROR",
"CRITICAL"
],
"type": "string"
},
"message": {
"description": "Message of the logging event.",
"type": "string"
},
"time": {
"description": "POSIX time of the logging event.",
"type": "number"
}
},
"required": [
"level",
"message",
"time"
],
"type": "object",
"x-versionadded": "v2.35"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
level |
string |
true |
|
Name of the level of the logging event. |
message |
string |
true |
|
Message of the logging event. |
time |
number |
true |
|
POSIX time of the logging event. |
Enumerated Values
Property |
Value |
level |
[DEBUG , INFO , WARNING , ERROR , CRITICAL ] |
ModelPackageModelLogsListResponse
{
"properties": {
"count": {
"description": "Number of items returned on this page.",
"type": "integer"
},
"data": {
"description": "Log entries.",
"items": {
"properties": {
"level": {
"description": "Name of the level of the logging event.",
"enum": [
"DEBUG",
"INFO",
"WARNING",
"ERROR",
"CRITICAL"
],
"type": "string"
},
"message": {
"description": "Message of the logging event.",
"type": "string"
},
"time": {
"description": "POSIX time of the logging event.",
"type": "number"
}
},
"required": [
"level",
"message",
"time"
],
"type": "object",
"x-versionadded": "v2.35"
},
"maxItems": 100,
"type": "array"
},
"next": {
"description": "URL pointing to the next page (if null, there is no next page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"previous": {
"description": "URL pointing to the previous page (if null, there is no previous page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"totalCount": {
"description": "The total number of items across all pages.",
"type": "integer"
}
},
"required": [
"data",
"next",
"previous",
"totalCount"
],
"type": "object",
"x-versionadded": "v2.35"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
count |
integer |
false |
|
Number of items returned on this page. |
data |
[ModelPackageModelLogsEntry] |
true |
maxItems: 100
|
Log entries. |
next |
string,null(uri) |
true |
|
URL pointing to the next page (if null, there is no next page). |
previous |
string,null(uri) |
true |
|
URL pointing to the previous page (if null, there is no previous page). |
totalCount |
integer |
true |
|
The total number of items across all pages. |
ModelPackageRetrieveResponse
{
"properties": {
"activeDeploymentCount": {
"description": "Number of deployments currently using this model package",
"type": "integer"
},
"buildStatus": {
"description": "Model package build status",
"enum": [
"inProgress",
"complete",
"failed"
],
"type": [
"string",
"null"
]
},
"capabilities": {
"description": "Capabilities of the current model package.",
"properties": {
"supportsAutomaticActuals": {
"description": "Whether inferring actual values from time series history data and automatically feeding them back for accuracy estimation is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsChallengerModels": {
"description": "Whether Challenger Models are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsFeatureDriftTracking": {
"description": "Whether Feature Drift is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsHumilityRecommendedRules": {
"description": "Whether calculating values for recommended Humility Rules is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsHumilityRules": {
"description": "Whether Humility Rules are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsHumilityRulesDefaultCalculations": {
"description": "Whether calculating default values for Humility Rules is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2"
},
"supportsPredictionWarning": {
"description": "Whether Prediction Warnings are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsRetraining": {
"description": "Whether deployment supports retraining.",
"type": "boolean",
"x-versionadded": "v2.28",
"x-versiondeprecated": "v2.29"
},
"supportsScoringCodeDownload": {
"description": "Whether scoring code download is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsSecondaryDatasets": {
"description": "If the deployments supports secondary datasets.",
"type": "boolean",
"x-versionadded": "v2.28",
"x-versiondeprecated": "v2.29"
},
"supportsSegmentedAnalysisDriftAndAccuracy": {
"description": "Whether tracking features in training and predictions data for segmented analysis is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsShapBasedPredictionExplanations": {
"description": "Whether shap-based prediction explanations are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsTargetDriftTracking": {
"description": "Whether Target Drift is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
}
},
"required": [
"supportsChallengerModels",
"supportsFeatureDriftTracking",
"supportsHumilityRecommendedRules",
"supportsHumilityRules",
"supportsHumilityRulesDefaultCalculations",
"supportsPredictionWarning",
"supportsSecondaryDatasets",
"supportsSegmentedAnalysisDriftAndAccuracy",
"supportsShapBasedPredictionExplanations",
"supportsTargetDriftTracking"
],
"type": "object"
},
"datasets": {
"description": "dataset information for the model package",
"properties": {
"baselineSegmentedBy": {
"description": "Names of categorical features by which the training baseline was segmented. This allows for deployment prediction requests to be segmented by those same features. Segmenting the training baseline by these features allows for users to perform segmented analysis of Data Drift and Accuracy, and to compare the same subset of training and scoring data based on the selected segment attribute and segment value.",
"items": {
"type": "string"
},
"type": "array"
},
"datasetName": {
"description": "Name of dataset used to train the model",
"type": [
"string",
"null"
]
},
"holdoutDataCatalogId": {
"description": "ID for holdout data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"holdoutDataCatalogVersionId": {
"description": "Version ID for holdout data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"holdoutDataCreatedAt": {
"description": "Time when the holdout data item was created",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDataCreatorEmail": {
"description": "Email of the user who created the holdout data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDataCreatorId": {
"default": null,
"description": "ID of the creator of the holdout data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDataCreatorName": {
"description": "Name of the user who created the holdout data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDatasetName": {
"description": "Name of dataset used for model holdout",
"type": [
"string",
"null"
]
},
"targetHistogramBaseline": {
"description": "Values used to establish the training baseline",
"enum": [
"predictions",
"actuals"
],
"type": "string"
},
"trainingDataCatalogId": {
"description": "ID for training data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"trainingDataCatalogVersionId": {
"description": "Version ID for training data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"trainingDataCreatedAt": {
"description": "Time when the training data item was created",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataCreatorEmail": {
"description": "Email of the user who created the training data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataCreatorId": {
"default": null,
"description": "ID of the creator of the training data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataCreatorName": {
"description": "Name of the user who created the training data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataSize": {
"description": "Number of rows in training data (used by DR models)",
"type": "integer"
}
},
"required": [
"baselineSegmentedBy",
"datasetName",
"holdoutDataCatalogId",
"holdoutDataCatalogVersionId",
"holdoutDatasetName",
"trainingDataCatalogId",
"trainingDataCatalogVersionId"
],
"type": "object"
},
"id": {
"description": "ID of the Model package",
"type": "string"
},
"importMeta": {
"description": "Information from when this Model Package was first saved",
"properties": {
"containsFearPipeline": {
"description": "Exists for imported models only, indicates thatmodel package contains file with fear pipeline.",
"type": [
"boolean",
"null"
]
},
"containsFeaturelists": {
"description": "Exists for imported models only, indicates thatmodel package contains file with featurelists.",
"type": [
"boolean",
"null"
]
},
"containsLeaderboardMeta": {
"description": "Exists for imported models only, indicates thatmodel package contains file with leaderboard meta.",
"type": [
"boolean",
"null"
]
},
"containsProjectMeta": {
"description": "Exists for imported models only, indicates thatmodel package contains file with project meta.",
"type": [
"boolean",
"null"
]
},
"creatorFullName": {
"description": "Full name of the person who created this model package",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "User ID of the person who created this Model Package",
"type": "string"
},
"creatorUsername": {
"description": "Username of the person who created this model package",
"type": "string"
},
"dateCreated": {
"description": "When this Model Package was created",
"type": "string"
},
"originalFileName": {
"description": "Exists for imported models only, the original file name that was uploaded",
"type": [
"string",
"null"
]
}
},
"required": [
"creatorFullName",
"creatorId",
"creatorUsername",
"dateCreated",
"originalFileName"
],
"type": "object"
},
"isArchived": {
"description": "Whether the model package is permanently archived (cannot be used in deployment or replacement)",
"type": "boolean"
},
"isDeprecated": {
"description": "Whether the model package is deprecated. eg. python2 models are deprecated.",
"type": "boolean",
"x-versionadded": "v2.29"
},
"mlpkgFileContents": {
"description": "Information about the content of .mlpkg artifact",
"properties": {
"allTimeSeriesPredictionIntervals": {
"description": "Whether .mlpkg contains TS prediction intervals computed for all percentiles",
"type": [
"boolean",
"null"
],
"x-versionadded": "v2.31"
}
},
"type": "object"
},
"modelDescription": {
"description": "model description information for the model package",
"properties": {
"buildEnvironmentType": {
"description": "build environment type of the model",
"enum": [
"DataRobot",
"Python",
"R",
"Java",
"Other"
],
"type": "string"
},
"description": {
"description": "a description of the model",
"type": [
"string",
"null"
]
},
"location": {
"description": "location of the model",
"type": [
"string",
"null"
]
},
"modelCreatedAt": {
"description": "time when the model was created",
"type": [
"string",
"null"
]
},
"modelCreatorEmail": {
"description": "email of the user who created the model",
"type": [
"string",
"null"
]
},
"modelCreatorId": {
"default": null,
"description": "ID of the creator of the model",
"type": [
"string",
"null"
]
},
"modelCreatorName": {
"description": "name of the user who created the model",
"type": [
"string",
"null"
]
},
"modelName": {
"description": "model name",
"type": "string"
}
},
"required": [
"buildEnvironmentType",
"description",
"location"
],
"type": "object"
},
"modelExecutionType": {
"description": "Type of model package. `dedicated` (native DataRobot models) and `custom_inference_model` (user added inference models) both execute on DataRobot prediction servers, `external` do not",
"enum": [
"dedicated",
"custom_inference_model",
"external"
],
"type": "string"
},
"modelId": {
"description": "ID of the model",
"type": "string"
},
"modelKind": {
"description": "Model attribute information",
"properties": {
"isAnomalyDetectionModel": {
"description": "true if this is an anomaly detection model",
"type": "boolean"
},
"isCombinedModel": {
"description": "true if model is a combined model",
"type": "boolean",
"x-versionadded": "v2.27"
},
"isFeatureDiscovery": {
"description": "true if this model uses the Feature Discovery feature",
"type": "boolean"
},
"isMultiseries": {
"description": "true if model is multiseries",
"type": "boolean"
},
"isTimeSeries": {
"description": "true if model is time series",
"type": "boolean"
},
"isUnsupervisedLearning": {
"description": "true if model used unsupervised learning",
"type": "boolean"
}
},
"required": [
"isAnomalyDetectionModel",
"isCombinedModel",
"isFeatureDiscovery",
"isMultiseries",
"isTimeSeries",
"isUnsupervisedLearning"
],
"type": "object"
},
"name": {
"description": "Model package name",
"type": "string"
},
"permissions": {
"description": "List of action permissions the user making the request has on the model package",
"items": {
"type": "string"
},
"type": "array",
"x-versionadded": "v2.20"
},
"sourceMeta": {
"description": "Meta information from where this model was generated",
"properties": {
"customModelDetails": {
"description": "Details of the custom model associated to this registered model version",
"properties": {
"createdAt": {
"description": "Time when the custom model was created",
"type": "string"
},
"creatorEmail": {
"description": "Email of the user who created the custom model",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "ID of the creator of the custom model",
"type": "string"
},
"creatorName": {
"description": "Name of the user who created the custom model",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the associated custom model",
"type": "string"
},
"versionLabel": {
"description": "Label of associated custom model version.",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
}
},
"required": [
"createdAt",
"creatorId",
"id"
],
"type": "object"
},
"environmentUrl": {
"description": "If available, URL of the source model",
"format": "uri",
"type": [
"string",
"null"
]
},
"fips_140_2Enabled": {
"description": "true if the model was built with FIPS-140-2",
"type": "boolean"
},
"projectCreatedAt": {
"description": "If available, time when the project was created",
"type": [
"string",
"null"
]
},
"projectCreatorEmail": {
"description": "If available, email of the user who created the project",
"type": [
"string",
"null"
]
},
"projectCreatorId": {
"default": null,
"description": "If available, ID of the creator of the project",
"type": [
"string",
"null"
]
},
"projectCreatorName": {
"description": "If available, name of the user who created the project",
"type": [
"string",
"null"
]
},
"projectId": {
"description": "If available, the project id used for this model",
"type": [
"string",
"null"
]
},
"projectName": {
"description": "If available, the project name for this model",
"type": [
"string",
"null"
]
},
"scoringCode": {
"description": "If available, information about the model's scoring code",
"properties": {
"dataRobotPredictionVersion": {
"description": "DataRobot prediction API version for the scoring code",
"type": [
"string",
"null"
]
},
"location": {
"description": "Location of the scoring code",
"enum": [
"local_leaderboard",
"mlpkg"
],
"type": [
"string",
"null"
]
}
},
"required": [
"dataRobotPredictionVersion",
"location"
],
"type": "object"
},
"useCaseDetails": {
"description": "Details of the use-case associated to this registered model version",
"properties": {
"createdAt": {
"description": "Time when use-case was created",
"type": "string"
},
"creatorEmail": {
"description": "Email of the user who created use-case",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "ID of the creator of the use-case",
"type": "string"
},
"creatorName": {
"description": "Name of the user who created use-case",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the associated use-case",
"type": "string"
},
"name": {
"description": "Name of the use case at the moment of creation",
"type": [
"string",
"null"
]
}
},
"required": [
"createdAt",
"creatorId",
"id"
],
"type": "object"
}
},
"required": [
"environmentUrl",
"projectId",
"projectName",
"scoringCode"
],
"type": "object"
},
"target": {
"description": "target information for the model package",
"properties": {
"classCount": {
"description": "Number of classes for classification models.",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"classNames": {
"description": "Class names for prediction results. When target type is Binary, two class names are returned. The first element is the minority (positive) class and the second element is the majority (negative) class. Limited to 100 returned for Multiclass.",
"items": {
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"name": {
"description": "name of the target column",
"type": "string"
},
"predictionProbabilitiesColumn": {
"description": "Field or column name containing prediction probabilities",
"type": [
"string",
"null"
]
},
"predictionThreshold": {
"description": "Prediction threshold used for binary classification models",
"maximum": 1,
"minimum": 0,
"type": [
"number",
"null"
]
},
"type": {
"description": "Target type of the model.",
"enum": [
"Binary",
"Regression",
"Multiclass",
"Multilabel",
"TextGeneration",
"GeoPoint",
"AgenticWorkflow"
],
"type": "string"
}
},
"required": [
"classCount",
"classNames",
"name",
"predictionProbabilitiesColumn",
"predictionThreshold",
"type"
],
"type": "object"
},
"timeseries": {
"description": "time series information for the model package",
"properties": {
"datetimeColumnFormat": {
"description": "Date format for forecast date and forecast point column",
"type": [
"string",
"null"
]
},
"datetimeColumnName": {
"description": "Name of the forecast date column",
"type": [
"string",
"null"
]
},
"effectiveFeatureDerivationWindowEnd": {
"description": "Same concept as `featureDerivationWindowEnd` which is chosen by the user and based on the initial sampled data from the eda sample. When the dataset goes through aim, the pipeline reads the full dataset and figures out the \"real\" FDW (i.e., the effective FDW). For most models, eFDW is approximately the same as the FDW.",
"maximum": 0,
"type": [
"integer",
"null"
],
"x-versionadded": "v2.25"
},
"effectiveFeatureDerivationWindowStart": {
"description": "Same concept as `featureDerivationWindowStart` which is chosen by the user and based on the initial sampled data from the eda sample. When the dataset goes through aim, the pipeline reads the full dataset and figures out the \"real\" FDW (i.e., the effective FDW). For most models, eFDW is approximately the same as the FDW.",
"maximum": 0,
"type": [
"integer",
"null"
],
"x-versionadded": "v2.25"
},
"featureDerivationWindowEnd": {
"description": "Negative number or zero defining how many time units of the forecast distances time unit into the past relative to the forecast point the feature derivation window should end.",
"maximum": 0,
"type": [
"integer",
"null"
]
},
"featureDerivationWindowStart": {
"description": "Negative number or zero defining how many time units of the forecast distances time unit into the past relative to the forecast point the feature derivation window should begin.",
"maximum": 0,
"type": [
"integer",
"null"
]
},
"forecastDistanceColumnName": {
"description": "Name of the forecast distance column",
"type": [
"string",
"null"
]
},
"forecastDistances": {
"description": "List of integer forecast distances",
"items": {
"type": "integer"
},
"type": "array"
},
"forecastDistancesTimeUnit": {
"description": "The time unit of forecast distances",
"enum": [
"MICROSECOND",
"MILLISECOND",
"SECOND",
"MINUTE",
"HOUR",
"DAY",
"WEEK",
"MONTH",
"QUARTER",
"YEAR"
],
"type": [
"string",
"null"
]
},
"forecastPointColumnName": {
"description": "Name of the forecast point column",
"type": [
"string",
"null"
]
},
"isCrossSeries": {
"description": "true if the model is cross-series.",
"type": [
"boolean",
"null"
]
},
"isNewSeriesSupport": {
"description": "true if the model is optimized to support new series.",
"type": [
"boolean",
"null"
],
"x-versionadded": "v2.25"
},
"isTraditionalTimeSeries": {
"description": "true if the model is traditional time series.",
"type": [
"boolean",
"null"
]
},
"seriesColumnName": {
"description": "Name of the series column in case of multi-series date",
"type": [
"string",
"null"
]
}
},
"required": [
"datetimeColumnFormat",
"datetimeColumnName",
"effectiveFeatureDerivationWindowEnd",
"effectiveFeatureDerivationWindowStart",
"featureDerivationWindowEnd",
"featureDerivationWindowStart",
"forecastDistanceColumnName",
"forecastDistances",
"forecastDistancesTimeUnit",
"forecastPointColumnName",
"isCrossSeries",
"isNewSeriesSupport",
"isTraditionalTimeSeries",
"seriesColumnName"
],
"type": "object"
},
"updatedBy": {
"description": "Information on the user who last modified the registered model",
"properties": {
"email": {
"description": "Email of the user",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the user",
"type": "string"
},
"name": {
"description": "Full name of the user",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
},
"userProvidedId": {
"description": "A user-provided unique ID associated with the given custom inference model.",
"type": "string"
}
},
"required": [
"activeDeploymentCount",
"capabilities",
"datasets",
"id",
"importMeta",
"isArchived",
"isDeprecated",
"modelDescription",
"modelExecutionType",
"modelId",
"modelKind",
"name",
"permissions",
"sourceMeta",
"target",
"timeseries",
"updatedBy"
],
"type": "object"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
activeDeploymentCount |
integer |
true |
|
Number of deployments currently using this model package |
buildStatus |
string,null |
false |
|
Model package build status |
capabilities |
ModelPackageCapabilities |
true |
|
Capabilities of the current model package. |
datasets |
ModelPackageDatasets |
true |
|
dataset information for the model package |
id |
string |
true |
|
ID of the Model package |
importMeta |
ModelPackageImportMeta |
true |
|
Information from when this Model Package was first saved |
isArchived |
boolean |
true |
|
Whether the model package is permanently archived (cannot be used in deployment or replacement) |
isDeprecated |
boolean |
true |
|
Whether the model package is deprecated. eg. python2 models are deprecated. |
mlpkgFileContents |
MlpkgFileContents |
false |
|
Information about the content of .mlpkg artifact |
modelDescription |
ModelPackageModelDescription |
true |
|
model description information for the model package |
modelExecutionType |
string |
true |
|
Type of model package. dedicated (native DataRobot models) and custom_inference_model (user added inference models) both execute on DataRobot prediction servers, external do not |
modelId |
string |
true |
|
ID of the model |
modelKind |
ModelPackageModelKind |
true |
|
Model attribute information |
name |
string |
true |
|
Model package name |
permissions |
[string] |
true |
|
List of action permissions the user making the request has on the model package |
sourceMeta |
ModelPackageSourceMeta |
true |
|
Meta information from where this model was generated |
target |
ModelPackageTarget |
true |
|
target information for the model package |
timeseries |
ModelPackageTimeseries |
true |
|
time series information for the model package |
updatedBy |
UserMetadata |
true |
|
Information on the user who last modified the registered model |
userProvidedId |
string |
false |
|
A user-provided unique ID associated with the given custom inference model. |
Enumerated Values
Property |
Value |
buildStatus |
[inProgress , complete , failed ] |
modelExecutionType |
[dedicated , custom_inference_model , external ] |
{
"description": "If available, information about the model's scoring code",
"properties": {
"dataRobotPredictionVersion": {
"description": "DataRobot prediction API version for the scoring code",
"type": [
"string",
"null"
]
},
"location": {
"description": "Location of the scoring code",
"enum": [
"local_leaderboard",
"mlpkg"
],
"type": [
"string",
"null"
]
}
},
"required": [
"dataRobotPredictionVersion",
"location"
],
"type": "object"
}
If available, information about the model's scoring code
Properties
Name |
Type |
Required |
Restrictions |
Description |
dataRobotPredictionVersion |
string,null |
true |
|
DataRobot prediction API version for the scoring code |
location |
string,null |
true |
|
Location of the scoring code |
Enumerated Values
Property |
Value |
location |
[local_leaderboard , mlpkg ] |
{
"description": "Meta information from where this model was generated",
"properties": {
"customModelDetails": {
"description": "Details of the custom model associated to this registered model version",
"properties": {
"createdAt": {
"description": "Time when the custom model was created",
"type": "string"
},
"creatorEmail": {
"description": "Email of the user who created the custom model",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "ID of the creator of the custom model",
"type": "string"
},
"creatorName": {
"description": "Name of the user who created the custom model",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the associated custom model",
"type": "string"
},
"versionLabel": {
"description": "Label of associated custom model version.",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
}
},
"required": [
"createdAt",
"creatorId",
"id"
],
"type": "object"
},
"environmentUrl": {
"description": "If available, URL of the source model",
"format": "uri",
"type": [
"string",
"null"
]
},
"fips_140_2Enabled": {
"description": "true if the model was built with FIPS-140-2",
"type": "boolean"
},
"projectCreatedAt": {
"description": "If available, time when the project was created",
"type": [
"string",
"null"
]
},
"projectCreatorEmail": {
"description": "If available, email of the user who created the project",
"type": [
"string",
"null"
]
},
"projectCreatorId": {
"default": null,
"description": "If available, ID of the creator of the project",
"type": [
"string",
"null"
]
},
"projectCreatorName": {
"description": "If available, name of the user who created the project",
"type": [
"string",
"null"
]
},
"projectId": {
"description": "If available, the project id used for this model",
"type": [
"string",
"null"
]
},
"projectName": {
"description": "If available, the project name for this model",
"type": [
"string",
"null"
]
},
"scoringCode": {
"description": "If available, information about the model's scoring code",
"properties": {
"dataRobotPredictionVersion": {
"description": "DataRobot prediction API version for the scoring code",
"type": [
"string",
"null"
]
},
"location": {
"description": "Location of the scoring code",
"enum": [
"local_leaderboard",
"mlpkg"
],
"type": [
"string",
"null"
]
}
},
"required": [
"dataRobotPredictionVersion",
"location"
],
"type": "object"
},
"useCaseDetails": {
"description": "Details of the use-case associated to this registered model version",
"properties": {
"createdAt": {
"description": "Time when use-case was created",
"type": "string"
},
"creatorEmail": {
"description": "Email of the user who created use-case",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "ID of the creator of the use-case",
"type": "string"
},
"creatorName": {
"description": "Name of the user who created use-case",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the associated use-case",
"type": "string"
},
"name": {
"description": "Name of the use case at the moment of creation",
"type": [
"string",
"null"
]
}
},
"required": [
"createdAt",
"creatorId",
"id"
],
"type": "object"
}
},
"required": [
"environmentUrl",
"projectId",
"projectName",
"scoringCode"
],
"type": "object"
}
Meta information from where this model was generated
Properties
Name |
Type |
Required |
Restrictions |
Description |
customModelDetails |
CustomModelDetails |
false |
|
Details of the custom model associated to this registered model version |
environmentUrl |
string,null(uri) |
true |
|
If available, URL of the source model |
fips_140_2Enabled |
boolean |
false |
|
true if the model was built with FIPS-140-2 |
projectCreatedAt |
string,null |
false |
|
If available, time when the project was created |
projectCreatorEmail |
string,null |
false |
|
If available, email of the user who created the project |
projectCreatorId |
string,null |
false |
|
If available, ID of the creator of the project |
projectCreatorName |
string,null |
false |
|
If available, name of the user who created the project |
projectId |
string,null |
true |
|
If available, the project id used for this model |
projectName |
string,null |
true |
|
If available, the project name for this model |
scoringCode |
ModelPackageScoringCodeMeta |
true |
|
If available, information about the model's scoring code |
useCaseDetails |
UseCaseDetails |
false |
|
Details of the use-case associated to this registered model version |
ModelPackageTarget
{
"description": "target information for the model package",
"properties": {
"classCount": {
"description": "Number of classes for classification models.",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"classNames": {
"description": "Class names for prediction results. When target type is Binary, two class names are returned. The first element is the minority (positive) class and the second element is the majority (negative) class. Limited to 100 returned for Multiclass.",
"items": {
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"name": {
"description": "name of the target column",
"type": "string"
},
"predictionProbabilitiesColumn": {
"description": "Field or column name containing prediction probabilities",
"type": [
"string",
"null"
]
},
"predictionThreshold": {
"description": "Prediction threshold used for binary classification models",
"maximum": 1,
"minimum": 0,
"type": [
"number",
"null"
]
},
"type": {
"description": "Target type of the model.",
"enum": [
"Binary",
"Regression",
"Multiclass",
"Multilabel",
"TextGeneration",
"GeoPoint",
"AgenticWorkflow"
],
"type": "string"
}
},
"required": [
"classCount",
"classNames",
"name",
"predictionProbabilitiesColumn",
"predictionThreshold",
"type"
],
"type": "object"
}
target information for the model package
Properties
Name |
Type |
Required |
Restrictions |
Description |
classCount |
integer,null |
true |
minimum: 0
|
Number of classes for classification models. |
classNames |
[string] |
true |
maxItems: 100
|
Class names for prediction results. When target type is Binary, two class names are returned. The first element is the minority (positive) class and the second element is the majority (negative) class. Limited to 100 returned for Multiclass. |
name |
string |
true |
|
name of the target column |
predictionProbabilitiesColumn |
string,null |
true |
|
Field or column name containing prediction probabilities |
predictionThreshold |
number,null |
true |
maximum: 1 minimum: 0
|
Prediction threshold used for binary classification models |
type |
string |
true |
|
Target type of the model. |
Enumerated Values
Property |
Value |
type |
[Binary , Regression , Multiclass , Multilabel , TextGeneration , GeoPoint , AgenticWorkflow ] |
ModelPackageTimeseries
{
"description": "time series information for the model package",
"properties": {
"datetimeColumnFormat": {
"description": "Date format for forecast date and forecast point column",
"type": [
"string",
"null"
]
},
"datetimeColumnName": {
"description": "Name of the forecast date column",
"type": [
"string",
"null"
]
},
"effectiveFeatureDerivationWindowEnd": {
"description": "Same concept as `featureDerivationWindowEnd` which is chosen by the user and based on the initial sampled data from the eda sample. When the dataset goes through aim, the pipeline reads the full dataset and figures out the \"real\" FDW (i.e., the effective FDW). For most models, eFDW is approximately the same as the FDW.",
"maximum": 0,
"type": [
"integer",
"null"
],
"x-versionadded": "v2.25"
},
"effectiveFeatureDerivationWindowStart": {
"description": "Same concept as `featureDerivationWindowStart` which is chosen by the user and based on the initial sampled data from the eda sample. When the dataset goes through aim, the pipeline reads the full dataset and figures out the \"real\" FDW (i.e., the effective FDW). For most models, eFDW is approximately the same as the FDW.",
"maximum": 0,
"type": [
"integer",
"null"
],
"x-versionadded": "v2.25"
},
"featureDerivationWindowEnd": {
"description": "Negative number or zero defining how many time units of the forecast distances time unit into the past relative to the forecast point the feature derivation window should end.",
"maximum": 0,
"type": [
"integer",
"null"
]
},
"featureDerivationWindowStart": {
"description": "Negative number or zero defining how many time units of the forecast distances time unit into the past relative to the forecast point the feature derivation window should begin.",
"maximum": 0,
"type": [
"integer",
"null"
]
},
"forecastDistanceColumnName": {
"description": "Name of the forecast distance column",
"type": [
"string",
"null"
]
},
"forecastDistances": {
"description": "List of integer forecast distances",
"items": {
"type": "integer"
},
"type": "array"
},
"forecastDistancesTimeUnit": {
"description": "The time unit of forecast distances",
"enum": [
"MICROSECOND",
"MILLISECOND",
"SECOND",
"MINUTE",
"HOUR",
"DAY",
"WEEK",
"MONTH",
"QUARTER",
"YEAR"
],
"type": [
"string",
"null"
]
},
"forecastPointColumnName": {
"description": "Name of the forecast point column",
"type": [
"string",
"null"
]
},
"isCrossSeries": {
"description": "true if the model is cross-series.",
"type": [
"boolean",
"null"
]
},
"isNewSeriesSupport": {
"description": "true if the model is optimized to support new series.",
"type": [
"boolean",
"null"
],
"x-versionadded": "v2.25"
},
"isTraditionalTimeSeries": {
"description": "true if the model is traditional time series.",
"type": [
"boolean",
"null"
]
},
"seriesColumnName": {
"description": "Name of the series column in case of multi-series date",
"type": [
"string",
"null"
]
}
},
"required": [
"datetimeColumnFormat",
"datetimeColumnName",
"effectiveFeatureDerivationWindowEnd",
"effectiveFeatureDerivationWindowStart",
"featureDerivationWindowEnd",
"featureDerivationWindowStart",
"forecastDistanceColumnName",
"forecastDistances",
"forecastDistancesTimeUnit",
"forecastPointColumnName",
"isCrossSeries",
"isNewSeriesSupport",
"isTraditionalTimeSeries",
"seriesColumnName"
],
"type": "object"
}
time series information for the model package
Properties
Name |
Type |
Required |
Restrictions |
Description |
datetimeColumnFormat |
string,null |
true |
|
Date format for forecast date and forecast point column |
datetimeColumnName |
string,null |
true |
|
Name of the forecast date column |
effectiveFeatureDerivationWindowEnd |
integer,null |
true |
maximum: 0
|
Same concept as featureDerivationWindowEnd which is chosen by the user and based on the initial sampled data from the eda sample. When the dataset goes through aim, the pipeline reads the full dataset and figures out the "real" FDW (i.e., the effective FDW). For most models, eFDW is approximately the same as the FDW. |
effectiveFeatureDerivationWindowStart |
integer,null |
true |
maximum: 0
|
Same concept as featureDerivationWindowStart which is chosen by the user and based on the initial sampled data from the eda sample. When the dataset goes through aim, the pipeline reads the full dataset and figures out the "real" FDW (i.e., the effective FDW). For most models, eFDW is approximately the same as the FDW. |
featureDerivationWindowEnd |
integer,null |
true |
maximum: 0
|
Negative number or zero defining how many time units of the forecast distances time unit into the past relative to the forecast point the feature derivation window should end. |
featureDerivationWindowStart |
integer,null |
true |
maximum: 0
|
Negative number or zero defining how many time units of the forecast distances time unit into the past relative to the forecast point the feature derivation window should begin. |
forecastDistanceColumnName |
string,null |
true |
|
Name of the forecast distance column |
forecastDistances |
[integer] |
true |
|
List of integer forecast distances |
forecastDistancesTimeUnit |
string,null |
true |
|
The time unit of forecast distances |
forecastPointColumnName |
string,null |
true |
|
Name of the forecast point column |
isCrossSeries |
boolean,null |
true |
|
true if the model is cross-series. |
isNewSeriesSupport |
boolean,null |
true |
|
true if the model is optimized to support new series. |
isTraditionalTimeSeries |
boolean,null |
true |
|
true if the model is traditional time series. |
seriesColumnName |
string,null |
true |
|
Name of the series column in case of multi-series date |
Enumerated Values
Property |
Value |
forecastDistancesTimeUnit |
[MICROSECOND , MILLISECOND , SECOND , MINUTE , HOUR , DAY , WEEK , MONTH , QUARTER , YEAR ] |
RegisteredModelCreatedBy
{
"description": "Information on the creator of the registered model",
"properties": {
"email": {
"description": "Email of the user that created the registered model",
"type": "string"
},
"id": {
"description": "ID of user that created the registered model",
"type": "string"
},
"name": {
"description": "Full name of the user that created the registered model",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
}
Information on the creator of the registered model
Properties
Name |
Type |
Required |
Restrictions |
Description |
email |
string |
true |
|
Email of the user that created the registered model |
id |
string |
true |
|
ID of user that created the registered model |
name |
string,null |
true |
|
Full name of the user that created the registered model |
RegisteredModelDeploymentResponse
{
"properties": {
"createdAt": {
"description": "Deployment creation date",
"type": "string"
},
"createdBy": {
"description": "Information on the user who last modified the registered model",
"properties": {
"email": {
"description": "Email of the user",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the user",
"type": "string"
},
"name": {
"description": "Full name of the user",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
},
"currentlyDeployed": {
"description": "Whether version of this registered model is currently deployed",
"type": "boolean"
},
"firstDeployedAt": {
"description": "When version of this registered model was first deployed",
"type": [
"string",
"null"
]
},
"firstDeployedBy": {
"description": "Information on the user who last modified the registered model",
"properties": {
"email": {
"description": "Email of the user",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the user",
"type": "string"
},
"name": {
"description": "Full name of the user",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
},
"id": {
"description": "ID of the deployment",
"type": "string"
},
"isChallenger": {
"description": "True if given version is a challenger in a given deployment",
"type": "boolean"
},
"label": {
"description": "Label of the deployment",
"type": [
"string",
"null"
]
},
"predictionEnvironment": {
"description": "Information related to the current PredictionEnvironment.",
"properties": {
"id": {
"description": "ID of the PredictionEnvironment.",
"type": [
"string",
"null"
]
},
"isManagedByManagementAgent": {
"description": "True if PredictionEnvironment is using Management Agent.",
"type": "boolean"
},
"name": {
"description": "Name of the PredictionEnvironment.",
"type": "string"
},
"platform": {
"description": "Platform of the PredictionEnvironment.",
"enum": [
"aws",
"gcp",
"azure",
"onPremise",
"datarobot",
"datarobotServerless",
"openShift",
"other",
"snowflake",
"sapAiCore"
],
"type": "string"
},
"plugin": {
"description": "Plugin name of the PredictionEnvironment.",
"type": [
"string",
"null"
]
},
"supportedModelFormats": {
"description": "Model formats that the PredictionEnvironment supports.",
"items": {
"enum": [
"datarobot",
"datarobotScoringCode",
"customModel",
"externalModel"
],
"type": "string"
},
"maxItems": 4,
"minItems": 1,
"type": "array"
}
},
"required": [
"id",
"isManagedByManagementAgent",
"name",
"platform"
],
"type": "object"
},
"registeredModelVersion": {
"description": "Version of the registered model",
"type": "integer"
},
"status": {
"description": "Status of the deployment",
"type": "string"
}
},
"required": [
"createdAt",
"createdBy",
"currentlyDeployed",
"firstDeployedAt",
"firstDeployedBy",
"id",
"isChallenger",
"label",
"registeredModelVersion",
"status"
],
"type": "object"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
createdAt |
string |
true |
|
Deployment creation date |
createdBy |
UserMetadata |
true |
|
Information on the user who last modified the registered model |
currentlyDeployed |
boolean |
true |
|
Whether version of this registered model is currently deployed |
firstDeployedAt |
string,null |
true |
|
When version of this registered model was first deployed |
firstDeployedBy |
UserMetadata |
true |
|
Information on the user who last modified the registered model |
id |
string |
true |
|
ID of the deployment |
isChallenger |
boolean |
true |
|
True if given version is a challenger in a given deployment |
label |
string,null |
true |
|
Label of the deployment |
predictionEnvironment |
DeploymentPredictionEnvironmentResponse |
false |
|
Information related to the current PredictionEnvironment. |
registeredModelVersion |
integer |
true |
|
Version of the registered model |
status |
string |
true |
|
Status of the deployment |
RegisteredModelDeploymentsListResponse
{
"properties": {
"count": {
"description": "Number of items returned on this page.",
"type": "integer"
},
"data": {
"description": "List of formatted deployments",
"items": {
"properties": {
"createdAt": {
"description": "Deployment creation date",
"type": "string"
},
"createdBy": {
"description": "Information on the user who last modified the registered model",
"properties": {
"email": {
"description": "Email of the user",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the user",
"type": "string"
},
"name": {
"description": "Full name of the user",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
},
"currentlyDeployed": {
"description": "Whether version of this registered model is currently deployed",
"type": "boolean"
},
"firstDeployedAt": {
"description": "When version of this registered model was first deployed",
"type": [
"string",
"null"
]
},
"firstDeployedBy": {
"description": "Information on the user who last modified the registered model",
"properties": {
"email": {
"description": "Email of the user",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the user",
"type": "string"
},
"name": {
"description": "Full name of the user",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
},
"id": {
"description": "ID of the deployment",
"type": "string"
},
"isChallenger": {
"description": "True if given version is a challenger in a given deployment",
"type": "boolean"
},
"label": {
"description": "Label of the deployment",
"type": [
"string",
"null"
]
},
"predictionEnvironment": {
"description": "Information related to the current PredictionEnvironment.",
"properties": {
"id": {
"description": "ID of the PredictionEnvironment.",
"type": [
"string",
"null"
]
},
"isManagedByManagementAgent": {
"description": "True if PredictionEnvironment is using Management Agent.",
"type": "boolean"
},
"name": {
"description": "Name of the PredictionEnvironment.",
"type": "string"
},
"platform": {
"description": "Platform of the PredictionEnvironment.",
"enum": [
"aws",
"gcp",
"azure",
"onPremise",
"datarobot",
"datarobotServerless",
"openShift",
"other",
"snowflake",
"sapAiCore"
],
"type": "string"
},
"plugin": {
"description": "Plugin name of the PredictionEnvironment.",
"type": [
"string",
"null"
]
},
"supportedModelFormats": {
"description": "Model formats that the PredictionEnvironment supports.",
"items": {
"enum": [
"datarobot",
"datarobotScoringCode",
"customModel",
"externalModel"
],
"type": "string"
},
"maxItems": 4,
"minItems": 1,
"type": "array"
}
},
"required": [
"id",
"isManagedByManagementAgent",
"name",
"platform"
],
"type": "object"
},
"registeredModelVersion": {
"description": "Version of the registered model",
"type": "integer"
},
"status": {
"description": "Status of the deployment",
"type": "string"
}
},
"required": [
"createdAt",
"createdBy",
"currentlyDeployed",
"firstDeployedAt",
"firstDeployedBy",
"id",
"isChallenger",
"label",
"registeredModelVersion",
"status"
],
"type": "object"
},
"type": "array"
},
"next": {
"description": "URL pointing to the next page (if null, there is no next page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"previous": {
"description": "URL pointing to the previous page (if null, there is no previous page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"totalCount": {
"description": "The total number of items across all pages.",
"type": "integer"
}
},
"required": [
"data",
"next",
"previous",
"totalCount"
],
"type": "object"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
count |
integer |
false |
|
Number of items returned on this page. |
data |
[RegisteredModelDeploymentResponse] |
true |
|
List of formatted deployments |
next |
string,null(uri) |
true |
|
URL pointing to the next page (if null, there is no next page). |
previous |
string,null(uri) |
true |
|
URL pointing to the previous page (if null, there is no previous page). |
totalCount |
integer |
true |
|
The total number of items across all pages. |
RegisteredModelListResponse
{
"properties": {
"count": {
"description": "Number of items returned on this page.",
"type": "integer"
},
"data": {
"description": "List of formatted registered models",
"items": {
"properties": {
"createdAt": {
"description": "Date when the registered model was created",
"format": "date-time",
"type": "string"
},
"createdBy": {
"description": "Information on the creator of the registered model",
"properties": {
"email": {
"description": "Email of the user that created the registered model",
"type": "string"
},
"id": {
"description": "ID of user that created the registered model",
"type": "string"
},
"name": {
"description": "Full name of the user that created the registered model",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
},
"description": {
"description": "Description of the registered model",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the registered model",
"type": "string"
},
"isArchived": {
"description": "Whether the model is archived",
"type": "boolean"
},
"isGlobal": {
"description": "Whether the registered model is global (accessible to all users in the organization) or local(accessible only to the owner and the users with whom it has been explicitly shared)",
"type": "boolean"
},
"lastVersionNum": {
"description": "Latest version associated to this registered model",
"type": "integer"
},
"modifiedAt": {
"description": "Date when the registered model was last modified",
"format": "date-time",
"type": "string"
},
"modifiedBy": {
"description": "Information on the user who last modified the registered model",
"properties": {
"email": {
"description": "Email of the user",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the user",
"type": "string"
},
"name": {
"description": "Full name of the user",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
},
"name": {
"description": "Name of the registered model",
"type": "string"
},
"target": {
"description": "Information on the target variable",
"properties": {
"name": {
"description": "Name of the target variable",
"type": "string"
},
"type": {
"description": "Type of the target variable",
"type": [
"string",
"null"
]
}
},
"required": [
"name",
"type"
],
"type": "object"
}
},
"required": [
"createdAt",
"createdBy",
"id",
"isArchived",
"lastVersionNum",
"modifiedAt",
"modifiedBy",
"name",
"target"
],
"type": "object"
},
"type": "array"
},
"next": {
"description": "URL pointing to the next page (if null, there is no next page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"previous": {
"description": "URL pointing to the previous page (if null, there is no previous page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"totalCount": {
"description": "The total number of items across all pages.",
"type": "integer"
}
},
"required": [
"data",
"next",
"previous",
"totalCount"
],
"type": "object"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
count |
integer |
false |
|
Number of items returned on this page. |
data |
[RegisteredModelResponse] |
true |
|
List of formatted registered models |
next |
string,null(uri) |
true |
|
URL pointing to the next page (if null, there is no next page). |
previous |
string,null(uri) |
true |
|
URL pointing to the previous page (if null, there is no previous page). |
totalCount |
integer |
true |
|
The total number of items across all pages. |
RegisteredModelResponse
{
"properties": {
"createdAt": {
"description": "Date when the registered model was created",
"format": "date-time",
"type": "string"
},
"createdBy": {
"description": "Information on the creator of the registered model",
"properties": {
"email": {
"description": "Email of the user that created the registered model",
"type": "string"
},
"id": {
"description": "ID of user that created the registered model",
"type": "string"
},
"name": {
"description": "Full name of the user that created the registered model",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
},
"description": {
"description": "Description of the registered model",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the registered model",
"type": "string"
},
"isArchived": {
"description": "Whether the model is archived",
"type": "boolean"
},
"isGlobal": {
"description": "Whether the registered model is global (accessible to all users in the organization) or local(accessible only to the owner and the users with whom it has been explicitly shared)",
"type": "boolean"
},
"lastVersionNum": {
"description": "Latest version associated to this registered model",
"type": "integer"
},
"modifiedAt": {
"description": "Date when the registered model was last modified",
"format": "date-time",
"type": "string"
},
"modifiedBy": {
"description": "Information on the user who last modified the registered model",
"properties": {
"email": {
"description": "Email of the user",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the user",
"type": "string"
},
"name": {
"description": "Full name of the user",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
},
"name": {
"description": "Name of the registered model",
"type": "string"
},
"target": {
"description": "Information on the target variable",
"properties": {
"name": {
"description": "Name of the target variable",
"type": "string"
},
"type": {
"description": "Type of the target variable",
"type": [
"string",
"null"
]
}
},
"required": [
"name",
"type"
],
"type": "object"
}
},
"required": [
"createdAt",
"createdBy",
"id",
"isArchived",
"lastVersionNum",
"modifiedAt",
"modifiedBy",
"name",
"target"
],
"type": "object"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
createdAt |
string(date-time) |
true |
|
Date when the registered model was created |
createdBy |
RegisteredModelCreatedBy |
true |
|
Information on the creator of the registered model |
description |
string,null |
false |
|
Description of the registered model |
id |
string |
true |
|
ID of the registered model |
isArchived |
boolean |
true |
|
Whether the model is archived |
isGlobal |
boolean |
false |
|
Whether the registered model is global (accessible to all users in the organization) or local(accessible only to the owner and the users with whom it has been explicitly shared) |
lastVersionNum |
integer |
true |
|
Latest version associated to this registered model |
modifiedAt |
string(date-time) |
true |
|
Date when the registered model was last modified |
modifiedBy |
UserMetadata |
true |
|
Information on the user who last modified the registered model |
name |
string |
true |
|
Name of the registered model |
target |
RegisteredModelTarget |
true |
|
Information on the target variable |
RegisteredModelTarget
{
"description": "Information on the target variable",
"properties": {
"name": {
"description": "Name of the target variable",
"type": "string"
},
"type": {
"description": "Type of the target variable",
"type": [
"string",
"null"
]
}
},
"required": [
"name",
"type"
],
"type": "object"
}
Information on the target variable
Properties
Name |
Type |
Required |
Restrictions |
Description |
name |
string |
true |
|
Name of the target variable |
type |
string,null |
true |
|
Type of the target variable |
RegisteredModelUpdate
{
"properties": {
"description": {
"description": "Description of the registered model",
"maxLength": 2048,
"type": "string"
},
"isGlobal": {
"description": "Make registered model global (accessible to all users in the organization) or local(accessible only to the owner and the users with whom it has been explicitly shared)",
"type": "boolean"
},
"name": {
"description": "Name of the registered model",
"maxLength": 1024,
"type": "string"
}
},
"type": "object"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
description |
string |
false |
maxLength: 2048
|
Description of the registered model |
isGlobal |
boolean |
false |
|
Make registered model global (accessible to all users in the organization) or local(accessible only to the owner and the users with whom it has been explicitly shared) |
name |
string |
false |
maxLength: 1024
|
Name of the registered model |
RegisteredModelVersionsListResponse
{
"properties": {
"count": {
"description": "Number of items returned on this page.",
"type": "integer"
},
"data": {
"description": "List of formatted registered model's versions",
"items": {
"properties": {
"activeDeploymentCount": {
"description": "Number of deployments currently using this model package",
"type": "integer"
},
"buildStatus": {
"description": "Model package build status",
"enum": [
"inProgress",
"complete",
"failed"
],
"type": [
"string",
"null"
]
},
"capabilities": {
"description": "Capabilities of the current model package.",
"properties": {
"supportsAutomaticActuals": {
"description": "Whether inferring actual values from time series history data and automatically feeding them back for accuracy estimation is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsChallengerModels": {
"description": "Whether Challenger Models are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsFeatureDriftTracking": {
"description": "Whether Feature Drift is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsHumilityRecommendedRules": {
"description": "Whether calculating values for recommended Humility Rules is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsHumilityRules": {
"description": "Whether Humility Rules are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsHumilityRulesDefaultCalculations": {
"description": "Whether calculating default values for Humility Rules is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2"
},
"supportsPredictionWarning": {
"description": "Whether Prediction Warnings are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsRetraining": {
"description": "Whether deployment supports retraining.",
"type": "boolean",
"x-versionadded": "v2.28",
"x-versiondeprecated": "v2.29"
},
"supportsScoringCodeDownload": {
"description": "Whether scoring code download is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsSecondaryDatasets": {
"description": "If the deployments supports secondary datasets.",
"type": "boolean",
"x-versionadded": "v2.28",
"x-versiondeprecated": "v2.29"
},
"supportsSegmentedAnalysisDriftAndAccuracy": {
"description": "Whether tracking features in training and predictions data for segmented analysis is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsShapBasedPredictionExplanations": {
"description": "Whether shap-based prediction explanations are supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
},
"supportsTargetDriftTracking": {
"description": "Whether Target Drift is supported by this model package.",
"type": "boolean",
"x-versionadded": "v2.25.2",
"x-versiondeprecated": "v2.29"
}
},
"required": [
"supportsChallengerModels",
"supportsFeatureDriftTracking",
"supportsHumilityRecommendedRules",
"supportsHumilityRules",
"supportsHumilityRulesDefaultCalculations",
"supportsPredictionWarning",
"supportsSecondaryDatasets",
"supportsSegmentedAnalysisDriftAndAccuracy",
"supportsShapBasedPredictionExplanations",
"supportsTargetDriftTracking"
],
"type": "object"
},
"datasets": {
"description": "dataset information for the model package",
"properties": {
"baselineSegmentedBy": {
"description": "Names of categorical features by which the training baseline was segmented. This allows for deployment prediction requests to be segmented by those same features. Segmenting the training baseline by these features allows for users to perform segmented analysis of Data Drift and Accuracy, and to compare the same subset of training and scoring data based on the selected segment attribute and segment value.",
"items": {
"type": "string"
},
"type": "array"
},
"datasetName": {
"description": "Name of dataset used to train the model",
"type": [
"string",
"null"
]
},
"holdoutDataCatalogId": {
"description": "ID for holdout data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"holdoutDataCatalogVersionId": {
"description": "Version ID for holdout data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"holdoutDataCreatedAt": {
"description": "Time when the holdout data item was created",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDataCreatorEmail": {
"description": "Email of the user who created the holdout data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDataCreatorId": {
"default": null,
"description": "ID of the creator of the holdout data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDataCreatorName": {
"description": "Name of the user who created the holdout data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"holdoutDatasetName": {
"description": "Name of dataset used for model holdout",
"type": [
"string",
"null"
]
},
"targetHistogramBaseline": {
"description": "Values used to establish the training baseline",
"enum": [
"predictions",
"actuals"
],
"type": "string"
},
"trainingDataCatalogId": {
"description": "ID for training data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"trainingDataCatalogVersionId": {
"description": "Version ID for training data (returned from uploading a data set)",
"type": [
"string",
"null"
]
},
"trainingDataCreatedAt": {
"description": "Time when the training data item was created",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataCreatorEmail": {
"description": "Email of the user who created the training data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataCreatorId": {
"default": null,
"description": "ID of the creator of the training data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataCreatorName": {
"description": "Name of the user who created the training data item",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
},
"trainingDataSize": {
"description": "Number of rows in training data (used by DR models)",
"type": "integer"
}
},
"required": [
"baselineSegmentedBy",
"datasetName",
"holdoutDataCatalogId",
"holdoutDataCatalogVersionId",
"holdoutDatasetName",
"trainingDataCatalogId",
"trainingDataCatalogVersionId"
],
"type": "object"
},
"id": {
"description": "ID of the Model package",
"type": "string"
},
"importMeta": {
"description": "Information from when this Model Package was first saved",
"properties": {
"containsFearPipeline": {
"description": "Exists for imported models only, indicates thatmodel package contains file with fear pipeline.",
"type": [
"boolean",
"null"
]
},
"containsFeaturelists": {
"description": "Exists for imported models only, indicates thatmodel package contains file with featurelists.",
"type": [
"boolean",
"null"
]
},
"containsLeaderboardMeta": {
"description": "Exists for imported models only, indicates thatmodel package contains file with leaderboard meta.",
"type": [
"boolean",
"null"
]
},
"containsProjectMeta": {
"description": "Exists for imported models only, indicates thatmodel package contains file with project meta.",
"type": [
"boolean",
"null"
]
},
"creatorFullName": {
"description": "Full name of the person who created this model package",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "User ID of the person who created this Model Package",
"type": "string"
},
"creatorUsername": {
"description": "Username of the person who created this model package",
"type": "string"
},
"dateCreated": {
"description": "When this Model Package was created",
"type": "string"
},
"originalFileName": {
"description": "Exists for imported models only, the original file name that was uploaded",
"type": [
"string",
"null"
]
}
},
"required": [
"creatorFullName",
"creatorId",
"creatorUsername",
"dateCreated",
"originalFileName"
],
"type": "object"
},
"isArchived": {
"description": "Whether the model package is permanently archived (cannot be used in deployment or replacement)",
"type": "boolean"
},
"isDeprecated": {
"description": "Whether the model package is deprecated. eg. python2 models are deprecated.",
"type": "boolean",
"x-versionadded": "v2.29"
},
"mlpkgFileContents": {
"description": "Information about the content of .mlpkg artifact",
"properties": {
"allTimeSeriesPredictionIntervals": {
"description": "Whether .mlpkg contains TS prediction intervals computed for all percentiles",
"type": [
"boolean",
"null"
],
"x-versionadded": "v2.31"
}
},
"type": "object"
},
"modelDescription": {
"description": "model description information for the model package",
"properties": {
"buildEnvironmentType": {
"description": "build environment type of the model",
"enum": [
"DataRobot",
"Python",
"R",
"Java",
"Other"
],
"type": "string"
},
"description": {
"description": "a description of the model",
"type": [
"string",
"null"
]
},
"location": {
"description": "location of the model",
"type": [
"string",
"null"
]
},
"modelCreatedAt": {
"description": "time when the model was created",
"type": [
"string",
"null"
]
},
"modelCreatorEmail": {
"description": "email of the user who created the model",
"type": [
"string",
"null"
]
},
"modelCreatorId": {
"default": null,
"description": "ID of the creator of the model",
"type": [
"string",
"null"
]
},
"modelCreatorName": {
"description": "name of the user who created the model",
"type": [
"string",
"null"
]
},
"modelName": {
"description": "model name",
"type": "string"
}
},
"required": [
"buildEnvironmentType",
"description",
"location"
],
"type": "object"
},
"modelExecutionType": {
"description": "Type of model package. `dedicated` (native DataRobot models) and `custom_inference_model` (user added inference models) both execute on DataRobot prediction servers, `external` do not",
"enum": [
"dedicated",
"custom_inference_model",
"external"
],
"type": "string"
},
"modelId": {
"description": "ID of the model",
"type": "string"
},
"modelKind": {
"description": "Model attribute information",
"properties": {
"isAnomalyDetectionModel": {
"description": "true if this is an anomaly detection model",
"type": "boolean"
},
"isCombinedModel": {
"description": "true if model is a combined model",
"type": "boolean",
"x-versionadded": "v2.27"
},
"isFeatureDiscovery": {
"description": "true if this model uses the Feature Discovery feature",
"type": "boolean"
},
"isMultiseries": {
"description": "true if model is multiseries",
"type": "boolean"
},
"isTimeSeries": {
"description": "true if model is time series",
"type": "boolean"
},
"isUnsupervisedLearning": {
"description": "true if model used unsupervised learning",
"type": "boolean"
}
},
"required": [
"isAnomalyDetectionModel",
"isCombinedModel",
"isFeatureDiscovery",
"isMultiseries",
"isTimeSeries",
"isUnsupervisedLearning"
],
"type": "object"
},
"name": {
"description": "Model package name",
"type": "string"
},
"permissions": {
"description": "List of action permissions the user making the request has on the model package",
"items": {
"type": "string"
},
"type": "array",
"x-versionadded": "v2.20"
},
"sourceMeta": {
"description": "Meta information from where this model was generated",
"properties": {
"customModelDetails": {
"description": "Details of the custom model associated to this registered model version",
"properties": {
"createdAt": {
"description": "Time when the custom model was created",
"type": "string"
},
"creatorEmail": {
"description": "Email of the user who created the custom model",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "ID of the creator of the custom model",
"type": "string"
},
"creatorName": {
"description": "Name of the user who created the custom model",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the associated custom model",
"type": "string"
},
"versionLabel": {
"description": "Label of associated custom model version.",
"type": [
"string",
"null"
],
"x-versionadded": "v2.34"
}
},
"required": [
"createdAt",
"creatorId",
"id"
],
"type": "object"
},
"environmentUrl": {
"description": "If available, URL of the source model",
"format": "uri",
"type": [
"string",
"null"
]
},
"fips_140_2Enabled": {
"description": "true if the model was built with FIPS-140-2",
"type": "boolean"
},
"projectCreatedAt": {
"description": "If available, time when the project was created",
"type": [
"string",
"null"
]
},
"projectCreatorEmail": {
"description": "If available, email of the user who created the project",
"type": [
"string",
"null"
]
},
"projectCreatorId": {
"default": null,
"description": "If available, ID of the creator of the project",
"type": [
"string",
"null"
]
},
"projectCreatorName": {
"description": "If available, name of the user who created the project",
"type": [
"string",
"null"
]
},
"projectId": {
"description": "If available, the project id used for this model",
"type": [
"string",
"null"
]
},
"projectName": {
"description": "If available, the project name for this model",
"type": [
"string",
"null"
]
},
"scoringCode": {
"description": "If available, information about the model's scoring code",
"properties": {
"dataRobotPredictionVersion": {
"description": "DataRobot prediction API version for the scoring code",
"type": [
"string",
"null"
]
},
"location": {
"description": "Location of the scoring code",
"enum": [
"local_leaderboard",
"mlpkg"
],
"type": [
"string",
"null"
]
}
},
"required": [
"dataRobotPredictionVersion",
"location"
],
"type": "object"
},
"useCaseDetails": {
"description": "Details of the use-case associated to this registered model version",
"properties": {
"createdAt": {
"description": "Time when use-case was created",
"type": "string"
},
"creatorEmail": {
"description": "Email of the user who created use-case",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "ID of the creator of the use-case",
"type": "string"
},
"creatorName": {
"description": "Name of the user who created use-case",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the associated use-case",
"type": "string"
},
"name": {
"description": "Name of the use case at the moment of creation",
"type": [
"string",
"null"
]
}
},
"required": [
"createdAt",
"creatorId",
"id"
],
"type": "object"
}
},
"required": [
"environmentUrl",
"projectId",
"projectName",
"scoringCode"
],
"type": "object"
},
"target": {
"description": "target information for the model package",
"properties": {
"classCount": {
"description": "Number of classes for classification models.",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"classNames": {
"description": "Class names for prediction results. When target type is Binary, two class names are returned. The first element is the minority (positive) class and the second element is the majority (negative) class. Limited to 100 returned for Multiclass.",
"items": {
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"name": {
"description": "name of the target column",
"type": "string"
},
"predictionProbabilitiesColumn": {
"description": "Field or column name containing prediction probabilities",
"type": [
"string",
"null"
]
},
"predictionThreshold": {
"description": "Prediction threshold used for binary classification models",
"maximum": 1,
"minimum": 0,
"type": [
"number",
"null"
]
},
"type": {
"description": "Target type of the model.",
"enum": [
"Binary",
"Regression",
"Multiclass",
"Multilabel",
"TextGeneration",
"GeoPoint",
"AgenticWorkflow"
],
"type": "string"
}
},
"required": [
"classCount",
"classNames",
"name",
"predictionProbabilitiesColumn",
"predictionThreshold",
"type"
],
"type": "object"
},
"timeseries": {
"description": "time series information for the model package",
"properties": {
"datetimeColumnFormat": {
"description": "Date format for forecast date and forecast point column",
"type": [
"string",
"null"
]
},
"datetimeColumnName": {
"description": "Name of the forecast date column",
"type": [
"string",
"null"
]
},
"effectiveFeatureDerivationWindowEnd": {
"description": "Same concept as `featureDerivationWindowEnd` which is chosen by the user and based on the initial sampled data from the eda sample. When the dataset goes through aim, the pipeline reads the full dataset and figures out the \"real\" FDW (i.e., the effective FDW). For most models, eFDW is approximately the same as the FDW.",
"maximum": 0,
"type": [
"integer",
"null"
],
"x-versionadded": "v2.25"
},
"effectiveFeatureDerivationWindowStart": {
"description": "Same concept as `featureDerivationWindowStart` which is chosen by the user and based on the initial sampled data from the eda sample. When the dataset goes through aim, the pipeline reads the full dataset and figures out the \"real\" FDW (i.e., the effective FDW). For most models, eFDW is approximately the same as the FDW.",
"maximum": 0,
"type": [
"integer",
"null"
],
"x-versionadded": "v2.25"
},
"featureDerivationWindowEnd": {
"description": "Negative number or zero defining how many time units of the forecast distances time unit into the past relative to the forecast point the feature derivation window should end.",
"maximum": 0,
"type": [
"integer",
"null"
]
},
"featureDerivationWindowStart": {
"description": "Negative number or zero defining how many time units of the forecast distances time unit into the past relative to the forecast point the feature derivation window should begin.",
"maximum": 0,
"type": [
"integer",
"null"
]
},
"forecastDistanceColumnName": {
"description": "Name of the forecast distance column",
"type": [
"string",
"null"
]
},
"forecastDistances": {
"description": "List of integer forecast distances",
"items": {
"type": "integer"
},
"type": "array"
},
"forecastDistancesTimeUnit": {
"description": "The time unit of forecast distances",
"enum": [
"MICROSECOND",
"MILLISECOND",
"SECOND",
"MINUTE",
"HOUR",
"DAY",
"WEEK",
"MONTH",
"QUARTER",
"YEAR"
],
"type": [
"string",
"null"
]
},
"forecastPointColumnName": {
"description": "Name of the forecast point column",
"type": [
"string",
"null"
]
},
"isCrossSeries": {
"description": "true if the model is cross-series.",
"type": [
"boolean",
"null"
]
},
"isNewSeriesSupport": {
"description": "true if the model is optimized to support new series.",
"type": [
"boolean",
"null"
],
"x-versionadded": "v2.25"
},
"isTraditionalTimeSeries": {
"description": "true if the model is traditional time series.",
"type": [
"boolean",
"null"
]
},
"seriesColumnName": {
"description": "Name of the series column in case of multi-series date",
"type": [
"string",
"null"
]
}
},
"required": [
"datetimeColumnFormat",
"datetimeColumnName",
"effectiveFeatureDerivationWindowEnd",
"effectiveFeatureDerivationWindowStart",
"featureDerivationWindowEnd",
"featureDerivationWindowStart",
"forecastDistanceColumnName",
"forecastDistances",
"forecastDistancesTimeUnit",
"forecastPointColumnName",
"isCrossSeries",
"isNewSeriesSupport",
"isTraditionalTimeSeries",
"seriesColumnName"
],
"type": "object"
},
"updatedBy": {
"description": "Information on the user who last modified the registered model",
"properties": {
"email": {
"description": "Email of the user",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the user",
"type": "string"
},
"name": {
"description": "Full name of the user",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
},
"userProvidedId": {
"description": "A user-provided unique ID associated with the given custom inference model.",
"type": "string"
}
},
"required": [
"activeDeploymentCount",
"capabilities",
"datasets",
"id",
"importMeta",
"isArchived",
"isDeprecated",
"modelDescription",
"modelExecutionType",
"modelId",
"modelKind",
"name",
"permissions",
"sourceMeta",
"target",
"timeseries",
"updatedBy"
],
"type": "object"
},
"type": "array"
},
"next": {
"description": "URL pointing to the next page (if null, there is no next page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"previous": {
"description": "URL pointing to the previous page (if null, there is no previous page).",
"format": "uri",
"type": [
"string",
"null"
]
},
"totalCount": {
"description": "The total number of items across all pages.",
"type": "integer"
}
},
"required": [
"data",
"next",
"previous",
"totalCount"
],
"type": "object"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
count |
integer |
false |
|
Number of items returned on this page. |
data |
[ModelPackageRetrieveResponse] |
true |
|
List of formatted registered model's versions |
next |
string,null(uri) |
true |
|
URL pointing to the next page (if null, there is no next page). |
previous |
string,null(uri) |
true |
|
URL pointing to the previous page (if null, there is no previous page). |
totalCount |
integer |
true |
|
The total number of items across all pages. |
SharedRolesUpdate
{
"properties": {
"operation": {
"description": "Name of the action being taken. The only operation is 'updateRoles'.",
"enum": [
"updateRoles"
],
"type": "string"
},
"roles": {
"description": "Array of GrantAccessControl objects., up to maximum 100 objects.",
"items": {
"oneOf": [
{
"properties": {
"role": {
"description": "The role of the recipient on this entity. One of OWNER, USER, OBSERVER.",
"type": "string"
},
"shareRecipientType": {
"description": "Describes the recipient type, either user, group, or organization.",
"enum": [
"user",
"group",
"organization"
],
"type": "string"
},
"username": {
"description": "Username of the user to update the access role for.",
"type": "string"
}
},
"required": [
"role",
"shareRecipientType",
"username"
],
"type": "object"
},
{
"properties": {
"id": {
"description": "The ID of the recipient.",
"type": "string"
},
"role": {
"description": "The role of the recipient on this entity. One of OWNER, USER, OBSERVER.",
"type": "string"
},
"shareRecipientType": {
"description": "Describes the recipient type, either user, group, or organization.",
"enum": [
"user",
"group",
"organization"
],
"type": "string"
}
},
"required": [
"id",
"role",
"shareRecipientType"
],
"type": "object"
}
]
},
"maxItems": 100,
"minItems": 1,
"type": "array"
}
},
"required": [
"operation",
"roles"
],
"type": "object"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
operation |
string |
true |
|
Name of the action being taken. The only operation is 'updateRoles'. |
roles |
[oneOf] |
true |
maxItems: 100 minItems: 1
|
Array of GrantAccessControl objects., up to maximum 100 objects. |
oneOf
xor
Enumerated Values
Property |
Value |
operation |
updateRoles |
SharingListV2Response
{
"properties": {
"count": {
"description": "The number of items returned.",
"type": "integer"
},
"data": {
"description": "The access control list.",
"items": {
"properties": {
"id": {
"description": "The identifier of the recipient.",
"type": "string"
},
"name": {
"description": "The name of the recipient.",
"type": "string"
},
"role": {
"description": "The role of the recipient on this entity.",
"enum": [
"ADMIN",
"CONSUMER",
"DATA_SCIENTIST",
"EDITOR",
"OBSERVER",
"OWNER",
"READ_ONLY",
"READ_WRITE",
"USER"
],
"type": "string"
},
"shareRecipientType": {
"description": "The type of the recipient.",
"enum": [
"user",
"group",
"organization"
],
"type": "string"
}
},
"required": [
"id",
"name",
"role",
"shareRecipientType"
],
"type": "object"
},
"maxItems": 1000,
"type": "array"
},
"next": {
"description": "URL pointing to the next page.",
"type": [
"string",
"null"
]
},
"previous": {
"description": "URL pointing to the previous page.",
"type": [
"string",
"null"
]
},
"totalCount": {
"description": "Total number of items matching the condition.",
"type": "integer"
}
},
"required": [
"count",
"data",
"next",
"previous",
"totalCount"
],
"type": "object"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
count |
integer |
true |
|
The number of items returned. |
data |
[AccessControlV2] |
true |
maxItems: 1000
|
The access control list. |
next |
string,null |
true |
|
URL pointing to the next page. |
previous |
string,null |
true |
|
URL pointing to the previous page. |
totalCount |
integer |
true |
|
Total number of items matching the condition. |
UseCaseDetails
{
"description": "Details of the use-case associated to this registered model version",
"properties": {
"createdAt": {
"description": "Time when use-case was created",
"type": "string"
},
"creatorEmail": {
"description": "Email of the user who created use-case",
"type": [
"string",
"null"
]
},
"creatorId": {
"description": "ID of the creator of the use-case",
"type": "string"
},
"creatorName": {
"description": "Name of the user who created use-case",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the associated use-case",
"type": "string"
},
"name": {
"description": "Name of the use case at the moment of creation",
"type": [
"string",
"null"
]
}
},
"required": [
"createdAt",
"creatorId",
"id"
],
"type": "object"
}
Details of the use-case associated to this registered model version
Properties
Name |
Type |
Required |
Restrictions |
Description |
createdAt |
string |
true |
|
Time when use-case was created |
creatorEmail |
string,null |
false |
|
Email of the user who created use-case |
creatorId |
string |
true |
|
ID of the creator of the use-case |
creatorName |
string,null |
false |
|
Name of the user who created use-case |
id |
string |
true |
|
ID of the associated use-case |
name |
string,null |
false |
|
Name of the use case at the moment of creation |
{
"description": "Information on the user who last modified the registered model",
"properties": {
"email": {
"description": "Email of the user",
"type": [
"string",
"null"
]
},
"id": {
"description": "ID of the user",
"type": "string"
},
"name": {
"description": "Full name of the user",
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name"
],
"type": "object"
}
Information on the user who last modified the registered model
Properties
Name |
Type |
Required |
Restrictions |
Description |
email |
string,null |
true |
|
Email of the user |
id |
string |
true |
|
ID of the user |
name |
string,null |
true |
|
Full name of the user |