Check if a model exists

head/models/{modelId}

Returns the header information for the specified model ID. Also used to determine whether a model exists.

Request Samples

1

Response Samples

1{
2 "createdBy": "string",
3 "modifiedBy": "string",
4 "creationTimeStamp": "2019-08-24T14:15:22Z",
5 "modifiedTimeStamp": "2019-08-24T14:15:22Z",
6 "id": "string",
7 "name": "string",
8 "description": "string",
9 "function": "string",
10 "algorithm": "string",
11 "tool": "string",
12 "modeler": "string",
13 "scoreCodeType": "string",
14 "trainTable": "string",
15 "eventProbVar": "string",
16 "targetEvent": "string",
17 "champion": true,
18 "role": "string",
19 "location": "string",
20 "targetLevel": "string",
21 "targetVariable": "string",
22 "projectId": "string",
23 "projectName": "string",
24 "projectVersionId": "string",
25 "projectVersionName": "string",
26 "folderId": "string",
27 "repositoryId": "string",
28 "championStartTime": "string",
29 "championEndTime": "string",
30 "suggestedChampion": true,
31 "retrainable": true,
32 "immutable": true,
33 "modelVersionName": "string",
34 "dataUris": [
35 "string"
36 ],
37 "properties": [
38 {
39 "name": "string",
40 "value": "string",
41 "type": "string"
42 }
43 ],
44 "inputVariables": [
45 {
46 "createdBy": "string",
47 "modifiedBy": "string",
48 "creationTimeStamp": "2019-08-24T14:15:22Z",
49 "modifiedTimeStamp": "2019-08-24T14:15:22Z",
50 "name": "string",
51 "description": "string",
52 "role": "string",
53 "type": "string",
54 "level": "string",
55 "format": "string",
56 "length": 0,
57 "version": 2
58 }
59 ],
60 "outputVariables": [
61 {
62 "createdBy": "string",
63 "modifiedBy": "string",
64 "creationTimeStamp": "2019-08-24T14:15:22Z",
65 "modifiedTimeStamp": "2019-08-24T14:15:22Z",
66 "name": "string",
67 "description": "string",
68 "role": "string",
69 "type": "string",
70 "level": "string",
71 "format": "string",
72 "length": 0,
73 "version": 2
74 }
75 ],
76 "modelVersionCount": 0,
77 "isAstoreModel": true,
78 "version": 2
79}

Path Parameters

NameTypeRequiredDescription
modelId
string
true

The unique identifier for the model.

Responses

StatusMeaningDescription
200OK

The request succeeded. The model information was returned.

HeadersSchema
404Not Found

No model exists at the requested path.

Schema