{
  "openapi": "3.0.1",
  "info": {
    "title": "Delivered Message Bulk-Sender Requirement Conformance Report",
    "description": "Prove Gmail, Yahoo and Outlook bulk-sender conformance from a message they received. Give it raw .eml messages. It reads the receiver Authentication-Results, verifies each DKIM signature, checks SPF and DKIM alignment, the DMARC record, one-click unsubscr",
    "version": "0.1",
    "x-build-id": "o0OlzhgainBfhbull"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/kingii98~delivered-message-bulk-sender-requirement-conformance-report/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-kingii98-delivered-message-bulk-sender-requirement-conformance-report",
        "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/kingii98~delivered-message-bulk-sender-requirement-conformance-report/runs": {
      "post": {
        "operationId": "runs-sync-kingii98-delivered-message-bulk-sender-requirement-conformance-report",
        "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/kingii98~delivered-message-bulk-sender-requirement-conformance-report/run-sync": {
      "post": {
        "operationId": "run-sync-kingii98-delivered-message-bulk-sender-requirement-conformance-report",
        "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": [
          "messages"
        ],
        "properties": {
          "messages": {
            "title": "Delivered messages",
            "minItems": 1,
            "maxItems": 100,
            "type": "array",
            "description": "1 to 100 raw RFC 5322 messages that a mailbox provider received (a '.eml' file or the Gmail 'Show original' download). Each item is an object with exactly one source: 'url' (an HTTPS URL of the raw message), 'record_key' (a key-value store record, with an optional 'key_value_store' ID or name; without it the default store of the run is used) or 'eml_base64' (the raw message as base64 text). A plain string item is also accepted: an https:// URL, a record key, or base64 text. Optional fields: 'stream_label' (a name for the mail stream, for example 'weekly-digest'; the Actor compares each run with the last run for the same label) and 'message_class' ('bulk' or 'transactional', default 'bulk'; a transactional message does not fail the unsubscribe rules). Limit: 2 MB for each message. The default is one sample message with synthetic headers.",
            "default": [
              {
                "eml_base64": "RGVsaXZlcmVkLVRvOiBzZWVkLWluYm94QGV4YW1wbGUubmV0ClJlY2VpdmVkOiBieSAyMDAyOmEwNTo3MzAwOjFhMmI6YjA6MTJjOjNkNGU6NWY2MCB3aXRoIFNNVFAgaWQgc2FtcGxlMDE7CiAgICAgICAgVHVlLCAxNSBTZXAgMjAyNiAwMzowMDowMSAtMDcwMCAoUERUKQpBdXRoZW50aWNhdGlvbi1SZXN1bHRzOiBteC5nb29nbGUuY29tOwogICAgICAgZGtpbT1wYXNzIGhlYWRlci5pPUBleGFtcGxlLmNvbS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JzY3JpYmUtcG9zdDsKICAgICAgICBiaD1VMkZ0Y0d4bElHSnZaSGtnYUdGemFDQnZibXg1TENCdWIzUWdZU0J5WldGc0lHOXVaUT09OwogICAgICAgIGI9VTJGdGNHeGxJSE5wWjI1aGRIVnlaU0J2Ym14NUxDQjBhR1VnYTJWNUlHbHpJRzV2ZENCd2RXSnNhWE5vWldRPQpGcm9tOiBFeGFtcGxlIFdlZWtseSA8bmV3c0BleGFtcGxlLmNvbT4KVG86IHNlZWQtaW5ib3hAZXhhbXBsZS5uZXQKU3ViamVjdDogU2FtcGxlIG1lc3NhZ2Ugd2l0aCBzeW50aGV0aWMgcmVjZWl2ZXIgaGVhZGVycwpEYXRlOiBUdWUsIDE1IFNlcCAyMDI2IDEwOjAwOjAwICswMDAwCk1lc3NhZ2UtSUQ6IDxzYW1wbGUtMDAwMUBleGFtcGxlLmNvbT4KTGlzdC1VbnN1YnNjcmliZTogPG1haWx0bzp1bnN1YnNjcmliZUBleGFtcGxlLmNvbT4sIDxodHRwczovL2V4YW1wbGUuY29tL3Vuc3Vic2NyaWJlPgpMaXN0LVVuc3Vic2NyaWJlLVBvc3Q6IExpc3QtVW5zdWJzY3JpYmU9T25lLUNsaWNrCk1JTUUtVmVyc2lvbjogMS4wCkNvbnRlbnQtVHlwZTogdGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOAoKVGhpcyBzYW1wbGUgaGFzIHN5bnRoZXRpYyBoZWFkZXJzLiBUaGUgREtJTSBzaWduYXR1cmUgaXMgbm90IHJlYWwsIHNvIHRoZQppbmRlcGVuZGVudCB2ZXJpZmljYXRpb24gZ2l2ZXMgYW4gYWR2aXNvcnkgZmFpbHVyZS4K",
                "message_class": "bulk"
              }
            ]
          },
          "trusted_authserv_ids": {
            "title": "Trusted receiver authserv-ids",
            "maxItems": 20,
            "type": "array",
            "description": "The Authentication-Results authserv-id values that the Actor trusts. An entry also matches its subdomains, so 'yahoo.com' matches 'atlas-production.v2.mail.yahoo.com'. Only the topmost field from a trusted receiver counts. Outlook writes its field without an authserv-id; the Actor reads it as 'mx.microsoft.com' when the message has an X-MS-Exchange-* field. Default: mx.google.com, mx.microsoft.com, yahoo.com, aol.com.",
            "default": [
              "mx.google.com",
              "mx.microsoft.com",
              "yahoo.com",
              "aol.com"
            ],
            "items": {
              "type": "string"
            }
          },
          "alert_webhook_url": {
            "title": "Regression alert webhook URL",
            "pattern": "^https://",
            "type": "string",
            "description": "Optional. One HTTPS URL on port 443. When a stream label has a rule that passed in the last run and fails now, the Actor sends one JSON POST with all regressed streams of the run. Private and reserved hosts are refused and redirects are not followed."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}