winstonai.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.
Detect
aiImage
detect.aiImage
Score whether a public image URL was created by a human or generated by AI
Risk: read
Output
aiText
detect.aiText
Score whether text, a public file, or a website was written by a human or generated by AI
Risk: read
Output
sentences full type
sentences full type
attack_detected full type
attack_detected full type
plagiarism
detect.plagiarism
Scan text, a public file, or a website for matching sources on the web
Risk: read
Output
scanInformation full type
scanInformation full type
result full type
result full type
sources full type
sources full type
attackDetected full type
attackDetected full type
Text
compare
text.compare
Compare two texts and return similarity scores
Risk: read
Output
first_text full type
first_text full type
second_text full type
second_text full type