---
title: "Unified classification endpoint"
method: POST
path: "/dashboard/api/classify"
tags: ["Classification"]
---

# Unified classification endpoint

`POST /dashboard/api/classify`

## Request

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

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

## Request body

- object
  - `time_range` '1min' | '1h' | '1d' | '1w' | '1m' | 'all'
  - `connection_type` union
    - string
    - string[]
  - `agent_name` union
    - string
    - string[]
  - `metadata_filters` object[]
    - `key` string
    - `value` string
  - `page` integer
  - `page_size` integer
  - `type` 'intent' | 'sop' | 'spotlight', required
  - `query` string: Required for spotlight type

## Response `200`

Classification results

## Changes

- **2026-11-03** `a61431b48f36`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agnost/apis/agnost-ai-api/changes/dashboard/api/classify/post.md)

---

[API](https://skmtc.dev/agnost/apis/agnost-ai-api.md) - [All operations](https://skmtc.dev/agnost/apis/agnost-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agnost/apis/agnost-ai-api/revisions/a61431b48f36?raw)
