Derive · Schema

Analytics

Artificial IntelligenceOpen SourceCollaborationPlatformCommunity

Properties

Name Type Description
total number Total recorded views across all versions (de-duped opens)
last24h number Views in the trailing 24 hours. A rolling window rather than a calendar day, so it carries no timezone assumption about the reader
unique number Distinct viewers; a signed-in person or anon cookie counts once
anonViewers number How many of the unique viewers are anonymous
reads number Unique viewers who stayed, not just fetched (link previews do not count)
perVersion array
daily array
recent array
View JSON Schema on GitHub

JSON Schema

derive-to-analytics-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/derive-to/json-schema/derive-to-analytics-schema.json",
  "title": "Analytics",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/derive-to-analytics-api-openapi.yml#/components/schemas/Analytics",
  "type": "object",
  "properties": {
    "total": {
      "type": "number",
      "description": "Total recorded views across all versions (de-duped opens)"
    },
    "last24h": {
      "type": "number",
      "description": "Views in the trailing 24 hours. A rolling window rather than a calendar day, so it carries no timezone assumption about the reader"
    },
    "unique": {
      "type": "number",
      "description": "Distinct viewers; a signed-in person or anon cookie counts once"
    },
    "anonViewers": {
      "type": "number",
      "description": "How many of the unique viewers are anonymous"
    },
    "reads": {
      "type": "number",
      "description": "Unique viewers who stayed, not just fetched (link previews do not count)"
    },
    "perVersion": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "version": {
            "type": "number"
          },
          "count": {
            "type": "number",
            "description": "Views recorded for that version"
          }
        },
        "required": [
          "version",
          "count"
        ]
      }
    },
    "daily": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "day": {
            "type": "string",
            "description": "Calendar day bucket (YYYY-MM-DD)"
          },
          "count": {
            "type": "number",
            "description": "Views recorded on that day"
          }
        },
        "required": [
          "day",
          "count"
        ]
      }
    },
    "recent": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "viewer": {
            "type": "string",
            "description": "Display name (resolved @handle for users), or the anon viewer id"
          },
          "kind": {
            "type": "string",
            "enum": [
              "user",
              "anon"
            ],
            "description": "Whether the viewer is a signed-in user or anonymous"
          },
          "at": {
            "type": "string",
            "description": "When they last viewed (ISO timestamp)"
          },
          "avatar": {
            "type": [
              "string",
              "null"
            ],
            "description": "The user's avatar URL, or null/absent for anonymous viewers"
          }
        },
        "required": [
          "viewer",
          "kind",
          "at"
        ]
      }
    }
  },
  "required": [
    "total",
    "last24h",
    "unique",
    "anonViewers",
    "reads",
    "perVersion",
    "daily",
    "recent"
  ]
}

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/derive-to-analytics"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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