---
title: "GET /api/history/flags"
method: GET
path: "/api/history/flags"
tags: ["History and Change Tracking"]
---

# GET /api/history/flags

`GET /api/history/flags`

## Request

- Base URL: `https://api.atono.io`
- URL: `https://api.atono.io/api/history/flags`
- Auth: API key in header `X-API-KEY`

## Query parameters

- `filter` FeatureFlagHistoryFilter, required
  - `changed` string, nullable
  - `containsText` string, nullable
- `page` PageFilter, required
  - `page[number]` integer, nullable: Returns a specific page of results, starting from page `0`. Use with `page[size]` to control how many items are returned per page. For example, if `page[size]` is `20`, then `page[number]=2` returns items 21-40.
  - `page[size]` integer, nullable: Controls how many items are returned in each response page.
  - `page[offset]` integer, nullable: Skips the specified number of items before starting the result set. For example, if `page[offset]` is `30` and `page[size]` is `10`, the response returns items 31-40.
- `sort` string[], required

## Response `200`

featureFlagHistory 200 response

- MultiResourceBodyFeatureFlagChangeSetResource
  - `data` FeatureFlagChangeSetResource[]: A list of returned resources, based on the request.
    - `type` string, required
    - `id` string, uuid, required
    - `attributes` FeatureFlagChangeSetResourceFeatureFlagChangeSetAttributes, required
      - `operation` string, required
      - `createdAt` string, date-time, required
      - `snapshot` FeatureFlagSnapshot, required: A shortened self-contained version of the FeatureFlag for the purpose of storing a snapshot of the item at a point in time. It does not store the fields that never change or references to other objects.
        - `code` string, required
        - `summary` string, required
        - `isActive` boolean, required
        - `defaultVariant` string, required
        - `variants` unknown, required
        - `backlogItemIds` string[], required
      - `key` SimpleFieldChangeSetString, required
        - `original` string, required
        - `modified` string, required
      - `summary` TextFieldChangeSet, required
        - `original` string, required
        - `modified` string, required
        - `changes` TextChange[], required
          - `state` 'INITIAL' | 'INSERT' | 'DELETE' | 'KEEP', required
          - `content` string, required
      - `isActive` SimpleFieldChangeSetBoolean, required
        - `original` boolean, required
        - `modified` boolean, required
      - `defaultVariant` SimpleFieldChangeSetString, required
        - `original` string, required
        - `modified` string, required
      - `variants` SimpleFieldChangeSetMapStringObject, required
        - `original` unknown, required
        - `modified` unknown, required
      - `ruleset` FlagRulesetChangeSet, required: A representation of a feature flag ruleset change.
        - `featureFlagId` FeatureFlagHistoricalIdentifier, required
          - `id` string, uuid, required
          - `key` string, required
        - `original` FlagRulesetSnapshot, required: A historical representation of a feature flag ruleset per environment.
          - `id` string, uuid, required
          - `defaultVariant` string, required
          - `slices` FlagRulesetSnapshotSlice[], required
            - `targeting` unknown, required
            - `variant` string, required
        - `modified` FlagRulesetSnapshot, required: A historical representation of a feature flag ruleset per environment.
          - `id` string, uuid, required
          - `defaultVariant` string, required
          - `slices` FlagRulesetSnapshotSlice[], required
            - `targeting` unknown, required
            - `variant` string, required
        - `stateChange` SimpleFieldChangeSetString, required
          - `original` string, required
          - `modified` string, required
        - `environmentCode` EnvironmentHistoricalIdentifier, required
          - `id` string, uuid, required
          - `code` string, required
      - `backlogItems` CollectionFieldDiffChangeSetUUID, required
        - `added` string[], required
        - `removed` string[], required
    - `relationships` FeatureFlagChangeSetResourceFeatureFlagChangeSetRelationships, required
      - `featureFlag` SingleRelationship, required
        - `links` RelationshipLinks, required
          - `self` string, uri, nullable, required
          - `related` string, uri, nullable, required
        - `data` ResourceIdentifier, required
          - `type` string, required: Identifies the type of the linked resource.
          - `id` string, required: The unique identifier of the linked resource.
        - `meta` unknown, required
      - `actor` SingleRelationship, required
        - `links` RelationshipLinks, required
          - `self` string, uri, nullable, required
          - `related` string, uri, nullable, required
        - `data` ResourceIdentifier, required
          - `type` string, required: Identifies the type of the linked resource.
          - `id` string, required: The unique identifier of the linked resource.
        - `meta` unknown, required
      - `items` MultipleRelationships, required
        - `links` RelationshipLinks, required
          - `self` string, uri, nullable, required
          - `related` string, uri, nullable, required
        - `data` ResourceIdentifier[], nullable, required
          - `type` string, required: Identifies the type of the linked resource.
          - `id` string, required: The unique identifier of the linked resource.
        - `meta` unknown, required
      - `addedItems` MultipleRelationships, required
        - `links` RelationshipLinks, required
          - `self` string, uri, nullable, required
          - `related` string, uri, nullable, required
        - `data` ResourceIdentifier[], nullable, required
          - `type` string, required: Identifies the type of the linked resource.
          - `id` string, required: The unique identifier of the linked resource.
        - `meta` unknown, required
      - `removedItems` MultipleRelationships, required
        - `links` RelationshipLinks, required
          - `self` string, uri, nullable, required
          - `related` string, uri, nullable, required
        - `data` ResourceIdentifier[], nullable, required
          - `type` string, required: Identifies the type of the linked resource.
          - `id` string, required: The unique identifier of the linked resource.
        - `meta` unknown, required
  - `errors` ProblemDetail[]: A list of errors returned with the response, if the request could not be completed. Each object includes details about a specific issue.
    - `id` string: A unique identifier for this specific error occurrence. Useful for debugging and support.
    - `links` object, nullable: Links related to the error. May include a URL to relevant documentation or support resources.
    - `status` integer: The HTTP status code associated with the error (e.g., 400, 404, 422).
    - `code` string: An internal code that identifies the type or category of the error.
    - `title` string: A short summary of the problem.
    - `source` ProblemSource: Identifies the part of the request that caused the error. Only one source is present per error.
      - `pointer` string, nullable: Specifies the path to the field in the request body that caused the error.
      - `parameter` string, nullable: Identifies a query parameter in the request URL that caused the error.
      - `header` string, nullable: Identifies the request header that caused the error.
    - `detail` string: Additional information about the error, intended to provide more context than the title.
    - `meta` unknown
  - `meta` unknown
  - `included` unknown[]: A list of related resources included in the response, either automatically by the API or in response to an `include` parameter in the request. Each item contains a full resource object (e.g., users, teams, acceptance criteria).
    - unknown
  - `links` unknown

---

[API](https://skmtc.dev/atono/apis/backend-api.md) · [All operations](https://skmtc.dev/atono/apis/backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/atono/apis/backend-api/revisions/78a57b1d8c3d?raw)
