PATCH /api/v1/admin/config/authenticity-threshold

Updates the AI authenticity threshold (0-100). Values are rounded to the nearest integer.

application/json

Body Required

object object

Responses

  • 200 application/json

    Set AI authenticity threshold (0-100)

  • 400 application/json

    Default bad request error 400 response

    Hide response attributes Show response attributes object
    • message string Required

      Response message

    • error string Required
    • statusCode number Required
PATCH /api/v1/admin/config/authenticity-threshold
curl \
 --request PATCH 'http://localhost:3500/api/v1/admin/config/authenticity-threshold' \
 --header "Content-Type: application/json"
Request examples
{}
Response examples (200)
{
  "key": "ai.authenticity.threshold",
  "value": 70,
  "message": "Updated"
}
Response examples (400)
{
  "message": "string",
  "error": "string",
  "statusCode": 42.0
}