Function: searchSummaries() ​
ts
function searchSummaries(opts?: {
billType?: string;
congress?: number;
fromDateTime?: string;
limit?: number;
sort?: string;
toDateTime?: string;
}): Promise<{
summaries: CongressStandaloneSummary[];
}>;Defined in: congress/sdk.ts:841
Search bill summaries across congresses. Unlike getBillSummaries (which requires a specific bill), this endpoint returns summaries across all bills, optionally filtered by congress and bill type.
Parameters ​
| Parameter | Type |
|---|---|
opts | { billType?: string; congress?: number; fromDateTime?: string; limit?: number; sort?: string; toDateTime?: string; } |
opts.billType? | string |
opts.congress? | number |
opts.fromDateTime? | string |
opts.limit? | number |
opts.sort? | string |
opts.toDateTime? | string |
Returns ​
Promise<{ summaries: CongressStandaloneSummary[]; }>