---
title: "Get compliance check history for an article"
method: GET
path: "/compliance/history/{article_id}"
tags: ["Compliance"]
---

# Get compliance check history for an article

`GET /compliance/history/{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/history/{article_id}`
- Auth: HTTP bearer

Retrieve the history of all compliance checks performed on an article

## Path parameters

- `article_id` string, uuid, required

## Query parameters

- `limit` number, nullable
- `page` number, nullable
- `order_by` 'asc' | 'desc'
- `sort_by` string
- `include_archived` 'true' | 'false'
- `skip_pagination` 'true' | 'false'
- `filters` object
  - `article_id` string, uuid
  - `initiated_by_id` string, uuid
  - `status` 'pending' | 'in_progress' | 'completed' | 'failed'
  - `check_type` string
  - `completed_after` union
    - string, nullable
    - string
    - unknown
  - `completed_before` union
    - string, nullable
    - string
    - unknown

## Response `200`

Compliance history retrieved successfully

- object
  - `total_pages` number, required
  - `current_page` number, required
  - `next_page` number, nullable, required
  - `previous_page` number, nullable, required
  - `records` ComplianceCheck[], required
    - `id` string, uuid, required
    - `created_at` union, required
      - string, nullable
      - string
      - unknown
    - `updated_at` union, required
      - string, nullable
      - string
      - unknown
    - `status` 'pending' | 'in_progress' | 'completed' | 'failed', required
    - `compliance_score` number, nullable, required
    - `ai_detection_percentage` string, nullable, required: AI detection percentage as decimal string
    - `total_issues_count` number, nullable, required
    - `critical_issues_count` number, nullable, required
    - `warning_issues_count` number, nullable, required
    - `check_type` string, required: Type of compliance check (manual, automatic)
    - `completed_at` union, required
      - string, nullable
      - string
      - unknown
    - `error_message` string, nullable, required
    - `metadata` object, nullable, required
    - `article_id` string, uuid, required
    - `initiated_by_id` string, uuid, required
  - `total_records` number, required

---

[API](https://skmtc.dev/presscart/apis/presscart-prod-api.md) · [All operations](https://skmtc.dev/presscart/apis/presscart-prod-api/llms.txt) · [OpenAPI document](https://skmtc.dev/presscart/apis/presscart-prod-api/revisions/2154581d845e?raw)
