latestOpenAPI 3.1.02026-08-10134648.5 KB

5c100d640e2e

moderation

Moderate Content

post/moderate/

Request body

classification_job_idstring uuid nullable
callback_urlstring uri nullable

Response

Successful Response

task_decision_idstring required

The decision task ID, which has a 'decision' prefix

moderation_job_idstring required

The decision task ID, which has a 'decision' prefix. This field is deprecated and will be removed in future releases. You should use task_decision_id instead.

external_idstring nullable

Optional external ID as specified in the request

classification_job_idstring uuid nullable required

The job ID of the initial classification

Example response

{
  "task_decision_id": "decision_01h45ytscbebyvny4gc8cr8ma2",
  "moderation_job_id": "decision_01h45ytscbebyvny4gc8cr8ma2"
}