Printago API
PUT /v1/ai-detection/alerts/{eventId}/feedback

Submit or change feedback on an AI failure alert

Requires: printer.view

Path Parameters

eventId required
string
Alert (printer event) id

Request Body

Whether the alert was a real failure, with optional detail

AiDetectionFeedbackRequest
commentoptionalnullable
string
verdictrequired
"true_positive" | "false_positive"
true_positivefalse_positive

Example Request

application/json
{
  "verdict": "true_positive",
  "comment": "string"
}

Response Schema

AiDetectionFeedbackResponse
feedbackrequired
object
commentrequirednullable
string
createdAtrequired
string
idrequired
string
pattern: ^[a-z0-9]{24}$
printerEventIdrequired
string
pattern: ^[a-z0-9]{24}$
sourcerequired
"user" | "fuse"
userfuse
updatedAtrequired
string
userIdrequirednullable
string
verdictrequired
"true_positive" | "false_positive"
true_positivefalse_positive
inviteTriggeredrequired
boolean
True on the call that crossed the program invite threshold.
storeFeedbackCountrequired
number
Feedback items this store has submitted in total (user source).

Example Response

200 OK — application/json
{
  "feedback": {
    "id": "string",
    "printerEventId": "string",
    "verdict": "true_positive",
    "source": "user",
    "comment": "string",
    "userId": "string",
    "createdAt": "string",
    "updatedAt": "string"
  },
  "storeFeedbackCount": 1,
  "inviteTriggered": true
}