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.
curl --request POST \
--url https://api.gurubase.io/api/v1/{guru_slug}/follow-up/examples/ \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"question_slug": "what-is-gurubase-151e2d23-4316-4d85-936c-d806d431a014"
}'
Path Parameters
The guru type identifier for the request.
Your API key for authentication. You can obtain your API key from the Gurubase.io dashboard.
Body Parameters
The slug of the question to get follow-up examples for. Either question_slug
or question
is required.
The text of the question to get follow-up examples for. Either question_slug
or question
is required.
The ID of the binge session (if exists) associated with the question.
Response
A list of suggested follow-up questions.
The slug of the question for which the examples were generated.
Indicates whether the follow-up examples were retrieved from cache.
{
"follow_up_examples": [
"How can Gurubase be integrated with platforms like Slack or Discord?",
"What are the benefits of using Gurubase's real-time updates feature?",
"How does Gurubase handle multiple data sources for creating a Guru?"
],
"question_slug": "what-is-gurubase-151e2d23-4316-4d85-936c-d806d431a014",
"cached": true
}