Requires the entities bundle. A project without the entities bundle returns 403 database/tables-not-available. See Bundles.
Returns a paginated list of entities for the project. Supports rich filtering by source, space, user, keywords, metadata, title, content, location, and time. Excludes drafts — use Fetch Drafts for those.
Service key only: the user to list as. The page is exactly what that user’s own access token would get — followedOnly and blockedFilter for them, their own removed entities when userId names them, saved, their own reactions and the top comments they may see — and the reads count as their views. Leave it out for the anonymous view (no follow or block filtering; the reads don’t count as views). This is the viewer, not the author filter: that is userId. A user token always acts as its own user and must not send it, and neither may a request with no credentials (400 entity/acting-user-not-allowed).
Number of entities per page. A whole number of at least 1 — 0, a negative number or a non-integer value returns 400 entity/invalid-query. Maximum 100 — larger values are treated as 100.
Sort direction, "asc" or "desc" (either case). Not accepted with "hot" or "controversial", which rank one way only (most first): sending it returns 400 entity/invalid-query.
When sortBy=top, which reaction type to rank by. One of upvote, downvote, like, love, wow, sad, angry, funny. Only accepted with sortBy=top; sending it with any other sort returns 400 entity/invalid-query.
Only entities with this exact sourceId. none returns entities with no source. Left out, or sent empty, entities from any source (or none) are returned. null and undefined are refused with 400 entity/unsupported-param (see Saying “no value”).
Only entities in this space. none returns entities in no space. Left out, or sent empty, entities in any space or in none are returned. null and undefined are refused with 400 entity/unsupported-param (see Saying “no value”).
Filter by author: returns only entities whose userId is this user. Not the viewer: a service key names the viewer in actingUserId. When this matches the viewer (the signed-in user, or the user named in actingUserId), moderation-removed entities are also included (an author can see their own removed entities).
When "true", only returns entities from users the viewer follows. Needs a viewer: the signed-in user, or the user a service key names in actingUserId; without one it has no effect.
Controls how entities authored by users the viewer is block-edged with are treated. "exclude" (default) hides those entities. "include-outbound-blocked" re-includes entities authored only by users the viewer themselves blocked (their own “view anyway” choice); it never surfaces content from users who blocked the viewer. Counts reflect what the viewer sees (computed post-filter). Has no effect when the moderation bundle is not installed.
radius is in meters: a number greater than 0 and at most 20000000 (20,000 km, about half the Earth’s circumference, which reaches any point). A value outside that range, or one that isn’t a finite number (Infinity, 1e999), returns 400 entity/invalid-query.
doesNotInclude — none of these key/value pairs may match
exists — keys that must be present
doesNotExist — keys that must be absent
Keys and values can’t contain a NUL character (\u0000), which metadata can never hold; one anywhere in metadataFilters returns 400 entity/invalid-query.
Associations to include in each entity. Pass it as one comma-separated value (include=user,space) or as repeated params (include=user&include=space). Values:
user — the author’s user profile
space — the space the entity belongs to (null when the viewer can’t see that space; see Space visibility)
topComments — the entity’s best top-level comments, as full Comment objects (see Top comments)
saved — whether the authenticated user has saved this entity
With include=topComments: how many top comments per entity. A whole number of at least 1 — 0, a negative number or a non-integer value returns 400 entity/invalid-query. Maximum 5 — larger values are treated as 5.
With include=topComments: the reaction whose raw count ranks the top comments (ties newest first). One of upvote, downvote, like, love, wow, sad, angry, funny.
include values are case-insensitive. An unknown value returns 400 entity/invalid-query, as does sending topCommentsLimit or topCommentsSortByReaction without include=topComments. topComments lists real content only — deleted, removed and block-edged comments are left out — and is [] when nothing qualifies.
This endpoint has a space in context, so it accepts the opt-in reputation params. They add a spaceReputation field to each populated author user, alongside the always-present reputation total. Requires the reputation bundle. See the Reputation data model for the full contract.
Each item in data is an Entity object. File URLs are signed and ready to use.
Viewing scores (hot sort) are updated asynchronously after each fetch. Scores decay at a rate set per project (feed decay). Entities with equal scores are ordered newest first.
sortBy=new is rejected with a pointer to its replacement, sortBy=createdAt.
{ "error": "`sortBy=new` isn't supported in v8. Use `sortBy=createdAt`, which lists newest first by default.", "code": "entity/unsupported-param", "param": "sortBy"}
Unsupported filter value — 400
null or undefined as the value of sourceId, spaceId or spaceReputationId. The error names the spelling to use instead; for spaceId it reads Use `spaceId=none` for entities in no space, or leave it out for any space.
{ "error": "`sourceId=null` isn't supported. Use `sourceId=none` for entities with no source, or leave it out for any source.", "code": "entity/unsupported-param", "param": "sourceId"}
Invalid Query — 400
Returned when page or limit is below 1 or not a whole number, when locationFilters.radius isn’t a number greater than 0 and at most 20000000, or when metadataFilters contains a NUL character. error starts with the field name.
{ "error": "page: Page must be a positive integer", "code": "entity/invalid-query" }
{ "error": "locationFilters.radius: Radius must be a number greater than 0 and at most 20000000 (meters)", "code": "entity/invalid-query" }
{ "error": "metadataFilters: Metadata filter keys and values can't contain a NUL character (\\u0000)", "code": "entity/invalid-query" }
Invalid include — 400
Returned with code entity/invalid-query for an unknown include value, when topCommentsLimit is below 1 or not a whole number, or when topCommentsLimit / topCommentsSortByReaction is sent without include=topComments.
include=topComment is rejected with a pointer to its replacement.
{ "error": "`include=topComment` was renamed to `topComments` (with `topCommentsLimit` / `topCommentsSortByReaction`).", "code": "entity/unsupported-param", "param": "include"}
Acting User Not Allowed — 400
A user token, or a request with no credentials, sent actingUserId, even naming its own user. Only a service key names the user it acts as; a user token always acts as its own user.
{ "error": "actingUserId is only accepted with a service key. A user's own token always acts as that user.", "code": "entity/acting-user-not-allowed" }
User Not Found — 404
Returned when a service key names an actingUserId that isn’t a user in this project.
{ "error": "No user with this actingUserId exists in this project.", "code": "entity/user-not-found" }
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Sublay Documentation","colors":{"primary":"#D22F55","light":"#F06789","dark":"#9E1E3E"},"logo":{"light":"https://mintcdn.com/replyke/v1bBipIMITFr7df3/logo/wordmark-dark.png?fit=max\u0026auto=format\u0026n=v1bBipIMITFr7df3\u0026q=85\u0026s=b95cabb32c98884aa4bca294b07238cc","dark":"https://mintcdn.com/replyke/v1bBipIMITFr7df3/logo/wordmark-light.png?fit=max\u0026auto=format\u0026n=v1bBipIMITFr7df3\u0026q=85\u0026s=871e10ec08b164c26f260e845b44c5c5"},"favicon":"https://mintcdn.com/replyke/v1bBipIMITFr7df3/favicon.svg?fit=max\u0026auto=format\u0026n=v1bBipIMITFr7df3\u0026q=85\u0026s=4988ad1acfb2c3909d214fd1ea72e5d8","api":{"playground":{"display":"none"},"mdx":{"auth":{"method":"bearer"},"server":"https://api.sublay.io"}},"navbar":{"links":[{"href":"https://dash.sublay.io","label":"Dashboard"}]},"footer":{"socials":{"github":"https://github.com/sublay-io"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"replyke","hasAudioNarration":false,"actualSubdomain":"replyke","customDomains":["docs.sublay.io"],"gitSource":{"type":"github","owner":"sublay-io","repo":"monorepo","deployBranch":"v8","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae20ce1201cdb70a522a607","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API Reference","count":521},{"language":"default","tag":"Hooks Reference","count":485},{"language":"default","tag":"SDK Reference","count":145},{"language":"default","tag":"Components","count":92},{"language":"default","tag":"Modules","count":84},{"language":"default","tag":"Spaces","count":68},{"language":"default","tag":"Data Models","count":55},{"language":"default","tag":"Models","count":55},{"language":"default","tag":"Workspaces","count":48},{"language":"default","tag":"JS SDK","count":44}]},"assistantConfig":{"enableStarterQuestions":false},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"v8/api-reference/entities/fetch-many-entities","slug":"/v8/api-reference/entities/fetch-many-entities","pageMetadata":{"title":"Fetch Many Entities","api":"GET /v8/:projectId/entities","description":"Get a paginated, filtered list of entities","href":"/v8/api-reference/entities/fetch-many-entities"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Get a paginated, filtered list of entities\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const SpaceReputationParams=({variant=`context`,field=`path`})=>{const _components={a:`a`,..._provideComponents()},{Expandable,ParamField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);const isUser=variant===`user`;return _jsxs(_Fragment,{children:[_jsxs(ParamField,{[field]:`spaceReputation`,type:`object`,children:[`Opt-in. Adds a `,_jsx(`code`,{children:`spaceReputation`}),` number to each returned user, scoped to a single space. Requires the `,_jsx(`code`,{children:`reputation`}),` bundle. The `,_jsx(`code`,{children:`reputation`}),` total is always present regardless;`,` `,_jsx(`code`,{children:`spaceReputation`}),` is purely additive and only appears when you pass this object. `,_jsx(`strong`,{children:`This object is the primary form`}),` — it replaces the deprecated flat props below. See the`,` `,_jsx(_components.a,{href:`/v8/data-models/reputation`,children:`Reputation data model`}),` for the full contract.`,_jsxs(Expandable,{title:`spaceReputation`,children:[isUser?_jsxs(ParamField,{name:`spaceId`,type:`string | \"none\"`,required:true,children:[`Which bucket to read. A space `,_jsx(`strong`,{children:_jsx(`code`,{children:`\u003cuuid>`})}),` reads that space's bucket; `,_jsx(`strong`,{children:_jsx(`code`,{children:`\"none\"`})}),` reads the project-general (space-less) bucket.`,` `,_jsxs(`strong`,{children:[_jsx(`code`,{children:`\"context\"`}),` is rejected (400)`]}),` on this endpoint — there is no space context to derive. The empty string and the legacy `,_jsx(`code`,{children:`general`}),` / `,_jsx(`code`,{children:`null`}),` aliases are also rejected. Missing buckets read as `,_jsx(`code`,{children:`0`}),`.`]}):_jsxs(ParamField,{name:`spaceId`,type:`string | \"none\" | \"context\"`,required:true,children:[`Which bucket to read. One of: a space `,_jsx(`strong`,{children:_jsx(`code`,{children:`\u003cuuid>`})}),` `,`(that space's bucket), `,_jsx(`strong`,{children:_jsx(`code`,{children:`\"none\"`})}),` (the project-general, space-less bucket), or`,` `,_jsx(`strong`,{children:_jsx(`code`,{children:`\"context\"`})}),` (the space derived from the request context — resolved per-row on lists, or the single space on member/team/conversation surfaces). The empty string and the legacy`,` `,_jsx(`code`,{children:`general`}),` / `,_jsx(`code`,{children:`null`}),` aliases are rejected (400). Missing buckets read as `,_jsx(`code`,{children:`0`}),`.`]}),_jsxs(ParamField,{name:`includeDescendants`,type:`boolean`,children:[`Only honored when `,_jsx(`code`,{children:`spaceId`}),` is an explicit space `,_jsx(`code`,{children:`\u003cuuid>`}),`. When `,_jsx(`code`,{children:`true`}),`, `,_jsx(`code`,{children:`spaceReputation`}),` is the`,` `,_jsx(`strong`,{children:`subtree sum`}),` — the named space plus all of its descendant spaces (the root space's own bucket included). Ignored for`,` `,_jsx(`code`,{children:`\"none\"`}),`; not allowed with `,_jsx(`code`,{children:`\"context\"`}),`.`]})]})]}),isUser?_jsxs(ParamField,{[field]:`spaceReputationId`,type:`string`,deprecated:true,children:[_jsx(`strong`,{children:`Deprecated`}),` — use the `,_jsx(`code`,{children:`spaceReputation`}),` `,`object instead. The flat form of `,_jsx(`code`,{children:`spaceReputation.spaceId`}),`. Still accepted (the object wins if both are passed); removal is a later major version. Accepts a space `,_jsx(`code`,{children:`\u003cuuid>`}),` or `,_jsx(`code`,{children:`\"none\"`}),` only —`,` `,_jsx(`code`,{children:`\"context\"`}),` is rejected (400) on this endpoint.`]}):_jsxs(ParamField,{[field]:`spaceReputationId`,type:`string`,deprecated:true,children:[_jsx(`strong`,{children:`Deprecated`}),` — use the `,_jsx(`code`,{children:`spaceReputation`}),` `,`object instead. The flat form of `,_jsx(`code`,{children:`spaceReputation.spaceId`}),`. Still accepted (the object wins if both are passed); removal is a later major version. Accepts a space `,_jsx(`code`,{children:`\u003cuuid>`}),`, `,_jsx(`code`,{children:`\"none\"`}),`, or`,` `,_jsx(`code`,{children:`\"context\"`}),`.`]}),_jsxs(ParamField,{[field]:`spaceReputationDescendants`,type:`boolean`,deprecated:true,children:[_jsx(`strong`,{children:`Deprecated`}),` — use`,` `,_jsx(`code`,{children:`spaceReputation.includeDescendants`}),` instead. The flat form, only honored alongside an explicit `,_jsx(`code`,{children:`spaceReputationId`}),` `,_jsx(`code`,{children:`\u003cuuid>`}),`.`]})]})};function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Heading,Note,ParamField,_MdxComponentBoundary}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(Note,{children:_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[`Requires the `,_jsx(_components.code,{children:`entities`}),` bundle.`]}),` A project without the entities bundle returns `,_jsx(_components.code,{children:`403 database/tables-not-available`}),`. See `,_jsx(_components.a,{href:`/v8/bundles`,children:`Bundles`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`Returns a paginated list of entities for the project. Supports rich filtering by source, space, user, keywords, metadata, title, content, location, and time. Excludes drafts — use `,_jsx(_components.a,{href:`/v8/api-reference/entities/fetch-drafts`,children:`Fetch Drafts`}),` for those.`]}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsx(Heading,{level:`3`,id:`acting-user`,children:`Acting user`}),`\n`,_jsx(ParamField,{query:`actingUserId`,type:`string`,id:`param-acting-user-id`,children:_jsxs(_components.p,{children:[`Service key only: the user to list as. The page is exactly what that user’s own access token would get — `,_jsx(_components.code,{children:`followedOnly`}),` and `,_jsx(_components.code,{children:`blockedFilter`}),` for them, their own removed entities when `,_jsx(_components.code,{children:`userId`}),` names them, `,_jsx(_components.code,{children:`saved`}),`, their own reactions and the top comments they may see — and the reads count as their views. Leave it out for the anonymous view (no follow or block filtering; the reads don’t count as views). This is the viewer, not the author filter: that is `,_jsx(_components.code,{children:`userId`}),`. A user token always acts as its own user and must not send it, and neither may a request with no credentials (`,_jsx(_components.code,{children:`400 entity/acting-user-not-allowed`}),`).`]})}),`\n`,_jsx(Heading,{level:`3`,id:`pagination`,children:`Pagination`}),`\n`,_jsx(ParamField,{query:`page`,type:`number`,default:`1`,id:`param-page`,children:_jsxs(_components.p,{children:[`Page number (1-indexed). A whole number of at least `,_jsx(_components.code,{children:`1`}),` — `,_jsx(_components.code,{children:`0`}),`, a negative number or a non-integer value returns `,_jsx(_components.code,{children:`400 entity/invalid-query`}),`.`]})}),`\n`,_jsx(ParamField,{query:`limit`,type:`number`,default:`10`,id:`param-limit`,children:_jsxs(_components.p,{children:[`Number of entities per page. A whole number of at least `,_jsx(_components.code,{children:`1`}),` — `,_jsx(_components.code,{children:`0`}),`, a negative number or a non-integer value returns `,_jsx(_components.code,{children:`400 entity/invalid-query`}),`. Maximum `,_jsx(_components.code,{children:`100`}),` — larger values are treated as `,_jsx(_components.code,{children:`100`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`sorting`,children:`Sorting`}),`\n`,_jsxs(ParamField,{query:`sortBy`,type:`string`,default:`createdAt`,id:`param-sort-by`,children:[_jsx(_components.p,{children:`Sort algorithm. One of:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`createdAt`}),` — chronological by creation time (honors `,_jsx(_components.code,{children:`sortDir`}),`; newest first by default)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`top`}),` — by reaction count (use `,_jsx(_components.code,{children:`sortByReaction`}),` to specify which type)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`hot`}),` — by computed engagement score (decays over time)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`controversial`}),` — high total votes with a close up/down split (entities with no votes sort last)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`metadata.\u003cproperty>`}),` — sort by a metadata field (e.g. `,_jsx(_components.code,{children:`metadata.memberCount`}),`)`]}),`\n`]})]}),`\n`,_jsx(ParamField,{query:`sortDir`,type:`string`,default:`desc`,id:`param-sort-dir`,children:_jsxs(_components.p,{children:[`Sort direction, `,_jsx(_components.code,{children:`\"asc\"`}),` or `,_jsx(_components.code,{children:`\"desc\"`}),` (either case). Not accepted with `,_jsx(_components.code,{children:`\"hot\"`}),` or `,_jsx(_components.code,{children:`\"controversial\"`}),`, which rank one way only (most first): sending it returns `,_jsx(_components.code,{children:`400 entity/invalid-query`}),`.`]})}),`\n`,_jsx(ParamField,{query:`sortType`,type:`string`,default:`auto`,id:`param-sort-type`,children:_jsxs(_components.p,{children:[`When using `,_jsx(_components.code,{children:`sortBy=metadata.*`}),`, the type of the metadata field. One of `,_jsx(_components.code,{children:`auto`}),`, `,_jsx(_components.code,{children:`numeric`}),`, `,_jsx(_components.code,{children:`text`}),`, `,_jsx(_components.code,{children:`boolean`}),`, `,_jsx(_components.code,{children:`timestamp`}),`. `,_jsx(_components.code,{children:`auto`}),` infers the type at query time.`]})}),`\n`,_jsx(ParamField,{query:`sortByReaction`,type:`string`,default:`upvote`,id:`param-sort-by-reaction`,children:_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`sortBy=top`}),`, which reaction type to rank by. One of `,_jsx(_components.code,{children:`upvote`}),`, `,_jsx(_components.code,{children:`downvote`}),`, `,_jsx(_components.code,{children:`like`}),`, `,_jsx(_components.code,{children:`love`}),`, `,_jsx(_components.code,{children:`wow`}),`, `,_jsx(_components.code,{children:`sad`}),`, `,_jsx(_components.code,{children:`angry`}),`, `,_jsx(_components.code,{children:`funny`}),`. Only accepted with `,_jsx(_components.code,{children:`sortBy=top`}),`; sending it with any other sort returns `,_jsx(_components.code,{children:`400 entity/invalid-query`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`filtering`,children:`Filtering`}),`\n`,_jsx(ParamField,{query:`timeFrame`,type:`string`,id:`param-time-frame`,children:_jsxs(_components.p,{children:[`Restrict to entities created within the last period. One of `,_jsx(_components.code,{children:`hour`}),`, `,_jsx(_components.code,{children:`day`}),`, `,_jsx(_components.code,{children:`week`}),`, `,_jsx(_components.code,{children:`month`}),`, `,_jsx(_components.code,{children:`year`}),`.`]})}),`\n`,_jsx(ParamField,{query:`sourceId`,type:`string`,id:`param-source-id`,children:_jsxs(_components.p,{children:[`Only entities with this exact `,_jsx(_components.code,{children:`sourceId`}),`. `,_jsx(_components.code,{children:`none`}),` returns entities with no source. Left out, or sent empty, entities from any source (or none) are returned. `,_jsx(_components.code,{children:`null`}),` and `,_jsx(_components.code,{children:`undefined`}),` are refused with `,_jsx(_components.code,{children:`400 entity/unsupported-param`}),` (see `,_jsx(_components.a,{href:`/v8/authentication#saying-no-value`,children:`Saying “no value”`}),`).`]})}),`\n`,_jsx(ParamField,{query:`spaceId`,type:`string`,id:`param-space-id`,children:_jsxs(_components.p,{children:[`Only entities in this space. `,_jsx(_components.code,{children:`none`}),` returns entities in no space. Left out, or sent empty, entities in any space or in none are returned. `,_jsx(_components.code,{children:`null`}),` and `,_jsx(_components.code,{children:`undefined`}),` are refused with `,_jsx(_components.code,{children:`400 entity/unsupported-param`}),` (see `,_jsx(_components.a,{href:`/v8/authentication#saying-no-value`,children:`Saying “no value”`}),`).`]})}),`\n`,_jsx(ParamField,{query:`userId`,type:`string`,id:`param-user-id`,children:_jsxs(_components.p,{children:[`Filter by author: returns only entities whose `,_jsx(_components.code,{children:`userId`}),` is this user. Not the viewer: a service key names the viewer in `,_jsx(_components.code,{children:`actingUserId`}),`. When this matches the viewer (the signed-in user, or the user named in `,_jsx(_components.code,{children:`actingUserId`}),`), moderation-removed entities are also included (an author can see their own removed entities).`]})}),`\n`,_jsx(ParamField,{query:`followedOnly`,type:`string`,id:`param-followed-only`,children:_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`\"true\"`}),`, only returns entities from users the viewer follows. Needs a viewer: the signed-in user, or the user a service key names in `,_jsx(_components.code,{children:`actingUserId`}),`; without one it has no effect.`]})}),`\n`,_jsx(ParamField,{query:`blockedFilter`,type:`string`,default:`exclude`,id:`param-blocked-filter`,children:_jsxs(_components.p,{children:[`Controls how entities authored by users the viewer is `,_jsx(_components.a,{href:`/v8/sdk/moderation/overview#blocking`,children:`block-edged`}),` with are treated. `,_jsx(_components.code,{children:`\"exclude\"`}),` (default) hides those entities. `,_jsx(_components.code,{children:`\"include-outbound-blocked\"`}),` re-includes entities authored `,_jsx(_components.strong,{children:`only`}),` by users the viewer themselves blocked (their own “view anyway” choice); it never surfaces content from users who blocked the viewer. Counts reflect what the viewer sees (computed post-filter). Has no effect when the `,_jsx(_components.code,{children:`moderation`}),` bundle is not installed.`]})}),`\n`,_jsxs(ParamField,{query:`keywordsFilters`,type:`object`,id:`param-keywords-filters`,children:[_jsx(_components.p,{children:`Filter by keywords. Pass as a JSON string or bracket-notation query params:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"includes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"react\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"typescript\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`], `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"doesNotInclude\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"vue\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] }`})]}),`\n`]})})})]}),`\n`,_jsxs(ParamField,{query:`titleFilters`,type:`object`,id:`param-title-filters`,children:[_jsx(_components.p,{children:`Filter by title content:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"hasTitle\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"true\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"includes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tutorial\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"doesNotInclude\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"beginner\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`hasTitle`}),`: `,_jsx(_components.code,{children:`\"true\"`}),` or `,_jsx(_components.code,{children:`\"false\"`}),` — filter for presence/absence of a title`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`includes`}),`: substring(s) to match (case-insensitive)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`doesNotInclude`}),`: substring(s) to exclude`]}),`\n`]})]}),`\n`,_jsx(ParamField,{query:`contentFilters`,type:`object`,id:`param-content-filters`,children:_jsxs(_components.p,{children:[`Filter by content text. Same structure as `,_jsx(_components.code,{children:`titleFilters`}),` (`,_jsx(_components.code,{children:`hasContent`}),`, `,_jsx(_components.code,{children:`includes`}),`, `,_jsx(_components.code,{children:`doesNotInclude`}),`).`]})}),`\n`,_jsxs(ParamField,{query:`attachmentsFilters`,type:`object`,id:`param-attachments-filters`,children:[_jsx(_components.p,{children:`Filter by attachment presence:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"hasAttachments\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"true\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})})]}),`\n`,_jsxs(ParamField,{query:`locationFilters`,type:`object`,id:`param-location-filters`,children:[_jsx(_components.p,{children:`Filter to entities within a radius of a point:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"latitude\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"40.7128\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"longitude\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"-74.0060\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"radius\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`radius`}),` is in meters: a number greater than `,_jsx(_components.code,{children:`0`}),` and at most `,_jsx(_components.code,{children:`20000000`}),` (20,000 km, about half the Earth’s circumference, which reaches any point). A value outside that range, or one that isn’t a finite number (`,_jsx(_components.code,{children:`Infinity`}),`, `,_jsx(_components.code,{children:`1e999`}),`), returns `,_jsx(_components.code,{children:`400 entity/invalid-query`}),`.`]})]}),`\n`,_jsxs(ParamField,{query:`metadataFilters`,type:`object`,id:`param-metadata-filters`,children:[_jsx(_components.p,{children:`Filter by metadata values. Supports complex conditions:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"includes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"published\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"includesAny\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"video\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }, { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"image\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"doesNotInclude\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"hidden\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"exists\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"category\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"doesNotExist\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"archivedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`includes`}),` — all key/value pairs must match (AND)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`includesAny`}),` — at least one object must match (OR)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`doesNotInclude`}),` — none of these key/value pairs may match`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`exists`}),` — keys that must be present`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`doesNotExist`}),` — keys that must be absent`]}),`\n`]}),_jsxs(_components.p,{children:[`Keys and values can’t contain a NUL character (`,_jsx(_components.code,{children:`\\\\u0000`}),`), which metadata can never hold; one anywhere in `,_jsx(_components.code,{children:`metadataFilters`}),` returns `,_jsx(_components.code,{children:`400 entity/invalid-query`}),`.`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`optional-associations`,children:`Optional Associations`}),`\n`,_jsxs(ParamField,{query:`include`,type:`string`,id:`param-include`,children:[_jsxs(_components.p,{children:[`Associations to include in each entity. Pass it as one comma-separated value (`,_jsx(_components.code,{children:`include=user,space`}),`) or as repeated params (`,_jsx(_components.code,{children:`include=user\u0026include=space`}),`). Values:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`user`}),` — the author’s user profile`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`space`}),` — the space the entity belongs to (`,_jsx(_components.code,{children:`null`}),` when the viewer can’t see that space; see `,_jsx(_components.a,{href:`/v8/data-models/space#visibility`,children:`Space visibility`}),`)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`topComments`}),` — the entity’s best top-level comments, as full `,_jsx(_components.a,{href:`/v8/data-models/comment`,children:`Comment`}),` objects (see `,_jsx(_components.a,{href:`/v8/data-models/entity#top-comments`,children:`Top comments`}),`)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`saved`}),` — whether the authenticated user has saved this entity`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`files`}),` — uploaded file/image attachments`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`grants`}),` — the `,_jsx(_components.a,{href:`/v8/data-models/reputation-grant#grantsummary`,children:`reputation-grant summary`}),` for the entity`]}),`\n`]})]}),`\n`,_jsx(ParamField,{query:`topCommentsLimit`,type:`number`,default:`1`,id:`param-top-comments-limit`,children:_jsxs(_components.p,{children:[`With `,_jsx(_components.code,{children:`include=topComments`}),`: how many top comments per entity. A whole number of at least `,_jsx(_components.code,{children:`1`}),` — `,_jsx(_components.code,{children:`0`}),`, a negative number or a non-integer value returns `,_jsx(_components.code,{children:`400 entity/invalid-query`}),`. Maximum `,_jsx(_components.code,{children:`5`}),` — larger values are treated as `,_jsx(_components.code,{children:`5`}),`.`]})}),`\n`,_jsx(ParamField,{query:`topCommentsSortByReaction`,type:`string`,default:`upvote`,id:`param-top-comments-sort-by-reaction`,children:_jsxs(_components.p,{children:[`With `,_jsx(_components.code,{children:`include=topComments`}),`: the reaction whose raw count ranks the top comments (ties newest first). One of `,_jsx(_components.code,{children:`upvote`}),`, `,_jsx(_components.code,{children:`downvote`}),`, `,_jsx(_components.code,{children:`like`}),`, `,_jsx(_components.code,{children:`love`}),`, `,_jsx(_components.code,{children:`wow`}),`, `,_jsx(_components.code,{children:`sad`}),`, `,_jsx(_components.code,{children:`angry`}),`, `,_jsx(_components.code,{children:`funny`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`include`}),` values are case-insensitive. An unknown value returns `,_jsx(_components.code,{children:`400 entity/invalid-query`}),`, as does sending `,_jsx(_components.code,{children:`topCommentsLimit`}),` or `,_jsx(_components.code,{children:`topCommentsSortByReaction`}),` without `,_jsx(_components.code,{children:`include=topComments`}),`. `,_jsx(_components.code,{children:`topComments`}),` lists real content only — deleted, removed and block-edged comments are left out — and is `,_jsx(_components.code,{children:`[]`}),` when nothing qualifies.`]}),`\n`,_jsx(Heading,{level:`3`,id:`space-scoped-reputation`,children:`Space-scoped reputation`}),`\n`,_jsxs(_components.p,{children:[`This endpoint has a space in context, so it accepts the opt-in reputation params. They add a `,_jsx(_components.code,{children:`spaceReputation`}),` field to each populated author `,_jsx(_components.code,{children:`user`}),`, alongside the always-present `,_jsx(_components.code,{children:`reputation`}),` total. Requires the `,_jsx(_components.code,{children:`reputation`}),` bundle. See the `,_jsx(_components.a,{href:`/v8/data-models/reputation`,children:`Reputation data model`}),` for the full contract.`]}),`\n`,_jsx(_MdxComponentBoundary,{name:`SpaceReputationParams`,children:_jsx(SpaceReputationParams,{variant:`context`,field:`query`})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:`Returns a paginated response object:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [ `}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`...Entity`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[] ],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pagination\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"page\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pageSize\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalPages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalItems\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`42`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"hasMore\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Each item in `,_jsx(_components.code,{children:`data`}),` is an `,_jsx(_components.a,{href:`/v8/data-models/entity`,children:`Entity`}),` object. File URLs are signed and ready to use.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Viewing scores (`,_jsx(_components.code,{children:`hot`}),` sort) are updated asynchronously after each fetch. Scores decay at a rate set per project (`,_jsx(_components.a,{href:`/v8/sdk/entity-lists/fetch-entities#feed-decay`,children:`feed decay`}),`). Entities with equal scores are ordered newest first.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`error-responses`,children:`Error Responses`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`Unsupported sort — 400`,id:`unsupported-sort-400`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`sortBy=new`}),` is rejected with a pointer to its replacement, `,_jsx(_components.code,{children:`sortBy=createdAt`}),`.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:'\"`sortBy=new` isn\\'t supported in v8. Use `sortBy=createdAt`, which lists newest first by default.\"'}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"entity/unsupported-param\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"param\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sortBy\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),_jsxs(Accordion,{title:`Unsupported filter value — 400`,id:`unsupported-filter-value-400`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`null`}),` or `,_jsx(_components.code,{children:`undefined`}),` as the value of `,_jsx(_components.code,{children:`sourceId`}),`, `,_jsx(_components.code,{children:`spaceId`}),` or `,_jsx(_components.code,{children:`spaceReputationId`}),`. The `,_jsx(_components.code,{children:`error`}),` names the spelling to use instead; for `,_jsx(_components.code,{children:`spaceId`}),` it reads `,_jsx(_components.code,{children:\"Use `spaceId=none` for entities in no space, or leave it out for any space.\"})]}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:'\"`sourceId=null` isn\\'t supported. Use `sourceId=none` for entities with no source, or leave it out for any source.\"'}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"entity/unsupported-param\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"param\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sourceId\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),_jsxs(Accordion,{title:`Invalid Query — 400`,id:`invalid-query-400`,children:[_jsxs(_components.p,{children:[`Returned when `,_jsx(_components.code,{children:`page`}),` or `,_jsx(_components.code,{children:`limit`}),` is below `,_jsx(_components.code,{children:`1`}),` or not a whole number, when `,_jsx(_components.code,{children:`locationFilters.radius`}),` isn’t a number greater than `,_jsx(_components.code,{children:`0`}),` and at most `,_jsx(_components.code,{children:`20000000`}),`, or when `,_jsx(_components.code,{children:`metadataFilters`}),` contains a NUL character. `,_jsx(_components.code,{children:`error`}),` starts with the field name.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"page: Page must be a positive integer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"entity/invalid-query\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"locationFilters.radius: Radius must be a number greater than 0 and at most 20000000 (meters)\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"entity/invalid-query\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"metadataFilters: Metadata filter keys and values can't contain a NUL character (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\\\\`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`u0000)\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"entity/invalid-query\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})})]}),_jsxs(Accordion,{title:`Invalid include — 400`,id:`invalid-include-400`,children:[_jsxs(_components.p,{children:[`Returned with code `,_jsx(_components.code,{children:`entity/invalid-query`}),` for an unknown `,_jsx(_components.code,{children:`include`}),` value, when `,_jsx(_components.code,{children:`topCommentsLimit`}),` is below `,_jsx(_components.code,{children:`1`}),` or not a whole number, or when `,_jsx(_components.code,{children:`topCommentsLimit`}),` / `,_jsx(_components.code,{children:`topCommentsSortByReaction`}),` is sent without `,_jsx(_components.code,{children:`include=topComments`}),`.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:'\"include: Unknown include `comments`. Allowed: user, space, topComments, saved, files, grants.\"'}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"entity/invalid-query\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})})]}),_jsxs(Accordion,{title:`Renamed include — 400`,id:`renamed-include-400`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`include=topComment`}),` is rejected with a pointer to its replacement.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:'\"`include=topComment` was renamed to `topComments` (with `topCommentsLimit` / `topCommentsSortByReaction`).\"'}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"entity/unsupported-param\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"param\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"include\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),_jsxs(Accordion,{title:`Acting User Not Allowed — 400`,id:`acting-user-not-allowed-400`,children:[_jsxs(_components.p,{children:[`A user token, or a request with no credentials, sent `,_jsx(_components.code,{children:`actingUserId`}),`, even naming its own user. Only a service key names the user it acts as; a user token always acts as its own user.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"actingUserId is only accepted with a service key. A user's own token always acts as that user.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"entity/acting-user-not-allowed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})})]}),_jsxs(Accordion,{title:`User Not Found — 404`,id:`user-not-found-404`,children:[_jsxs(_components.p,{children:[`Returned when a service key names an `,_jsx(_components.code,{children:`actingUserId`}),` that isn’t a user in this project.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"No user with this actingUserId exists in this project.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"entity/user-not-found\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`see-also`,children:`See Also`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/v8/data-models/reputation`,children:`Reputation data model`}),` — the `,_jsx(_components.code,{children:`spaceReputation`}),` object contract`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/v8/data-models/entity`,children:`Entity data model`})}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{SpaceReputationParams,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Fetch Many Entities","api":"GET /v8/:projectId/entities","description":"Get a paginated, filtered list of entities","href":"/v8/api-reference/entities/fetch-many-entities"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[157,4545,")=>null;function _cr"]]},"mdxExtracts":{"tableOfContents":[{"title":"Query Parameters","slug":"query-parameters","depth":2,"children":[{"title":"Acting user","slug":"acting-user","depth":3,"children":[]},{"title":"Pagination","slug":"pagination","depth":3,"children":[]},{"title":"Sorting","slug":"sorting","depth":3,"children":[]},{"title":"Filtering","slug":"filtering","depth":3,"children":[]},{"title":"Optional Associations","slug":"optional-associations","depth":3,"children":[]},{"title":"Space-scoped reputation","slug":"space-scoped-reputation","depth":3,"children":[]}]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Error Responses","slug":"error-responses","depth":2,"children":[]},{"title":"See Also","slug":"see-also","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Fetch Many Entities","path":"/v8/:projectId/entities","servers":[{"url":"https://api.sublay.io"}],"method":"get","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{"actingUserId":{"schema":[{"type":"string","description":"Service key only: the user to list as. The page is exactly what that user’s own access token would get — `followedOnly` and `blockedFilter` for them, their own removed entities when `userId` names them, `saved` , their own reactions and the top comments they may see — and the reads count as their views. Leave it out for the anonymous view (no follow or block filtering; the reads don’t count as views). This is the viewer, not the author filter: that is `userId` . A user token always acts as its own user and must not send it, and neither may a request with no credentials ( `400 entity/acting-user-not-allowed` )."}]},"page":{"schema":[{"type":"number","description":"Page number (1-indexed). A whole number of at least `1` — `0` , a negative number or a non-integer value returns `400 entity/invalid-query` ."}]},"limit":{"schema":[{"type":"number","description":"Number of entities per page. A whole number of at least `1` — `0` , a negative number or a non-integer value returns `400 entity/invalid-query` . Maximum `100` — larger values are treated as `100` ."}]},"sortBy":{"schema":[{"type":"string","description":"Sort algorithm. One of: `createdAt` — chronological by creation time (honors `sortDir` ; newest first by default) `top` — by reaction count (use `sortByReaction` to specify which type) `hot` — by computed engagement score (decays over time) `controversial` — high total votes with a close up/down split (entities with no votes sort last) `metadata.\u003cproperty>` — sort by a metadata field (e.g. `metadata.memberCount` )"}]},"sortDir":{"schema":[{"type":"string","description":"Sort direction, `\"asc\"` or `\"desc\"` (either case). Not accepted with `\"hot\"` or `\"controversial\"` , which rank one way only (most first): sending it returns `400 entity/invalid-query` ."}]},"sortType":{"schema":[{"type":"string","description":"When using `sortBy=metadata.*` , the type of the metadata field. One of `auto` , `numeric` , `text` , `boolean` , `timestamp` . `auto` infers the type at query time."}]},"sortByReaction":{"schema":[{"type":"string","description":"When `sortBy=top` , which reaction type to rank by. One of `upvote` , `downvote` , `like` , `love` , `wow` , `sad` , `angry` , `funny` . Only accepted with `sortBy=top` ; sending it with any other sort returns `400 entity/invalid-query` ."}]},"timeFrame":{"schema":[{"type":"string","description":"Restrict to entities created within the last period. One of `hour` , `day` , `week` , `month` , `year` ."}]},"sourceId":{"schema":[{"type":"string","description":"Only entities with this exact `sourceId` . `none` returns entities with no source. Left out, or sent empty, entities from any source (or none) are returned. `null` and `undefined` are refused with `400 entity/unsupported-param` (see Saying “no value” )."}]},"spaceId":{"schema":[{"type":"string","description":"Only entities in this space. `none` returns entities in no space. Left out, or sent empty, entities in any space or in none are returned. `null` and `undefined` are refused with `400 entity/unsupported-param` (see Saying “no value” )."}]},"userId":{"schema":[{"type":"string","description":"Filter by author: returns only entities whose `userId` is this user. Not the viewer: a service key names the viewer in `actingUserId` . When this matches the viewer (the signed-in user, or the user named in `actingUserId` ), moderation-removed entities are also included (an author can see their own removed entities)."}]},"followedOnly":{"schema":[{"type":"string","description":"When `\"true\"` , only returns entities from users the viewer follows. Needs a viewer: the signed-in user, or the user a service key names in `actingUserId` ; without one it has no effect."}]},"blockedFilter":{"schema":[{"type":"string","description":"Controls how entities authored by users the viewer is block-edged with are treated. `\"exclude\"` (default) hides those entities. `\"include-outbound-blocked\"` re-includes entities authored only by users the viewer themselves blocked (their own “view anyway” choice); it never surfaces content from users who blocked the viewer. Counts reflect what the viewer sees (computed post-filter). Has no effect when the `moderation` bundle is not installed."}]},"keywordsFilters":{"schema":[{"type":"object","properties":{},"description":"Filter by keywords. Pass as a JSON string or bracket-notation query params:"}]},"titleFilters":{"schema":[{"type":"object","properties":{},"description":"Filter by title content: `hasTitle` : `\"true\"` or `\"false\"` — filter for presence/absence of a title `includes` : substring(s) to match (case-insensitive) `doesNotInclude` : substring(s) to exclude"}]},"contentFilters":{"schema":[{"type":"object","properties":{},"description":"Filter by content text. Same structure as `titleFilters` ( `hasContent` , `includes` , `doesNotInclude` )."}]},"attachmentsFilters":{"schema":[{"type":"object","properties":{},"description":"Filter by attachment presence:"}]},"locationFilters":{"schema":[{"type":"object","properties":{},"description":"Filter to entities within a radius of a point: `radius` is in meters: a number greater than `0` and at most `20000000` (20,000 km, about half the Earth’s circumference, which reaches any point). A value outside that range, or one that isn’t a finite number ( `Infinity` , `1e999` ), returns `400 entity/invalid-query` ."}]},"metadataFilters":{"schema":[{"type":"object","properties":{},"description":"Filter by metadata values. Supports complex conditions: `includes` — all key/value pairs must match (AND) `includesAny` — at least one object must match (OR) `doesNotInclude` — none of these key/value pairs may match `exists` — keys that must be present `doesNotExist` — keys that must be absent Keys and values can’t contain a NUL character ( `\\u0000` ), which metadata can never hold; one anywhere in `metadataFilters` returns `400 entity/invalid-query` ."}]},"include":{"schema":[{"type":"string","description":"Associations to include in each entity. Pass it as one comma-separated value ( `include=user,space` ) or as repeated params ( `include=user\u0026include=space` ). Values: `user` — the author’s user profile `space` — the space the entity belongs to ( `null` when the viewer can’t see that space; see Space visibility ) `topComments` — the entity’s best top-level comments, as full Comment objects (see Top comments ) `saved` — whether the authenticated user has saved this entity `files` — uploaded file/image attachments `grants` — the reputation-grant summary for the entity"}]},"topCommentsLimit":{"schema":[{"type":"number","description":"With `include=topComments` : how many top comments per entity. A whole number of at least `1` — `0` , a negative number or a non-integer value returns `400 entity/invalid-query` . Maximum `5` — larger values are treated as `5` ."}]},"topCommentsSortByReaction":{"schema":[{"type":"string","description":"With `include=topComments` : the reaction whose raw count ranks the top comments (ties newest first). One of `upvote` , `downvote` , `like` , `love` , `wow` , `sad` , `angry` , `funny` ."}]}},"header":{},"cookie":{},"path":{}},"body":{}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"replyke","siteName":"Sublay Documentation","title":"Fetch Many Entities - Sublay Documentation","navMaps":{"firstHrefInVersion":{"8.0.0":{"href":"/v8/api-reference/entities/fetch-many-entities","matchLevel":0},"7.0.0":{"href":"/v7/api-reference/entities/fetch-many-entities","matchLevel":1},"6.0.0":{"href":"/v6/api-reference/entities/fetch-many-entities","matchLevel":1}},"firstHrefInLanguage":{}},"lastModified":"2026-10-28T11:52:40.211Z","originalFileLocation":"v8/api-reference/entities/fetch-many-entities.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Get a paginated, filtered list of entities\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sublay Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/replyke/a1LNRWO56FGzWHgw/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/replyke/a1LNRWO56FGzWHgw/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/replyke/a1LNRWO56FGzWHgw/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/replyke/a1LNRWO56FGzWHgw/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/replyke/a1LNRWO56FGzWHgw/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/replyke/a1LNRWO56FGzWHgw/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/replyke/a1LNRWO56FGzWHgw/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/replyke/a1LNRWO56FGzWHgw/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/replyke/a1LNRWO56FGzWHgw/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Fetch Many Entities - Sublay Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get a paginated, filtered list of entities\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sublay Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sublay.io/v8/api-reference/entities/fetch-many-entities\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://replyke.mintlify.site/_mintlify/api/og/v2?division=Entity+Endpoints\u0026amp;title=Fetch+Many+Entities\u0026amp;description=Get+a+paginated%2C+filtered+list+of+entities\u0026amp;theme=1f560c5aaf3e1f0507c7e36a\u0026amp;signature=9f984d2df6f1473ca62e7deb8c90165671bf12241598428330a09ce74234438f\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Fetch Many Entities - Sublay Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get a paginated, filtered list of entities\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://replyke.mintlify.site/_mintlify/api/og/v2?division=Entity+Endpoints\u0026amp;title=Fetch+Many+Entities\u0026amp;description=Get+a+paginated%2C+filtered+list+of+entities\u0026amp;theme=1f560c5aaf3e1f0507c7e36a\u0026amp;signature=9f984d2df6f1473ca62e7deb8c90165671bf12241598428330a09ce74234438f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/replyke/a1LNRWO56FGzWHgw/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sublay Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#D22F55\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sublay.io/v8/api-reference/entities/fetch-many-entities\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/v8/api-reference/entities/fetch-many-entities.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sublay.io/#organization\",\"name\":\"Sublay Documentation\",\"url\":\"https://docs.sublay.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/replyke/v1bBipIMITFr7df3/logo/wordmark-dark.png?fit=max\u0026auto=format\u0026n=v1bBipIMITFr7df3\u0026q=85\u0026s=b95cabb32c98884aa4bca294b07238cc\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sublay.io#website\",\"name\":\"Sublay Documentation\",\"url\":\"https://docs.sublay.io\",\"publisher\":{\"@id\":\"https://docs.sublay.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sublay.io/v8/api-reference/entities/fetch-many-entities#webpage\",\"url\":\"https://docs.sublay.io/v8/api-reference/entities/fetch-many-entities\",\"name\":\"Fetch Many Entities\",\"description\":\"Get a paginated, filtered list of entities\",\"dateModified\":\"2026-10-28T11:52:40.211Z\",\"isPartOf\":{\"@id\":\"https://docs.sublay.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sublay.io/v8/api-reference/entities/fetch-many-entities#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sublay.io/v8/api-reference/entities/fetch-many-entities#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Entity Endpoints\",\"item\":\"https://docs.sublay.io/v8/api-reference/entities/create-entity\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Fetch Many Entities\",\"item\":\"https://docs.sublay.io/v8/api-reference/entities/fetch-many-entities\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.sublay.io/v8/api-reference/entities/fetch-many-entities#apireference\",\"headline\":\"Fetch Many Entities\",\"name\":\"Fetch Many Entities\",\"description\":\"Get a paginated, filtered list of entities\",\"url\":\"https://docs.sublay.io/v8/api-reference/entities/fetch-many-entities\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sublay.io/v8/api-reference/entities/fetch-many-entities#webpage\"},\"dateModified\":\"2026-10-28T11:52:40.211Z\",\"publisher\":{\"@id\":\"https://docs.sublay.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sublay.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sublay Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Sublay Documentation","nav":{"global":null,"versions":[{"version":"8.0.0","tag":"Beta","tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":"/v8"}]},{"tab":"SDK Reference","pages":[{"title":"SDK Reference","href":"/v8/sdk/getting-started"}]},{"tab":"Hooks Reference","pages":[{"title":"Hooks Reference","href":"/v8/hooks/overview"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"Getting Started","href":"/v8/api-reference/getting-started"},{"title":"Authentication","href":"/v8/api-reference/authentication"}]},{"group":"Auth Endpoints","pages":[{"title":"Sign Up","api":"POST /v8/:projectId/auth/sign-up","href":"/v8/api-reference/auth/sign-up"},{"title":"Sign In","api":"POST /v8/:projectId/auth/sign-in","href":"/v8/api-reference/auth/sign-in"},{"title":"Sign Out","api":"POST /v8/:projectId/auth/sign-out","href":"/v8/api-reference/auth/sign-out"},{"title":"Change Password","api":"POST /v8/:projectId/auth/change-password","href":"/v8/api-reference/auth/change-password"},{"title":"Set Password","api":"POST /v8/:projectId/auth/set-password","href":"/v8/api-reference/auth/set-password"},{"title":"Request Access Token","api":"POST /v8/:projectId/auth/request-new-access-token","href":"/v8/api-reference/auth/request-access-token"},{"title":"Verify External User","api":"POST /v8/:projectId/auth/verify-external-user","href":"/v8/api-reference/auth/verify-external-user"},{"title":"Request Password Reset","api":"POST /v8/:projectId/auth/request-password-reset","href":"/v8/api-reference/auth/request-password-reset"},{"title":"Reset Password","api":"POST /v8/:projectId/auth/reset-password","href":"/v8/api-reference/auth/reset-password"},{"title":"Send Verification Email","api":"POST /v8/:projectId/auth/send-verification-email","href":"/v8/api-reference/auth/send-verification-email"},{"title":"Verify Email","api":"POST /v8/:projectId/auth/verify-email","href":"/v8/api-reference/auth/verify-email"},{"title":"Verify Email Link","api":"GET /v8/:projectId/auth/verify-email-link","href":"/v8/api-reference/auth/verify-email-link"},{"title":"Request Account Deletion","api":"POST /v8/:projectId/auth/request-account-deletion","href":"/v8/api-reference/auth/request-account-deletion"},{"title":"Confirm Account Deletion","api":"POST /v8/:projectId/auth/confirm-account-deletion","href":"/v8/api-reference/auth/confirm-account-deletion"}]},{"group":"OAuth Endpoints","pages":[{"title":"Authorize OAuth","api":"POST /v8/:projectId/oauth/authorize","href":"/v8/api-reference/oauth/authorize"},{"title":"Link OAuth Provider","api":"POST /v8/:projectId/oauth/link","href":"/v8/api-reference/oauth/link"},{"title":"List OAuth Identities","api":"GET /v8/:projectId/oauth/identities","href":"/v8/api-reference/oauth/list-identities"},{"title":"Unlink OAuth Identity","api":"DELETE /v8/:projectId/oauth/identities/:identityId","href":"/v8/api-reference/oauth/unlink-identity"}]},{"group":"User Endpoints","pages":[{"title":"Fetch User","api":"GET /v8/:projectId/users/:userId","href":"/v8/api-reference/users/fetch-user"},{"title":"Fetch User by Foreign ID","api":"GET /v8/:projectId/users/by-foreign-id","href":"/v8/api-reference/users/fetch-user-by-foreign-id"},{"title":"Fetch or Create User by Foreign ID","api":"POST /v8/:projectId/users/by-foreign-id","href":"/v8/api-reference/users/fetch-or-create-user-by-foreign-id"},{"title":"Fetch User by Username","api":"GET /v8/:projectId/users/by-username","href":"/v8/api-reference/users/fetch-user-by-username"},{"title":"Fetch User Suggestions","api":"GET /v8/:projectId/users/suggestions","href":"/v8/api-reference/users/fetch-user-suggestions"},{"title":"Fetch Comments by User","api":"GET /v8/:projectId/users/:userId/comments","href":"/v8/api-reference/users/fetch-comments-by-user-id"},{"title":"Check Username Availability","api":"GET /v8/:projectId/users/check-username","href":"/v8/api-reference/users/check-username-availability"},{"title":"Update User","api":"PATCH /v8/:projectId/users/:userId","href":"/v8/api-reference/users/update-user"},{"title":"Delete User","api":"DELETE /v8/:projectId/users/:userId","href":"/v8/api-reference/users/delete-user"}]},{"group":"User Follow Operations","pages":[{"title":"Follow User","api":"POST /v8/:projectId/users/:userId/follow","href":"/v8/api-reference/users/follows/follow-user"},{"title":"Get Follow Status","api":"GET /v8/:projectId/users/:userId/follow","href":"/v8/api-reference/users/follows/get-follow-status"},{"title":"Get Followers","api":"GET /v8/:projectId/users/:userId/followers","href":"/v8/api-reference/users/follows/get-followers"},{"title":"Get Followers Count","api":"GET /v8/:projectId/users/:userId/followers-count","href":"/v8/api-reference/users/follows/get-followers-count"},{"title":"Get Following","api":"GET /v8/:projectId/users/:userId/following","href":"/v8/api-reference/users/follows/get-following"},{"title":"Get Following Count","api":"GET /v8/:projectId/users/:userId/following-count","href":"/v8/api-reference/users/follows/get-following-count"},{"title":"Unfollow User","api":"DELETE /v8/:projectId/users/:userId/follow","href":"/v8/api-reference/users/follows/unfollow-user"}]},{"group":"User Connection Operations","pages":[{"title":"Request Connection","api":"POST /v8/:projectId/users/:userId/connection","href":"/v8/api-reference/users/connections/request-connection"},{"title":"Get Connection Status","api":"GET /v8/:projectId/users/:userId/connection","href":"/v8/api-reference/users/connections/get-connection-status"},{"title":"Get Connections","api":"GET /v8/:projectId/users/:userId/connections","href":"/v8/api-reference/users/connections/get-connections"},{"title":"Get Connections Count","api":"GET /v8/:projectId/users/:userId/connections-count","href":"/v8/api-reference/users/connections/get-connections-count"},{"title":"Remove Connection","api":"DELETE /v8/:projectId/users/:userId/connection","href":"/v8/api-reference/users/connections/remove-connection"}]},{"group":"User Block Operations","pages":[{"title":"Block User","api":"POST /v8/:projectId/users/:userId/block","href":"/v8/api-reference/users/blocks/block-user"},{"title":"Unblock User","api":"DELETE /v8/:projectId/users/:userId/block","href":"/v8/api-reference/users/blocks/unblock-user"},{"title":"Get Block Status","api":"GET /v8/:projectId/users/:userId/block","href":"/v8/api-reference/users/blocks/get-block-status"},{"title":"Fetch Blocked Users","api":"GET /v8/:projectId/blocks","href":"/v8/api-reference/blocks/fetch-blocks"}]},{"group":"Follow Endpoints","pages":[{"title":"Fetch Following","api":"GET /v8/:projectId/follows/following","href":"/v8/api-reference/follows/fetch-following"},{"title":"Fetch Followers","api":"GET /v8/:projectId/follows/followers","href":"/v8/api-reference/follows/fetch-followers"},{"title":"Fetch Following Count","api":"GET /v8/:projectId/follows/following-count","href":"/v8/api-reference/follows/fetch-following-count"},{"title":"Fetch Followers Count","api":"GET /v8/:projectId/follows/followers-count","href":"/v8/api-reference/follows/fetch-followers-count"},{"title":"Delete Follow","api":"DELETE /v8/:projectId/follows/:followId","href":"/v8/api-reference/follows/delete-follow"}]},{"group":"Connection Endpoints","pages":[{"title":"Fetch Connections","api":"GET /v8/:projectId/connections","href":"/v8/api-reference/connections/fetch-connections"},{"title":"Fetch Connections Count","api":"GET /v8/:projectId/connections/count","href":"/v8/api-reference/connections/fetch-connections-count"},{"title":"Fetch Sent Pending Connections","api":"GET /v8/:projectId/connections/pending/sent","href":"/v8/api-reference/connections/fetch-sent-pending"},{"title":"Fetch Received Pending Connections","api":"GET /v8/:projectId/connections/pending/received","href":"/v8/api-reference/connections/fetch-received-pending"},{"title":"Accept Connection","api":"PATCH /v8/:projectId/connections/:connectionId/accept","href":"/v8/api-reference/connections/accept-connection"},{"title":"Decline Connection","api":"PATCH /v8/:projectId/connections/:connectionId/decline","href":"/v8/api-reference/connections/decline-connection"},{"title":"Remove Connection","api":"DELETE /v8/:projectId/connections/:connectionId","href":"/v8/api-reference/connections/remove-connection"}]},{"group":"Entity Endpoints","pages":[{"title":"Create Entity","api":"POST /v8/:projectId/entities","href":"/v8/api-reference/entities/create-entity"},{"title":"Fetch Entity","api":"GET /v8/:projectId/entities/:entityId","href":"/v8/api-reference/entities/fetch-entity"},{"title":"Fetch Entity by Foreign ID","api":"GET /v8/:projectId/entities/by-foreign-id","href":"/v8/api-reference/entities/fetch-entity-by-foreign-id"},{"title":"Fetch Entity by Short ID","api":"GET /v8/:projectId/entities/by-short-id","description":"Get an entity by its short ID","href":"/v8/api-reference/entities/fetch-entity-by-short-id"},{"title":"Fetch Many Entities","api":"GET /v8/:projectId/entities","href":"/v8/api-reference/entities/fetch-many-entities"},{"title":"Fetch Drafts","api":"GET /v8/:projectId/entities/drafts","description":"Get the authenticated user's draft entities","href":"/v8/api-reference/entities/fetch-drafts"},{"title":"Publish Entity","api":"PATCH /v8/:projectId/entities/:entityId/publish","href":"/v8/api-reference/entities/publish-entity"},{"title":"Update Entity","api":"PATCH /v8/:projectId/entities/:entityId","href":"/v8/api-reference/entities/update-entity"},{"title":"Increment Entity Views","api":"PATCH /v8/:projectId/entities/:entityId/increment-views","href":"/v8/api-reference/entities/increment-entity-views"},{"title":"Delete Entity","api":"DELETE /v8/:projectId/entities/:entityId","href":"/v8/api-reference/entities/delete-entity"},{"title":"Add Entity Reaction","api":"POST /v8/:projectId/entities/:entityId/reactions","href":"/v8/api-reference/entities/add-reaction"},{"title":"Remove Entity Reaction","api":"DELETE /v8/:projectId/entities/:entityId/reactions","href":"/v8/api-reference/entities/remove-reaction"},{"title":"Fetch Entity Reactions","api":"GET /v8/:projectId/entities/:entityId/reactions","href":"/v8/api-reference/entities/fetch-reactions"},{"title":"Get User Reaction","api":"GET /v8/:projectId/entities/:entityId/reactions/me","href":"/v8/api-reference/entities/get-user-reaction"},{"title":"Is Entity Saved","api":"GET /v8/:projectId/entities/is-entity-saved","href":"/v8/api-reference/entities/is-entity-saved"}]},{"group":"Comment Endpoints","pages":[{"title":"Create Comment","api":"POST /v8/:projectId/comments","href":"/v8/api-reference/comments/create-comment"},{"title":"Fetch Comment","api":"GET /v8/:projectId/comments/:commentId","href":"/v8/api-reference/comments/fetch-comment"},{"title":"Fetch Comment by Foreign ID","api":"GET /v8/:projectId/comments/by-foreign-id","href":"/v8/api-reference/comments/fetch-comment-by-foreign-id"},{"title":"Fetch Many Comments","api":"GET /v8/:projectId/comments","href":"/v8/api-reference/comments/fetch-many-comments"},{"title":"Update Comment","api":"PATCH /v8/:projectId/comments/:commentId","href":"/v8/api-reference/comments/update-comment"},{"title":"Delete Comment","api":"DELETE /v8/:projectId/comments/:commentId","href":"/v8/api-reference/comments/delete-comment"},{"title":"Add Comment Reaction","api":"POST /v8/:projectId/comments/:commentId/reactions","href":"/v8/api-reference/comments/add-reaction"},{"title":"Remove Comment Reaction","api":"DELETE /v8/:projectId/comments/:commentId/reactions","href":"/v8/api-reference/comments/remove-reaction"},{"title":"Fetch Comment Reactions","api":"GET /v8/:projectId/comments/:commentId/reactions","href":"/v8/api-reference/comments/fetch-reactions"},{"title":"Get User Reaction","api":"GET /v8/:projectId/comments/:commentId/reactions/me","href":"/v8/api-reference/comments/get-user-reaction"}]},{"group":"Chat — Conversations","pages":[{"title":"List Conversations","api":"GET /v8/:projectId/chat/conversations","href":"/v8/api-reference/chat/conversations/list-conversations"},{"title":"Create Group Conversation","api":"POST /v8/:projectId/chat/conversations","href":"/v8/api-reference/chat/conversations/create-group"},{"title":"Create Direct Conversation","api":"POST /v8/:projectId/chat/conversations/direct","href":"/v8/api-reference/chat/conversations/create-direct"},{"title":"Get Unread Count","api":"GET /v8/:projectId/chat/conversations/unread-count","href":"/v8/api-reference/chat/conversations/unread-count"},{"title":"Fetch Conversation","api":"GET /v8/:projectId/chat/conversations/:conversationId","href":"/v8/api-reference/chat/conversations/fetch-conversation"},{"title":"Fetch Conversation Preview","api":"GET /v8/:projectId/chat/conversations/:conversationId/preview","href":"/v8/api-reference/chat/conversations/fetch-conversation-preview"},{"title":"Update Conversation","api":"PATCH /v8/:projectId/chat/conversations/:conversationId","href":"/v8/api-reference/chat/conversations/update-conversation"},{"title":"Delete Conversation","api":"DELETE /v8/:projectId/chat/conversations/:conversationId","href":"/v8/api-reference/chat/conversations/delete-conversation"},{"title":"Mute Conversation","api":"POST /v8/:projectId/chat/conversations/:conversationId/mute","href":"/v8/api-reference/chat/conversations/mute-conversation"}]},{"group":"Chat — Members","pages":[{"title":"List Members","api":"GET /v8/:projectId/chat/conversations/:conversationId/members","href":"/v8/api-reference/chat/members/list-members"},{"title":"Add Member","api":"POST /v8/:projectId/chat/conversations/:conversationId/members","href":"/v8/api-reference/chat/members/add-member"},{"title":"Remove Member","api":"DELETE /v8/:projectId/chat/conversations/:conversationId/members/:userId","href":"/v8/api-reference/chat/members/remove-member"},{"title":"Leave Conversation","api":"DELETE /v8/:projectId/chat/conversations/:conversationId/leave","href":"/v8/api-reference/chat/members/leave-conversation"},{"title":"Update Member Role","api":"PATCH /v8/:projectId/chat/conversations/:conversationId/members/:userId/role","href":"/v8/api-reference/chat/members/update-member-role"}]},{"group":"Chat — Messages","pages":[{"title":"List Messages","api":"GET /v8/:projectId/chat/conversations/:conversationId/messages","href":"/v8/api-reference/chat/messages/list-messages"},{"title":"Send Message","api":"POST /v8/:projectId/chat/conversations/:conversationId/messages","href":"/v8/api-reference/chat/messages/send-message"},{"title":"Fetch Message","api":"GET /v8/:projectId/chat/conversations/:conversationId/messages/:messageId","href":"/v8/api-reference/chat/messages/fetch-message"},{"title":"Edit Message","api":"PATCH /v8/:projectId/chat/conversations/:conversationId/messages/:messageId","href":"/v8/api-reference/chat/messages/edit-message"},{"title":"Delete Message","api":"DELETE /v8/:projectId/chat/conversations/:conversationId/messages/:messageId","href":"/v8/api-reference/chat/messages/delete-message"},{"title":"Toggle Message Reaction","api":"POST /v8/:projectId/chat/conversations/:conversationId/messages/:messageId/reactions","href":"/v8/api-reference/chat/messages/toggle-reaction"},{"title":"Fetch Reaction Users","api":"GET /v8/:projectId/chat/conversations/:conversationId/messages/:messageId/reactions","href":"/v8/api-reference/chat/messages/fetch-reaction-users"},{"title":"Mark as Read","api":"POST /v8/:projectId/chat/conversations/:conversationId/read","href":"/v8/api-reference/chat/messages/mark-as-read"}]},{"group":"Collection Endpoints","pages":[{"title":"Fetch Root Collection","api":"GET /v8/:projectId/collections/root","href":"/v8/api-reference/collections/fetch-root"},{"title":"Create Sub-Collection","api":"POST /v8/:projectId/collections/:collectionId/sub-collections","href":"/v8/api-reference/collections/create-sub-collection"},{"title":"Fetch Sub-Collections","api":"GET /v8/:projectId/collections/:collectionId/sub-collections","href":"/v8/api-reference/collections/fetch-sub-collections"},{"title":"Fetch Collection Entities","api":"GET /v8/:projectId/collections/:collectionId/entities","href":"/v8/api-reference/collections/fetch-entities"},{"title":"Add Entity to Collection","api":"POST /v8/:projectId/collections/:collectionId/entities","href":"/v8/api-reference/collections/add-entity"},{"title":"Remove Entity from Collection","api":"DELETE /v8/:projectId/collections/:collectionId/entities/:entityId","href":"/v8/api-reference/collections/remove-entity"},{"title":"Update Collection","api":"PATCH /v8/:projectId/collections/:collectionId","href":"/v8/api-reference/collections/update-collection"},{"title":"Delete Collection","api":"DELETE /v8/:projectId/collections/:collectionId","href":"/v8/api-reference/collections/delete-collection"}]},{"group":"App Notification Endpoints","pages":[{"title":"Fetch Notifications","api":"GET /v8/:projectId/app-notifications","href":"/v8/api-reference/app-notifications/fetch-notifications"},{"title":"Count Unread Notifications","api":"GET /v8/:projectId/app-notifications/count","href":"/v8/api-reference/app-notifications/count-unread"},{"title":"Mark Notification as Read","api":"PATCH /v8/:projectId/app-notifications/:notificationId/mark-as-read","href":"/v8/api-reference/app-notifications/mark-as-read"},{"title":"Mark All Notifications as Read","api":"PATCH /v8/:projectId/app-notifications/mark-all-as-read","href":"/v8/api-reference/app-notifications/mark-all-as-read"}]},{"group":"Push Notification Endpoints","pages":[{"title":"Register Device","api":"POST /v8/:projectId/push-notifications/devices","href":"/v8/api-reference/push-notifications/register-device"},{"title":"Deregister Device","api":"POST /v8/:projectId/push-notifications/devices/deregister","href":"/v8/api-reference/push-notifications/deregister-device"},{"title":"Send Push Notification","api":"POST /v8/:projectId/push-notifications/send","href":"/v8/api-reference/push-notifications/send"},{"title":"Get VAPID Public Key","api":"GET /v8/:projectId/push-notifications/vapid-public-key","href":"/v8/api-reference/push-notifications/get-vapid-public-key"},{"title":"Get Notification Preferences","api":"GET /v8/:projectId/push-notifications/preferences","href":"/v8/api-reference/push-notifications/get-preferences"},{"title":"Update Notification Preferences","api":"PUT /v8/:projectId/push-notifications/preferences","href":"/v8/api-reference/push-notifications/update-preferences"}]},{"group":"Report Endpoints","pages":[{"title":"Create Report","api":"POST /v8/:projectId/reports","href":"/v8/api-reference/reports/create-report"},{"title":"Fetch Moderated Reports","api":"GET /v8/:projectId/reports/moderated","href":"/v8/api-reference/reports/fetch-moderated-reports"}]},{"group":"Search Endpoints","pages":[{"title":"Search Content","api":"POST /v8/:projectId/search/content","href":"/v8/api-reference/search/search-content"},{"title":"Search Users","api":"POST /v8/:projectId/search/users","href":"/v8/api-reference/search/search-users"},{"title":"Search Spaces","api":"POST /v8/:projectId/search/spaces","href":"/v8/api-reference/search/search-spaces"},{"title":"Ask Content","api":"POST /v8/:projectId/search/ask","href":"/v8/api-reference/search/ask"},{"title":"Match Users","api":"POST /v8/:projectId/match/users","href":"/v8/api-reference/match/match-users"}]},{"group":"Space Endpoints","pages":[{"title":"Create Space","api":"POST /v8/:projectId/spaces","href":"/v8/api-reference/spaces/create-space"},{"title":"Fetch Spaces","api":"GET /v8/:projectId/spaces","href":"/v8/api-reference/spaces/fetch-spaces"},{"title":"Fetch Space","api":"GET /v8/:projectId/spaces/:spaceId","href":"/v8/api-reference/spaces/fetch-space"},{"title":"Fetch Space by Short ID","api":"GET /v8/:projectId/spaces/by-short-id","href":"/v8/api-reference/spaces/fetch-space-by-short-id"},{"title":"Fetch Space by Slug","api":"GET /v8/:projectId/spaces/by-slug","href":"/v8/api-reference/spaces/fetch-space-by-slug"},{"title":"Fetch User Spaces","api":"GET /v8/:projectId/spaces/user-spaces","href":"/v8/api-reference/spaces/fetch-user-spaces"},{"title":"Fetch Mutual Spaces","api":"GET /v8/:projectId/spaces/mutual/:userId","href":"/v8/api-reference/spaces/fetch-mutual-spaces"},{"title":"Check Slug Availability","api":"GET /v8/:projectId/spaces/check-slug","href":"/v8/api-reference/spaces/check-slug"},{"title":"Update Space","api":"PATCH /v8/:projectId/spaces/:spaceId","href":"/v8/api-reference/spaces/update-space"},{"title":"Delete Space","api":"DELETE /v8/:projectId/spaces/:spaceId","href":"/v8/api-reference/spaces/delete-space"},{"title":"Fetch Space Breadcrumb","api":"GET /v8/:projectId/spaces/:spaceId/breadcrumb","href":"/v8/api-reference/spaces/fetch-breadcrumb"}]},{"group":"Space — Membership","pages":[{"title":"Join Space","api":"POST /v8/:projectId/spaces/:spaceId/join","href":"/v8/api-reference/spaces/membership/join-space"},{"title":"Leave Space","api":"DELETE /v8/:projectId/spaces/:spaceId/leave","href":"/v8/api-reference/spaces/membership/leave-space"},{"title":"Check My Membership","api":"GET /v8/:projectId/spaces/:spaceId/membership/me","href":"/v8/api-reference/spaces/membership/check-my-membership"},{"title":"List Space Members","api":"GET /v8/:projectId/spaces/:spaceId/members","href":"/v8/api-reference/spaces/membership/list-members"},{"title":"List Space Team","api":"GET /v8/:projectId/spaces/:spaceId/team","href":"/v8/api-reference/spaces/membership/list-team"},{"title":"Add Member","api":"POST /v8/:projectId/spaces/:spaceId/members","href":"/v8/api-reference/spaces/membership/add-member"},{"title":"Approve Member","api":"PATCH /v8/:projectId/spaces/:spaceId/members/:memberId/approve","href":"/v8/api-reference/spaces/membership/approve-member"},{"title":"Decline Member","api":"PATCH /v8/:projectId/spaces/:spaceId/members/:memberId/decline","href":"/v8/api-reference/spaces/membership/decline-member"},{"title":"Ban Member","api":"PATCH /v8/:projectId/spaces/:spaceId/members/:memberId/ban","href":"/v8/api-reference/spaces/membership/ban-member"},{"title":"Unban Member","api":"PATCH /v8/:projectId/spaces/:spaceId/members/:memberId/unban","href":"/v8/api-reference/spaces/membership/unban-member"},{"title":"Update Member Role","api":"PATCH /v8/:projectId/spaces/:spaceId/members/:memberId/role","href":"/v8/api-reference/spaces/membership/update-member-role"}]},{"group":"Space — Rules","pages":[{"title":"List Rules","api":"GET /v8/:projectId/spaces/:spaceId/rules","href":"/v8/api-reference/spaces/rules/list-rules"},{"title":"Fetch Rule","api":"GET /v8/:projectId/spaces/:spaceId/rules/:ruleId","href":"/v8/api-reference/spaces/rules/fetch-rule"},{"title":"Create Rule","api":"POST /v8/:projectId/spaces/:spaceId/rules","href":"/v8/api-reference/spaces/rules/create-rule"},{"title":"Update Rule","api":"PATCH /v8/:projectId/spaces/:spaceId/rules/:ruleId","href":"/v8/api-reference/spaces/rules/update-rule"},{"title":"Delete Rule","api":"DELETE /v8/:projectId/spaces/:spaceId/rules/:ruleId","href":"/v8/api-reference/spaces/rules/delete-rule"},{"title":"Reorder Rules","api":"PATCH /v8/:projectId/spaces/:spaceId/rules/reorder","href":"/v8/api-reference/spaces/rules/reorder-rules"}]},{"group":"Space — Moderation","pages":[{"title":"Moderate Entity","api":"PATCH /v8/:projectId/spaces/:spaceId/entities/:entityId/moderation","href":"/v8/api-reference/spaces/moderation/moderate-entity"},{"title":"Moderate Comment","api":"PATCH /v8/:projectId/spaces/:spaceId/comments/:commentId/moderation","href":"/v8/api-reference/spaces/moderation/moderate-comment"},{"title":"Moderate Message","api":"PATCH /v8/:projectId/spaces/:spaceId/chat/messages/:messageId/moderation","href":"/v8/api-reference/spaces/moderation/moderate-message"},{"title":"Set Entity NSFW","api":"PATCH /v8/:projectId/spaces/:spaceId/entities/:entityId/nsfw","href":"/v8/api-reference/spaces/moderation/set-entity-nsfw"},{"title":"Handle Entity Report","api":"PATCH /v8/:projectId/spaces/:spaceId/reports/entity/:reportId","href":"/v8/api-reference/spaces/moderation/handle-entity-report"},{"title":"Handle Comment Report","api":"PATCH /v8/:projectId/spaces/:spaceId/reports/comment/:reportId","href":"/v8/api-reference/spaces/moderation/handle-comment-report"},{"title":"Handle Message Report","api":"PATCH /v8/:projectId/spaces/:spaceId/chat/reports/:reportId","href":"/v8/api-reference/spaces/moderation/handle-message-report"}]},{"group":"Space — Chat","pages":[{"title":"Get Space Conversation","api":"GET /v8/:projectId/spaces/:spaceId/conversation","href":"/v8/api-reference/spaces/chat/get-space-conversation"}]},{"group":"Workspace Endpoints","pages":[{"title":"Create Workspace","api":"POST /v8/:projectId/workspaces","href":"/v8/api-reference/workspaces/create-workspace"},{"title":"List Workspaces","api":"GET /v8/:projectId/workspaces","href":"/v8/api-reference/workspaces/fetch-workspaces"},{"title":"Fetch Mutual Workspaces","api":"GET /v8/:projectId/workspaces/mutual/:userId","href":"/v8/api-reference/workspaces/fetch-mutual-workspaces"},{"title":"Fetch Workspace","api":"GET /v8/:projectId/workspaces/:id","href":"/v8/api-reference/workspaces/fetch-workspace"},{"title":"Update Workspace","api":"PATCH /v8/:projectId/workspaces/:id","href":"/v8/api-reference/workspaces/update-workspace"},{"title":"Flip Inherit Flag","api":"PATCH /v8/:projectId/workspaces/:id/inherit-flag","href":"/v8/api-reference/workspaces/update-inherit-flag"},{"title":"Delete Workspace","api":"DELETE /v8/:projectId/workspaces/:id","href":"/v8/api-reference/workspaces/delete-workspace"},{"title":"Transfer Ownership","api":"POST /v8/:projectId/workspaces/:id/transfer-ownership","href":"/v8/api-reference/workspaces/transfer-ownership"},{"title":"Read Authority","api":"GET /v8/:projectId/workspaces/:id/authority/me","href":"/v8/api-reference/workspaces/fetch-authority"}]},{"group":"Workspace — Membership","pages":[{"title":"List Members","api":"GET /v8/:projectId/workspaces/:id/members","href":"/v8/api-reference/workspaces/members/list-members"},{"title":"Fetch Member Standing","api":"GET /v8/:projectId/workspaces/:id/members/:userId","href":"/v8/api-reference/workspaces/members/fetch-member-standing"},{"title":"Update Member","api":"PATCH /v8/:projectId/workspaces/:id/members/:userId","href":"/v8/api-reference/workspaces/members/update-member"},{"title":"Remove Member","api":"DELETE /v8/:projectId/workspaces/:id/members/:userId","href":"/v8/api-reference/workspaces/members/remove-member"},{"title":"Leave Workspace","api":"DELETE /v8/:projectId/workspaces/:id/members/me","href":"/v8/api-reference/workspaces/members/leave-workspace"},{"title":"Remove From Subtree","api":"POST /v8/:projectId/workspaces/:id/members/:userId/remove-from-subtree","href":"/v8/api-reference/workspaces/members/remove-from-subtree"}]},{"group":"Workspace — Invitations","pages":[{"title":"Create Invite","api":"POST /v8/:projectId/workspaces/:id/invites","href":"/v8/api-reference/workspaces/invitations/create-invite"},{"title":"List Workspace Invites","api":"GET /v8/:projectId/workspaces/:id/invites","href":"/v8/api-reference/workspaces/invitations/list-invites"},{"title":"Revoke Invite","api":"POST /v8/:projectId/workspaces/:id/invites/:inviteId/revoke","href":"/v8/api-reference/workspaces/invitations/revoke-invite"},{"title":"Resend Invite","api":"POST /v8/:projectId/workspaces/:id/invites/:inviteId/resend","href":"/v8/api-reference/workspaces/invitations/resend-invite"},{"title":"Accept Invite","api":"POST /v8/:projectId/workspace-invites/:inviteId/accept","href":"/v8/api-reference/workspaces/invitations/accept-invite"},{"title":"Decline Invite","api":"POST /v8/:projectId/workspace-invites/:inviteId/decline","href":"/v8/api-reference/workspaces/invitations/decline-invite"},{"title":"List My Invites","api":"GET /v8/:projectId/me/workspace-invites","href":"/v8/api-reference/workspaces/invitations/list-my-invites"}]},{"group":"Event Endpoints","pages":[{"title":"Create Event","api":"POST /v8/:projectId/events","href":"/v8/api-reference/events/create-event"},{"title":"Fetch Event","api":"GET /v8/:projectId/events/:eventId","href":"/v8/api-reference/events/fetch-event"},{"title":"Fetch Many Events","api":"GET /v8/:projectId/events","href":"/v8/api-reference/events/fetch-many-events"},{"title":"Update Event","api":"PATCH /v8/:projectId/events/:eventId","href":"/v8/api-reference/events/update-event"},{"title":"Cancel Event","api":"POST /v8/:projectId/events/:eventId/cancel","href":"/v8/api-reference/events/cancel-event"},{"title":"Delete Event","api":"DELETE /v8/:projectId/events/:eventId","href":"/v8/api-reference/events/delete-event"},{"title":"Set RSVP","api":"POST /v8/:projectId/events/:eventId/rsvp","href":"/v8/api-reference/events/set-rsvp"},{"title":"Withdraw RSVP","api":"DELETE /v8/:projectId/events/:eventId/rsvp","href":"/v8/api-reference/events/withdraw-rsvp"},{"title":"Add Host","api":"POST /v8/:projectId/events/:eventId/hosts","href":"/v8/api-reference/events/add-host"},{"title":"Remove Host","api":"DELETE /v8/:projectId/events/:eventId/hosts/:userId","href":"/v8/api-reference/events/remove-host"},{"title":"Add Invite","api":"POST /v8/:projectId/events/:eventId/invites","href":"/v8/api-reference/events/add-invite"},{"title":"Remove Invite","api":"DELETE /v8/:projectId/events/:eventId/invites/:userId","href":"/v8/api-reference/events/remove-invite"},{"title":"Fetch Invitees","api":"GET /v8/:projectId/events/:eventId/invites","href":"/v8/api-reference/events/fetch-invitees"},{"title":"Fetch Event RSVPs","api":"GET /v8/:projectId/events/:eventId/rsvps","href":"/v8/api-reference/events/fetch-event-rsvps"}]},{"group":"Reputation Grant Endpoints","pages":[{"title":"Create Reputation Grant","api":"POST /v8/:projectId/reputation-grants","href":"/v8/api-reference/reputation-grants/create-reputation-grant"},{"title":"Mint Reputation Grant","api":"POST /v8/:projectId/reputation-grants/mint","href":"/v8/api-reference/reputation-grants/mint-reputation-grant"},{"title":"Fetch Many Reputation Grants","api":"GET /v8/:projectId/reputation-grants","href":"/v8/api-reference/reputation-grants/fetch-many-reputation-grants"},{"title":"Fetch User Grant History","api":"GET /dashboard/users/:userId/reputation-grants","href":"/v8/api-reference/reputation-grants/fetch-user-grant-history"}]},{"group":"Storage Endpoints","pages":[{"title":"Upload Image","api":"POST /v8/:projectId/storage/images","href":"/v8/api-reference/storage/upload-image"},{"title":"Upload File","api":"POST /v8/:projectId/storage","href":"/v8/api-reference/storage/upload-file"},{"title":"Fetch File","api":"GET /v8/:projectId/storage/:fileId","href":"/v8/api-reference/storage/fetch-file"},{"title":"Delete File","api":"DELETE /v8/:projectId/storage/:fileId","href":"/v8/api-reference/storage/delete-file"}]},{"group":"Custom Tables — Rows","pages":[{"title":"Fetch Rows","api":"GET /v8/:projectId/db/:tableName","href":"/v8/api-reference/custom-tables/fetch-many-rows"},{"title":"Fetch Row","api":"GET /v8/:projectId/db/:tableName/:rowId","href":"/v8/api-reference/custom-tables/fetch-row"},{"title":"Insert Row","api":"POST /v8/:projectId/db/:tableName","href":"/v8/api-reference/custom-tables/insert-row"},{"title":"Bulk Insert Rows","api":"POST /v8/:projectId/db/:tableName/bulk","href":"/v8/api-reference/custom-tables/bulk-insert-rows"},{"title":"Update Row","api":"PATCH /v8/:projectId/db/:tableName/:rowId","href":"/v8/api-reference/custom-tables/update-row"},{"title":"Delete Row","api":"DELETE /v8/:projectId/db/:tableName/:rowId","href":"/v8/api-reference/custom-tables/delete-row"},{"title":"Bulk Delete Rows","api":"POST /v8/:projectId/db/:tableName/bulk-delete","href":"/v8/api-reference/custom-tables/bulk-delete-rows"},{"title":"Restore Row","api":"POST /v8/:projectId/db/:tableName/:rowId/restore","href":"/v8/api-reference/custom-tables/restore-row"}]},{"group":"Custom Tables — Management","pages":[{"title":"Create Table","api":"POST /v8/:projectId/db/tables","href":"/v8/api-reference/custom-tables/create-table"},{"title":"Drop Table","api":"DELETE /v8/:projectId/db/tables/:tableName","href":"/v8/api-reference/custom-tables/drop-table"},{"title":"Add Column","api":"POST /v8/:projectId/db/tables/:tableName/columns","href":"/v8/api-reference/custom-tables/add-column"},{"title":"Drop Column","api":"DELETE /v8/:projectId/db/tables/:tableName/columns/:columnName","href":"/v8/api-reference/custom-tables/drop-column"}]},{"group":"Utils","pages":[{"title":"Get URL Metadata","api":"GET /v8/:projectId/utils/get-metadata","href":"/v8/api-reference/utils/get-metadata"}]},{"group":"Crypto","pages":[{"title":"Sign Testing JWT","api":"POST /v8/:projectId/crypto/sign-testing-jwt","href":"/v8/api-reference/crypto/sign-testing-jwt"}]}]},{"tab":"Data Models","pages":[{"title":"Data Models","href":"/v8/data-models/user"}]},{"tab":"Node SDK","pages":[{"title":"Node SDK","href":"/v8/node-sdk/overview"}]},{"tab":"JS SDK","pages":[{"title":"JS SDK","href":"/v8/js-sdk/overview"}]},{"tab":"Components","pages":[{"title":"Components","href":"/v8/components/overview"}]}],"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://dash.sublay.io"}]}},{"version":"7.0.0","default":true,"pages":[{"title":"7.0.0","href":"/v7/api-reference/entities/fetch-many-entities"}]},{"version":"6.0.0","pages":[{"title":"6.0.0","href":"/v6/api-reference/entities/fetch-many-entities"}]}]},"basePath":"","title":"Fetch Many Entities - Sublay Documentation","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js"]}