Skip to main content
POST
Override the AI's health of a pillar

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.

Path Parameters

account
string
required

The Statisfy account id

Required string length: 1 - 255
pillar
enum<string>
required

overallHealth, or one of the six dimensions the AI assesses

Available options:
overallHealth,
productUsage,
relationship,
outcomes,
experience,
featureRequests,
risks

Body

application/json
health
string
required

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

Required string length: 1 - 100
override_reason
string
required

Why you are overriding the AI's assessment

Required string length: 1 - 500
reason
string
required

Why the pillar has this health: shown as its reason, as the AI's is

Required string length: 1 - 5000
grace_period_days
enum<integer> | null

How many days the AI leaves the pillar as you set it. Left out: your workspace's default (Settings > Health)

Available options:
7,
14,
30,
60,
90

Response

Successful Response

account
string
required

The Statisfy account id

confidence
number | null
required

The AI's confidence, from 0 to 1 (0 when it had too little data); 1 on an override

date
string<date-time>
required

When the row was written: the AI's assessment, a person's entry or override, or a revert

health
string | null
required

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

id
string
required
level
enum<string> | null
required

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

Available options:
Very Positive,
Positive,
Slightly Positive,
Neutral,
Slightly Negative,
Negative,
Very Negative
locked_until
string<date-time> | null
required

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

pillar
enum<string>
required

overallHealth (the AI's overall assessment, weighing the six dimensions), or one of the six dimensions

Available options:
overallHealth,
productUsage,
relationship,
outcomes,
experience,
featureRequests,
risks
reason
string | null
required

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

source
enum<string>
required

ai (the AI's assessment, or a revert restoring it) or overridden (a person replaced the AI's assessment)

Available options:
ai,
overridden