POST
/
inference
/
hierarchy-classification
{
  "text": "<string>",
  "categories": {},
  "num_tokens": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Api-key
string | null

Body

application/json
text
string
required
rules
Category · object[]
required

Response

Successful Response

text
string
required
categories
object
required
num_tokens
integer
required