Skip to main content
POST
This endpoint generates a list of suggested follow-up questions based on a previous question. You can identify the previous question by its slug or by providing the question text directly. Upon first hit, the endpoint generates them. The consecutive hits retrieve the generated follow-up examples.

Path Parameters

string
required
The guru type identifier for the request.

Headers

string
required
Your API key for authentication. You can obtain your API key from the Gurubase dashboard.

Body Parameters

string
The slug of the question to get follow-up examples for. Either question_slug or question is required.
string
The text of the question to get follow-up examples for. Either question_slug or question is required.
string
The ID of the binge session (if exists) associated with the question.

Response

array<string>
A list of suggested follow-up questions.
string
The slug of the question for which the examples were generated.
boolean
Indicates whether the follow-up examples were retrieved from cache.