Attribute types
Rating
Star ratings from 0 to 5
Rating attributes are a numeric value from 0 to 5. In the UI, they are presented as a proportion of 5 stars.
There are no default rating attributes in Attio, but they can be created by users and in the API.
Only single-select rating attributes are permitted.
Reading values
Rating attribute values have a value
property:
Writing values
To write rating values, you can either pass an integer directly, or an object with a single key, value
.
As all rating attributes are single-select, you may pass the value directly or as an array containing a single element.
Filtering
Ratings can be filtered by the operators $eq
, $gte
, $gt
,$lte
,$lt
. The implicit syntax does an exact equality check:
Was this page helpful?