v51

OpenAPI 3.1.0raw.githubusercontent.com2026-08-018486293.2 KB
moderations

Create Moderation

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/v1/moderations

Query parameters

include_rawboolean

Request body

modelstring required
userstring nullable

Response

Successful Response

idstring required
modelstring required