> ## 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.

# Space



**Kind**: `object`

## Implements

- `Conversation`
- `DatabaseRecord`
- `Node`
- `PublicConversation`
- `SpaceInterface`

## Fields

**`archived`**: `Boolean!`

Whether a Host has archived this Space. The Network's own apps hide archived
Spaces from members; `Network.spaces(includeArchived: false)` leaves them out.

---

**`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`**: `[BrandingImage!]`

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`**: `[FeatureToggle!]!`

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`**: `[SpaceImageType!]`

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`**: `ChatMessage`

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`**: `ChatMessageConnection!`

Messages in this conversation, newest first. System messages (renames, member
changes) are excluded unless includeSystemMessages is true. Each cursor names
a message, so paging from it continues at that message while messages arrive
or are deleted.

**Arguments:**

- `after`: `String` — Returns the elements in the list that come after the specified cursor.
- `aroundMessageId`: `ID` — Center the page on this message — resource ID or GlobalID: about half the
page is newer than it, then the message itself, then older ones; a side with
fewer messages lends its share to the other. Takes first only, not after,
before, or last. The message must be visible in this list, so a system
message needs includeSystemMessages.
- `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` = 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:**

- `includeDisallowedPostTypes`: `Boolean` — Pass true, as a Network Host or Network moderator, to also return posts
whose type their Space does not allow: a type whose feature is off in that
Space, such as Events for an event. Otherwise they are left out. Anyone else
passing true gets the default.
- `list`: `PinList!` — 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`**: `PostContentConnection!`

Posts, events, and polls within the space. In a Space with course content
enabled, coursework that is not posted is included for a Host or moderator of
that Space, or when includeUnpublished is true for a Network Host token
holding host:read:network_posts, host:read:network, or
host:write:network_posts.

**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!]`
- `includeDisallowedPostTypes`: `Boolean` — Pass true, as a Network Host or Network moderator, to also return posts
whose type their Space does not allow: a type whose feature is off in that
Space, such as Events for an event. Otherwise they are left out. Anyone else
passing true gets the default.
- `includeUnpublished`: `Boolean` = false — Include coursework that is not posted. For a Network Host without a role in
the Space, requires host:read:network_posts, host:read:network, or
host:write:network_posts.
- `last`: `Int` — Returns the last _n_ elements from the list.

---

**`profileQuestions`**: `ProfileQuestionConnection!`

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.
- `context`: `ProfileQuestionContext` — 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`**: `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`**: `[WelcomeChecklistItem!]!`

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)



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