diff --git a/specs/predict/paths/models/getModelMetrics.yml b/specs/predict/paths/models/getModelMetrics.yml index fa75d9a099..8faadb8c65 100644 --- a/specs/predict/paths/models/getModelMetrics.yml +++ b/specs/predict/paths/models/getModelMetrics.yml @@ -13,9 +13,16 @@ get: application/json: schema: title: getModelMetricsResponse - type: array - items: - $ref: '../../responses/Models.yml#/modelMetrics' + type: object + additionalProperties: false + properties: + modelID: + type: string + description: The ID of the model. + metrics: + type: array + items: + $ref: '../../responses/Models.yml#/modelMetrics' '401': $ref: '../../responses/InvalidCredentials.yml' '404':