LawsSearchRequest
- queryType: stringrequired
Full-text query, matched against document text, headings, and citations
- collectionType: array string[] enum
_types values- statute
- regulation
- constitution
- guidance
- executive
_order - notice
- collectionsType: array string[]
Restrict to collection ids or human-readable names (see /laws/collections). Values are resolved server-side.
- currentType: boolean
_only When true (default), only documents that are the law in force today. Currency is derived — not historical, not future-effective, no in-force successor version.
- effectiveType: string Format: date
_date _from full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- effectiveType: string Format: date
_date _to full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- pageType: integermin:1
Integer numbers.
- pageType: integer
_size min:1max:50Integer numbers.
- pathType: string
_prefix Restrict to a subtree via a dot-separated ltree path prefix. Pair with collections — paths are only unique within a collection.
- publicationType: string Format: date
_date _from full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- publicationType: string Format: date
_date _to full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- statesType: array string[]
State names or USPS abbreviations; federal law is "Federal". Values are validated server-side.