Change Otto's product description
PUThttps://app.notert.io/api/v1/otto/description
Replaces Otto's product description, as the Otto AI page's Save does, on the version read: one changed since, by a teammate or a read of the website, is EDITED_MEANWHILE. From then on it counts as your team's words, which no read of the website replaces unless someone asks for one. Needs knowledge:write and a role that may edit.
A token with knowledge:write. How to send one
Request
curl -X PUT https://app.notert.io/api/v1/otto/description \
-H "Authorization: Bearer $NOTERT_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"description": "Acme makes invoicing for plumbers and electricians.",
"version": 3
}'Response 200
{
"changed": true,
"version": 3
}Body
descriptionstringRequiredWhat 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.
At least 1 character. At most 2000 characters.
versionintegerRequiredThe version the description was read at.
Response 200
changedbooleanWhether its words changed; false for the same words again.
versionintegerCounts 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
FORBIDDENThe teammate who holds this API token's secret can't change Otto's knowledge. Only an owner or admin can. - 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 change what Otto reads or its description. 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. - 403
NO_SEATThis workspace's plan has no seat for you. - 403
WORKSPACE_SUSPENDEDThis workspace is suspended. - 409
CHANGED_MEANWHILESomething changed meanwhile. Try again. - 409
EDITED_MEANWHILEThe description changed since that version was read. Read it again and make the change on what it says now. - 429
TOO_MANY_REQUESTSToo Many Requests. Its data holdsretryAfter.
A refusal names its code beside a message. Rate limits says when to try again.