Committee
House, Senate, and Joint committees and subcommittees. Subcommittees have parent_thomas_id set.
GraphQL type: Committee · Connection: CommitteesConnection
Queries
| Query | Returns | Description |
|---|---|---|
allCommittees(filter, orderBy, first, last, before, after) | CommitteesConnection | Paginated list with filtering and ordering |
committeeByThomasId(thomasId: String!) | Committee | Look up by primary key |
Fields
| Field | GraphQL Type | Notes |
|---|---|---|
thomasId | String | For subcommittees, this is the concatenated parent + subcommittee code (e.g. SSEG03). PK |
chamber | String | required. One of: house, senate, joint |
name | String | required |
jurisdiction | String | |
parentThomasId | String | FK |
subcommitteeId | String | |
isCurrent | Boolean | |
createdAt | Datetime | |
updatedAt | Datetime |
Relationships
Belongs to
| Field | Returns | Via |
|---|---|---|
committeeByParentThomasId | Committee (nullable) | parentThomasId |
Has many
| Field | Returns | Via |
|---|---|---|
committeesByParentThomasId | CommitteesConnection | parentThomasId |
billCommitteesByThomasId | BillCommitteesConnection | thomasId |
committeeMembershipsByThomasId | CommitteeMembershipsConnection | thomasId |
Example
{
allCommittees(
filter: {
chamber: { equalTo: "senate" }
isCurrent: { equalTo: true }
parentThomasId: { isNull: true }
}
orderBy: NAME_ASC
) {
nodes {
thomasId
name
jurisdiction
}
}
}