Mark a question Otto couldn't answer handled
PUThttps://app.notert.io/api/v1/otto/gaps/{id}/handled
Marks one of the questions gaps lists handled, as the Knowledge page's Mark as handled does, once the page or article that answers it is written, so it leaves the list. Nothing a customer sees changes, and one marked already answers as it stands. 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/gaps/string/handled \
-H "Authorization: Bearer $NOTERT_API_TOKEN"Response 200
{
"id": "4b8e2d1f-6a3c-4e5b-9d7f-1c3e5a7b9d2f",
"handled": true
}Path parameters
idstringRequiredThe question's id from gaps.
At most 64 characters.
Response 200
idstringThe question's id, which markGapHandled takes.
handledbooleanWhether it stands handled now, true for one marked before too; false for one gone or no question gaps lists.
Errors
- 400
BAD_REQUESTInput validation failed. - 401
UNAUTHORIZEDSend a valid API token or OAuth access token as a Bearer token. - 403
CONNECTION_NOT_ALLOWEDThe person who connected this app can't use it in the workspace now. - 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. - 429
TOO_MANY_REQUESTSToo Many Requests. Its data holdsretryAfter.
A refusal names its code beside a message. Rate limits says when to try again.