Classification

Unified classification endpoint

Changed on

Dispatches to intent, SOP, or spotlight classification based on type field. Replaces separate run-intent-classification, run-sop-classification, and run-spotlight-query endpoints.

post/dashboard/api/classify

Request

  • Base URL
    https://api.agnost.ai
  • URL
    https://api.agnost.ai/dashboard/api/classify
  • Auth
    • HTTP bearer and API key in header x-org-id
    • or API key in header x-api-key

Request body

time_range'1min' | '1h' | '1d' | '1w' | '1m' | 'all'
pageinteger
page_sizeinteger
type'intent' | 'sop' | 'spotlight' required
querystring

Required for spotlight type

Response

Classification results

Changes