Tuti APIProject

Get reports

How the docs, their AI and the inbox did over a range of days: by day (UTC), in total, and over as many days just before. Failed searches and conversations list 50, comments and questions 20. Where plans are sold, needs a plan with Reporting, for ranges as long as that plan allows (402 otherwise).

GET/reports

Authorization Bearer token

Query parameters

  • rangestring

    Which days, in whole UTC days up to today: the past 30 days by default (or the longest the plan has, where that's locked)

    One of"today""yesterday""month""last-month""7d""14d""30d""quarter""year"

Responses

  • 200How the range went

    application/json · object

    How the range went

    • docsobjectrequired

      The docs: views, searches and those that found nothing, readers' answers to “Was this helpful?”, and each article's numbers

      Show 10 properties
      • sincestringrequired

        The range's first day, 00:00 UTC (ISO 8601)

      • untilstringrequired

        The day after its last, 00:00 UTC (ISO 8601)

      • daysarray of stringrequired

        Each day of the range (UTC), YYYY-MM-DD: the daily counts' days, in order

      • dailyobjectrequired

        Each count by day, one value for each of days

        Show 5 properties
        • viewsarray of integerrequired

          Article views

        • searchesarray of integerrequired

          Searches

        • failedarray of integerrequired

          Searches that found nothing

        • helpfularray of integerrequired

          Readers' answers “Yes” to “Was this helpful?”

        • notHelpfularray of integerrequired

          Readers' answers “No”

      • totalsobjectrequired

        The range's totals

        Show 7 properties
        • viewsnumberrequired

          Article views

        • searchesnumberrequired

          Searches

        • failedSearchesnumberrequired

          Searches that found nothing

        • failedTopicsnumberrequired

          The different words of searches that found nothing, without those dismissed with none since: topics to write about

        • helpfulnumberrequired

          Readers' answers “Yes” to “Was this helpful?”

        • notHelpfulnumberrequired

          Readers' answers “No”

        • publishedArticlesnumberrequired

          Articles published now

      • beforeobjectrequired

        The same totals over as many days just before the range, to compare with. While today is under way, the last of them counts only as much of it as today has had, so these are possibly fractions

        Show 5 properties
        • viewsnumberrequired

          Article views

        • searchesnumber · nullablerequired

          Searches; null where theirs were deleted for some of those days

        • failedSearchesnumber · nullablerequired

          Searches that found nothing; null where some of those days' were deleted

        • helpfulnumberrequired

          Answers “Yes”

        • notHelpfulnumberrequired

          Answers “No”

      • searchesSincestring · nullablerequired

        The first day searches are counted on, YYYY-MM-DD, when the range starts before it (older ones were deleted); null otherwise

      • articlesarray of objectrequired

        Each article's numbers: published ones, and unpublished ones read or answered in the range; most viewed first

        Show 7 properties
        • slugstringrequired

          The article's slug

        • titlestringrequired

          Its title

        • collectionstring · nullablerequired

          Its collection's name, or null

        • publishedbooleanrequired

          Whether it's published

        • viewsnumberrequired

          Its views in the range

        • helpfulnumberrequired

          Answers “Yes” on it in the range

        • notHelpfulnumberrequired

          Answers “No” on it in the range

      • commentsarray of objectrequired

        The latest 20 comments from readers who answered “No”, newest first

        Show 3 properties
        • articleobjectrequired

          The article it's on

          Show 2 properties
          • slugstringrequired

            The article's slug

          • titlestringrequired

            Its title

        • commentstringrequired

          What the reader wrote

        • atstringrequired

          When (ISO 8601)

      • failedSearchesarray of objectrequired

        The 50 searches that found nothing most often, those since any dismissal first

        Show 4 properties
        • querystringrequired

          What was searched (their words are the only ones kept)

        • countnumberrequired

          How many times

        • beforenumberrequired

          How many came before it was dismissed (docs.dismissGap)

        • dismissedbooleanrequired

          Dismissed, with none since

    • aiobjectrequired

      The AI that answers from the docs: its conversations, answered or passed to the team, thumbs up and down, the latest ones, and the questions it couldn't answer

      Show 10 properties
      • sincestringrequired

        The range's first day, 00:00 UTC (ISO 8601)

      • untilstringrequired

        The day after its last, 00:00 UTC (ISO 8601)

      • daysarray of stringrequired

        Each day of the range (UTC), YYYY-MM-DD: the daily counts' days, in order

      • dailyobjectrequired

        Each count by day (a conversation counts on the day it began), one value for each of days

        Show 6 properties
        • handledarray of integerrequired

          Conversations the AI handled alone

        • escalatedarray of integerrequired

          Conversations passed to the team (“Ask a person”)

        • answeredarray of integerrequired

          Conversations where every question got an answer from the docs

        • helpfularray of integerrequired

          Conversations with a thumbs up

        • notHelpfularray of integerrequired

          Conversations with a thumbs down

        • ratedarray of integerrequired

          Conversations with a thumbs up or down (one with both, once)

      • totalsobjectrequired

        The range's totals

        Show 6 properties
        • conversationsnumberrequired

          Conversations with the AI

        • escalatednumberrequired

          Passed to the team (“Ask a person”)

        • answerednumberrequired

          Where every question got an answer from the docs

        • helpfulnumberrequired

          With a thumbs up

        • notHelpfulnumberrequired

          With a thumbs down

        • ratednumberrequired

          With a thumbs up or down (one with both, once)

      • beforeobject · nullablerequired

        The same totals over as many days just before the range, to compare with. While today is under way, the last of them counts only as much of it as today has had, so these are possibly fractions. Null where some of their questions were deleted, as Past year's are on servers with plans

        Show 6 properties
        • conversationsnumberrequired

          Conversations with the AI

        • escalatednumberrequired

          Passed to the team

        • answerednumberrequired

          Answered from the docs

        • helpfulnumberrequired

          With a thumbs up

        • notHelpfulnumberrequired

          With a thumbs down

        • ratednumberrequired

          With a thumbs up or down

      • pastHistorynumberrequired

        Conversations the plan's history leaves out of the list (counted above all the same)

      • listednumberrequired

        How many conversations there are to list

      • conversationsarray of objectrequired

        The latest 50 conversations, newest first

        Show 9 properties
        • idstringrequired

          The conversation's id: its first question's

        • lastAtstringrequired

          When its last question was asked (ISO 8601)

        • sourcestringrequired

          Where it was asked: the portal, the widget or the API (docs.ask)

          One of"portal""widget""api"

        • askerstring · nullablerequired

          Who asked, when a signed-in reader; null for an anonymous reader or an API key

        • escalatedbooleanrequired

          Whether it was passed to the team

        • answerednumberrequired

          Its questions answered from the docs

        • helpfulnumberrequired

          Its thumbs up

        • notHelpfulnumberrequired

          Its thumbs down

        • turnsarray of objectrequired

          Its questions, in order: the first and its follow-ups

          Show 6 properties
          • questionstringrequired

            The question

          • answerstring · nullablerequired

            The AI's answer, or null without one

          • statusstringrequired

            answered (from the docs), no_answer (the docs couldn't answer it) or failed

            One of"answered""no_answer""failed"

          • helpfulboolean · nullablerequired

            The asker's thumbs up (true) or down (false), or null

          • escalatedbooleanrequired

            Whether this question was passed to the team

          • conversationinteger · nullablerequired

            The Inbox conversation it started (its number), when passed to the team

      • gapsarray of objectrequired

        The 20 questions it couldn't answer, or whose answer got a thumbs down, asked most first (without those dismissed)

        Show 9 properties
        • questionstringrequired

          The latest asking of the question

        • noAnswernumberrequired

          How many times the AI couldn't answer it

        • notHelpfulnumberrequired

          How many of its answers got a thumbs down

        • escalatednumberrequired

          How many were passed to the team

        • lastAskedstringrequired

          When it was last asked (ISO 8601)

        • answerstring · nullablerequired

          The latest answer that got a thumbs down, or null

        • causestring · nullablerequired

          Why the latest “I don't know” happened (unknown: asked before causes were kept), or null with only thumbs down

          One of"no_relevant_section""no_valid_citation""source_unpublished""off_limits""unknown"

        • followsstring · nullablerequired

          The question it followed up on, or null

        • articleobject · nullablerequired

          The first article the latest unhelpful answer cited (the one to improve), or null

          Show 2 properties
          • slugstringrequired

            The article's slug

          • titlestringrequired

            Its title

    • inboxobjectrequired

      The inbox: new conversations by where they began, the median time to the team's first reply, open now, and replies per teammate

      Show 8 properties
      • sincestringrequired

        The range's first day, 00:00 UTC (ISO 8601)

      • untilstringrequired

        The day after its last, 00:00 UTC (ISO 8601)

      • daysarray of stringrequired

        Each day of the range (UTC), YYYY-MM-DD: the daily counts' days, in order

      • dailyobjectrequired

        Each count by day, one value for each of days

        Show 2 properties
        • createdarray of integerrequired

          New conversations

        • fromAiarray of integerrequired

          New conversations started by “Ask a person” after an AI answer

      • totalsobjectrequired

        The range's totals

        Show 5 properties
        • conversationsnumberrequired

          New conversations

        • fromAinumberrequired

          Started by “Ask a person” after an AI answer

        • repliednumberrequired

          Of those, how many the team replied to

        • medianFirstReplynumber · nullablerequired

          The median time to the team's first reply, in seconds, of those replied to; null with none

        • openNownumberrequired

          Conversations open now, whatever the range

      • beforeobject · nullablerequired

        The same totals over as many days just before the range, to compare with. While today is under way, the last of them counts only as much of it as today has had, so these are possibly fractions. Null where some were deleted

        Show 3 properties
        • conversationsnumberrequired

          New conversations

        • fromAinumberrequired

          Started by “Ask a person”

        • medianFirstReplynumber · nullablerequired

          The median time to the first reply, in seconds; null with none

      • originsobjectrequired

        New conversations by where they began

        Show 4 properties
        • widgetnumberrequired

          From the widget

        • emailnumberrequired

          By email

        • escalationnumberrequired

          From “Ask a person”

        • apinumberrequired

          From the API

      • teammatesarray of objectrequired

        Replies per teammate, most first

        Show 4 properties
        • idstring · nullablerequired

          The teammate's id; null for one who left

        • namestring · nullablerequired

          Their name

        • repliesnumberrequired

          Their replies

        • conversationsnumberrequired

          Conversations they replied in

  • 400The request isn't valid: a field is missing, has the wrong type or is out of range, or the body isn't a JSON object. The message names the field.

    application/json · Error

    • errorobjectrequired
      Show 2 properties
      • codestringrequired

        What went wrong, for code to check: stays the same

      • messagestringrequired

        What went wrong, for a person: may change

  • 401No API key was sent, or it isn't valid: it was revoked, or whoever created it left the team.

    application/json · Error

    • errorobjectrequired
      Show 2 properties
      • codestringrequired

        What went wrong, for code to check: stays the same

      • messagestringrequired

        What went wrong, for a person: may change

  • 402The project's plan doesn't include this or is at its limit, it's out of AI credits, or a payment didn't go through. The message says what's needed.

    application/json · Error

    • errorobjectrequired
      Show 2 properties
      • codestringrequired

        What went wrong, for code to check: stays the same

      • messagestringrequired

        What went wrong, for a person: may change

  • 429Too many requests: past 600 a minute per key, try again after the seconds in the Retry-After header. Some operations have limits of their own (their description gives them), whose 429 has no Retry-After.

    application/json · Error

    • errorobjectrequired
      Show 2 properties
      • codestringrequired

        What went wrong, for code to check: stays the same

      • messagestringrequired

        What went wrong, for a person: may change

  • 500Something went wrong on Tuti's side. Try again in a moment.

    application/json · Error

    • errorobjectrequired
      Show 2 properties
      • codestringrequired

        What went wrong, for code to check: stays the same

      • messagestringrequired

        What went wrong, for a person: may change

curl 'https://tuti.so/api/v1/reports' \
  --header 'Authorization: Bearer YOUR_API_KEY'
const response = await fetch("https://tuti.so/api/v1/reports", {
  method: "GET",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY"
  },
});
const text = await response.text();
import requests

response = requests.get(
    "https://tuti.so/api/v1/reports",
    headers={
        "Authorization": "Bearer YOUR_API_KEY"
    },
)
print(response.text)
{
  "docs": {
    "since": "2026-10-21T00:00:00.000Z",
    "until": "2026-11-20T00:00:00.000Z",
    "days": [
      "2026-11-18",
      "2026-11-19"
    ],
    "daily": {
      "views": [
        120,
        123
      ],
      "searches": [
        40,
        43
      ],
      "failed": [
        3,
        6
      ],
      "helpful": [
        6,
        9
      ],
      "notHelpful": [
        1,
        4
      ]
    },
    "totals": {
      "views": 3600,
      "searches": 1200,
      "failedSearches": 90,
      "failedTopics": 12,
      "helpful": 180,
      "notHelpful": 25,
      "publishedArticles": 42
    },
    "before": {
      "views": 3100.5,
      "searches": 1100,
      "failedSearches": 95,
      "helpful": 160,
      "notHelpful": 30
    },
    "searchesSince": null,
    "articles": [
      {
        "slug": "invite-your-team",
        "title": "Invite your team",
        "collection": "Getting started",
        "published": true,
        "views": 420,
        "helpful": 18,
        "notHelpful": 2
      }
    ],
    "comments": [
      {
        "article": {
          "slug": "invite-your-team",
          "title": "Invite your team"
        },
        "comment": "It doesn't say how to remove someone",
        "at": "2026-11-18T14:02:00.000Z"
      }
    ],
    "failedSearches": [
      {
        "query": "export to csv",
        "count": 14,
        "before": 0,
        "dismissed": false
      }
    ]
  },
  "ai": {
    "since": "2026-10-21T00:00:00.000Z",
    "until": "2026-11-20T00:00:00.000Z",
    "days": [
      "2026-11-18",
      "2026-11-19"
    ],
    "daily": {
      "handled": [
        30,
        33
      ],
      "escalated": [
        2,
        5
      ],
      "answered": [
        26,
        29
      ],
      "helpful": [
        5,
        8
      ],
      "notHelpful": [
        1,
        4
      ],
      "rated": [
        6,
        9
      ]
    },
    "totals": {
      "conversations": 960,
      "escalated": 60,
      "answered": 820,
      "helpful": 150,
      "notHelpful": 30,
      "rated": 175
    },
    "before": {
      "conversations": 900.5,
      "escalated": 55,
      "answered": 760,
      "helpful": 140,
      "notHelpful": 35,
      "rated": 170
    },
    "pastHistory": 0,
    "listed": 960,
    "conversations": [
      {
        "id": "cm3question0001",
        "lastAt": "2026-11-19T08:41:00.000Z",
        "source": "widget",
        "asker": "Riley Reader",
        "escalated": false,
        "answered": 2,
        "helpful": 1,
        "notHelpful": 0,
        "turns": [
          {
            "question": "How do I invite my team?",
            "answer": "Open Settings → Team and choose Invite.",
            "status": "answered",
            "helpful": true,
            "escalated": false,
            "conversation": null
          }
        ]
      }
    ],
    "gaps": [
      {
        "question": "Can I export to CSV?",
        "noAnswer": 4,
        "notHelpful": 1,
        "escalated": 2,
        "lastAsked": "2026-11-19T08:41:00.000Z",
        "answer": null,
        "cause": "no_relevant_section",
        "follows": null,
        "article": null
      }
    ]
  },
  "inbox": {
    "since": "2026-10-21T00:00:00.000Z",
    "until": "2026-11-20T00:00:00.000Z",
    "days": [
      "2026-11-18",
      "2026-11-19"
    ],
    "daily": {
      "created": [
        8,
        11
      ],
      "fromAi": [
        1,
        4
      ]
    },
    "totals": {
      "conversations": 240,
      "fromAi": 60,
      "replied": 230,
      "medianFirstReply": 2700,
      "openNow": 7
    },
    "before": {
      "conversations": 210.5,
      "fromAi": 52,
      "medianFirstReply": 3100
    },
    "origins": {
      "widget": 150,
      "email": 20,
      "escalation": 60,
      "api": 10
    },
    "teammates": [
      {
        "id": "cm3user0001",
        "name": "Olive Owner",
        "replies": 140,
        "conversations": 95
      }
    ]
  }
}
{
  "error": {
    "code": "invalid_input",
    "message": "title: Title is too short"
  }
}
{
  "error": {
    "code": "unauthorized",
    "message": "This API key isn't valid or was revoked"
  }
}
{
  "error": {
    "code": "plan_required",
    "message": "A custom domain needs the Pro plan. See Settings → Billing."
  }
}
{
  "error": {
    "code": "rate_limited",
    "message": "Up to 600 requests a minute per key"
  }
}
{
  "error": {
    "code": "internal_error",
    "message": "Something went wrong"
  }
}