Skip to main content
objectSpace

Implements

Fields

avatarDarkModeUrl
String

Dark-mode variant of the avatar image URL.

avatarUrl
String

Avatar image URL.

avatarUrls
[String!]!

Avatar image URLs representing the conversation — member avatars for direct messages, the space image for space chats

bookmarkedAt
ISO8601DateTime

When the viewer bookmarked this conversation, or null when it is not bookmarked

brandingImages

The Space's branding image slots, each with the image currently in it. Slots the Space's Imagery settings do not offer appear only when they hold an image. Null to a viewer who may not change this Space's branding.

discoverable
Boolean!

Whether the space is discoverable by non-members (drives welcome-checklist pin eligibility and other visibility-aware UI).

explorable
Boolean!

Whether a non-member can preview the space without joining (drives welcome-checklist routing between preview and join).

featureToggles

The Space's per-Space features (Feed, Course, Chat, Events, Members, Page, Hashtags, Single Event, Discovery), each with whether it is currently enabled on this Space. Same key vocabulary as Network.availableSpaceFeatures and updateSpace(featureToggles:); network-wide toggles live on Network.featureToggles.

The activity feed for a Network or space

Arguments
after
String

Cursor from pageInfo.endCursor for the next page

filterIds
[String!]

Menu-driven filter selection: feedOptions.filters[].ids. Resolved server-side for the requesting client. Ignored when filters is supplied.

filters
FeedFilters

Feed filtering and sorting options. The programmatic surface — takes precedence over sortId/filterIds when supplied.

first
Int
default:20

Number of items to return

promptTypes
[String!]

Feed prompt types to include on the menu-driven path. Omit for all; empty list excludes prompts. Ignored when filters is supplied.

sortId
String

Menu-driven sort selection: a feedOptions.sorts[].id. Resolved server-side. Ignored when filters is supplied.

feedOptions

The filter and sort options for this space's feed, gated to the current viewer. Presentation (options, order, semantics) is selected server-side per client.

feedPromptSetPrompts

The prompts inside a feed prompt set, the same prompts this space's feed embeds in a prompt set, for refreshing one set without re-fetching the feed.

Arguments
setType

Which prompt set to return the prompts for.

id
ID!

ID of the object.

lastChatAt
ISO8601DateTime

When the most recent message was sent

lastMessage

The most recent message in the conversation

lastReadMessage

The most recent message the viewer has read in this conversation

memberCount
Int!

Number of members in the conversation

Messages in this conversation, newest first. System messages (renames, member changes) are excluded unless includeSystemMessages is true.

Arguments
after
String

Returns the elements in the list that come after the specified cursor.

before
String

Returns the elements in the list that come before the specified cursor.

first
Int

Returns the first n elements from the list.

includeSystemMessages
Boolean
default:false

Include system lifecycle messages (renames, member adds and removes). Defaults to false.

last
Int

Returns the last n elements from the list.

muted
Boolean!

Whether the viewer has muted notifications for this conversation

pins
[Pin!]!

Curated pins on this Space for the given list, in curator-set order.

Arguments
list
required

Which curated list to return.

position
Int

Sort position of the Space within its Collection (lower = higher in the sidebar). Compare positions only between Spaces in the same Collection.

Posts, events, and polls within the space

Arguments
after
String

Returns the elements in the list that come after the specified cursor.

before
String

Returns the elements in the list that come before the specified cursor.

first
Int

Returns the first n elements from the list.

ids
[ID!]
last
Int

Returns the last n elements from the list.

profileQuestions

Profile questions shown to prospective members joining this Space.

Arguments
after
String

Returns the elements in the list that come after the specified cursor.

before
String

Returns the elements in the list that come before the specified cursor.

Filter to a single join flow. Omit to return questions for every context.

first
Int

Returns the first n elements from the list.

last
Int

Returns the last n elements from the list.

resourceId
ID!

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

spacesCollection

The Collection this Space belongs to, if any.

title
String!
unreadCount
Int!

Number of messages the viewer has not read in this conversation

url
String!

Canonical web URL.

viewerNotInterested
Boolean!

Whether the current member marked this space as not interested (downranked in their feed).

welcomeChecklistItems

The welcome-checklist items for this Space, in curator-set order, with the viewer's completion state.