---
title: "Get Suggestion"
method: POST
path: "/suggestion/"
tags: ["Prompt suggestion"]
---

# Get Suggestion

`POST /suggestion/`

Get chat message suggestions based on the provided messages.

## Query parameters

- `kb_id` string, uuid — The ID of the knowledge base to use.
- `mode` 'normal_mode' | 'embed_mode' — An enumeration.

## Request body

- ChatMessage[]
  - `role` 'user' | 'assistant', required
  - `content` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/dante-ai/apis/dante-ai-api.md) · [All operations](https://skmtc.net/dante-ai/apis/dante-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dante-ai/dante-ai-api/revisions/38b6c9a4246d/schema)
