cURL
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>" ] }
Returns a list of relevant follow-up questions given conversation history on a desired store.
Successful response
The response is of type object.
object