POST
/
{guru_type}
/
follow-up
/
examples
/
curl --request POST \
  --url https://api.gurubase.io/api/v1/gurubase/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"
  }'
{
    "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
}
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/gurubase/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

guru_type
string
required
The guru type identifier for the request.

Body Parameters

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

Response

follow_up_examples
array<string>
A list of suggested follow-up questions.
question_slug
string
The slug of the question for which the examples were generated.
cached
boolean
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
}