index.ts
Request
string
required
The type of the item to add to the queue.Example:
text imagestring
required
The content of the item to add to the queue. Either text, image url or base64 encoded image.Example:
Hello world https://example.com/image.jpg /9j/4AAQSkZJRgABAQAASABIAAD/...string
An ID of a user that is performing an action in your system.Example:
123object
Any additional metadata you want to include with the moderation request that will be saved.Example:
{"userId": "1234"}