Queues
Get Queue Item
Get an item that has been added to a queue
To get an item that has been added to a queue you can use the queue().getItem
method.
index.ts
Response
The QueueItemResponse
object contains the following properties:
The ID of the moderation request.
Example: 27fbdc0b-b295-46ce-93f5-81b2fc08a381
The type of the item.
Example: text
Wether the item has been accepted or not.
Example: true
The status of the item. available status values are:
- processing
- pending
- accepted
- rejected
Example: accepted
The original content of the item.
Example: Hello world