If there a way to get the count of “Ask A Expert” questions raised by every user on the system, we need this to incentivize those who ask questions there by adding to the knowledge base. More like a leaderboard of who asked the most question in a period of time.
Best answer by AnonymousView original
@sanmeetsahni! Love this idea. If you’re on the Builder, Expert, or Enterprise edition of Guru and have the technical knowledge or resources available, you’re able to do this through Guru’s API (see
@Chris Anderson Thank you for the direction, I did try this, however, it’s not giving me the data post 9th September 2021, any suggestions here.
The data is available here incase you whish to check
We used this link.
I have full Admin access to the platform if this information is of any help to you.
This is an awesome idea! Do you have an example of a user who has asked a question since September 9th, that is not showing up in the analytics endpoint? For troubleshooting purposes, it would be helpful to know the email address of a user who has asked a question since that date. Feel free to private message me an example and we can help you figure this out 🙂
@Joe Duffy quite a few people have asked questions and created FAQs however the data is not being pulled, I myself created almost 80 FAQs email@example.com is another user, firstname.lastname@example.org is another to use as an example.
I think I see what’s happening here. Our API results are paginated, meaning that if you call one of our API endpoints and the result set is large, we split up the response over multiple pages.
In short, when there are subsequent result pages, we will return a response header called “Link”, which contains a URL to the next page of results. If you call that URL using the same authentication, you should see more results.
Here is what the response header looks like:
You’ll want to parse out just the URL from the response header for the next API call:
Let me know if this makes sense!
@Joe Duffy I am unable to see this header, where do I find this?
What are you using to make the API call?
If you use Postman, you can click on the “Headers” button in the response section after you make the API call. Here is a screenshot:
If you are using python to make your API call, you can see the response headers by using the
print(response.headers)function, similar to the example below:
Let me know if either of these help - if not, let me know what method you are using to make the API call and I can give a specific example of how to see the response headers.
@Joe Duffy Anything on my last query?
Apologies for the delay in response here.
Admittedly, to get to the question that was asked is a bit wonky. We store our questions as cards, so you can get to it using the
/cardsendpoint. In your response from the
/analyticsendpoint, you will see a
factId. You can use that ID in the endpoint below to get the question:
The question will be stored in the
Let me know if this works for you!
@Joe Duffy I understand I have a few wacky queries, I am actually trying to get an idea of the TAT for answering the questions asked and hence asking these wacked out questions :P, If you do have an easier way do let me know.
@Joe Duffy Any thing on my last query, also wanted to check is there is a way to Export the Guru data in a single sheet in the attached format, current the system is not providing Column B
Column B (“Content”) in your spreadsheet will not be filled in for questions. The question itself is in Column A.
As for the pagination link, it looks like you are getting a 401 Unauthorized code, which likely means there’s something wrong with your authentication method (username and token). Can you double check those and try again?
Are there any outstanding questions I haven’t answered here? If so, it might make more sense to jump on a call to discuss. I can DM you with a Calendly link if you’d like - let me know!
How do I get the Questions and Answers in that excel with the other analytics data?
Also, please do share the Calendly along with the answer to this query and if I still have a issue post working with the team tomorrow I’ll will set up a call with you for a one shot conversation and solution.