Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 17.1 KB

submitcontentresponse.md

File metadata and controls

18 lines (14 loc) · 17.1 KB

SubmitContentResponse

Successful response

Fields

Field Type Required Description
content models.ContentResponse ✔️ Potentially modified content.
author Nullable[models.SubmitContentAuthor] ✔️ The author of the content if your account has authors enabled. Requires you to send authorId when submitting content.
evaluation models.Evaluation ✔️ The evaluation of the content after running the channel policies.
recommendation models.Recommendation ✔️ The recommendation for the content based on the evaluation.
casebook Nullable[models.Casebook] ✔️ What your casebook — the record of your past moderation decisions — found for this content, or null when it had nothing close enough to say, when the matching cases disagreed, or when casebook lookups are not switched on for this channel. Reports what the casebook found; whether it decided the outcome is shown in recommendation, where a higher-priority rule may have settled the item first.
policies List[models.SubmitContentPolicyResponse] ✔️ Results of all policies in the channel. Sorted by highest probability.
insights List[models.Insight] ✔️ Results of all insights enabled in the channel.
meta models.Meta ✔️ Metadata about the moderation request
errors List[models.Error] ➖ Policies that had errors