Get how the docs did in the last 30 days: views, the top 20 articles, the latest 10 “No” comments, the top 10 searches that found nothing, and the top 20 gaps. Where plans are sold, on a plan with Reporting (402 otherwise)
Responses
200How the docs did in the last 30 daysapplication/json · object
How the docs did in the last 30 days
sincestringrequiredWhere the 30 days start: midnight UTC (ISO 8601)
viewsintegerrequiredArticle views in that time
articlesarray of objectrequiredThe top 20 articles, most viewed first
ShowHide 5 properties
slugstringrequiredThe article's slug
titlestringrequiredIts title
viewsintegerrequiredIts views
helpfulintegerrequiredHow many readers found it helpful
notHelpfulintegerrequiredHow many didn't
commentsarray of objectrequiredThe latest 10 comments readers left with a “No”
ShowHide 3 properties
articleobjectrequiredThe article it's on
ShowHide 2 properties
slugstringrequiredThe article's slug
titlestringrequiredIts title
commentstringrequiredWhat the reader said was missing
atstringrequiredWhen (ISO 8601)
searchesobjectrequiredSearches in the docs
ShowHide 3 properties
totalintegerrequiredDocs searches
failedintegerrequiredSearches that found nothing
topFailedarray of objectrequiredThe 10 searches that found nothing most often, without those dismissed (docs.dismissGap)
ShowHide 2 properties
querystringrequiredWhat was searched for
countintegerrequiredHow often
gapsarray of objectrequiredQuestions the AI couldn't answer or whose answer got a thumbs-down, grouped, most asked first, without those dismissed (docs.dismissGap)
ShowHide 9 properties
questionstringrequiredThe question, as last asked; grouped with the others like it (case and spacing don't matter)
followsstring · nullablerequiredThe question the latest asking followed up on (a follow-up such as “And on my phone?” means little alone), or null
noAnswerintegerrequiredHow often the AI couldn't answer it
causestring · nullablerequiredWhy the latest “I don't know” happened: nothing in the docs was close enough, the AI cited nothing, an article it cited was unpublished meanwhile, the question named an off-limits topic, out of AI credits, or unknown (asked before causes were kept); null when it only got thumbs-down
One of
"no_relevant_section""no_valid_citation""source_unpublished""off_limits""no_credits""unknown"notHelpfulintegerrequiredHow often its answer got a thumbs-down
escalatedintegerrequiredHow many were passed to the team (docs.escalate)
lastAskedstringrequiredThe latest time it was asked (ISO 8601)
answerstring · nullablerequiredThe latest answer that got a thumbs-down, or null
articleobject · nullablerequiredThe first article that answer cited that's still there: the one to improve; null for none
ShowHide 2 properties
slugstringrequiredThe article's slug
titlestringrequiredIts title
401No API key was sent, or it isn't valid: it was revoked, or whoever created it left the team.application/json · Error
errorobjectrequiredShowHide 2 properties
codestringrequiredWhat went wrong, for code to check: stays the same
messagestringrequiredWhat went wrong, for a person: may change
402The project's plan doesn't include this or is at its limit, it's out of AI credits, or a payment didn't go through. The message says what's needed.application/json · Error
errorobjectrequiredShowHide 2 properties
codestringrequiredWhat went wrong, for code to check: stays the same
messagestringrequiredWhat went wrong, for a person: may change
429Too many requests: past 600 a minute per key, try again after the seconds in the Retry-After header. Some operations have limits of their own (their description gives them), whose 429 has no Retry-After.application/json · Error
errorobjectrequiredShowHide 2 properties
codestringrequiredWhat went wrong, for code to check: stays the same
messagestringrequiredWhat went wrong, for a person: may change
500Something went wrong on Tuti's side. Try again in a moment.application/json · Error
errorobjectrequiredShowHide 2 properties
codestringrequiredWhat went wrong, for code to check: stays the same
messagestringrequiredWhat went wrong, for a person: may change

