> ## Documentation Index
> Fetch the complete documentation index at: https://help.statisfy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List what changed an account's AI fields

> What wrote an account's AI fields, grouped by cause, newest first: each AI run on it (every field it changed, its verdict, and the meeting or thread that set it off; a run that changed nothing shows with no changes) and each person's save. A change marked `undoable` is the field's newest and the AI's: undo_ai_change puts back what it replaced. A page never splits a cause; `total` counts causes.



## OpenAPI

````yaml /api/statisfy-api.openapi.json get /v1/objects/account/records/{account_id}/ai-changes
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/objects/account/records/{account_id}/ai-changes:
    get:
      tags:
        - accounts
      summary: List what changed an account's AI fields
      description: >-
        What wrote an account's AI fields, grouped by cause, newest first: each
        AI run on it (every field it changed, its verdict, and the meeting or
        thread that set it off; a run that changed nothing shows with no
        changes) and each person's save. A change marked `undoable` is the
        field's newest and the AI's: undo_ai_change puts back what it replaced.
        A page never splits a cause; `total` counts causes.
      operationId: accounts_list_ai_changes
      parameters:
        - description: The account's Statisfy id
          in: path
          name: account_id
          required: true
          schema:
            maxLength: 255
            minLength: 1
            type: string
        - in: query
          name: limit
          required: false
          schema:
            default: 20
            maximum: 100
            minimum: 1
            type: integer
        - description: '`next_cursor` from the previous page'
          in: query
          name: cursor
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            default: null
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiChangesPage'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    AiChangesPage:
      properties:
        data:
          items:
            $ref: '#/components/schemas/AiChangeGroup'
          title: Data
          type: array
        has_more:
          default: false
          title: Has More
          type: boolean
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
        total:
          title: Total
          type: integer
      required:
        - data
        - total
      title: AiChangesPage
      type: object
    AiChangeGroup:
      properties:
        activity:
          anyOf:
            - $ref: '#/components/schemas/AiChangeActivity'
            - type: 'null'
          description: The meeting or thread that set the run off, when it still exists
        actor_name:
          anyOf:
            - type: string
            - type: 'null'
          description: The person, on a human save
          title: Actor Name
        changes:
          description: The fields it moved; empty on a run that left everything as it was
          items:
            $ref: '#/components/schemas/AiFieldChange'
          title: Changes
          type: array
        confidence:
          anyOf:
            - type: number
            - type: 'null'
          title: Confidence
        evidence:
          items:
            additionalProperties: true
            type: object
          title: Evidence
          type: array
        key:
          description: 'One cause on this record: an AI run, or one person''s save'
          title: Key
          type: string
        reason:
          anyOf:
            - type: string
            - type: 'null'
          description: 'Why: the AI''s verdict, or the person''s reason'
          title: Reason
        reviewed:
          description: Fields the cause wrote, changed or not
          title: Reviewed
          type: integer
        source:
          description: >-
            Who wrote it: ai (the AI; ai_shadow, an assessment it recorded
            without writing), human (a person, in the app or with this API),
            sync, import, bulk, flow, or outcome
          title: Source
          type: string
        status:
          anyOf:
            - type: string
            - type: 'null'
          description: The AI's verdict on the record in this run
          title: Status
        trigger:
          anyOf:
            - type: string
            - type: 'null'
          description: What set the AI's run off (such as scheduled or meeting)
          title: Trigger
        undo:
          description: A person's save that reversed one of the AI's changes
          title: Undo
          type: boolean
        written_at:
          format: date-time
          title: Written At
          type: string
      required:
        - key
        - written_at
        - source
        - reviewed
        - undo
        - changes
      title: AiChangeGroup
      type: object
    AiChangeActivity:
      properties:
        date:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Date
        id:
          description: The activity's id
          title: Id
          type: string
        type:
          anyOf:
            - type: string
            - type: 'null'
          description: Its kind, such as a meeting or an email thread
          title: Type
      required:
        - id
      title: AiChangeActivity
      type: object
    AiFieldChange:
      properties:
        field_key:
          title: Field Key
          type: string
        field_name:
          title: Field Name
          type: string
        id:
          description: 'The change''s id: what undo_ai_change takes'
          title: Id
          type: string
        previous_value:
          title: Previous Value
        reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Reason
        undoable:
          description: >-
            True while it is the field's newest change and the AI's: what
            undo_ai_change can put back
          title: Undoable
          type: boolean
        undone_by:
          anyOf:
            - type: string
            - type: 'null'
          description: The id of the person's Undo that reversed it
          title: Undone By
        value:
          title: Value
      required:
        - id
        - field_key
        - field_name
        - previous_value
        - value
        - undoable
      title: AiFieldChange
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.