Ingest a lineage batch

POST up to 1,000 OpenLineage events in one bounded delivery.

POST /api/v1/lineage/batch

The query parameters and authorization match the single-event route. The body can be a JSON array or an object with an events array.

LimitValue
Request size8 MiB
Logical events1 to 1,000
Idempotency-Key length1 to 600 characters
curl --request POST \
  --url "https://api.embrasure.ai/api/v1/lineage/batch?workspace_id=workspace-1&connector_id=connector-1" \
  --header "Authorization: Bearer $EMBRASURE_API_TOKEN" \
  --header "Content-Type: application/json" \
  --header "Idempotency-Key: airflow-batch-842" \
  --data-binary @openlineage-events.json
{
  "delivery_id": "f68b6d87-7ad0-47ea-bc6a-af249f35ef1b",
  "state": "accepted",
  "duplicate": false,
  "item_count": 42,
  "invalid_item_count": 0
}

Non-object children can be quarantined and reflected in invalid_item_count. An empty array is invalid. See ingest lineage.