Outline · Schema

DocumentInsight

A rollup of activity counts for a document over a daily or weekly period.

Knowledge BaseWikiDocumentsCollaborationOpen-SourceTeam

Properties

Name Type Description
date string The UTC day the rollup represents. For weekly rollups this is the first day (Monday) of the week.
period string The length of time the rollup covers. Daily rollups are stored for recent activity, older rollups are aggregated into weekly buckets.
viewCount integer Total number of document views on this day.
viewerCount integer Number of unique viewers on this day.
commentCount integer Total comments made on this day.
reactionCount integer Total reactions added on this day.
revisionCount integer Number of document revisions on this day.
editorCount integer Number of unique editors on this day.
View JSON Schema on GitHub

JSON Schema

documentinsight.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "DocumentInsight",
  "type": "object",
  "description": "A rollup of activity counts for a document over a daily or weekly period.",
  "properties": {
    "date": {
      "type": "string",
      "format": "date",
      "description": "The UTC day the rollup represents. For weekly rollups this is the first day (Monday) of the week."
    },
    "period": {
      "type": "string",
      "description": "The length of time the rollup covers. Daily rollups are stored for recent activity, older rollups are aggregated into weekly buckets.",
      "enum": [
        "day",
        "week"
      ]
    },
    "viewCount": {
      "type": "integer",
      "description": "Total number of document views on this day."
    },
    "viewerCount": {
      "type": "integer",
      "description": "Number of unique viewers on this day."
    },
    "commentCount": {
      "type": "integer",
      "description": "Total comments made on this day."
    },
    "reactionCount": {
      "type": "integer",
      "description": "Total reactions added on this day."
    },
    "revisionCount": {
      "type": "integer",
      "description": "Number of document revisions on this day."
    },
    "editorCount": {
      "type": "integer",
      "description": "Number of unique editors on this day."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/documentinsight"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.