Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/moderations.ts>ModerationCreateResponse

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
interface ModerationCreateResponse
import { type ModerationCreateResponse } from "https://deno.land/x/openai@v4.24.7/resources/moderations.ts";

Represents policy compliance report by OpenAI's content moderation model against a given input.

Properties

id: string

The unique identifier for the moderation request.

model: string

The model used to generate the moderation results.

results: Array<Moderation>

A list of moderation objects.