POST
/
api
/
get_followups
curl --request POST \
  --url https://backend.kart.ai/api/get_followups/ \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <x-api-key>' \
  --data '{
  "conversation_id": 123,
  "context": [
    {
      "role": "<string>",
      "type": "<string>",
      "message": "<string>",
      "products": [
        {}
      ]
    }
  ],
  "store_url": "<string>"
}'
{
  "follow_up_questions": [
    "<string>"
  ]
}

Headers

X-API-KEY
string
required

Body

application/json
conversation_id
integer
required
store_url
string
required
context
object[]

Response

200
application/json
Successful response
follow_up_questions
string[]