- API reference
- Insights
Get Otto's activity
GEThttps://app.notert.io/api/v1/insights/otto
How much Otto, the workspace's AI assistant, has answered over the last 30 days: its replies against the plan's allowance and how many it may still write, how many conversations it replied in that have an outcome, Spam and those still open with it left out, and the share of them it resolved without the team, as Reports counts them.
A token with knowledge:read. How to send one
Request
curl https://app.notert.io/api/v1/insights/otto \
-H "Authorization: Bearer $NOTERT_API_TOKEN"Response 200
{
"replies": {
"used": 140,
"teammateAnswers": 12,
"allowance": 500,
"remaining": 360
},
"conversations": 96,
"resolvedAlonePercent": 64
}Response 200
repliesobjectOtto's replies over the last 30 days, against the plan's allowance.
usedintegerHow many replies Otto wrote in the last 30 days: to visitors, and its answers to teammates who tagged it.
teammateAnswersintegerHow many of those answered a teammate who tagged it.
allowanceintegerHow many the workspace's plan lets it write in 30 days.
remainingintegerHow many it may still write now. At none, it hands every question to the team.
conversationsintegerHow many conversations Otto replied in over the last 30 days that have an outcome: resolved, handed off or joined by a teammate. Spam is left out, and so is one still open with Otto.
resolvedAlonePercentintegerThe share of those Otto resolved without the team, no teammate replying and Otto never handing it off, as a whole percent. 0 with none.
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 what Otto knows or ask Otto. 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.