specs

Update Spec

patch/api/specs/{spec_id}

Request

  • Base URL: https://api.modelwatch.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.modelwatch.app/api/specs/{spec_id}
  • Auth: HTTP bearer

Path parameters

spec_idstring uuid required

Request body

namestring nullable
descriptionstring nullable
input_textstring nullable
expected_formatstring nullable
expected_json_schemaobject nullable
expected_containsstring[] nullable
expected_not_containsstring[] nullable
min_lengthinteger nullable
max_lengthinteger nullable
semantic_thresholdnumber nullable
schedule'hourly' | 'daily' | 'weekly' | 'on_trigger'
is_activeboolean nullable

Response

Successful Response

idstring uuid required
endpoint_idstring uuid required
namestring required
descriptionstring nullable required
input_textstring required
expected_formatstring nullable required
expected_containsstring[] nullable required
expected_not_containsstring[] nullable required
min_lengthinteger nullable required
max_lengthinteger nullable required
semantic_thresholdnumber required
schedule'hourly' | 'daily' | 'weekly' | 'on_trigger' required
is_activeboolean required
has_baselineboolean
baseline_set_atstring date-time nullable
created_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.