action fec_get_communication_costs_totals_by_candidate { label: "get_communication_costs_totals_by_candidate" description: "\nTotal communications costs aggregated across committees on supported or opposed candidates by cycle or candidate election year.\n" provider: fec method: GET path: "/communication_costs/totals/by_candidate/" 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" } } election_full: { type: "boolean" } page: { type: "integer" format: "int32" } per_page: { type: "integer" format: "int32" } sort: { type: "string" } sort_hide_null: { type: "boolean" } sort_null_only: { type: "boolean" } sort_nulls_last: { type: "boolean" } } required: ["api_key"] additionalProperties: false } output: { type: "object" additionalProperties: true } }