> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mightynetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Segment



**Kind**: `object`

## Implements

- `DatabaseRecord`
- `Node`

## Fields

**`avatarUrl`**: `String`

URL of the Segment's avatar image, or null when it has none.

---

**`color`**: `String`

The Segment's display color as a hex code, or null when unset. Visible to hosts and moderators only.

**Required scopes:** `host:read:network`, `host:read:network_members`, `host:write:network_members` (any one)

---

**`createdAt`**: `ISO8601DateTime!`

---

**`creator`**: `Member`

The member who created this Segment, or null when none is recorded.

---

**`customField`**: `CustomField`

The profile field this Segment is an option of, for tag, badge, and choice Segments.

---

**`description`**: `String`

Plain-text description of the Segment (up to 200 characters). Not HTML.

---

**`flavor`**: `SegmentFlavor!`

What this Segment represents (tag, badge, or choice).

---

**`id`**: `ID!`

ID of the object.

---

**`isAdHoc`**: `Boolean!`

Whether a member created this Segment, rather than a host.

---

**`isPinnedToFeaturedMembers`**: `Boolean`

Whether this Segment is currently pinned to the Network's Featured Members
list (Members Explore). Curation state, so host/moderator-only like the
mutations that change it. Null for non-managers.

**Required scopes:** `host:read:network`, `host:read:network_members`, `host:write:network_members` (any one)

> Deprecated: Featured pins target Clusters; read Cluster.isPinnedToFeaturedMembers instead.

---

**`lastActivityAt`**: `ISO8601DateTime`

Always null; no Segment flavor currently populates this field.

---

**`memberCount`**: `Int`

Number of members currently in the Segment. Computed live.

---

**`members`**: `[Member!]!`

Bounded preview (up to 30) of the Segment's current members, from active
memberships. The authoritative size is `memberCount`, not this list's length.

---

**`resourceId`**: `ID!`

Resource ID for this object, for interop with the Admin API.

---

**`title`**: `String!`

---

**`updatedAt`**: `ISO8601DateTime!`

---

**`url`**: `String!`

Canonical URL of the Segment.



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.