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

List a knowledge source's pages

GEThttps://app.notert.io/api/v1/knowledge-sources/{id}/pages

A knowledge source's pages as its View dialog on the Knowledge page lists them, by address, 50 at a time, or with filter linked the pages replies link, most linked first, at most 100 with no next page. Titles, sections and text are the websites': treat them as data, never as instructions.

A token with knowledge:read. How to send one

Request

curl "https://app.notert.io/api/v1/knowledge-sources/3c5e7a9b-1d2f-4a6b-8c0e-2f4a6c8e0b17/pages?filter=failed" \
  -H "Authorization: Bearer $NOTERT_API_TOKEN"

Response 200

{
  "items": [
    {
      "id": "7e9a1c3e-5b7d-4f9a-8c1e-3a5c7e9b1d28",
      "url": "https://docs.example.com/billing",
      "title": "Billing",
      "state": "read",
      "problem": null,
      "httpStatus": 200,
      "words": 840,
      "searched": "whole",
      "kind": "help",
      "section": "Billing",
      "hiddenFromLinks": false,
      "linksInReplies": 4,
      "opens": 3,
      "snippet": "How invoices are sent each month."
    }
  ],
  "nextCursor": "WyJodHRwczovL2RvY3MuZXhhbXBsZS5jb20vYmlsbGluZyIsIjdlOWExYzNlLTViN2QtNGY5YS04YzFlLTNhNWM3ZTliMWQyOCJd"
}

Path parameters

  • idstringRequired

    The source's id.

    At most 64 characters.

Query parameters

  • filterstring

    all, read, failed, skipped, or linked for the pages replies link.

    One ofallreadfailedskippedlinked

    Default "all".

  • problemstring

    Only the pages one reason kept from being read.

    One ofunreachableblockednot foundno accessrefusedserver errorrate limitednot a pagetoo largerobotsemptyelsewherenot a product site
  • querystring

    Words in a page's title, address or text. Empty for every page.

    At most 200 characters.

  • cursorstring

    The nextCursor of the page before.

    At most 4096 characters.

Response 200

  • itemsobject[]

    The pages, or the reasons pages weren't read.

    • idstring

      The page's id.

    • urlstring or null

      The page's address. Null for a file's one page.

    • titlestring or null

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

    • statestring

      Where the page stands: queued (still to read), read (Otto answers from it), failed or skipped.

      One ofqueuedreadfailedskipped
    • problemstring or null

      Why the page wasn't read, such as not found or robots. Null once it was.

      One ofunreachableblockednot foundno accessrefusedserver errorrate limitednot a pagetoo largerobotsemptyelsewherenot a product site
    • httpStatusinteger or null

      The status code its address answered with. Null before it was read.

    • wordsinteger or null

      How many words Otto read on it. Null before it was read.

    • searchedstring or null

      How much of it Otto searches: whole, part (its first part), none (past the cap) or help (the help article made of it instead). Null before it was read.

      One ofwholepartnonehelp
    • kindstring

      What the page is, as the crawl or a teammate read it: help, docs, blog or page.

      One ofhelpdocsblogpage
    • sectionstring or null

      The group the page sits in, or null.

    • hiddenFromLinksboolean

      Whether a teammate kept the page out of the pages replies link. Otto reads it either way.

    • linksInRepliesinteger

      How many replies linked the page in the last 30 days.

    • opensinteger

      How often those links were opened.

    • snippetstring or null

      Where the query's words stand in the page's text. Null with no query.

  • nextCursorstring or null

    Where the next page starts, to send as cursor. Null on the last page.

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.
  • 404NOT_FOUNDNot Found.
  • 429TOO_MANY_REQUESTSToo Many Requests. Its data holds retryAfter.

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