Approve or reject an AI-generated file summary
PUT/datasets/:id/files/summarize
Approves or rejects (and optionally edits) the AI-generated summary for a dataset file. Caller must be editor or owner. Required query file-name and body Summary + ApprovalStatus (approved|rejected). Fails with IPV-1020 if no summary exists or ApprovalStatus is already APPROVED/REJECTED. API success Message is "Successfully updated labels." (shared message with the labels PUT path).
Request
Responses
- 200
- 400
- 500
Summary updated. Message is "Successfully updated labels."
Response Headers
Validation or authorization failure. Body is {"Message": " -
Response Headers
Something went wrong at backend. Input, permission and file-state errors - such as an unsupported file type, a file that is already processed, or a dataset you cannot access - are also reported here.