{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Submits messages for reclassification or to report missed detections.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/email-security_identifier","description":"Account identifier tag."}},"required":["account_id"],"additionalProperties":false},"body":{"oneOf":[{"properties":{"messages":{"type":"array","items":{"$ref":"#/definitions/email-security_ReclassificationSubmission"}},"type":{"type":"string","enum":["reclassification"]}},"required":["type","messages"],"type":"object"},{"properties":{"messages":{"type":"array","items":{"$ref":"#/definitions/email-security_MissedDetectionSubmission"}},"type":{"type":"string","enum":["missed_detection"]}},"required":["type","messages"],"type":"object"}]}},"required":["path","body"],"additionalProperties":false,"definitions":{"email-security_identifier":{"description":"Identifier.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"email-security_ReclassificationSubmission":{"type":"object","properties":{"alert_id":{"description":"Alert ID of the detection to reclassify.","type":"string"},"escalated_submission_id":{"description":"Submission ID of the original user submission, when reclassifying an escalated user report.","type":"string"},"expected_disposition":{"$ref":"#/definitions/email-security_SubmissionDisposition"}},"required":["alert_id","expected_disposition"]},"email-security_MissedDetectionSubmission":{"type":"object","properties":{"eml_content":{"description":"Base64 encoded content of the EML file.","type":"string"},"escalated_submission_id":{"description":"Submission ID of the original user submission, when escalating an escalated user report.","type":"string"},"expected_disposition":{"$ref":"#/definitions/email-security_SubmissionDisposition"},"message_id":{"description":"Message-ID header value of the reported message.","type":"string"},"postfix_id":{"$ref":"#/definitions/email-security_PostfixId"},"recipient_emails":{"description":"Recipient email addresses of the reported message.","type":"array","items":{"type":"string"},"minItems":1}},"required":["postfix_id","expected_disposition","message_id","recipient_emails"]},"email-security_SubmissionDisposition":{"description":"The disposition a message is submitted to have.","type":"string","enum":["MALICIOUS","SUSPICIOUS","SPOOF","SPAM","BULK","NONE"]},"email-security_PostfixId":{"description":"The identifier of the message.","type":"string","examples":["4Njp3P0STMz2c02Q"]}}},"name":"Create new submissions","id":"cloudflare.email_security_create_submissions","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":{"type":"reclassification","messages":[]}},"maxRequests":1,"summary":false}}