> ## 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.

# Override the AI's health of a pillar

> Replaces the AI's assessment of one pillar of an account (overallHealth, or one of the six dimensions) with yours, as the app's AI Health widget does: `health`, the `reason` shown with it, and `override_reason`, why you override. The AI leaves the pillar as you set it for `grace_period_days` (7, 14, 30, 60 or 90; your workspace's default when left out), unless the override is reverted or replaced. Overriding an override replaces it, and a revert still restores the AI's assessment. Each call is a new override, as each save in the app is: sending one again writes another row, and the lock runs from it. Returns the new row, as health.list shows it (source overridden, with locked_until). A pillar the AI has not assessed yet is a 409. The account's CRM sync pushes the change as it does an edit in the app. Labels are your health scale's (a 7-point value is stored as its label). A person's key writes as that person, as the app does; a Member writes only the accounts in their book.



## OpenAPI

````yaml /api/statisfy-api.openapi.json post /v1/health/accounts/{account}/overrides/{pillar}
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/health/accounts/{account}/overrides/{pillar}:
    post:
      tags:
        - health
      summary: Override the AI's health of a pillar
      description: >-
        Replaces the AI's assessment of one pillar of an account (overallHealth,
        or one of the six dimensions) with yours, as the app's AI Health widget
        does: `health`, the `reason` shown with it, and `override_reason`, why
        you override. The AI leaves the pillar as you set it for
        `grace_period_days` (7, 14, 30, 60 or 90; your workspace's default when
        left out), unless the override is reverted or replaced. Overriding an
        override replaces it, and a revert still restores the AI's assessment.
        Each call is a new override, as each save in the app is: sending one
        again writes another row, and the lock runs from it. Returns the new
        row, as health.list shows it (source overridden, with locked_until). A
        pillar the AI has not assessed yet is a 409. The account's CRM sync
        pushes the change as it does an edit in the app. Labels are your health
        scale's (a 7-point value is stored as its label). A person's key writes
        as that person, as the app does; a Member writes only the accounts in
        their book.
      operationId: health_override
      parameters:
        - description: The Statisfy account id
          in: path
          name: account
          required: true
          schema:
            maxLength: 255
            minLength: 1
            type: string
        - description: overallHealth, or one of the six dimensions the AI assesses
          in: path
          name: pillar
          required: true
          schema:
            enum:
              - overallHealth
              - productUsage
              - relationship
              - outcomes
              - experience
              - featureRequests
              - risks
            type: string
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                grace_period_days:
                  anyOf:
                    - enum:
                        - 7
                        - 14
                        - 30
                        - 60
                        - 90
                      type: integer
                    - type: 'null'
                  default: null
                  description: >-
                    How many days the AI leaves the pillar as you set it. Left
                    out: your workspace's default (Settings > Health)
                  title: Grace Period Days
                health:
                  description: >-
                    One of your health scale's labels (such as Green), or a
                    7-point value from Very Negative to Very Positive;
                    health.list shows the labels in use
                  maxLength: 100
                  minLength: 1
                  title: Health
                  type: string
                override_reason:
                  description: Why you are overriding the AI's assessment
                  maxLength: 500
                  minLength: 1
                  title: Override Reason
                  type: string
                reason:
                  description: >-
                    Why the pillar has this health: shown as its reason, as the
                    AI's is
                  maxLength: 5000
                  minLength: 1
                  title: Reason
                  type: string
              required:
                - health
                - reason
                - override_reason
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Health'
          description: Successful Response
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Health'
          description: Created
      security:
        - HTTPBearer: []
components:
  schemas:
    Health:
      properties:
        account:
          description: The Statisfy account id
          title: Account
          type: string
        confidence:
          anyOf:
            - type: number
            - type: 'null'
          description: >-
            The AI's confidence, from 0 to 1 (0 when it had too little data); 1
            on an override
          title: Confidence
        date:
          description: >-
            When the row was written: the AI's assessment, a person's entry or
            override, or a revert
          format: date-time
          title: Date
          type: string
        health:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            As the app shows it: your health scale's label (such as Green), or
            the 7-point value when you have no scale; null when the AI had too
            little data. Labels follow your current scale: when it changes, past
            rows are relabelled too, so compare over time with level
          title: Health
        id:
          title: Id
          type: string
        level:
          anyOf:
            - enum:
                - Very Positive
                - Positive
                - Slightly Positive
                - Neutral
                - Slightly Negative
                - Negative
                - Very Negative
              type: string
            - type: 'null'
          description: >-
            The 7-point rating, from Very Negative to Very Positive (the label
            is derived from it; on an override made with one of your scale's
            labels, that label's default rating). Null when the AI had too
            little data, or on older rows stored with another value
          title: Level
        locked_until:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: >-
            On an override, the end of the grace period the person chose: the AI
            does not reassess the pillar before then unless the override is
            reverted or replaced. Older override rows keep the value they were
            written with; null on other rows
          title: Locked Until
        pillar:
          description: >-
            overallHealth (the AI's overall assessment, weighing the six
            dimensions), or one of the six dimensions
          enum:
            - overallHealth
            - productUsage
            - relationship
            - outcomes
            - experience
            - featureRequests
            - risks
          title: Pillar
          type: string
        reason:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            Why: the AI's reasoning (it may contain citation markers such as
            [1]), or, on an override, what the person wrote as the reason for
            the new health. Where the AI had too little data: Insufficient data
            to predict health
          title: Reason
        source:
          description: >-
            ai (the AI's assessment, or a revert restoring it) or overridden (a
            person replaced the AI's assessment)
          enum:
            - ai
            - overridden
          title: Source
          type: string
      required:
        - id
        - account
        - pillar
        - health
        - level
        - confidence
        - reason
        - source
        - locked_until
        - date
      title: Health
      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.