action fec_get_elections_summary { label: "get_elections_summary" description: "\nList elections by cycle, office, state, and district.\n" provider: fec method: GET path: "/elections/summary/" encoding: json input: { type: "object" properties: { api_key: { type: "string" } cycle: { type: "integer" format: "int32" } district: { type: "string" } election_full: { type: "boolean" } office: { type: "string" enum: ["house", "senate", "president"] } state: { type: "string" } } required: ["api_key", "cycle", "office"] additionalProperties: false } output: { type: "object" additionalProperties: true } }