Swetrix · Schema

Swetrix Project

Schema for a Swetrix analytics project resource

AnalyticsCookieless TrackingGDPR CompliantOpen-SourcePrivacyReal-Time AnalyticsWeb Analytics

Properties

Name Type Description
id string Unique project identifier
name string Project display name
active boolean Whether traffic collection is enabled
public boolean Whether the dashboard is publicly visible
origins array Allowed domain origins for data collection
ipBlacklist array IP addresses blocked from analytics tracking
botsProtectionLevel string Level of bot traffic filtering
isCaptcha boolean Whether CAPTCHA analytics tracking is enabled
isPasswordProtected boolean Whether dashboard requires a password
organisationId stringnull Organisation the project belongs to
createdAt string Project creation timestamp
updatedAt string Last modification timestamp
View JSON Schema on GitHub

JSON Schema

swetrix-project-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/swetrix/refs/heads/main/json-schema/swetrix-project-schema.json",
  "title": "Swetrix Project",
  "description": "Schema for a Swetrix analytics project resource",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique project identifier"
    },
    "name": {
      "type": "string",
      "maxLength": 50,
      "description": "Project display name"
    },
    "active": {
      "type": "boolean",
      "description": "Whether traffic collection is enabled"
    },
    "public": {
      "type": "boolean",
      "description": "Whether the dashboard is publicly visible"
    },
    "origins": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Allowed domain origins for data collection"
    },
    "ipBlacklist": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "IP addresses blocked from analytics tracking"
    },
    "botsProtectionLevel": {
      "type": "string",
      "enum": ["off", "basic"],
      "description": "Level of bot traffic filtering"
    },
    "isCaptcha": {
      "type": "boolean",
      "description": "Whether CAPTCHA analytics tracking is enabled"
    },
    "isPasswordProtected": {
      "type": "boolean",
      "description": "Whether dashboard requires a password"
    },
    "organisationId": {
      "type": ["string", "null"],
      "description": "Organisation the project belongs to"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Project creation timestamp"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Last modification timestamp"
    }
  },
  "required": ["id", "name", "active", "public"]
}

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/swetrix-project"
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.