Route user intent

POST/api/v1/intents/route

Classify a Command-K query and return the appropriate action.

Operation ID: route_intent_api_v1_intents_route_post·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Request body

querystringrequired

Responses

201Successful Response

successboolean
messagestring
codestring
dataIntentResponse

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject