---
title: "Cs Chat"
method: POST
path: "/api/cs-agent/chat"
tags: ["cs-agent"]
---

# Cs Chat

`POST /api/cs-agent/chat`

## Request

- Base URL: `https://api.equity-rank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.equity-rank.com/api/cs-agent/chat`
- Auth: HTTP bearer

POST /api/cs-agent/chat

Sends a user message to the Equity Rank CS managed agent.
Returns the agent's answer and whether it classified the request as
SUPPORT (answered inline) or FEATURE (logged to product queue).

Requires valid Supabase JWT (any authenticated user — no active sub required).

## Request body

- ChatRequest
  - `message` string, required

## Response `200`

Successful Response

- ChatResponse
  - `answer` string, required
  - `classification` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/equity-rank/apis/equity-rank-api.md) · [All operations](https://skmtc.dev/equity-rank/apis/equity-rank-api/llms.txt) · [OpenAPI document](https://skmtc.dev/equity-rank/apis/equity-rank-api/revisions/c2f2463fee33?raw)
