Endpoint Examples
Categorize Resource
This endpoint allows you to create a new category by providing the necessary details in the request body.
Request Body
-
resource
(text): Description of the resource. -
type
(text): Type of the category. -
json_schema
(text): JSON schema for the category. -
json_schema_rules
(text): Rules for the JSON schema.
Response
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.
POST
Authorizations
Response
200
application/json
OK
The response is of type object
.