Skip to main content
objectSpace

Implements

Fields

avatarDarkModeUrl
String

Dark-mode variant of the avatar image URL.

avatarUrl
String

Avatar image URL.

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.

createdAt
ISO8601DateTime

When the Space was created.

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.

filledBrandingImageSlots

Which of the Space's branding image slots currently hold an image, as slot names without the urls. The slim counterpart of brandingImages, for asking which Spaces are missing a slot across a whole page of Spaces at once. Null to a viewer who may not change this Space's branding.

id
ID!

ID of the object.

lastChatAt
ISO8601DateTime

When the most recent message was sent

lastMessage

The most recent message in the conversation

memberCount
Int

Number of members in the Space. Computed live.

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

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.

pins
[Pin!]!

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

Required scopes: read:network, host:read:network (any one)

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. In a Space with course content enabled, coursework that is not posted is included only for a Host or moderator of that 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

updatedAt
ISO8601DateTime

When the Space record last changed.

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.

Required scopes: read:network, host:read:network (any one)