> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Vote

> You know the congress, session and roll call number (for example from `votes` or from a clerk.house.gov/Votes/{year}{roll} URL) and want the full result with member positions. Use `member_vote` for a single member.

## Request contract

* **Method and path:** POST /apis/v1/clerk-house-gov/legislative-votes/vote
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/clerk-house-gov/legislative-votes/vote`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/clerk-house-gov.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "clerk-house-gov.legislative-votes.vote",
  "method": "POST",
  "path": "/apis/v1/clerk-house-gov/legislative-votes/vote",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "examples": {
          "provider": {
            "summary": "Official provider example; checked against AIsa request constraints",
            "value": {
              "congress": 119,
              "roll": 145,
              "session": 1,
              "state": "NY"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "congress": {
              "description": "Congress number (101 = 1989-1990, 119 = 2025-2026). Required unless `url` is given.\n\nProvider reference: minimum 101; maximum 200.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 200,
                "min": 101
              }
            },
            "party": {
              "description": "Keep only members of this party as coded by the Clerk (D, R, I).\n\nProvider reference: allowed values [\"D\", \"R\", \"I\"].",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "D",
                  "R",
                  "I"
                ]
              }
            },
            "position": {
              "description": "Keep only members who voted this way. Yea-and-nay votes use Yea/Nay; recorded votes use Aye/No; the value is matched exactly as the Clerk records it.\n\nProvider reference: allowed values [\"Yea\", \"Nay\", \"Aye\", \"No\", \"Present\", \"Not Voting\"].",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "Yea",
                  "Nay",
                  "Aye",
                  "No",
                  "Present",
                  "Not Voting"
                ]
              }
            },
            "roll": {
              "description": "Roll call number within the session. Required unless `url` is given.\n\nProvider reference: minimum 1; maximum 9999.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 9999,
                "min": 1
              }
            },
            "session": {
              "description": "Session of the congress: 1 (odd year) or 2 (even year). Required unless `url` is given.\n\nProvider reference: minimum 1; maximum 2.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 2,
                "min": 1
              }
            },
            "state": {
              "description": "Keep only members from this two-letter state or territory postal code (e.g. NY). Pattern: ^[A-Za-z]{2}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "url": {
              "description": "Alternative to congress/session/roll: a clerk.house.gov vote URL such as https://clerk.house.gov/Votes/2025145 or https://clerk.house.gov/evs/2025/roll145.xml ({year}{roll} or {year}/roll{roll}).",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            }
          },
          "type": "object"
        }
      }
    },
    "required": false
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Usage-based pricing. Default request estimate: \$0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi/clerk-house-gov.json POST /apis/v1/clerk-house-gov/legislative-votes/vote
openapi: 3.1.0
info:
  description: ''
  title: U.S. House Clerk roll call votes and members
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    clerk-house-gov:
      description: ''
      title: U.S. House Clerk roll call votes and members
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 6a434b1dbe1d1876a120046e678be059bb6639860e83f016a2f313023e348b86
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/clerk-house-gov/legislative-votes/member
    - /apis/v1/clerk-house-gov/legislative-votes/member-vote
    - /apis/v1/clerk-house-gov/legislative-votes/member-votes
    - /apis/v1/clerk-house-gov/legislative-votes/members
    - /apis/v1/clerk-house-gov/legislative-votes/vote
    - /apis/v1/clerk-house-gov/legislative-votes/votes
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:f0bd12bafca99f50e2349a5f721ad97f639b6b5ce4dc42f239dd3195f16f5e79
    facts_hash: 6a434b1dbe1d1876a120046e678be059bb6639860e83f016a2f313023e348b86
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: clerk-house-gov
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/clerk-house-gov/legislative-votes/vote:
    post:
      tags:
        - U.S. House Clerk roll call votes and members
      summary: Vote
      description: >-
        You know the congress, session and roll call number (for example from
        `votes` or from a clerk.house.gov/Votes/{year}{roll} URL) and want the
        full result with member positions. Use `member_vote` for a single
        member.
      operationId: clerk-house-gov.legislative-votes.vote
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  congress: 119
                  roll: 145
                  session: 1
                  state: NY
            schema:
              additionalProperties: true
              properties:
                congress:
                  description: >-
                    Congress number (101 = 1989-1990, 119 = 2025-2026). Required
                    unless `url` is given.


                    Provider reference: minimum 101; maximum 200.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 200
                    min: 101
                party:
                  description: >-
                    Keep only members of this party as coded by the Clerk (D, R,
                    I).


                    Provider reference: allowed values ["D", "R", "I"].
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - D
                      - R
                      - I
                position:
                  description: >-
                    Keep only members who voted this way. Yea-and-nay votes use
                    Yea/Nay; recorded votes use Aye/No; the value is matched
                    exactly as the Clerk records it.


                    Provider reference: allowed values ["Yea", "Nay", "Aye",
                    "No", "Present", "Not Voting"].
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - Yea
                      - Nay
                      - Aye
                      - 'No'
                      - Present
                      - Not Voting
                roll:
                  description: >-
                    Roll call number within the session. Required unless `url`
                    is given.


                    Provider reference: minimum 1; maximum 9999.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 9999
                    min: 1
                session:
                  description: >-
                    Session of the congress: 1 (odd year) or 2 (even year).
                    Required unless `url` is given.


                    Provider reference: minimum 1; maximum 2.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 2
                    min: 1
                state:
                  description: >-
                    Keep only members from this two-letter state or territory
                    postal code (e.g. NY). Pattern: ^[A-Za-z]{2}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                url:
                  description: >-
                    Alternative to congress/session/roll: a clerk.house.gov vote
                    URL such as https://clerk.house.gov/Votes/2025145 or
                    https://clerk.house.gov/evs/2025/roll145.xml ({year}{roll}
                    or {year}/roll{roll}).
                  type: string
                  x-alexandria-option-metadata:
                    in: body
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-12.
                  summary: Official provider example
                  value:
                    amendment_author: null
                    amendment_num: null
                    bill_number: HR1
                    chamber: U.S. House of Representatives
                    congress: 119
                    date: '2025-05-22'
                    date_text: 22-May-2025
                    description: One Big Beautiful Act
                    filters:
                      party: null
                      position: null
                      state: NY
                    legis_num: H R 1
                    majority: R
                    member_count: 432
                    members:
                      - bioguide_id: C001067
                        member_url: https://clerk.house.gov/Members/C001067
                        name: Clarke (NY)
                        party: D
                        role: legislator
                        sort_name: Clarke (NY)
                        state: NY
                        vote: Nay
                      - bioguide_id: E000297
                        member_url: https://clerk.house.gov/Members/E000297
                        name: Espaillat
                        party: D
                        role: legislator
                        sort_name: Espaillat
                        state: NY
                        vote: Nay
                      - bioguide_id: G000597
                        member_url: https://clerk.house.gov/Members/G000597
                        name: Garbarino
                        party: R
                        role: legislator
                        sort_name: Garbarino
                        state: NY
                        vote: Not Voting
                      - bioguide_id: G000602
                        member_url: https://clerk.house.gov/Members/G000602
                        name: Gillen
                        party: D
                        role: legislator
                        sort_name: Gillen
                        state: NY
                        vote: Nay
                      - bioguide_id: G000599
                        member_url: https://clerk.house.gov/Members/G000599
                        name: Goldman (NY)
                        party: D
                        role: legislator
                        sort_name: Goldman (NY)
                        state: NY
                        vote: Nay
                      - bioguide_id: J000294
                        member_url: https://clerk.house.gov/Members/J000294
                        name: Jeffries
                        party: D
                        role: legislator
                        sort_name: Jeffries
                        state: NY
                        vote: Nay
                      - bioguide_id: K000402
                        member_url: https://clerk.house.gov/Members/K000402
                        name: Kennedy (NY)
                        party: D
                        role: legislator
                        sort_name: Kennedy (NY)
                        state: NY
                        vote: Nay
                      - bioguide_id: L000598
                        member_url: https://clerk.house.gov/Members/L000598
                        name: LaLota
                        party: R
                        role: legislator
                        sort_name: LaLota
                        state: NY
                        vote: Yea
                      - bioguide_id: L000600
                        member_url: https://clerk.house.gov/Members/L000600
                        name: Langworthy
                        party: R
                        role: legislator
                        sort_name: Langworthy
                        state: NY
                        vote: Yea
                      - bioguide_id: L000606
                        member_url: https://clerk.house.gov/Members/L000606
                        name: Latimer
                        party: D
                        role: legislator
                        sort_name: Latimer
                        state: NY
                        vote: Nay
                      - bioguide_id: L000599
                        member_url: https://clerk.house.gov/Members/L000599
                        name: Lawler
                        party: R
                        role: legislator
                        sort_name: Lawler
                        state: NY
                        vote: Yea
                      - bioguide_id: M000317
                        member_url: https://clerk.house.gov/Members/M000317
                        name: Malliotakis
                        party: R
                        role: legislator
                        sort_name: Malliotakis
                        state: NY
                        vote: Yea
                      - bioguide_id: M001231
                        member_url: https://clerk.house.gov/Members/M001231
                        name: Mannion
                        party: D
                        role: legislator
                        sort_name: Mannion
                        state: NY
                        vote: Nay
                      - bioguide_id: M001137
                        member_url: https://clerk.house.gov/Members/M001137
                        name: Meeks
                        party: D
                        role: legislator
                        sort_name: Meeks
                        state: NY
                        vote: Nay
                      - bioguide_id: M001188
                        member_url: https://clerk.house.gov/Members/M001188
                        name: Meng
                        party: D
                        role: legislator
                        sort_name: Meng
                        state: NY
                        vote: Nay
                      - bioguide_id: M001206
                        member_url: https://clerk.house.gov/Members/M001206
                        name: Morelle
                        party: D
                        role: legislator
                        sort_name: Morelle
                        state: NY
                        vote: Nay
                      - bioguide_id: N000002
                        member_url: https://clerk.house.gov/Members/N000002
                        name: Nadler
                        party: D
                        role: legislator
                        sort_name: Nadler
                        state: NY
                        vote: Nay
                      - bioguide_id: O000172
                        member_url: https://clerk.house.gov/Members/O000172
                        name: Ocasio-Cortez
                        party: D
                        role: legislator
                        sort_name: Ocasio-Cortez
                        state: NY
                        vote: Nay
                      - bioguide_id: R000622
                        member_url: https://clerk.house.gov/Members/R000622
                        name: Riley (NY)
                        party: D
                        role: legislator
                        sort_name: Riley (NY)
                        state: NY
                        vote: Nay
                      - bioguide_id: R000579
                        member_url: https://clerk.house.gov/Members/R000579
                        name: Ryan
                        party: D
                        role: legislator
                        sort_name: Ryan
                        state: NY
                        vote: Nay
                      - bioguide_id: S001196
                        member_url: https://clerk.house.gov/Members/S001196
                        name: Stefanik
                        party: R
                        role: legislator
                        sort_name: Stefanik
                        state: NY
                        vote: Yea
                      - bioguide_id: S001201
                        member_url: https://clerk.house.gov/Members/S001201
                        name: Suozzi
                        party: D
                        role: legislator
                        sort_name: Suozzi
                        state: NY
                        vote: Nay
                      - bioguide_id: T000478
                        member_url: https://clerk.house.gov/Members/T000478
                        name: Tenney
                        party: R
                        role: legislator
                        sort_name: Tenney
                        state: NY
                        vote: Yea
                      - bioguide_id: T000469
                        member_url: https://clerk.house.gov/Members/T000469
                        name: Tonko
                        party: D
                        role: legislator
                        sort_name: Tonko
                        state: NY
                        vote: Nay
                      - bioguide_id: T000486
                        member_url: https://clerk.house.gov/Members/T000486
                        name: Torres (NY)
                        party: D
                        role: legislator
                        sort_name: Torres (NY)
                        state: NY
                        vote: Nay
                      - bioguide_id: V000081
                        member_url: https://clerk.house.gov/Members/V000081
                        name: Velázquez
                        party: D
                        role: legislator
                        sort_name: Velazquez
                        state: NY
                        vote: Nay
                    observed_at_ms: 1791767761158
                    page_url: https://clerk.house.gov/Votes/2025145
                    question: On Passage
                    result: Passed
                    returned_count: 26
                    roll: 145
                    session: 1
                    source_url: https://clerk.house.gov/evs/2025/roll145.xml
                    time: 6:54 AM
                    time_etz: '06:54'
                    totals:
                      nay: 214
                      not_voting: 2
                      present: 1
                      yea: 215
                    totals_by_party:
                      - nay: 2
                        not_voting: 2
                        party: Republican
                        present: 1
                        yea: 215
                      - nay: 212
                        not_voting: 0
                        party: Democratic
                        present: 0
                        yea: 0
                      - nay: 0
                        not_voting: 0
                        party: Independent
                        present: 0
                        yea: 0
                    vote_id: '2025145'
                    vote_type: YEA-AND-NAY
                    year: 2025
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            One House roll call vote by congress, session and roll call number:
            question, legislation, type, result, date and time, totals by party
            and overall, and each member's recorded position keyed by Bioguide
            ID (optionally filtered by state, party or position). Read from the
            Clerk's roll call XML at /evs/{year}/roll{nnn}.xml; the year is
            derived from congress and session and cross-checked against the
            document.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

            | --- | --- | --- |

            | `amendment_author` | string |  |

            | `amendment_num` | string |  |

            | `bill_number` | string | Compact bill number (HR1, HJRES25, S2403)
            as accepted by the `votes` bill filter; null when legis_num is not a
            bill. |

            | `chamber` | string |  |

            | `congress` | number |  |

            | `date` | string | Vote date (Eastern time) as YYYY-MM-DD. |

            | `date_text` | string | Date as the Clerk prints it (e.g.
            22-May-2025). |

            | `description` | string | Vote description / bill title; null when
            the Clerk left it empty. |

            | `filters` | object |  |

            | `legis_num` | string | Legislation as printed in the XML (e.g. H R
            1, H J RES 25); null for votes without legislation (quorum calls,
            elections). |

            | `majority` | string | Majority party code at the time of the vote
            (R or D) when the document carries it. |

            | `member_count` | number | Number of recorded positions in the
            document before filtering. |

            | `members` | object[] | Recorded positions (after the optional
            filters), in the Clerk's order (alphabetical by sort name). |

            | `observed_at_ms` | number |  |

            | `page_url` | string | The human-readable vote page,
            https://clerk.house.gov/Votes/{vote_id}. |

            | `question` | string |  |

            | `result` | string | Passed, Failed, Agreed to, ... as printed. |

            | `returned_count` | number |  |

            | `roll` | number |  |

            | `session` | number |  |

            | `source_url` | string | The roll call XML that was read. |

            | `time` | string | Vote time as printed (e.g. 6:54 AM), Eastern
            time. |

            | `time_etz` | string | 24-hour Eastern time (HH:MM) from the
            document's time-etz attribute. |

            | `totals` | object |  |

            | `totals_by_party` | object[] |  |

            | `vote_id` | string | {year}{roll:03}, the id in
            clerk.house.gov/Votes/{vote_id}. |

            | `vote_type` | string | YEA-AND-NAY, RECORDED VOTE, 2/3
            YEA-AND-NAY, QUORUM, ... as printed. |

            | `year` | number |  |



            These are the provider's documented fields. Field requiredness,
            nullability and nested object structures are specified only where
            the descriptions explicitly say so.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.