moderations

Create Moderation

Changed on

OpenAI-compatible moderations endpoint.

Authentication modes:

  • Master key + user field: Use specified user (must exist)
  • API key + user field: Use specified user (must exist)
  • API key without user field: Use the shared "default" user
post/api/v1/moderations

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in header Otari-Key
    • API key in header x-api-key

Query parameters

include_rawboolean

Request body

modelstring required
userstring nullable

Response

Successful Response

idstring required
modelstring required

Changes