Skip to main content
POST
/
v2
/
classification
/
explain-classifier
Explain classifier
curl --request POST \
  --url https://product-api.thedatacity.com/api/v2/classification/explain-classifier \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "yes": [
    "10958787"
  ],
  "no": [
    "10958788"
  ]
}
'
{}

Authorizations

Authorization
string
header
required

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

Body

application/json

Full shape is under Schema; example is minimal.

yes
string[]
required

Company numbers to include (positive class).

no
string[]
required

Company numbers to exclude (negative class).

Response

200 - application/json

Classifier explanation from the product API.

JSON object returned from the upstream product API with no extra shaping by this gateway. Exact properties depend on the operation. Fields may be omitted when the token lacks optional scopes (see config/api.php scope_field_map).

Last modified on June 8, 2026