This endpoint allows you to create a new category by providing the necessary details in the request body.
resource (text): Description of the resource.
type (text): Type of the category.
json_schema (text): JSON schema for the category.
categories (text): List of categories.
prompt (text): An overall command of your request .
The response is a JSON object with the following properties:
label: The label of the response.
tokens: The number of tokens.
success: Indicates the success status of the request.
"match review: John Cena vs. The Rock are fighting"
"text"
"{\"label\":\"string\" }"
"[\"football\", \"coding\", \"entertainment\", \"basketball\", \"wrestling\", \"information\"]\n"
"where does this fall under?"
OK
The response is of type object.