Skip to content

Commit 09a235c

Browse files
authored
fix(specs): update model response (#1034)
1 parent 7c49e30 commit 09a235c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

specs/predict/responses/Models.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ modelInstance:
3030
lastInference:
3131
type: string
3232
description: The date and time this model instance generated its last inference.
33-
error:
33+
errorMessage:
3434
type: string
35-
status:
35+
modelStatus:
3636
type: string
3737
$ref: '#/getModelInstanceConfigStatus'
3838
required:
@@ -49,11 +49,11 @@ modelInstance:
4949

5050
getModelInstanceConfigStatus:
5151
type: string
52-
enum: [pending, active, invalid, error, inactive]
52+
enum: [pending, active, invalid, inactive]
5353
description: |
5454
`pending` - model has just been created and the pipelines are being set up for the first train & inference. \
55-
`active` - model is running and generating prediction. \
56-
`invalid` - model has failed training (ex. can’t retrieve data from source). An additional error field will be set for this status. \
55+
`active` - model is running and generating predictions. \
56+
`invalid` - model has failed training (ex. can’t retrieve data from source). An additional `errorMessage` field will be set for this status. \
5757
`inactive` - model has been deactivated from the dashboard. Pipelines still exist but they are not currently running.
5858
5959
modelMetrics:

0 commit comments

Comments
 (0)