Skip to main content
POST
Classify content against the content policy

Authorizations

Authorization
string
header
required

Enter your MeshAPI key (rsk_...) — sent as Authorization: Bearer <key>.

Headers

X-Mesh-Version
enum<string>
default:2026-08

Dated version of the API contract to pin this request to. Omit it and the request is served under 2026-08 — the oldest supported version, so an existing integration is never moved by a release. A malformed or unsupported value is rejected with 400 invalid_api_version rather than falling back silently. The version actually served is echoed as X-Mesh-Version on every response, including errors.

Available options:
2026-08

Body

application/json

Request body for POST /v1/moderations (OpenAI-compatible).

input
required

Text, list of texts, or list of multimodal (text/image_url) items.

model
string
default:omni-moderation-latest

Moderation model to use. Defaults to omni-moderation-latest.

Response

Moderation result(s).