List version comments
Returns comment threads for a specific version and an optional page path.
/v1/spaces/{spaceId}/versions/{versionId}/commentsAuthorizationBearer token · headerrequiredBetter Auth session, OAuth access token, OAuth client-credentials token, or sfm_ Space machine credential.
spaceIdstringrequiredversionIdstringrequiredlimitintegerPage size.
cursorstringOpaque cursor from the previous page's nextCursor.
statusstringReturn only threads in this lifecycle state: open, or archived for resolved.
openarchivedfilterstringNamed view. open and archived (resolved) select a lifecycle state and win over status; spam lists the moderation-held threads, which requires comment-moderator access.
openarchivedspampagePathstringReturn only threads anchored to this page path, for example /pricing.
qstringFree-text search across thread and comment bodies.
authorstringReturn only threads started by this author name.
unreadstringReturn only threads that are unread for the caller. Resolved threads are never unread.
Response for status 200
$schemastring<uri>Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.
dataobject[]requiredShow propertiesHide properties
objectidstringrequiredcastThreadIdstringrequiredspaceIdstringrequiredversionIdstring | nullrequiredchannelstring | nullrequiredpagePathstringrequiredurlstring | nullrequiredstatusstringrequiredopen, or archived for a resolved thread.
openarchivedmoderationStatestringrequiredclearspamheldCommentIdsstring[]requiredunreadbooleanrequiredWhether an open thread has a message by someone else since you last read it. Resolved threads are never unread.
unreadCountintegerrequiredMessages by others since you last read the thread. Zero exactly when unread is false.
bodystring | nullrequiredauthorobject | nullrequiredShow propertiesHide properties
kindstring | nullrequiredidstring | nullrequiredprofileIdstring | nullrequirednamestring | nullrequiredusernamestring | nullrequiredShow propertiesHide properties
stringnullavatarUrlstring<uri> | nullrequiredShow propertiesHide properties
string<uri>nullcolorstring | nullrequiredShow propertiesHide properties
stringnullnulltargetobjectrequiredmentionsstring[]requiredSpacefast user ids this thread or reply @mentions.
reactionsobjectrequiredattachmentOriginstring<uri> | nullrequiredShow propertiesHide properties
string<uri>nullattachmentsobject[]requiredShow propertiesHide properties
objectidstringrequirednamestringrequiredcontentTypestringrequiredsizeintegerrequiredkindstringrequiredscreenshotimagefilecropobjectShow propertiesHide properties
xnumberrequiredynumberrequiredwidthnumberrequiredheightnumberrequiredurlstring | nullrequiredcommentsobject[]requiredShow propertiesHide properties
objectattachmentsobject[]requiredShow propertiesHide properties
objectidstringrequirednamestringrequiredcontentTypestringrequiredsizeintegerrequiredkindstringrequiredscreenshotimagefilecropobjectShow propertiesHide properties
xnumberrequiredynumberrequiredwidthnumberrequiredheightnumberrequiredurlstring | nullrequiredmentionsstring[]requiredSpacefast user ids this thread or reply @mentions.
permalinkstring | nullrequireddashboardUrlstring<uri> | nullrequiredThe thread in the dashboard, opened with the reader's own sign-in. Null without a team.
Show propertiesHide properties
string<uri>nullcreatedAtstring<date-time>requiredWhen the thread started. Never changes.
lastActivityAtstring<date-time>requiredWhen the latest message was posted. Resolving, reopening and reactions don't move it.
updatedAtstring<date-time> | nullrequiredWhen anything on the thread last changed. Lists are ordered by it.
Show propertiesHide properties
string<date-time>nullpaginationobjectrequiredShow propertiesHide properties
nextCursorstring | nullrequiredOpaque cursor for the next page; null when there are no more results.
hasMorebooleanrequiredWhether another page exists after this one.
Problem details (RFC 9457). Any 4xx/5xx response is one application/problem+json document.
$schemastring<uri>Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.
typestringrequiredProblem type URI resolving to the error docs page. The server derives it mechanically from code against the docs origin.
titlestringrequiredShort human-readable summary of the problem type. The server derives it mechanically from code.
statusintegerrequiredHTTP status code of this response, repeated in the body.
detailstringrequiredHuman-readable failure explanation for this occurrence.
codestringrequiredStable snake_case error code naming the failed public contract.
pointerstringRFC 6901 JSON Pointer into the failing request field, for example "/files/37/path", on validation failures.
detailsobjectMachine-readable context for the error code.
fixstringOne sentence on what to do about this error code, the same text as the type page. Read it before retrying.
suggestionsstring[]Actionable recovery steps safe to show in dashboards, SDKs, and CLI output.
nextstring[]Copy-pasteable commands or API requests an agent can run next.
requestIdstringrequiredThe request id to quote when contacting support.