Get model history
get/models/{modelId}/history
Returns the model history, which is a list of the previous model versions for the specified model ID.
1{2 "items": [3 {4 "creationTimeStamp": "2025-03-10T14:48:50.335Z",5 "createdBy": "sasdemo",6 "modifiedTimeStamp": "2025-03-10T14:48:50.335Z",7 "modifiedBy": "sasdemo",8 "id": "692ab9b1-69c8-4ded-85cb-1a0edca9796d",9 "name": "QS_Reg1",10 "description": "Logistic Regression Model",11 "role": "plain",12 "scoreCodeType": "dataStep",13 "algorithm": "logisticreg",14 "function": "classification",15 "modeler": "sasdemo",16 "modelType": "datastep",17 "trainTable": "/dataTables/dataSources/cas~fs~cas-shared-default~fs~Public/tables/HMEQ_TRAIN",18 "eventProbVar": "EM_EVENTPROBABILITY",19 "targetVariable": "BAD",20 "targetEvent": "1",21 "targetLevel": "BINARY",22 "tool": "Model Studio",23 "toolVersion": "8.3",24 "externalModelId": "407fbf89-7085-49c3-811a-7f5d912e4676",25 "provider": "Azure",26 "costPerCall": "0",27 "immutable": true,28 "folderRef": "/folders/folders/eec95375-cfa7-45a6-813a-0b67436e6d2f",29 "modelVersionName": "1.0",30 "inputVariables": [],31 "outputVariables": [],32 "modelVersions": [],33 "modelLocks": [],34 "globalTags": [],35 "links": [36 {37 "method": "GET",38 "rel": "up",39 "href": "/modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/history",40 "uri": "/modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/history",41 "type": "application/vnd.sas.collection",42 "itemType": "application/vnd.sas.models.model.version"43 },44 {45 "method": "GET",46 "rel": "self",47 "href": "/modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/history/692ab9b1-69c8-4ded-85cb-1a0edca9796d",48 "uri": "/modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/history/692ab9b1-69c8-4ded-85cb-1a0edca9796d",49 "type": "application/vnd.sas.models.model.version"50 },51 {52 "method": "GET",53 "rel": "contents",54 "href": "/modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/history/692ab9b1-69c8-4ded-85cb-1a0edca9796d/contents",55 "uri": "/modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/history/692ab9b1-69c8-4ded-85cb-1a0edca9796d/contents",56 "type": "application/vnd.sas.collection",57 "itemType": "application/vnd.sas.models.model.content"58 }59 ],60 "version": 0,61 "modelId": "a02ea190-899c-4ff4-92a7-46c28a1c61e3",62 "modelLastModifiedBy": "sasdemo",63 "modelLastModifiedTimeStamp": "2025-03-10T14:48:49.36762Z",64 "modelCreatedBy": "sasdemo",65 "modelCreationTimeStamp": "2025-03-10T14:47:57.912505Z"66 }67 ]68}