跳转到主要内容
POST
/
base
/
{baseId}
/
chat
/
suggestions
cURL
curl --request POST \
  --url http://127.0.0.1:3000/api/base/{baseId}/chat/suggestions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "recommend",
  "lang": "<string>"
}
'

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

baseId
string
必填

请求体

application/json
type
enum<string>
必填
可用选项:
recommend,
ask,
analyze,
build
lang
string

响应

200

Chat suggestions

Last modified on February 20, 2026