> For the complete documentation index, see [llms.txt](https://developer.emporix.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.emporix.io/api-documentation/api-guides/utilities/audit-logs-changelog/api-reference/models.md).

# Models

## The ChangelogHistoryResponse object

```json
{"openapi":"3.0.0","info":{"title":"Audit Logs (Changelog) Service","version":"0.0.1"},"components":{"schemas":{"ChangelogHistoryResponse":{"type":"object","description":"Paginated tenant changelog history.","properties":{"items":{"type":"array","description":"List of changed entries for the requested page.","items":{"$ref":"#/components/schemas/ChangelogChangeItem"}},"page":{"type":"integer","description":"Current page number. The number of the first page is 1."},"size":{"type":"integer","description":"Number of items requested per page."},"totalElements":{"type":"integer","format":"int64","description":"Total number of changed entries matching the query."},"totalPages":{"type":"integer","description":"Total number of pages for the matching result set."}},"required":["items","page","size","totalElements","totalPages"]},"ChangelogChangeItem":{"type":"object","description":"A single changelog entry describing a change to a platform entity.","properties":{"at":{"type":"string","format":"date-time","description":"ISO-8601 UTC timestamp with milliseconds when the change occurred, for example `2026-06-01T13:01:29.123Z`.\n"},"type":{"type":"string","enum":["create","update","delete"],"description":"Change type returned by the API.\n* `create` — Document insert.\n* `update` — Document update or replace.\n* `delete` — Document delete.\n"},"entity":{"type":"string","description":"Logical entity type of the changed document, for example `order`, `customer`, `company`, `product`, `segment`, `group`, `group-assignment`, `coupon`, or a custom entity created with the Schema Service.\n"},"entityId":{"type":"string","description":"Unique identifier of the changed document."},"name":{"type":"string","description":"Optional display name of the changed document when available."},"paths":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/PathValueChange"},"description":"Flattened map of changed field paths to before/after values derived from the change patch.\n"},"schemaVersion":{"type":"string","description":"Optional schema or document format version associated with the change."},"actor":{"type":"string","description":"Actor display name that performed the change. Possible values include a person name, `system`, `external`, or `unknown`.\n"},"related":{"type":"array","description":"Related entities linked to the changed document, for example junction-style references.","items":{"$ref":"#/components/schemas/ChangelogRelatedItem"}}}},"PathValueChange":{"type":"object","description":"Before and after values for a changed field path.","properties":{"before":{"description":"Value of the field before the change. Omitted when not available."},"after":{"description":"Value of the field after the change. Omitted when not available."}}},"ChangelogRelatedItem":{"type":"object","description":"A related entity referenced by a changelog entry.","properties":{"entity":{"type":"string","description":"Related entity type, for example `group` or `customer`."},"entityId":{"type":"string","description":"Unique identifier of the related entity."}}}}}}
```

## The ChangelogChangeItem object

```json
{"openapi":"3.0.0","info":{"title":"Audit Logs (Changelog) Service","version":"0.0.1"},"components":{"schemas":{"ChangelogChangeItem":{"type":"object","description":"A single changelog entry describing a change to a platform entity.","properties":{"at":{"type":"string","format":"date-time","description":"ISO-8601 UTC timestamp with milliseconds when the change occurred, for example `2026-06-01T13:01:29.123Z`.\n"},"type":{"type":"string","enum":["create","update","delete"],"description":"Change type returned by the API.\n* `create` — Document insert.\n* `update` — Document update or replace.\n* `delete` — Document delete.\n"},"entity":{"type":"string","description":"Logical entity type of the changed document, for example `order`, `customer`, `company`, `product`, `segment`, `group`, `group-assignment`, `coupon`, or a custom entity created with the Schema Service.\n"},"entityId":{"type":"string","description":"Unique identifier of the changed document."},"name":{"type":"string","description":"Optional display name of the changed document when available."},"paths":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/PathValueChange"},"description":"Flattened map of changed field paths to before/after values derived from the change patch.\n"},"schemaVersion":{"type":"string","description":"Optional schema or document format version associated with the change."},"actor":{"type":"string","description":"Actor display name that performed the change. Possible values include a person name, `system`, `external`, or `unknown`.\n"},"related":{"type":"array","description":"Related entities linked to the changed document, for example junction-style references.","items":{"$ref":"#/components/schemas/ChangelogRelatedItem"}}}},"PathValueChange":{"type":"object","description":"Before and after values for a changed field path.","properties":{"before":{"description":"Value of the field before the change. Omitted when not available."},"after":{"description":"Value of the field after the change. Omitted when not available."}}},"ChangelogRelatedItem":{"type":"object","description":"A related entity referenced by a changelog entry.","properties":{"entity":{"type":"string","description":"Related entity type, for example `group` or `customer`."},"entityId":{"type":"string","description":"Unique identifier of the related entity."}}}}}}
```

## The PathValueChange object

```json
{"openapi":"3.0.0","info":{"title":"Audit Logs (Changelog) Service","version":"0.0.1"},"components":{"schemas":{"PathValueChange":{"type":"object","description":"Before and after values for a changed field path.","properties":{"before":{"description":"Value of the field before the change. Omitted when not available."},"after":{"description":"Value of the field after the change. Omitted when not available."}}}}}}
```

## The ChangelogRelatedItem object

```json
{"openapi":"3.0.0","info":{"title":"Audit Logs (Changelog) Service","version":"0.0.1"},"components":{"schemas":{"ChangelogRelatedItem":{"type":"object","description":"A related entity referenced by a changelog entry.","properties":{"entity":{"type":"string","description":"Related entity type, for example `group` or `customer`."},"entityId":{"type":"string","description":"Unique identifier of the related entity."}}}}}}
```

## The ErrorMessage object

```json
{"openapi":"3.0.0","info":{"title":"Audit Logs (Changelog) Service","version":"0.0.1"},"components":{"schemas":{"ErrorMessage":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code."},"type":{"type":"string","description":"Error type identifier."},"message":{"type":"string","description":"Human-readable error message."},"details":{"type":"array","description":"Field-level validation details.","items":{"type":"object","properties":{"field":{"type":"string"},"message":{"type":"string"}}}}}}}}}
```


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developer.emporix.io/api-documentation/api-guides/utilities/audit-logs-changelog/api-reference/models.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
