Skip to content

Text moderation with the API

Use moderation to check user text before publishing it or sending it to a model for generation. Send a single string and read results[0].flagged. A value of true means at least one category was flagged.

https://gptunnel.ru/v1/moderations

Check text with POST /v1/moderations. The method returns the result in the same HTTP response. The endpoint reference includes a request example, category results, billing details, and errors.