groundmail-dev · Schema

TriggerEventResponse

EmailTransactionalSMTPDevelopers

Properties

Name Type Description
event object
matched_automations integer
resumed_runs integer
cancelled_runs integer Active runs cancelled because this event matched `trigger.cancel_on_events`
skipped_enrollments integer Automations whose trigger matched but did not start a run, because of `trigger.once_per_contact` or `trigger.cooldown_days`
enrollment_skips array Present when `skipped_enrollments` is above zero. One entry per automation that declined to enrol this recipient again.
View JSON Schema on GitHub

JSON Schema

groundmail-dev-trigger-event-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/groundmail-dev/json-schema/groundmail-dev-trigger-event-response-schema.json",
  "title": "TriggerEventResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/groundmail-dev-events-api-openapi.yml#/components/schemas/TriggerEventResponse",
  "type": "object",
  "required": [
    "event",
    "matched_automations",
    "resumed_runs",
    "cancelled_runs"
  ],
  "properties": {
    "event": {
      "$ref": "#/$defs/EventRecord"
    },
    "matched_automations": {
      "type": "integer"
    },
    "resumed_runs": {
      "type": "integer"
    },
    "cancelled_runs": {
      "type": "integer",
      "description": "Active runs cancelled because this event matched `trigger.cancel_on_events`"
    },
    "skipped_enrollments": {
      "type": "integer",
      "description": "Automations whose trigger matched but did not start a run, because of `trigger.once_per_contact` or `trigger.cooldown_days`"
    },
    "enrollment_skips": {
      "type": "array",
      "description": "Present when `skipped_enrollments` is above zero. One entry per automation that declined to enrol this recipient again.",
      "items": {
        "type": "object",
        "required": [
          "automation_id",
          "reason",
          "prior_run_id",
          "prior_run_at"
        ],
        "properties": {
          "automation_id": {
            "type": "string"
          },
          "reason": {
            "type": "string",
            "enum": [
              "once_per_contact",
              "cooldown"
            ]
          },
          "prior_run_id": {
            "type": "string"
          },
          "prior_run_at": {
            "type": "string",
            "format": "date-time"
          }
        }
      }
    }
  },
  "$defs": {
    "EventRecord": {
      "type": "object",
      "required": [
        "id",
        "name",
        "user_id",
        "email",
        "data",
        "source",
        "created_at"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "user_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "email": {
          "type": [
            "string",
            "null"
          ],
          "format": "email"
        },
        "data": {
          "type": "object",
          "additionalProperties": true
        },
        "source": {
          "type": "string",
          "enum": [
            "api",
            "dashboard"
          ]
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}

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/groundmail-dev-trigger-event-response"
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. See our Privacy Policy and Terms.

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