Skip to main content
DELETE
Revert an override

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
Available options:
overallHealth,
productUsage,
relationship,
outcomes,
experience,
featureRequests,
risks

Response

200 - application/json

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