action fec_get_candidates_totals { label: "get_candidates_totals" description: "\nAggregated candidate receipts and disbursements grouped by cycle.\n" provider: fec method: GET path: "/candidates/totals/" encoding: json input: { type: "object" properties: { api_key: { type: "string" } candidate_id: { type: "array" items: { type: "string" } } cycle: { type: "array" items: { type: "integer" format: "int32" } } district: { type: "array" items: { type: "string" } } election_full: { type: "boolean" } election_year: { type: "array" items: { type: "integer" format: "int32" } } federal_funds_flag: { type: "boolean" } has_raised_funds: { type: "boolean" } is_active_candidate: { type: "boolean" } max_cash_on_hand_end_period: { type: "string" } max_debts_owed_by_committee: { type: "string" } max_disbursements: { type: "string" } max_receipts: { type: "string" } min_cash_on_hand_end_period: { type: "string" } min_debts_owed_by_committee: { type: "string" } min_disbursements: { type: "string" } min_receipts: { type: "string" } office: { type: "array" items: { type: "string" enum: ["", "H", "S", "P"] } } page: { type: "integer" format: "int32" } party: { type: "array" items: { type: "string" } } per_page: { type: "integer" format: "int32" } q: { type: "array" items: { type: "string" } } sort: { 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 } }