---
title: "New Strategy Group Audit Log"
method: GET
path: "/new_strategy_groups/{strategy_group_id}/history"
tags: ["New Strategy Groups"]
---

# New Strategy Group Audit Log

`GET /new_strategy_groups/{strategy_group_id}/history`

## Request

- Base URL: `https://api.mediamath.com/api/v3.0`
- URL: `https://api.mediamath.com/api/v3.0/new_strategy_groups/{strategy_group_id}/history`
- Auth: OAuth 2
  - Authorization code: `https://auth.mediamath.com/authorize`
  - Token URL: `https://auth.mediamath.com/oauth/token` scopes: `offline_access`, `manage:services`
- TypeScript: <https://skmtc.dev/mediamath/apis/campaigns-api/docs/new_strategy_groups/:strategy_group_id/history/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a list of changes to this strategy group. History can be sorted by `timestamp`/`created_on` and filtered with `q=` by `action`, `collection`, `entity_id`, `user_id`, `user_name`, `tool_name`, `timestamp`/`created_on`, and `field_name`. Assignment changes appear as `strategy_group_strategies` entries with `assigned`/`unassigned` actions and the strategy ID as `entity_id`. For `strategy_group_flights` entries, `entity_id` is the flight ID; flight create entries include the initial start date, end date, total budget, and optional impression budget/external identifier as field changes.

## Path parameters

- `strategy_group_id` integer, required

## Query parameters

- `page_limit` integer
- `page_offset` integer
- `sort_by` string
- `q` string

## Response `200`

Audit log response

- object
  - `data` object[], nullable
    - `action` string
    - `date` string, date-time
    - `fields` object[]
      - `field_name` string
      - `old_value` string
      - `new_value` string
    - `user_name` string
    - `user_id` integer
    - `collection` string
    - `entity_id` integer
    - `tool_name` string
  - `meta` ListMetadata
    - `status` string, required: The status of the response, indicating success or failure.
    - `count` integer, required: The number of items returned in the current response.
    - `total_count` integer: The total number of items available in the dataset.
    - `offset` integer: The offset from the start of the dataset, used for pagination.
    - `next_page` string: The URL to fetch the next page of results.
    - `prev_page` string: The URL to fetch the previous page of results.

## Other responses

- `400`: Error response
- `401`: Error response
- `403`: Error response
- `404`: Error response

---

[API](https://skmtc.dev/mediamath/apis/campaigns-api.md) - [All operations](https://skmtc.dev/mediamath/apis/campaigns-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mediamath/apis/campaigns-api/revisions/408743891def?raw)
