Volver al catálogo

Moderation API

moderationapi

Moderation API provides content detection, human review workflows, author management, and moderation actions for online platforms.

Acciones
11
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (11)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Evaluate Content Without StorageMODERATIONAPI_EVALUATE_CONTENTAcción

Evaluate content without retaining it or adding it to a review queue, and return policy findings and the recommended moderation action.

Parámetros de entrada

  • channelstring

    Channel ID or key; omit to use the project's default channel.

  • contentanyObligatorio

    Text, image, video, audio, or structured object content to moderate.

  • metadataobject

    Caller metadata to include with the moderation request.

  • author_idstring

    External author ID to associate with the content.

  • meta_typestringenum

    Business type of the submitted content.

    profilemessagepostcommenteventproductreviewvoiceother
  • timestampnumber

    Unix timestamp in milliseconds when non-real-time content was created.

  • content_idstring

    Stable content ID from the caller's system.

  • client_actionobject

    Optional caller recommendation combined with the provider recommendation.

  • conversation_idstring

    Conversation, room, thread, or parent-post ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Execute Moderation ActionMODERATIONAPI_EXECUTE_ACTIONAcción

Apply a discovered moderation action to content items or authors. Actions can reject content or block or suspend authors and may be irreversible; inspect LIST_ACTIONS before calling.

Parámetros de entrada

  • valuestring

    Action value when LIST_ACTIONS reports that a value is required.

  • queue_idstring

    Queue ID when executing a queue-specific action.

  • action_keystringObligatorio

    Action ID or key returned by LIST_ACTIONS.

  • author_idsstring[]

    Author IDs to act on; provide author_ids, content_ids, or both.

  • content_idsstring[]

    Content IDs to act on; provide content_ids, author_ids, or both.

  • duration_msnumber

    Duration in milliseconds for a temporary action.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Account and QuotaMODERATIONAPI_GET_ACCOUNTAcción

Return the connected Moderation API account, plan, current project, and current quota values.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Review QueueMODERATIONAPI_GET_REVIEW_QUEUEAcción

Return metadata and item counts for a review queue by ID. Requires the paid review-queue add-on; contact Moderation API sales if review queues are not enabled for the connected organization.

Parámetros de entrada

  • queue_idstringObligatorio

    Review queue ID obtained from the Moderation API dashboard or configuration.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get WordlistMODERATIONAPI_GET_WORDLISTAcción

Return one wordlist and its current words by ID.

Parámetros de entrada

  • wordlist_idstringObligatorio

    Wordlist ID returned by LIST_WORDLISTS.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Moderation ActionsMODERATIONAPI_LIST_ACTIONSAcción

List moderation actions available to the organization, optionally restricted to a review queue.

Parámetros de entrada

  • queue_idstring

    Return actions available for this review queue ID; omit to return all organization actions.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Review Queue ItemsMODERATIONAPI_LIST_REVIEW_QUEUE_ITEMSAcción

List and filter one page of moderation items in a review queue. Requires the paid Moderation API review-queue add-on.

Parámetros de entrada

  • cursorstring

    Continuation cursor from a previous response's next_cursor. Omit for the first page and pass it back unchanged to fetch the next page.

  • queue_idstringObligatorio

    Review queue ID.

  • author_idstring

    Only return items associated with this author ID.

  • page_sizeinteger

    Maximum number of queue items to return in this page.

  • sort_fieldstringenum

    Field used to order queue items.

    createdAtseverityreviewedAt
  • sort_directionstringenum

    Direction used to order queue items.

    ascdesc
  • include_resolvedboolean

    Whether to include resolved queue items in the results.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List WordlistsMODERATIONAPI_LIST_WORDLISTSAcción

List the organization's wordlists and their identifiers.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Modify Wordlist WordsMODERATIONAPI_MODIFY_WORDLIST_WORDSAcción

Add words to or remove words from an existing wordlist.

Parámetros de entrada

  • wordsstring[]Obligatorio

    Non-empty words to add or remove; duplicate additions are ignored.

  • operationstringObligatorioenum

    Whether to add the supplied words or remove them.

    addremove
  • wordlist_idstringObligatorio

    Wordlist ID returned by LIST_WORDLISTS.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Review Queue Item StatusMODERATIONAPI_SET_REVIEW_QUEUE_ITEM_STATUSAcción

Mark a review queue item resolved or return it to pending. Requires the paid review-queue add-on.

Parámetros de entrada

  • statusstringObligatorioenum

    Desired queue item status: resolved or pending.

    resolvedpending
  • commentstring

    Optional reason for the status change.

  • item_idstringObligatorio

    Queue item ID returned by LIST_REVIEW_QUEUE_ITEMS.

  • queue_idstringObligatorio

    Review queue ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Submit Content for ModerationMODERATIONAPI_SUBMIT_CONTENT_FOR_MODERATIONAcción

Evaluate content and allow Moderation API to retain it and add it to a review queue according to the project's configuration.

Parámetros de entrada

  • channelstring

    Channel ID or key; omit to use the project's default channel.

  • contentanyObligatorio

    Text, image, video, audio, or structured object content to moderate.

  • metadataobject

    Caller metadata to include with the moderation request.

  • author_idstring

    External author ID to associate with the content.

  • meta_typestringenum

    Business type of the submitted content.

    profilemessagepostcommenteventproductreviewvoiceother
  • timestampnumber

    Unix timestamp in milliseconds when non-real-time content was created.

  • content_idstring

    Stable content ID from the caller's system.

  • client_actionobject

    Optional caller recommendation combined with the provider recommendation.

  • conversation_idstring

    Conversation, room, thread, or parent-post ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not