Skip to content

AccountBadge

A badge that the account shows on its profile: the badge of a role that the account’s user holds and chose to show. Clients show label as user content (dir="auto"), never translated.

object
role_id
required

The ID of a resource, a UUIDv7 in its canonical string form.

string format: uuid
label
required

The name on the badge.

string
color
required

The color of a role badge: the name of a pair of the web client’s design tokens for its background and its text, which keep their contrast in the light and the dark theme. Server themes do not change them. The color is decoration; the badge’s label carries its meaning.

string
Allowed values: neutral red orange yellow green teal blue purple pink

Example generated

{
"role_id": "01890a5d-ac96-774b-bcce-b302099a8057",
"label": "example",
"color": "neutral"
}

For LLMs and coding agents:llms.txt,llms-full.txt, llms-small.txt

Analytics on this site