---
title: "Allows an arbitrary filter to be specified and applied to the org\\'s change log."
method: GET
path: "/changelog/adhoc"
tags: ["Audit Log"]
---

# Allows an arbitrary filter to be specified and applied to the org\\'s change log.

`GET /changelog/adhoc`

## Request

- Base URL: `https://api.turbinelabs.io/v1.0`
- URL: `https://api.turbinelabs.io/v1.0/changelog/adhoc`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/turbinelabs/apis/turbine-labs-api/docs/changelog/adhoc/get.ts> (a function with typed inputs; its response is checked against the schema)

Perform an adhoc query against the change log for your org. The filter is a JSON encoded FilterSum as defined in this file.

## Query parameters

- `filter` string

## Response `200`

A list of changes that meet the provided filter.

- PaginatedChangeDescriptions
  - `result` ChangeDescription[]
    - `at` number: When the change took place in milliseconds since the Unix epoch.
    - `txn` string: A unique identifier for all this transaction. It is shared by all attribute updates within a change.
    - `actor_key` string: The user who made the change.
    - `comment` string: A description of the change.
    - `diffs` ChangeEntry[]: A collection of attribute updates that compose this change.
      - `object_type` 'org' | 'user' | 'zone' | 'proxy' | 'domain' | 'route' | 'shared_rules' | 'cluster': The name of the object being being altered.
      - `change_type` 'addition' | 'removal': Whether the value was added or removed to the object.
      - `object_key` string: An ID uniquely identifying the object being changed.
      - `zone_key` string: The zone this object is located in.
      - `path` string: A dot-separated / bracket-indexed path to the field changed on the object.
      - `value` string: The value that has been added or removed to the object at the attribute path indicated in path.
  - `details` PaginationDetails
    - `pagination` PageDetails
      - `total_entries` integer: How many total entries would have been returned in the time window if it had not been paginated.
      - `has_more` boolean: Whether or not there are more entries to be requested after this page.
      - `direction` 'before' | 'after': The direction walked from the ref_id when building this page.
      - `ref_id` string: The ID used as a reference when building this page.

## Other responses

- `default`: Unexpected error

---

[API](https://skmtc.dev/turbinelabs/apis/turbine-labs-api.md) - [All operations](https://skmtc.dev/turbinelabs/apis/turbine-labs-api/llms.txt) - [OpenAPI document](https://skmtc.dev/turbinelabs/apis/turbine-labs-api/revisions/47fce18aa12f?raw)
