Check if model versions exist

head/models/{modelId}/modelVersions
Internal-Use Only

Returns the header information for the model versions that are associated with the specified model ID. Also used to determine whether model versions exist.

Request Samples

1

Response Samples

1{
2 "name": "string",
3 "start": 0,
4 "limit": 0,
5 "count": 0,
6 "accept": "string",
7 "links": [
8 {
9 "method": "string",
10 "rel": "string",
11 "uri": "string",
12 "href": "string",
13 "title": "string",
14 "type": "string",
15 "itemType": "string",
16 "responseType": "string",
17 "responseItemType": "string"
18 }
19 ],
20 "version": 0,
21 "items": [
22 {
23 "createdBy": "string",
24 "modifiedBy": "string",
25 "creationTimeStamp": "2019-08-24T14:15:22Z",
26 "modifiedTimeStamp": "2019-08-24T14:15:22Z",
27 "id": "string",
28 "name": "string",
29 "description": "string",
30 "function": "string",
31 "algorithm": "string",
32 "tool": "string",
33 "modeler": "string",
34 "scoreCodeType": "string",
35 "trainTable": "string",
36 "eventProbVar": "string",
37 "targetEvent": "string",
38 "champion": true,
39 "role": "string",
40 "location": "string",
41 "targetVariable": "string",
42 "projectId": "string",
43 "projectName": "string",
44 "projectVersionId": "string",
45 "projectVersionName": "string",
46 "folderId": "string",
47 "repositoryId": "string",
48 "championStartTime": "string",
49 "championEndTime": "string",
50 "suggestedChampion": true,
51 "retrainable": true,
52 "immutable": true,
53 "modelVersionName": "string",
54 "properties": [
55 {
56 "name": "string",
57 "value": "string",
58 "type": "string"
59 }
60 ],
61 "inputVariables": [
62 {
63 "createdBy": "string",
64 "modifiedBy": "string",
65 "creationTimeStamp": "2019-08-24T14:15:22Z",
66 "modifiedTimeStamp": "2019-08-24T14:15:22Z",
67 "name": "string",
68 "description": "string",
69 "role": "string",
70 "type": "string",
71 "level": "string",
72 "format": "string",
73 "length": 0,
74 "version": 2
75 }
76 ],
77 "outputVariables": [
78 {
79 "createdBy": "string",
80 "modifiedBy": "string",
81 "creationTimeStamp": "2019-08-24T14:15:22Z",
82 "modifiedTimeStamp": "2019-08-24T14:15:22Z",
83 "name": "string",
84 "description": "string",
85 "role": "string",
86 "type": "string",
87 "level": "string",
88 "format": "string",
89 "length": 0,
90 "version": 2
91 }
92 ],
93 "version": 2
94 }
95 ]
96}

Path Parameters

NameTypeRequiredDescription
modelId
string
true

The unique identifier for the model.

Query Parameters

NameTypeRequiredDescription
limit
integer<int32>
false

The maximum number of items to return in this request.

Default:
20
start
integer<int32>
false

The 0-based start index of a paginated request.

>= 0
Default:
0

Responses

StatusMeaningDescription
200OKThe request succeeded. The list of model versions was returned.Schema
404Not FoundNo model exists at the requested path.Schema