Pirsch · Schema

EventRequest

Request body for sending a custom event to Pirsch

AnalyticsWeb AnalyticsPrivacyGDPRCookie-FreePage ViewsSessionsEventConversion GoalsFunnelsTraffic Sources

Properties

Name Type Description
url string Full URL of the page where the event occurred
ip string Visitor IP address
user_agent string Visitor User-Agent header value
event_name string Name of the custom event
event_duration number Duration of the event in seconds
event_meta object Custom event metadata as key-value pairs
non_interactive boolean Whether the event was triggered without user interaction
accept_language string
referrer string
title string
screen_width integer
screen_height integer
disable_bot_filter boolean
tags object
View JSON Schema on GitHub

JSON Schema

pirsch-event-request.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/pirsch/main/json-schema/pirsch-event-request.json",
  "title": "EventRequest",
  "description": "Request body for sending a custom event to Pirsch",
  "type": "object",
  "required": ["url", "ip", "user_agent", "event_name"],
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Full URL of the page where the event occurred"
    },
    "ip": {
      "type": "string",
      "description": "Visitor IP address"
    },
    "user_agent": {
      "type": "string",
      "description": "Visitor User-Agent header value"
    },
    "event_name": {
      "type": "string",
      "description": "Name of the custom event"
    },
    "event_duration": {
      "type": "number",
      "description": "Duration of the event in seconds"
    },
    "event_meta": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Custom event metadata as key-value pairs"
    },
    "non_interactive": {
      "type": "boolean",
      "description": "Whether the event was triggered without user interaction"
    },
    "accept_language": {
      "type": "string"
    },
    "referrer": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "screen_width": {
      "type": "integer"
    },
    "screen_height": {
      "type": "integer"
    },
    "disable_bot_filter": {
      "type": "boolean"
    },
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    }
  }
}

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/pirsch-event-request"
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 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. See our Privacy Policy and Terms.

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