Variable countFacetsRequestSchemaConst
countFacetsRequestSchema: ZodObject<
{
fields: ZodArray<ZodString>;
filter: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
limit: ZodOptional<ZodNumber>;
rules: ZodOptional<ZodArray<ZodString>>;
},
$strict,
> = ...
Request body for
POST /search/facets/counts. Unknown keys are rejected, so a misspelt option fails with400instead of being ignored.