v2.34 changelog¶
Reference the changes introduced to version 2.34 of DataRobot's REST API.
New features¶
- Added an endpoint to create a hosted custom metric from a custom job:
POST /api/v2/deployments/(deploymentId)/customMetrics/fromCustomJob/. - Added an endpoint to list hosted custom metrics:
GET /api/v2/customJobs/(customJobId)/customMetrics/. - Added an endpoint to update the hosted custom metric
PATCH /api/v2/deployments/(deploymentId)/customMetrics/(customMetricId)/. - Added an endpoint to delete the hosted custom metric
DELETE /api/v2/deployments/(deploymentId)/customMetrics/(customMetricId)/. - Added an endpoint to create custom job from hosted custom metrics gallery template
POST /api/v2/customJobs/fromHostedCustomMetricGalleryTemplate/. - Added an endpoint to create a blueprint for the hosted custom metric
POST /api/v2/customJobs/(customJobId)/hostedCustomMetricTemplate/. - Added an endpoint to retrieve a blueprint for the hosted custom metric
GET /api/v2/customJobs/(customJobId)/hostedCustomMetricTemplate/. - Added an endpoint to update a blueprint for the hosted custom metric
GET /api/v2/customJobs/(customJobId)/hostedCustomMetricTemplate/.
Enhancements¶
-
Requests for insights at the
/api/v2/insights/*group of endpoints now accept theentityTypeparameter, which enables insight computation forcustomModelentities as well as nativedatarobotModelentities. To compute insights on a custom model, you must first initialize insights with a call toPOST /api/v2/modelComplianceDocsInitializations/(entityId)/. -
The response from the Get SHAP impact API endpoint
GET /api/v2/insights/shapImpact/models/(entityId)/has been changed. Now theshapImpactsparameter is a list of key-pair values. Thecappingparameter has been removed from the response.
Deprecation summary¶
- The API endpoint
GET /api/v2/projects/(projectId)/models/is deprecated. Instead, useGET /api/v2/projects/(projectId)/modelRecords/. - The API endpoint
/projects/(projectId)/featureAssocationFeaturelists/is removed, after being deprecated in release 2.19. Users should continue to useGET /api/v2/projects/(projectId)/featureAssociationFeaturelists/. - The field
modelsCountinGET /api/v2/useCases/andGET /api/v2/useCases/(useCaseId)/is deprecated and will be removed in June 2025.