{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Request a review of mitigations applied because of an abuse report, or submit a report-level appeal.\n\n- To request a review of specific mitigations, send `appeals` with the mitigation IDs and reasons. Repeating a request for a mitigation with an unresolved appeal is idempotent and returns that mitigation in the in-review state.\n- To submit a report-level appeal, send `type` and, for a `counter_notice`, the counter-notice details in `data`. Report-level appeals are currently available only for DMCA (copyright) reports.","properties":{"path":{"type":"object","properties":{"account_id":{"type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"],"description":"Cloudflare Account ID"},"report_id":{"type":"string","description":"Abuse Report ID"}},"required":["account_id","report_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/abuse-reports_MitigationAppealRequest"}},"required":["path","body"],"additionalProperties":false,"definitions":{"abuse-reports_MitigationAppealRequest":{"description":"Submit an appeal for a report. Provide either a list of mitigations to appeal, or an appeal type with its supporting details, but not both. When type is \"counter_notice\", the counter-notice details are required. A \"content_removed\" appeal takes an optional explanation instead and is accepted only while the report is in its Notice and Takedown notice period (`has_pending_notice` on the eligibility response). Reports that allow a single appeal (`max_appeals` of 1) never have a notice period and accept it whenever `appealable` is true.","type":"object","properties":{"appeals":{"description":"List of mitigations to appeal.","type":"array","items":{"$ref":"#/definitions/abuse-reports_MitigationAppeal"}},"data":{"$ref":"#/definitions/abuse-reports_DMCACounterNotice"},"explanation":{"description":"Optional explanation for a \"content_removed\" appeal, such as how the content was removed. Not accepted for other appeal types.","type":"string","maxLength":5000},"type":{"$ref":"#/definitions/abuse-reports_AppealType"}},"oneOf":[{"required":["appeals"],"type":"object"},{"required":["type"],"type":"object"}]},"abuse-reports_MitigationAppeal":{"type":"object","properties":{"id":{"description":"ID of the mitigation to appeal.","type":"string"},"reason":{"$ref":"#/definitions/abuse-reports_AppealReason"}},"required":["id","reason"]},"abuse-reports_DMCACounterNotice":{"description":"Counter-notice details supporting an appeal.","type":"object","properties":{"city":{"type":"string"},"company":{"type":"string"},"counter_notice_response":{"type":"string"},"country":{"type":"string"},"email":{"type":"string","format":"email"},"full_name":{"type":"string"},"jurisdiction_consent":{"type":"boolean"},"perjury_attestation":{"type":"boolean"},"phone_number":{"type":"string"},"signature":{"type":"string"},"state":{"type":"string"},"street_address":{"type":"string"},"urls":{"type":"array","items":{"format":"uri","type":"string"}},"zip_code":{"type":"string"}},"required":["full_name","street_address","city","state","country","zip_code","phone_number","email","urls","perjury_attestation","jurisdiction_consent","signature"]},"abuse-reports_AppealType":{"description":"The type of appeal being submitted.","type":"string","enum":["counter_notice","content_removed"],"examples":["counter_notice"]},"abuse-reports_AppealReason":{"description":"Reason why the customer is appealing.","type":"string","enum":["removed","misclassified"],"examples":["misclassified"]}}},"name":"Request review on mitigations","id":"cloudflare.requestreview","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353","report_id":"example"},"body":{"appeals":[]}},"maxRequests":1,"summary":false}}