> For the complete documentation index, see [llms.txt](https://developer.collibra.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.collibra.com/api/references/data-quality/change-history.md).

# Change History

Read-only audit trail of configuration changes to DQ objects - who changed what, and when.

## Stream the configuration change history of DQ jobs

> Streams the create, update, and delete history of DQ job\
> configurations as newline-delimited JSON, one event per line, newest\
> first.\
> \
> Each event is one save, diffed against the job definition\
> \`GET /jobs/{jobName}\` returns, with all values as strings, plus\
> settings that endpoint does not expose - filters, event emission,\
> selected columns, the manual-query toggle, archive break records\
> and (Pullup only) back runs. Monitoring settings are included;\
> standalone monitor actions are not yet captured.\
> \
> Each line is the SIEM Common Change Event for Objects with the\
> \`siem\_\` and \`security\_event:\` prefixes stripped - hence the\
> \`snake\_case\` fields and lower-case \`change\_type\` values, unlike the\
> rest of this API.\
> \
> \| \`change\_type\` | \`changed\_fields\` / \`changed\_child\_objects\` |\
> \|---|---|\
> \| \`created\` | the full job definition, every \`old\_value\` null |\
> \| \`updated\` | only the fields that changed, with \`old\_value\` and \`new\_value\` |\
> \| \`deleted\` | both \`null\` |\
> \| \`pre\_existing\` | both \`null\` |\
> \
> The per-node \`change\_type\` inside the delta repeats the event's\
> own; read \`old\_value\`/\`new\_value\` null-ness to tell a field that\
> was newly set from one that was cleared. A save that changes the\
> schedule mode or its hourly/daily/monthly settings also reports\
> \`scheduledRunTime\`, even when unchanged.\
> \
> \`pre\_existing\` marks jobs predating the feature; setting \`type\`\
> excludes it. It carries the backfilled creator in \`user\_id\` but no\
> request envelope. Deleted jobs and connections still match.\
> Retention is two years.\
> \
> Different parameters are ANDed. \`userId\` and \`type\` are repeatable\
> and their repeated values are ORed within that parameter - e.g.\
> \`?type=UPDATED\&type=DELETED\` returns updated OR deleted events.\
> Returns \`403\` while \`dataquality.jobHistory.enabled\` is off.\
> \
> \*\*Permissions\*\*\
> \- \*\*Required:\*\* \`DATA\_QUALITY\` and \`DATA\_QUALITY\_JOB\_VIEW\`. Results\
> &#x20; are scoped to the jobs the caller can see.\
> \- \*\*Global bypass:\*\*\
> &#x20; \- \`DATA\_QUALITY\` and \`VIEW\_PERMISSIONS\_VIEW\_ALL\`\
> &#x20; \- \`DATA\_QUALITY\` and \`GLOBAL\_MANAGE\_ALL\_RESOURCES\`

```json
{"openapi":"3.0.3","info":{"title":"Data Quality Collibra API","version":"1.5.0"},"tags":[{"name":"Change History","description":"Read-only audit trail of configuration changes to DQ objects - who changed what, and when."}],"servers":[{"description":"Data Quality API","url":"/rest/dq/1.0"}],"security":[{"basicAuth":[]},{"jwtAuth":[]}],"components":{"securitySchemes":{"basicAuth":{"description":"Collibra REST API authentication using Basic Authentication.","type":"http","scheme":"basic"},"jwtAuth":{"description":"Collibra REST API authentication using JSON Web Token.","type":"http","scheme":"bearer","bearerFormat":"JWT"}},"parameters":{"HistoryUpdatedAfter":{"name":"updatedAfter","in":"query","required":false,"description":"Earliest event time, inclusive. Defaults to the oldest event retained.","schema":{"type":"string","format":"date-time"}},"HistoryUpdatedBefore":{"name":"updatedBefore","in":"query","required":false,"description":"Latest event time, inclusive. Defaults to now.","schema":{"type":"string","format":"date-time"}},"HistoryUserId":{"name":"userId","in":"query","required":false,"description":"Actor's user id. Repeatable. Note `user_id` on the event is the\nactor's username, not this value.","schema":{"type":"array","items":{"type":"string","format":"uuid"},"maxItems":20},"style":"form","explode":true},"HistoryChangeType":{"name":"type","in":"query","required":false,"description":"Change types to return: `CREATED`, `UPDATED`, `DELETED`. Repeatable.\nMaps to the lower-case `change_type` value in the response (e.g.\n`UPDATED` matches `\"change_type\":\"updated\"`). `pre_existing` events\nhave no corresponding filter value, so setting `type` excludes them.","schema":{"type":"array","items":{"type":"string","enum":["CREATED","UPDATED","DELETED"]},"maxItems":3},"style":"form","explode":true},"HistoryCompletionMarker":{"name":"completionMarker","in":"query","required":false,"description":"End the stream with a `{\"_complete\":true,\"rowCount\":N}` line so a\ntruncated stream is detectable. Default `true`.","schema":{"type":"boolean","default":true}}},"responses":{"BadRequest":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"Unauthorized":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"Forbidden":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"TooManyRequests":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"InternalServerError":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}}},"schemas":{"StandardErrorResponse":{"type":"object","description":"Error response returned by the Data Quality API.","required":["statusCode","errorCode","titleMessage","userMessage"],"properties":{"statusCode":{"type":"integer","description":"HTTP status code corresponding to the error."},"errorCode":{"type":"string","description":"Internal error code representing the specific error type."},"titleMessage":{"type":"string","description":"A brief title summarizing the error."},"userMessage":{"type":"string","description":"Detailed, user-friendly message explaining the error and possible remediation steps."}}}}},"paths":{"/history/jobs":{"get":{"tags":["Change History"],"summary":"Stream the configuration change history of DQ jobs","description":"Streams the create, update, and delete history of DQ job\nconfigurations as newline-delimited JSON, one event per line, newest\nfirst.\n\nEach event is one save, diffed against the job definition\n`GET /jobs/{jobName}` returns, with all values as strings, plus\nsettings that endpoint does not expose - filters, event emission,\nselected columns, the manual-query toggle, archive break records\nand (Pullup only) back runs. Monitoring settings are included;\nstandalone monitor actions are not yet captured.\n\nEach line is the SIEM Common Change Event for Objects with the\n`siem_` and `security_event:` prefixes stripped - hence the\n`snake_case` fields and lower-case `change_type` values, unlike the\nrest of this API.\n\n| `change_type` | `changed_fields` / `changed_child_objects` |\n|---|---|\n| `created` | the full job definition, every `old_value` null |\n| `updated` | only the fields that changed, with `old_value` and `new_value` |\n| `deleted` | both `null` |\n| `pre_existing` | both `null` |\n\nThe per-node `change_type` inside the delta repeats the event's\nown; read `old_value`/`new_value` null-ness to tell a field that\nwas newly set from one that was cleared. A save that changes the\nschedule mode or its hourly/daily/monthly settings also reports\n`scheduledRunTime`, even when unchanged.\n\n`pre_existing` marks jobs predating the feature; setting `type`\nexcludes it. It carries the backfilled creator in `user_id` but no\nrequest envelope. Deleted jobs and connections still match.\nRetention is two years.\n\nDifferent parameters are ANDed. `userId` and `type` are repeatable\nand their repeated values are ORed within that parameter - e.g.\n`?type=UPDATED&type=DELETED` returns updated OR deleted events.\nReturns `403` while `dataquality.jobHistory.enabled` is off.\n\n**Permissions**\n- **Required:** `DATA_QUALITY` and `DATA_QUALITY_JOB_VIEW`. Results\n  are scoped to the jobs the caller can see.\n- **Global bypass:**\n  - `DATA_QUALITY` and `VIEW_PERMISSIONS_VIEW_ALL`\n  - `DATA_QUALITY` and `GLOBAL_MANAGE_ALL_RESOURCES`","operationId":"getJobChangeHistory","parameters":[{"$ref":"#/components/parameters/HistoryUpdatedAfter"},{"$ref":"#/components/parameters/HistoryUpdatedBefore"},{"name":"jobId","in":"query","required":false,"description":"Job id.","schema":{"type":"string","format":"uuid"}},{"name":"connectionId","in":"query","required":false,"description":"Connection id. Matches every job currently or previously assigned\nto this connection.","schema":{"type":"string","format":"uuid"}},{"$ref":"#/components/parameters/HistoryUserId"},{"$ref":"#/components/parameters/HistoryChangeType"},{"$ref":"#/components/parameters/HistoryCompletionMarker"}],"responses":{"200":{"description":"The matching change events, streamed as `application/x-ndjson`\nwith `Content-Disposition: attachment`.\n\nThe schema is `format: binary` even though the body is text, so\nSDK codegen emits a streaming `Resource` / `InputStream` rather\nthan buffering it as a `String`. Same convention as\n`POST /egress/export`.\n\nA failure after the first byte cannot change the HTTP status, so\nunless `completionMarker=false` the stream ends with\n`{\"_complete\":true,\"rowCount\":N}`; reaching end-of-stream without\nit means the result is truncated. A filter matching nothing gives\n`rowCount` `0`, not an error.","headers":{"Content-Disposition":{"description":"Attachment with filename hint, e.g. `attachment; filename=\"job-change-history-2026-08-27.jsonl\"`.","required":true,"schema":{"type":"string"}}},"content":{"application/x-ndjson":{"schema":{"type":"string","format":"binary","description":"Newline-delimited JSON ([JSON Lines](https://jsonlines.org)):\none change event per line. Parse line by line, not as a\nsingle JSON document. The final line is the completion\nmarker, identified by its `_complete` key."}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"}}}}}}
```

## Stream the configuration change history of DQ custom rules

> Streams the create, update, and delete history of DQ custom rule\
> configurations as newline-delimited JSON, one event per line, newest\
> first. Scope is custom rules only; rule template history is a\
> separate endpoint.\
> \
> Each event is one save, diffed against the rule's stored\
> definition, with all values as strings.\
> \
> Each line is the SIEM Common Change Event for Objects with the\
> \`siem\_\` and \`security\_event:\` prefixes stripped - hence the\
> \`snake\_case\` fields and lower-case \`change\_type\` values, unlike the\
> rest of this API. \`event\_name\` is \`data\_quality\_rule\` and\
> \`object\_id\` is the rule name.\
> \
> \| \`change\_type\` | \`changed\_fields\` / \`changed\_child\_objects\` |\
> \|---|---|\
> \| \`created\` | the full rule definition, every \`old\_value\` null |\
> \| \`updated\` | only the fields that changed, with \`old\_value\` and \`new\_value\` |\
> \| \`deleted\` | both \`null\` |\
> \| \`pre\_existing\` | both \`null\` |\
> \
> \`pre\_existing\` marks rules predating the feature; setting \`type\`\
> excludes it. It carries the backfilled creator in \`user\_id\` but no\
> request envelope. Deleted rules, jobs, and connections still match.\
> Retention is two years.\
> \
> Different parameters are ANDed. \`userId\` and \`type\` are repeatable\
> and their repeated values are ORed within that parameter - e.g.\
> \`?type=UPDATED\&type=DELETED\` returns updated OR deleted events.\
> Returns \`403\` while \`dataquality.ruleHistory.enabled\` is off.\
> \
> \*\*Permissions\*\*\
> \- \*\*Required:\*\* \`DATA\_QUALITY\` and \`DATA\_QUALITY\_JOB\_VIEW\`. Results\
> &#x20; are scoped to the jobs the caller can see.\
> \- \*\*Global bypass:\*\*\
> &#x20; \- \`DATA\_QUALITY\` and \`VIEW\_PERMISSIONS\_VIEW\_ALL\`\
> &#x20; \- \`DATA\_QUALITY\` and \`GLOBAL\_MANAGE\_ALL\_RESOURCES\`

```json
{"openapi":"3.0.3","info":{"title":"Data Quality Collibra API","version":"1.5.0"},"tags":[{"name":"Change History","description":"Read-only audit trail of configuration changes to DQ objects - who changed what, and when."}],"servers":[{"description":"Data Quality API","url":"/rest/dq/1.0"}],"security":[{"basicAuth":[]},{"jwtAuth":[]}],"components":{"securitySchemes":{"basicAuth":{"description":"Collibra REST API authentication using Basic Authentication.","type":"http","scheme":"basic"},"jwtAuth":{"description":"Collibra REST API authentication using JSON Web Token.","type":"http","scheme":"bearer","bearerFormat":"JWT"}},"parameters":{"HistoryUpdatedAfter":{"name":"updatedAfter","in":"query","required":false,"description":"Earliest event time, inclusive. Defaults to the oldest event retained.","schema":{"type":"string","format":"date-time"}},"HistoryUpdatedBefore":{"name":"updatedBefore","in":"query","required":false,"description":"Latest event time, inclusive. Defaults to now.","schema":{"type":"string","format":"date-time"}},"HistoryUserId":{"name":"userId","in":"query","required":false,"description":"Actor's user id. Repeatable. Note `user_id` on the event is the\nactor's username, not this value.","schema":{"type":"array","items":{"type":"string","format":"uuid"},"maxItems":20},"style":"form","explode":true},"HistoryChangeType":{"name":"type","in":"query","required":false,"description":"Change types to return: `CREATED`, `UPDATED`, `DELETED`. Repeatable.\nMaps to the lower-case `change_type` value in the response (e.g.\n`UPDATED` matches `\"change_type\":\"updated\"`). `pre_existing` events\nhave no corresponding filter value, so setting `type` excludes them.","schema":{"type":"array","items":{"type":"string","enum":["CREATED","UPDATED","DELETED"]},"maxItems":3},"style":"form","explode":true},"HistoryCompletionMarker":{"name":"completionMarker","in":"query","required":false,"description":"End the stream with a `{\"_complete\":true,\"rowCount\":N}` line so a\ntruncated stream is detectable. Default `true`.","schema":{"type":"boolean","default":true}}},"responses":{"BadRequest":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"Unauthorized":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"Forbidden":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"TooManyRequests":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"InternalServerError":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}}},"schemas":{"StandardErrorResponse":{"type":"object","description":"Error response returned by the Data Quality API.","required":["statusCode","errorCode","titleMessage","userMessage"],"properties":{"statusCode":{"type":"integer","description":"HTTP status code corresponding to the error."},"errorCode":{"type":"string","description":"Internal error code representing the specific error type."},"titleMessage":{"type":"string","description":"A brief title summarizing the error."},"userMessage":{"type":"string","description":"Detailed, user-friendly message explaining the error and possible remediation steps."}}}}},"paths":{"/history/rules":{"get":{"tags":["Change History"],"summary":"Stream the configuration change history of DQ custom rules","description":"Streams the create, update, and delete history of DQ custom rule\nconfigurations as newline-delimited JSON, one event per line, newest\nfirst. Scope is custom rules only; rule template history is a\nseparate endpoint.\n\nEach event is one save, diffed against the rule's stored\ndefinition, with all values as strings.\n\nEach line is the SIEM Common Change Event for Objects with the\n`siem_` and `security_event:` prefixes stripped - hence the\n`snake_case` fields and lower-case `change_type` values, unlike the\nrest of this API. `event_name` is `data_quality_rule` and\n`object_id` is the rule name.\n\n| `change_type` | `changed_fields` / `changed_child_objects` |\n|---|---|\n| `created` | the full rule definition, every `old_value` null |\n| `updated` | only the fields that changed, with `old_value` and `new_value` |\n| `deleted` | both `null` |\n| `pre_existing` | both `null` |\n\n`pre_existing` marks rules predating the feature; setting `type`\nexcludes it. It carries the backfilled creator in `user_id` but no\nrequest envelope. Deleted rules, jobs, and connections still match.\nRetention is two years.\n\nDifferent parameters are ANDed. `userId` and `type` are repeatable\nand their repeated values are ORed within that parameter - e.g.\n`?type=UPDATED&type=DELETED` returns updated OR deleted events.\nReturns `403` while `dataquality.ruleHistory.enabled` is off.\n\n**Permissions**\n- **Required:** `DATA_QUALITY` and `DATA_QUALITY_JOB_VIEW`. Results\n  are scoped to the jobs the caller can see.\n- **Global bypass:**\n  - `DATA_QUALITY` and `VIEW_PERMISSIONS_VIEW_ALL`\n  - `DATA_QUALITY` and `GLOBAL_MANAGE_ALL_RESOURCES`","operationId":"getRuleChangeHistory","parameters":[{"$ref":"#/components/parameters/HistoryUpdatedAfter"},{"$ref":"#/components/parameters/HistoryUpdatedBefore"},{"name":"jobId","in":"query","required":false,"description":"The job the rule belongs to.","schema":{"type":"string","format":"uuid"}},{"name":"ruleName","in":"query","required":false,"description":"Rule name.","schema":{"type":"string"}},{"name":"connectionId","in":"query","required":false,"description":"Connection id. Matches every rule belonging to a job currently\nor previously assigned to this connection.","schema":{"type":"string","format":"uuid"}},{"$ref":"#/components/parameters/HistoryUserId"},{"$ref":"#/components/parameters/HistoryChangeType"},{"$ref":"#/components/parameters/HistoryCompletionMarker"}],"responses":{"200":{"description":"The matching change events, streamed as `application/x-ndjson`\nwith `Content-Disposition: attachment`.\n\nThe schema is `format: binary` even though the body is text, so\nSDK codegen emits a streaming `Resource` / `InputStream` rather\nthan buffering it as a `String`. Same convention as\n`POST /egress/export`.\n\nA failure after the first byte cannot change the HTTP status, so\nunless `completionMarker=false` the stream ends with\n`{\"_complete\":true,\"rowCount\":N}`; reaching end-of-stream without\nit means the result is truncated. A filter matching nothing gives\n`rowCount` `0`, not an error.","headers":{"Content-Disposition":{"description":"Attachment with filename hint, e.g. `attachment; filename=\"rule-change-history-2026-08-27.jsonl\"`.","required":true,"schema":{"type":"string"}}},"content":{"application/x-ndjson":{"schema":{"type":"string","format":"binary","description":"Newline-delimited JSON ([JSON Lines](https://jsonlines.org)):\none change event per line. Parse line by line, not as a\nsingle JSON document. The final line is the completion\nmarker, identified by its `_complete` key."}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"}}}}}}
```

## Stream the configuration change history of DQ rule templates

> Streams the create, update, and delete history of DQ rule template\
> configurations as newline-delimited JSON, one event per line, newest\
> first.\
> \
> Each event is one save, diffed against the template's stored\
> definition, with all values as strings. A delta can only mention\
> \`ruleTemplateName\`, \`description\`, \`sql\`, \`dialect\`, \`dimensions\`,\
> \`tolerance\`, \`businessRuleAssetIds\` and \`translatedQueries\`; the\
> identifying and derived fields - \`id\`, \`isSystem\`,\
> \`deployedRuleCount\`, \`createdAt\`, \`createdBy\`, \`updatedAt\`,\
> \`updatedBy\` - never appear.\
> \
> Each line is the SIEM Common Change Event for Objects with the\
> \`siem\_\` and \`security\_event:\` prefixes stripped - hence the\
> \`snake\_case\` fields and lower-case \`change\_type\` values, unlike the\
> rest of this API. \`event\_name\` is \`data\_quality\_rule\_template\` and\
> \`object\_id\` is the template name at event time.\
> \
> \| \`change\_type\` | \`changed\_fields\` / \`changed\_child\_objects\` |\
> \|---|---|\
> \| \`created\` | the full template definition, every \`old\_value\` null |\
> \| \`updated\` | only the fields that changed, with \`old\_value\` and \`new\_value\` |\
> \| \`deleted\` | both \`null\` |\
> \| \`pre\_existing\` | both \`null\` |\
> \
> \`pre\_existing\` marks templates predating the feature; setting \`type\`\
> excludes it. It carries the backfilled creator in \`user\_id\` but no\
> request envelope. Deleted templates still match. Retention is two\
> years.\
> \
> Deploying a template to a job and detaching a deployed rule do not\
> change the template definition, so neither appears here - both are\
> rule events on \`GET /history/rules\`.\
> \
> Different parameters are ANDed. \`userId\` and \`type\` are repeatable\
> and their repeated values are ORed within that parameter - e.g.\
> \`?type=UPDATED\&type=DELETED\` returns updated OR deleted events.\
> Returns \`403\` while \`dataquality.ruleHistory.enabled\` is off - rule\
> templates ship behind the same switch as rules.\
> \
> \*\*Permissions\*\*\
> \- \*\*Required:\*\* \`DATA\_QUALITY\` and \`DATA\_QUALITY\_DEPLOY\_TEMPLATES\`.\
> &#x20; Rule templates are not scoped to a job, so a caller holding this\
> &#x20; permission sees every template's history.\
> \- \*\*Global bypass:\*\* \`DATA\_QUALITY\` and \`GLOBAL\_MANAGE\_ALL\_RESOURCES\`

```json
{"openapi":"3.0.3","info":{"title":"Data Quality Collibra API","version":"1.5.0"},"tags":[{"name":"Change History","description":"Read-only audit trail of configuration changes to DQ objects - who changed what, and when."}],"servers":[{"description":"Data Quality API","url":"/rest/dq/1.0"}],"security":[{"basicAuth":[]},{"jwtAuth":[]}],"components":{"securitySchemes":{"basicAuth":{"description":"Collibra REST API authentication using Basic Authentication.","type":"http","scheme":"basic"},"jwtAuth":{"description":"Collibra REST API authentication using JSON Web Token.","type":"http","scheme":"bearer","bearerFormat":"JWT"}},"parameters":{"HistoryUpdatedAfter":{"name":"updatedAfter","in":"query","required":false,"description":"Earliest event time, inclusive. Defaults to the oldest event retained.","schema":{"type":"string","format":"date-time"}},"HistoryUpdatedBefore":{"name":"updatedBefore","in":"query","required":false,"description":"Latest event time, inclusive. Defaults to now.","schema":{"type":"string","format":"date-time"}},"HistoryUserId":{"name":"userId","in":"query","required":false,"description":"Actor's user id. Repeatable. Note `user_id` on the event is the\nactor's username, not this value.","schema":{"type":"array","items":{"type":"string","format":"uuid"},"maxItems":20},"style":"form","explode":true},"HistoryChangeType":{"name":"type","in":"query","required":false,"description":"Change types to return: `CREATED`, `UPDATED`, `DELETED`. Repeatable.\nMaps to the lower-case `change_type` value in the response (e.g.\n`UPDATED` matches `\"change_type\":\"updated\"`). `pre_existing` events\nhave no corresponding filter value, so setting `type` excludes them.","schema":{"type":"array","items":{"type":"string","enum":["CREATED","UPDATED","DELETED"]},"maxItems":3},"style":"form","explode":true},"HistoryCompletionMarker":{"name":"completionMarker","in":"query","required":false,"description":"End the stream with a `{\"_complete\":true,\"rowCount\":N}` line so a\ntruncated stream is detectable. Default `true`.","schema":{"type":"boolean","default":true}}},"responses":{"BadRequest":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"Unauthorized":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"Forbidden":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"TooManyRequests":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}},"InternalServerError":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardErrorResponse"}}}}},"schemas":{"StandardErrorResponse":{"type":"object","description":"Error response returned by the Data Quality API.","required":["statusCode","errorCode","titleMessage","userMessage"],"properties":{"statusCode":{"type":"integer","description":"HTTP status code corresponding to the error."},"errorCode":{"type":"string","description":"Internal error code representing the specific error type."},"titleMessage":{"type":"string","description":"A brief title summarizing the error."},"userMessage":{"type":"string","description":"Detailed, user-friendly message explaining the error and possible remediation steps."}}}}},"paths":{"/history/ruleTemplates":{"get":{"tags":["Change History"],"summary":"Stream the configuration change history of DQ rule templates","description":"Streams the create, update, and delete history of DQ rule template\nconfigurations as newline-delimited JSON, one event per line, newest\nfirst.\n\nEach event is one save, diffed against the template's stored\ndefinition, with all values as strings. A delta can only mention\n`ruleTemplateName`, `description`, `sql`, `dialect`, `dimensions`,\n`tolerance`, `businessRuleAssetIds` and `translatedQueries`; the\nidentifying and derived fields - `id`, `isSystem`,\n`deployedRuleCount`, `createdAt`, `createdBy`, `updatedAt`,\n`updatedBy` - never appear.\n\nEach line is the SIEM Common Change Event for Objects with the\n`siem_` and `security_event:` prefixes stripped - hence the\n`snake_case` fields and lower-case `change_type` values, unlike the\nrest of this API. `event_name` is `data_quality_rule_template` and\n`object_id` is the template name at event time.\n\n| `change_type` | `changed_fields` / `changed_child_objects` |\n|---|---|\n| `created` | the full template definition, every `old_value` null |\n| `updated` | only the fields that changed, with `old_value` and `new_value` |\n| `deleted` | both `null` |\n| `pre_existing` | both `null` |\n\n`pre_existing` marks templates predating the feature; setting `type`\nexcludes it. It carries the backfilled creator in `user_id` but no\nrequest envelope. Deleted templates still match. Retention is two\nyears.\n\nDeploying a template to a job and detaching a deployed rule do not\nchange the template definition, so neither appears here - both are\nrule events on `GET /history/rules`.\n\nDifferent parameters are ANDed. `userId` and `type` are repeatable\nand their repeated values are ORed within that parameter - e.g.\n`?type=UPDATED&type=DELETED` returns updated OR deleted events.\nReturns `403` while `dataquality.ruleHistory.enabled` is off - rule\ntemplates ship behind the same switch as rules.\n\n**Permissions**\n- **Required:** `DATA_QUALITY` and `DATA_QUALITY_DEPLOY_TEMPLATES`.\n  Rule templates are not scoped to a job, so a caller holding this\n  permission sees every template's history.\n- **Global bypass:** `DATA_QUALITY` and `GLOBAL_MANAGE_ALL_RESOURCES`","operationId":"getRuleTemplateChangeHistory","parameters":[{"$ref":"#/components/parameters/HistoryUpdatedAfter"},{"$ref":"#/components/parameters/HistoryUpdatedBefore"},{"name":"ruleTemplateId","in":"query","required":false,"description":"Template id. Stable across a rename and still resolves after the\ntemplate is deleted.","schema":{"type":"string","format":"uuid"}},{"$ref":"#/components/parameters/HistoryUserId"},{"$ref":"#/components/parameters/HistoryChangeType"},{"$ref":"#/components/parameters/HistoryCompletionMarker"}],"responses":{"200":{"description":"The matching change events, streamed as `application/x-ndjson`\nwith `Content-Disposition: attachment`.\n\nThe schema is `format: binary` even though the body is text, so\nSDK codegen emits a streaming `Resource` / `InputStream` rather\nthan buffering it as a `String`. Same convention as\n`POST /egress/export`.\n\nA failure after the first byte cannot change the HTTP status, so\nunless `completionMarker=false` the stream ends with\n`{\"_complete\":true,\"rowCount\":N}`; reaching end-of-stream without\nit means the result is truncated. A filter matching nothing gives\n`rowCount` `0`, not an error.","headers":{"Content-Disposition":{"description":"Attachment with filename hint, e.g. `attachment; filename=\"rule-template-change-history-2026-08-27.jsonl\"`.","required":true,"schema":{"type":"string"}}},"content":{"application/x-ndjson":{"schema":{"type":"string","format":"binary","description":"Newline-delimited JSON ([JSON Lines](https://jsonlines.org)):\none change event per line. Parse line by line, not as a\nsingle JSON document. The final line is the completion\nmarker, identified by its `_complete` key."}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developer.collibra.com/api/references/data-quality/change-history.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
