Skip to main content

BillSubject

Legislative subject terms assigned to a bill by the Congressional Research Service, from the Congress.gov /subjects endpoint. One row per bill/term; the set is replaced wholesale when the bill updates. The primary policy area lives on bills.policy_area, not here.

GraphQL type: BillSubject · Connection: BillSubjectsConnection

Queries​

QueryReturnsDescription
allBillSubjects(filter, orderBy, first, last, before, after)BillSubjectsConnectionPaginated list with filtering and ordering
billSubjectById(id: BigInt!)BillSubjectLook up by primary key

Fields​

FieldGraphQL TypeNotes
idBigIntPK
billIdStringrequired FK
subjectStringLegislative subject term, e.g. "Health care costs and insurance". required

Relationships​

Belongs to​

FieldReturnsVia
billByBillIdBillbillId