Skip to main content
PATCH
Change a fact

Authorizations

Authorization
string
header
required

An API key. Scopes are granted per key: read:projects, read:visibility, read:content, read:demand, read:agents, read:tables, read:facts, and the write scopes run:agents and write:facts.

Scopes

write:facts

Path Parameters

project_id
string<uuid>
required

The brand's id

fact_id
string<uuid>
required

The fact's id

Body

application/json

What to change on a fact

statement
string

The new wording; the value checks use is read from it again

Required string length: 3 - 500
active
boolean

Switch the fact on or off

Response

OK

A fact about the brand

id
string<uuid>
required
statement
string
required

One sentence that is either true or false

attribute
string
required

What it is about: price, plan, feature, integration, …

status
enum<string>
required

approved facts are the ones claims are checked against (when active); suggestions wait for review; archived ones were removed

Available options:
approved,
suggested,
archived,
rejected
active
boolean
required

Switched on: an approved, active fact is used to check claims; an inactive one stays listed but is not

origin
enum<string>
required
Available options:
manual,
suggested_ai,
imported
created_at
string<date-time>
required
updated_at
string<date-time>
required