action fec_get_candidates_totals_aggregates { label: "get_candidates_totals_aggregates" description: " Candidate total receipts and disbursements aggregated by `aggregate_by`.\n" provider: fec method: GET path: "/candidates/totals/aggregates/" encoding: json input: { type: "object" properties: { aggregate_by: { type: "string" enum: ["office", "office-state", "office-state-district", "office-party"] } api_key: { type: "string" } district: { type: "array" items: { type: "string" } } election_full: { type: "boolean" } election_year: { type: "array" items: { type: "integer" format: "int32" } } is_active_candidate: { type: "boolean" } max_election_cycle: { type: "integer" format: "int32" } min_election_cycle: { type: "integer" format: "int32" } office: { type: "string" enum: ["", "H", "S", "P"] } page: { type: "integer" format: "int32" } party: { type: "string" enum: ["", "DEM", "REP", "OTHER"] } per_page: { type: "integer" format: "int32" } sort: { type: "array" items: { type: "string" } } sort_hide_null: { type: "boolean" } sort_null_only: { type: "boolean" } sort_nulls_last: { type: "boolean" } state: { type: "array" items: { type: "string" } } } required: ["api_key"] additionalProperties: false } output: { type: "object" additionalProperties: true } }