List Data Policy Versions
List the version history of a data policy: each version snapshots the ruleset with its status and compiled execution plan for audit and correlation.
Retrieve the version history of a data policy. Each version is a snapshot of the policy's configuration at a point in time, carrying its own status and, once compiled, the compiled execution plan. Versions are created as the policy's fields and rules are authored and revised, so the history shows how the transformation logic evolved.
Version numbers are monotonically increasing integers starting at 1, returned newest first. When a resolution run captures a policy snapshot it records the version it executed, so you can correlate resolution results with the exact configuration that produced them.
/v1/data-policies/{id}/versionsPath parameters
Response
Response fields
curl
Response
{
"data": [
{
"id": "v3a2b3c4-0003",
"version_number": 3,
"status": "active",
"compiled_rules": { "steps": 8 },
"created_at": "2024-10-15T11:30:00.000Z"
},
{
"id": "v2a2b3c4-0002",
"version_number": 2,
"status": "draft",
"compiled_rules": null,
"created_at": "2024-10-10T14:00:00.000Z"
}
],
"links": {
"self": "/v1/data-policies/p1a2b3c4-e5f6-7890-abcd-ef1234567890/versions",
"policy": "/v1/data-policies/p1a2b3c4-e5f6-7890-abcd-ef1234567890"
}
}Errors
Error responses
compiled_rules fills in the first time the version actually executes.