Skip to main content
POST
Search filings

Authorizations

Authorization
string
header
required

Effective API key. Send Authorization: Bearer sk-eai-...

Body

application/json
query
string
required

Required keyword or tracking-number query. Use GET /insurance/filings for metadata-only browsing. Quoted phrases fall back to keyword search unless a state, companyName, carrier (eq or in), group, trackingNumber or date filter narrows the search.

Required string length: 1 - 4000
intent
string
required

Required. One sentence on what you are trying to find and why, for example "Compare BOP schedule rating ranges for Carrier A and Carrier B in Texas". Describe the goal, not the search terms. Intent is logged for research; it does not change ranking or cursor validity.

Required string length: 10 - 500
filters
object[]

Structured Records predicates with filing-specific fields and operators. Clauses combine with AND; in values combine with OR. carrier eq/in matches any listed carrier; carrier not_in excludes filings containing any listed carrier, and may also exclude filings with unknown carrier codes. group supports eq for one group, unlike GET /insurance/filings. Date values are YYYY-MM-DD; bounds are inclusive and never match undated filings. carrier values: Managed carrier_ ID from GET /insurance/carriers, or NAIC company code optionally prefixed with naic:, for example naic:12345. An unknown managed ID, or one without a NAIC code, returns 404. group values: Managed carrier_group_ ID from GET /insurance/carrier-groups, or NAIC group code optionally prefixed with group:, for example group:123. An unknown managed ID, or one without a NAIC code, returns 404. toi and subToi take normalized NAIC codes (GET /insurance/insurance-types lists them) and match the response toiCode and subToiCode; normalizedOutcome and filingTypeNormalized use normalized values. trackingNumber matches the stored tracking number: the response sourceReference for SERFF filings, or FL- followed by it for Florida IRFS; matching is exact and case-sensitive, so send uppercase. carrierIds, groupId, toiCode and subToiCode are not filter fields, and containsAny/notContainsAny operators are rejected.

Maximum array length: 50
sort
object[]

Default: submissionDate descending. Specify relevance descending for relevance ordering. Metadata sorting of text results applies within the retrieved candidate window.

Required array length: 1 - 3 elements
includePassages
boolean

Request matching text passages. Omit to use the configured default; false skips passages but may still return matching document IDs and names. True uses a bounded window of 100 text hits; false or omitted permits up to 1,200. Each filing returns at most 3 matching documents. Passages and page numbers may be unavailable.

dataScope
enum<string>

Defaults to recent (2018+ and undated).

Available options:
recent,
historical,
all
limit
integer
default:50

Maximum filings per page: 1–200, default 50.

Required range: 1 <= x <= 200
cursor
string

nextCursor from the previous page. Repeat the other inputs unchanged.

Required string length: 1 - 8192

Response

Matching filings and optional evidence.

filings
object[]
required
nextCursor
string | null
required

Null when the available result window is exhausted; text search may have additional corpus matches.

exhaustive
boolean
required

Always false: search returns a bounded candidate window. No exact corpus total is computed.