OptionalcacheOptionalcacheWhen set to noStale, APICDN will not return a cached response if the content is stale.
Tradeoff between latency and freshness of content.
Only to be used with live content queries and when useCdn is true.
OptionaldatasetOptionaldocumentOptionalfilterGROQ filter expression to apply to the query
OptionalnextOptional BetaorderingsSorting configuration for the results
OptionalpageNumber of items to display per page (defaults to 25)
OptionalparamsOptionalperspectiveOptionalprojectOptional BetaresourceExplicit resource to use. On an individual operation this overrides any default;
on a SanityConfig it becomes the instance's default resource. Unlike
projectId/dataset, this can also be a media library or canvas resource.
Optional BetaresourceOptional name of a resource to resolve from context.
If provided, will be resolved to a DocumentResource via ResourcesContext.
OptionalsearchText search query to filter results
OptionaltagOptionaluse
Configuration options for the usePaginatedDocuments hook