reputation field is the maintained sum of all of them.
Reputation is owned by the optional reputation bundle. Install it from the Database page of your project to turn the feature on. The reputation bundle works with or without the spaces bundle: without spaces, only the general bucket accrues. See Bundles.
Buckets
The bundle provisions a per-tenant table of reputation buckets, keyed by(userId, spaceId).
A few rules govern buckets:
- Lazy creation — a bucket is created the first time a user’s reputation changes for that
(user, space)pair. A bucket that has never been touched reads as0. - Negative scores allowed — there is no floor; a bucket can go below zero.
- Buckets are not returned directly — there is no endpoint that lists raw buckets. You read reputation through the
reputationtotal and the opt-inspaceReputationfield described below. - Deleting a space removes every user’s bucket for that space and for every sub-space deleted with it; each user’s
reputationchanges by what they held there (down for a positive bucket, up for a negative one). Grant records stay. - A deleted space earns and costs nothing — a reputation change aimed at a space that no longer exists is not recorded, so content left pointing at a deleted space earns and costs nothing.
Where reputation comes from
Reputation accrues two ways:- Earned — the system credits a user for what they do: creating entities (a draft earns nothing until it’s published) and comments, and receiving votes and reactions on them. These changes are not individually recorded.
- Granted — reputation is deliberately given, either by another user (a transfer that debits their bucket) or by your app (a mint that creates it from nothing, or destroys it). Every grant is persisted as a ReputationGrant record, so a user’s grant history is readable while their earned history is not.
The maintained total
Every user object still carries areputation field, and default API responses are unchanged. reputation is the maintained overall total — the sum of all of that user’s buckets (general plus every space). It is always present, whether or not a space is in context.
Reading space-scoped reputation
Every user-returning endpoint accepts an opt-inspaceReputation object that adds a spaceReputation number to each returned user. The reputation total is always included regardless; the per-space spaceReputation field is purely additive and only appears when you ask for it.
Calling the REST API directly? Send the two flat fields,
spaceReputationId and spaceReputationDescendants: in the query on a GET, in the body on a POST. Over REST they are the only form; an object is ignored. The spaceReputation object below is how the SDKs take it — the only form they take — and they send it as those two fields.The spaceReputation object
Pass a single object. Its two fields express which bucket to read and whether to sum descendants:
spaceId accepts "context":
The resulting field appears on each user object as:
The user’s reputation in the requested space (or the space-less bucket), as the viewer may see it. Present only when the
spaceReputation object (over REST, spaceReputationId) was supplied. Missing buckets, and spaces the viewer can’t read, read as 0.Where the params apply
ThespaceReputation object is accepted on every user-returning endpoint, but the allowed values for spaceId depend on whether the endpoint has a space in context.
Context endpoints accept <uuid>, none, and context:
- Entity feed and single entity
- Comment feed and single comment
- Entity and comment reaction lists
- Chat — list messages, get message, send message, list members, list reactions
- Space members and space team
- Moderated reports
- Content search and AI ask
<uuid> and none only — context is rejected (400) because there is no space context to derive:
- Fetch user (by ID, foreign ID, or username) and user suggestions
- Followers / following lists (by user ID)
- Connections list (by user ID)
search-users) and the self-relative follows/connections lists are not enriched and ignore the param.
Who sees space reputation
A user’s reputation in a space shows what they did there, so it follows the space’s reading rules. The viewer — the signed-in user, or the user a service key names inactingUserId — gets a space’s bucket only when they can read that space’s content:
- A space
<uuid>the viewer can’t read reads0for every user, the same as a space with no buckets. It’s not an error. - With
includeDescendants, the sum counts only the spaces of the subtree the viewer can read, the named space included when they can read it. A sub-space they can read still counts when they can’t read the space above it. - With
"context", each row’s space counts only when the viewer can read it; other rows read0. "none"is the space-less bucket, read by everyone.
actingUserId, read only spaces whose content signed-out callers can read. Without the spaces bundle, every space id reads 0, including the id of a space that existed before the bundle was uninstalled. The reputation total is never filtered.
Uninstalling is lossy
Removing thereputation bundle drops the buckets table and the grants table — destroying all grant history — and zeroes the reputation column on every user. Reinstalling starts fresh from zero — past scores are not recomputed. Back up anything you need before uninstalling. See Bundles.

