Skip to main content
objectPoll

Implements

Fields

answerCount
Int

Total number of answers

answerType
String

Poll answer type (single, multiple, ordered, text)

answerers
[User!]

Top answerers across the poll (public-answers polls only)

Answers (votes) on this poll, newest first. Empty unless the poll has public answers.

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.

choiceId
ID

Filter to answers for a single choice, by the ID returned in the poll's choices field

first
Int

Returns the first n elements from the list.

last
Int

Returns the last n elements from the list.

assets
[Asset!]!

Attached media assets (images, files, videos)

body
String
deprecated

Deprecated alias for bodyHtml — the post's textual content as HTML.

Use bodyHtml for HTML output or bodyText for plain text.
bodyHtml
String

HTML content with formatted mentions, hashtags, and links

bodyText
String

Plain text content (raw, no formatting)

cheerCount
Int!
cheersEnabled
Boolean!
choices

Poll answer options with vote tallies

commentCount
Int!
commentPrompt
String

Follow-up question shown after answering

Comments on this post

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.

last
Int

Returns the last n elements from the list.

rootOnly
Boolean
default:false

When true, return only root comments (exclude replies). Use this for feed views where replies are fetched via each comment's replies connection.

commentsEnabled
Boolean!
contentKind
String

Content kind from the underlying NewContent model (e.g. text, link, article, file)

createdAt
ISO8601DateTime!
creator

Link-preview metadata — populated for link-type posts only

featuredIndex
Int

Position in the owning space's featured pin list; null when not pinned.

Header/banner image for the post (drives the event card banner). Returns the default-placeholder header when no header asset is set.

id
ID!

ID of the object.

imageUrl
String

Primary image URL

isAudio
Boolean!

True when the post contains audio, either as the header media or in the body. A cheap scalar for list views; use primaryMedia to actually render a player.

isHostPost
Boolean!
isQuestion
Boolean!

True when this is a text-answer question rather than a choice poll

isTrending
Boolean!

True when the post's weekly activity score meets the owning space's trending threshold

isVideo
Boolean!

True when the post contains a video (uploaded video asset or video-image override)

lastEditedAt
ISO8601DateTime
mainImageAspectRatio
Float

Aspect ratio of the primary image

maxValue
Int

Maximum value for continuous/percentage polls

minValue
Int

Minimum value for continuous/percentage polls

networkFeaturedIndex
Int

Position in the network-level featured pin list; null when not pinned.

networkWelcomeIndex
Int

Position in the network-level welcome-checklist pin list; null when not pinned.

pollAnswerCountThreshold
Int

Minimum answers before results are shown

pollColor
String

Poll theme color (derived from space/Network)

pollTreatment
String

Poll treatment (list, continuous, percentage, media, binary, swipe)

pollType

The externally supported poll variant; null for internal-only legacy treatments

postType
String!

Post type enum (post, article, event, poll, introduction, etc.)

primaryMedia

The post's hero media upload — native audio attached as the header. Null when the post has no header audio; clients branch on the node's presence and type rather than on a boolean.

processingPredictedCompletionAt
ISO8601DateTime

Predicted completion time of media processing (video transcoding); null unless the post is currently processing.

publicAnswers
Boolean

Whether poll answers are publicly visible

publishedAt
ISO8601DateTime
reactions

Emoji reaction counts grouped by base emoji (skin-tone modifiers are stripped server-side).

resourceId
ID!

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

saved
Boolean!

Whether the current viewer has saved (bookmarked) this post

slug
String
space
status
String!
tags

Space tags associated with this post (used for feed card context)

textAnswersCount
Int

Number of unique text poll answerers (questions only)

title
String
topTextPollAnswerers
[User!]

Recent answerers for text polls (questions only)

updatedAt
ISO8601DateTime!
url
String!

Canonical URL of the post.

viewerAnswer

The current viewer's answer to this poll; null when unanswered, signed out, or for text questions (answered via comments)

viewerBlacklistType

The current member's own mute/hide/report flag on this post, or null if they have none.

viewerHasAnswered
Boolean!

Whether the current viewer has answered — votes for choice/value polls, a root comment for text questions

welcomeIndex
Int

Position in the owning space's welcome pin list; null when not pinned.