Compliance

Get compliance report for an article

Retrieve a compliance check report with all issues and recommendations. By default returns the latest check, but can return a specific check by providing check_id in filters.

get/compliance/report/{article_id}

Request

  • Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.presscart.com/compliance/report/{article_id}
  • Auth: HTTP bearer

Path parameters

article_idstring uuid required
Example:1fa9b5a0-6e93-45ff-8ad2-432419077387

Query parameters

check_idstring uuid

Response

Compliance report retrieved successfully

Example response

{
  "check": {
    "status": "pending",
    "compliance_score": 85,
    "ai_detection_percentage": "15.50",
    "total_issues_count": 5,
    "critical_issues_count": 1,
    "warning_issues_count": 2,
    "check_type": "manual",
    "metadata": {
      "provider": "copyleaks",
      "processing_time": 1500
    },
    "issues": [
      {
        "issue_type": "unverified_claim",
        "severity": "critical",
        "title": "Unverified statistical claim",
        "description": "The article contains a statistical claim without supporting evidence or citation",
        "location": "Paragraph 3, Line 45",
        "suggestion": "Add a citation or source to support this claim",
        "original_text": "increases productivity by 300%",
        "line_number": 45,
        "char_position": 234,
        "metadata": {
          "confidence": 0.95,
          "rule": "claim-verification"
        }
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.