Ignore a dataLayer element journey-wide
ignore_datalayer_elementIgnore a dataLayer element journey-wide (permission: edit)
Suppress an element (by elementKey + diffType) across every step of the journey. The diff engine filters covered elements out before inserting, so future scans stop reporting them. Ignoring the same element again updates its decision. Answers 201 with the Decision (remove it with DELETE …/ignores/{decisionId}). idempotencyKey (sent as the Idempotency-Key header): retrying the same call with the same value replays the original answer; the same value with different arguments is 422 idempotency_conflict, and 409 idempotent_in_progress means wait error.meta.retryAfter seconds and retry.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"elementKey": "<elementKey>",
"diffType": "<diffType>"
},
"name": "ignore_datalayer_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Journey id: from GET /journeys or the POST /journeys answer. | |
| diffType | Yes | The diff's diffType; only these types can be ignored: missing_event, extra_event, missing_param, extra_param, param_type_changed, event_drifted, consent_value_changed. | |
| elementKey | Yes | The element to ignore on every step: a diff's elementKey, from GET /scans/{id}?include=diffs. | |
| idempotencyKey | No | Optional Idempotency-Key: reuse the same value when retrying this exact call so it is applied once. |