Skip to main content
GET
/
agents
/
{agent_id}
/
compliance-export
Export compliance record
curl --request GET \
  --url https://api.mnemom.ai/v1/agents/{agent_id}/compliance-export \
  --header 'Authorization: Bearer <token>'
{
  "agent_id": "<string>",
  "export_id": "<string>",
  "generated_at": "2023-11-07T05:31:56Z",
  "period": {
    "from": "2023-11-07T05:31:56Z",
    "to": "2023-11-07T05:31:56Z"
  },
  "checkpoints": [
    {}
  ],
  "reclassifications": [
    {
      "reclassification_id": "<string>",
      "checkpoint_id": "<string>",
      "agent_id": "<string>",
      "original_type": "<string>",
      "new_type": "<string>",
      "reason": "<string>",
      "score_impact": {
        "previous_score": 123,
        "new_score": 123,
        "delta": 123
      }
    }
  ],
  "card_amendments": [
    {}
  ],
  "score_history": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Path Parameters

agent_id
string
required

Agent identifier (e.g. smolt-abc123)

Query Parameters

format
enum<string>
default:json

Export format

Available options:
json,
csv
from
string<date-time>

Start of time range

to
string<date-time>

End of time range

Response

Compliance export data

agent_id
string
export_id
string
generated_at
string<date-time>
period
object
checkpoints
object[]
reclassifications
object[]
card_amendments
object[]
score_history
object[]