- API reference
- Insights
Get help center search gaps
GEThttps://app.notert.io/api/v1/insights/help-search-gaps
What readers searched the help center for and couldn't find over the past 7, 30 or 90 days, a page at a time, the most searched first: the searches that found no article and that no article answers now, or those that found articles no reader opened, whose titles may miss what readers look for.
A token with help:read. How to send one
Request
curl "https://app.notert.io/api/v1/insights/help-search-gaps?kind=no_clicks" \
-H "Authorization: Bearer $NOTERT_API_TOKEN"Response 200
{
"gaps": [
{
"words": "export to csv",
"searches": 14
}
],
"counts": {
"noResults": 23,
"noClicks": 8
},
"nextCursor": "WzUwXQ"
}Query parameters
kindstringWhich searches: no_results (the default, found no article, and none answers them now) or no_clicks (found articles, but no reader opened one).
One ofno_resultsno_clicksDefault "no_results".
periodstringHow far back, today counted: 7d, 30d (the default) or 90d.
One of7d30d90dDefault "30d".
limitintegerHow many to answer on the page, up to 100. 50 by default.
1 to 100. Default 50.
cursorstringThe nextCursor of the page before, to read on, sent with the same other parameters.
At most 4096 characters.
Response 200
gapsobject[]The page's searches, the most searched first.
wordsstringWhat readers searched the help center for, in a customer's words.
searchesintegerHow many searched it in the period, once a reader a day.
countsobjectHow many searches each kind lists in the period.
noResultsintegerHow many searches found no article, and none answers now, at most 100.
noClicksintegerHow many searches found articles no reader opened, at most 100.
nextCursorstring or nullWhere the next page starts, to send as cursor. Null on the last page.
Errors
- 400
BAD_REQUESTInput validation failed. - 401
UNAUTHORIZEDSend a valid API token as a Bearer token. - 403
HOLDER_NOT_ALLOWEDThe teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings. - 403
INSUFFICIENT_SCOPEThis API token can't read the help center. Create one that may in the workspace's settings. - 403
NETWORK_NOT_ALLOWEDThis API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings. - 429
TOO_MANY_REQUESTSToo Many Requests. Its data holdsretryAfter.
A refusal names its code beside a message. Rate limits says when to try again.