Skip to contentManaged Kafka is live: Apache Kafka on AWS for half the cost of MSK

Event types

ddl.seen

Sent when a MySQL pipeline reads a schema change statement from the binary log, with the statement and its parsed changes.

Artie sends one ddl.seen event for each data definition language (DDL) statement it parses a schema change from. severity is info and message is DDL seen. Only MySQL sources send this event. When Artie changes the destination table, it sends ddl.applied.

In properties, queries holds the statement and ddl_event holds one object for each parsed change. Every object has eventType, schema and table. schema is an empty string when the statement doesn’t qualify the table name.

eventTypeOther fields
createTablecolumns
copyTablecopyFromSchema, copyFromTableName
renameTablenewSchema, newTableName
dropTableNone
addColumnscolumns
dropColumnscolumns
modifyColumncolumns
renameColumncolumns
addPrimaryKeycolumns

Each entry in columns has name, dataType and primaryKey. previousName, defaultValue and position appear only when the statement sets them. This example shows properties for a statement that adds one column:

JSON
{
  "queries": ["ALTER TABLE orders ADD COLUMN delivery_status VARCHAR(20) DEFAULT 'pending'"],
  "ddl_event": [
    {
      "eventType": "addColumns",
      "schema": "",
      "table": "orders",
      "columns": [
        { "name": "delivery_status", "dataType": "VARCHAR(20)", "primaryKey": false, "defaultValue": "pending" }
      ]
    }
  ]
}

With the Event Payload format, Artie doesn’t redact queries or ddl_event, so literals in the statement, such as a DEFAULT value, reach your endpoint.

For the fields every event shares, retries and authentication, see Webhooks.

Payload

application/json

DDL seen

  • delivery_metadataobjectrequired
    Show child attributes
    • attemptintegerrequired

      1-based delivery attempt number for this event.

  • destinationstringrequired

    Destination connector type (e.g. bigquery).

  • environment_namestring

    Human-readable name of the environment. Omitted when the event has no environment.

  • environment_uuidstring<uuid> | null

    UUID of the environment the event belongs to. Omitted when the event has no environment.

  • eventstringrequired

    Event type identifier (e.g. replication.failed).

    Available options: ddl.seen

  • messagestringrequired

    Human-readable summary of the event.

  • pipelinesobject[]required
    Show child attributes
    • namestringrequired
    • uuidstring<uuid>required
  • propertiesobjectrequired

    Event-specific fields included in the properties object of a webhook delivery. The set of keys depends on the event type. Every field is optional; omitted keys should be treated as absent. Artie may add new fields at any time—clients must tolerate unknown keys and should not assume a fixed schema beyond this contract.

    Show child attributes
    • ddl_eventobject[]

      Parsed DDL event details from the source.

    • queriesstring[]

      SQL statements observed in the DDL event.

  • severitystringrequired

    Severity of the event.

    Available options: info, warning, error

  • sourcestringrequired

    Source connector type (e.g. postgresql).

  • source_reader_uuidstring<uuid>required
  • timestampstring<date-time>required

    Time the event occurred (RFC 3339).

Example payload
{
  "delivery_metadata": {
    "attempt": 1
  },
  "destination": "snowflake",
  "environment_name": "Production",
  "environment_uuid": "33333333-3333-3333-3333-333333333333",
  "event": "ddl.seen",
  "message": "DDL seen",
  "pipelines": [
    {
      "name": "Production Postgres → Snowflake",
      "uuid": "22222222-2222-2222-2222-222222222222"
    }
  ],
  "properties": {
    "ddl_event": [
      {
        "column": "promo_code",
        "operation": "add_column",
        "type": "VARCHAR(32)"
      }
    ],
    "queries": [
      "ALTER TABLE orders ADD COLUMN promo_code VARCHAR(32)"
    ]
  },
  "severity": "info",
  "source": "postgresql",
  "source_reader_uuid": "11111111-1111-1111-1111-111111111111",
  "timestamp": "2026-06-20T12:00:00Z"
}

Was this page helpful?