Skip to main content
POST
Batch Classify

Authorizations

Authorization
string
header
required

API token from your Handled dashboard

Body

application/json
messages
object[]
required

List of message objects (max 100 per request)

Maximum array length: 100
top_k
integer
default:1

Number of top intents per message

Required range: 1 <= x <= 5

Response

Successful batch classification

request_id
string

Unique identifier for the batch request

results
object[]

Classification results for each message

latency_ms
integer

Server-side inference time in milliseconds

model_version
string

Version of the model used