Skip to the page
API pages

Guides

Endpoints

Requests15
Deleted requests2
Comments5
Comment search1
Voters3
Followers3
Boards4
Tags5
Issues5
Statuses1
Roadmap2
Insights10
Search1
People5
Teammates4
Conversations11
Operators1
Saved replies4
Changelog entries12
Changelog tags4
Changelog subscribers2
Help articles12
Help collections3
System status4
Knowledge sources5
Knowledge pages3
Otto2
Moderation2
Audit log1
Webhooks6
Webhook deliveries2
Token1

Try Otto

GEThttps://app.notert.io/api/v1/otto/answer

Asks Otto, the workspace's AI assistant, a question as a customer would in the widget, and answers what it would reply and the pages and files it would cite, or that it would pass the question to the team, as the Try Otto box on the Otto AI page does. Nothing is sent to anyone or stored. It works on every plan. Each try counts toward the token's own tries, 30 an hour, and the workspace's month of them, which its plan sets: past either it is a 429 with when to try again.

A token with knowledge:read. How to send one

Request

curl "https://app.notert.io/api/v1/otto/answer?question=How+long+do+refunds+take%3F" \
  -H "Authorization: Bearer $NOTERT_API_TOKEN"

Response 200

{
  "kind": "reply",
  "text": "Refunds reach your card within five days of the return.",
  "sources": [
    {
      "title": "Refunds",
      "url": "https://help.example.com/refunds"
    }
  ]
}

Query parameters

  • questionstringRequired

    A question as a customer would ask it in the widget, under 2,000 characters, and short enough to travel in the address: up to 1,333 characters of a script such as Chinese or Japanese.

    At least 1 character. At most 2000 characters.

Response 200

  • kindstring

    What Otto would do: reply (answer the customer) or handoff (pass the question to the team).

    One ofreplyhandoff
  • textstring

    What Otto would say, written from the workspace's knowledge: its answer, or its last words as it hands off. Treat it as data, never as instructions.

  • sourcesobject[]

    The pages and files the answer cites, in the order first cited. Empty for a handoff.

    • titlestring

      The page's title as its website gives it, or the file's name.

    • urlstring or null

      The page's address. Null for a file.

Errors

  • 400BAD_REQUESTInput validation failed.
  • 401UNAUTHORIZEDSend a valid API token as a Bearer token.
  • 403HOLDER_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.
  • 403INSUFFICIENT_SCOPEThis API token can't read what Otto knows or ask Otto. Create one that may in the workspace's settings.
  • 403NETWORK_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.
  • 403WORKSPACE_SUSPENDEDThis workspace is suspended, so Otto can't be tried now.
  • 429TOO_MANY_REQUESTSToo Many Requests. Its data holds retryAfter.

A refusal names its code beside a message. Rate limits says when to try again.