Skip to main content
POST
/
v1
/
spaces
/
completions
/
{space_id}
/
suggest-questions
Suggest Questions
curl --request POST \
  --url https://api.duplik.cn/v1/spaces/completions/{space_id}/suggest-questions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "session_id": "<string>",
  "message_id": "<string>"
}
'
{
  "questions": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

space_id
integer
required

Body

application/json
session_id
string
required
message_id
string
required

Response

Successful Response

questions
string[]
required

Suggested questions, limit max 3 questions