Read Otto's product description
GEThttps://app.notert.io/api/v1/otto/description
Otto's product description as the Otto AI page shows it: its text, where it came from and its version.
A token with knowledge:read. How to send one
Request
curl https://app.notert.io/api/v1/otto/description \
-H "Authorization: Bearer $NOTERT_API_TOKEN"Response 200
{
"description": "Acme makes invoicing for plumbers.",
"state": "written",
"version": 3
}Response 200
descriptionstring or nullWhat Otto knows of the product before anything else it reads, which every answer it writes starts from. Null before one is written or read from the website.
statestring or nullWhere it came from: written by a teammate, generated from the website, reading the website now, or failed to read it. Null for none yet.
One ofreadinggeneratedwrittenfailedversionintegerCounts every change of the description, 0 before any; updateDescription takes back the one read.
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.