Reference / Members

Add a fact about a member

add_identity_fragmentocmgr members add-fragmentPOST /v1/members/{id}/fragmentsWRITE

Record one fact about a member that no connector supplies — a job title heard on a call, an address an enrichment provider returned. It is stored as an observation on a dedicated identity for that source and pinned to the member, so the provenance survives every later merge or split and the fact never becomes indistinguishable from the community’s own data. The source must be "manual", "enrichment:<provider>" or "api:<client>": a fragment may not claim to have come from Slack or GitHub. Repeating the same fragment writes nothing new. Set verified only when the source actually proved the value — a verified email can merge two people on its own.

Parameters

Over REST, fragment is the whole request body, not a field in it. The other parameters, apart from the path, are query parameters.

member_idstring (uuid)REQUIRED

The member the fact is about.

fragmentobjectREQUIRED

The fact to record, with its provenance.

sourcestringREQUIRED

Where the fact came from: "manual" (a person asserted it), "enrichment:<provider>" (e.g. enrichment:pdl) or "api:<client>". A fragment may never claim to come from a connector source such as slack or github — only a connector may say that.

field"name" | "handle" | "email" | "commit_email" | "profile_url" | "url" | "xref" | "xref_mention" | "avatar_url" | "avatar_hash" | "avatar_kind" | "bio" | "company" | "title" | "location_city" | "location_country" | "joined_at"REQUIRED

Which attribute this is: name, handle, email, company, title, location_city, ….

valuestringREQUIRED

The value, as it should be recorded.

verifiedboolean

Only true when the source actually proved the value (a confirmed address, an OAuth-verified account). A verified email is strong enough to merge people on its own, so do not set it on hearsay.

observed_atstring (date-time)

When the fact was true at the source (ISO 8601). Defaults to now.

CLI flags

--source <source>REQUIRED

manual, enrichment:<provider> or api:<client>

--field <field>REQUIRED

One of: name, handle, email, commit_email, profile_url, url, xref, xref_mention, avatar_url, avatar_hash, avatar_kind, bio, company, title, location_city, location_country, joined_at, employees, github_org

--value <value>REQUIRED

The value to record

--verified

The source proved this value (e.g. a confirmed email)

--observed-at <date>

When the fact was true at the source (default: now)

Also in Members