Skip to main content

POST /v1/suggest/feedback

POST/v1/suggest/feedback
scope: suggest 0 credits

Send feedback on a Corty suggestion so the system learns. Essential for white-label partners and external tools.

note

Corty only learns if the edit is less than 80% different from the original — larger rewrites are discarded.

Try it

POST/v1/suggest/feedback
Saved locally in your browser
Request Body
URLhttps://slazbvfvliieskvkjtav.supabase.co/functions/v1/api-gateway/v1/suggest/feedback

Enter your API key above to send requests

Parameters

FieldTypeDescription
acceptedbooleanrequiredWhether the suggestion was actually used
original_suggestionstringoptionalCorty's original suggestion text
edited_versionstringoptionalThe version the user actually sent (triggers learning)
mediumstringoptionalemail (default), linkedin, whatsapp
client_iduuidoptionalClient context for targeted learning
suggestion_idstringoptionalID of the original logged suggestion

Response

{ "received": true, "learned": true, "medium": "email", "edit_distance": 0.23 }