{
  "openapi": "3.0.1",
  "info": {
    "title": "Suppression List Import Conflict Report",
    "description": "Compare audience-import keys with supplied global and audience suppression records. Trace supplied blocks, duplicate identities and no-match scope coverage. Mapped CSV or JSON; downloadable evidence reports; no live import or consent inference.",
    "version": "0.1",
    "x-build-id": "USkkm7Q7NrdQYFb4M"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/h_murdock~suppression-import-conflicts/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-h_murdock-suppression-import-conflicts",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/h_murdock~suppression-import-conflicts/runs": {
      "post": {
        "operationId": "runs-sync-h_murdock-suppression-import-conflicts",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/h_murdock~suppression-import-conflicts/run-sync": {
      "post": {
        "operationId": "run-sync-h_murdock-suppression-import-conflicts",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "snapshotId",
          "matchingPolicy",
          "noMatchPolicy"
        ],
        "properties": {
          "snapshotId": {
            "title": "Snapshot identifier",
            "type": "string",
            "description": "Caller-defined snapshot identifier. Prefer opaque strings; keys preserve leading zeros and exact case."
          },
          "matchingPolicy": {
            "title": "Matching policy",
            "enum": [
              "exact-keys"
            ],
            "type": "string",
            "description": "Explicit exact literal contactKey and audienceId comparisons; no normalization, inferred email aliases or case folding."
          },
          "noMatchPolicy": {
            "title": "No-match interpretation",
            "enum": [
              "evidence-only"
            ],
            "type": "string",
            "description": "No supplied match is only absence in supplied evidence; never consent, sendable, eligible, lawful or verified permission. Missing/partial scope coverage remains unknown."
          },
          "candidates": {
            "title": "candidates",
            "minItems": 0,
            "type": "array",
            "description": "Records: rowId, contactKey, audienceId, all literal nonempty strings. Duplicate row IDs and duplicate contact/audience identities are preserved and reported. Use already pseudonymized consistent keys. Supply this array, including [] when empty, OR CSV. Combined maximum 5,000 rows and 4 MB input JSON; at most 20,000 candidate/suppression links."
          },
          "candidatesCsv": {
            "title": "candidates CSV",
            "type": "string",
            "description": "Alternative to candidates: remove the array when providing nonempty CSV. Exact canonical headers unless mapped. UTF-8 BOM and quoted/multiline fields accepted; irregular rows, duplicate/empty/unmapped headers rejected. Header-only CSV represents an empty table."
          },
          "candidatesColumns": {
            "title": "candidates column mapping",
            "type": "object",
            "description": "Optional mapping of every canonical field (rowId, contactKey, audienceId) to a distinct header. Canonical mapping may remain with arrays; a custom mapping requires CSV."
          },
          "suppressions": {
            "title": "suppressions",
            "minItems": 0,
            "type": "array",
            "description": "Records: recordId, contactKey, scope (global or audience), audienceId, reason, source. Global requires audienceId:\"\"; audience requires an exact nonempty audienceId. All supplied valid matches remain blocking. Duplicate/conflicting evidence is retained. Supply this array, including [] when empty, OR CSV. Combined maximum 5,000 rows and 4 MB input JSON; at most 20,000 candidate/suppression links."
          },
          "suppressionsCsv": {
            "title": "suppressions CSV",
            "type": "string",
            "description": "Alternative to suppressions: remove the array when providing nonempty CSV. Exact canonical headers unless mapped. UTF-8 BOM and quoted/multiline fields accepted; irregular rows, duplicate/empty/unmapped headers rejected. Header-only CSV represents an empty table."
          },
          "suppressionsColumns": {
            "title": "suppressions column mapping",
            "type": "object",
            "description": "Optional mapping of every canonical field (recordId, contactKey, scope, audienceId, reason, source) to a distinct header. Canonical mapping may remain with arrays; a custom mapping requires CSV."
          },
          "coverage": {
            "title": "coverage",
            "minItems": 0,
            "type": "array",
            "description": "Records: coverageId, scope (global or audience), audienceId, status (complete, partial, unknown), source. Global requires audienceId:\"\"; audience requires exact nonempty audienceId. Declare global and each relevant audience separately. [] is accepted and means coverage unknown. Repeated declarations for a scope remain unknown. Supply this array, including [] when empty, OR CSV. Combined maximum 5,000 rows and 4 MB input JSON; at most 20,000 candidate/suppression links."
          },
          "coverageCsv": {
            "title": "coverage CSV",
            "type": "string",
            "description": "Alternative to coverage: remove the array when providing nonempty CSV. Exact canonical headers unless mapped. UTF-8 BOM and quoted/multiline fields accepted; irregular rows, duplicate/empty/unmapped headers rejected. Header-only CSV represents an empty table."
          },
          "coverageColumns": {
            "title": "coverage column mapping",
            "type": "object",
            "description": "Optional mapping of every canonical field (coverageId, scope, audienceId, status, source) to a distinct header. Canonical mapping may remain with arrays; a custom mapping requires CSV."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}