---
title: "Export compliance record"
method: GET
path: "/agents/{agent_id}/compliance-export"
tags: ["Reclassification"]
---

# Export compliance record

`GET /agents/{agent_id}/compliance-export`

## Request

- Base URL: `https://api.mnemom.ai/v1`
- URL: `https://api.mnemom.ai/v1/agents/{agent_id}/compliance-export`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Mnemom-Api-Key`

Export a comprehensive compliance record for the agent including all checkpoints, score history, reclassifications, card amendments, disagreement reviews and policy evaluations with card gaps. Returns a structured document suitable for regulatory audits and compliance reviews. Every record in the period is included, in both formats; a period with more than 10,000 records of one kind answers 413 `export_too_large`, and should be exported in parts with `from`/`to`. Members of the agent's org only.

## Path parameters

- `agent_id` string, required

## Query parameters

- `format` 'json' | 'csv'
- `from` string, date-time
- `to` string, date-time

## Response `200`

Compliance export data

- object
  - `agent_id` string
  - `export_id` string
  - `generated_at` string, date-time
  - `period` object
    - `from` string, date-time, nullable
    - `to` string, date-time, nullable
  - `counts` object: Number of entries in each array of this export.
    - `checkpoints` integer
    - `score_history` integer
    - `reclassifications` integer
    - `card_amendments` integer
    - `disagreement_reviews` integer
    - `policy_evaluations_with_gaps` integer
  - `checkpoints` object[]
  - `reclassifications` ReclassificationResult[]
    - `reclassification_id` string: Unique identifier for this reclassification
    - `checkpoint_id` string: Identifier of the reclassified checkpoint
    - `agent_id` string: Agent whose checkpoint was reclassified
    - `original_type` string: Original violation type before reclassification
    - `new_type` string: New violation type after reclassification
    - `reason` string: Justification provided for the reclassification
    - `score_impact` object: Impact of the reclassification on the agent's score
      - `previous_score` number
      - `new_score` number
      - `delta` number
  - `card_amendments` object[]
  - `score_history` object[]
  - `disagreement_reviews` object[]
  - `policy_evaluations_with_gaps` object[]

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Forbidden
- `404`: Resource not found
- `413`: `export_too_large`: the period holds more than 10,000 records of one kind. Narrow it with `from`/`to` and export it in parts.
- `429`: Rate-limit exceeded. The global per-IP limiter (100 requests/minute, applied to every `/v1/*` route) rejected this request. Back off until the window resets — `Retry-After` carries the cooldown in seconds and `X-RateLimit-Reset` the absolute reset time.
- `500`: Server error — request was well-formed but the server failed to fulfill it. Typically a downstream dependency (DB / RPC / external API) returned an unexpected error.

---

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