> ## 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

# Hansard index

> Find where a member spoke, or where a subject was debated, without reading the PDFs: this is the Assembly's own index. Letter A of a busy session is large; use heading_contains to keep one speaker or subject.

## 请求规范

* **方法与路径:** POST /apis/v1/assembly-ab-ca/legislative-records/hansard-index
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/assembly-ab-ca/legislative-records/hansard-index`

[完整 OpenAPI 定义](https://aisa.one/docs/openapi/zh/assembly-ab-ca.json)

有效请求声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "assembly-ab-ca.legislative-records.hansard-index",
  "method": "POST",
  "path": "/apis/v1/assembly-ab-ca/legislative-records/hansard-index",
  "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": {
              "docid": 81497,
              "heading_contains": "Acting Speaker",
              "index_type": "speaker",
              "letter": "A"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "committee": {
              "default": "",
              "description": "Committee code for a committee index (as the site's comm= parameter); empty for the House Hansard index. Pattern: ^[A-Za-z]{0,5}$.\n\nProvider reference: default \"\".",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "docid": {
              "description": "Index document id from list_sitting_documents.indexes or list_committee_transcripts.indexes.\n\nProvider reference: minimum 1.",
              "type": "number"
            },
            "heading_contains": {
              "description": "Keep only headings containing this text (case-insensitive).",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "index_type": {
              "description": "index_type\n\nProvider reference: allowed values [\"speaker\", \"subject\"].",
              "type": "string"
            },
            "letter": {
              "default": "A",
              "description": "Initial letter of the headings; \"0\" is the site's 0-9 group. Pattern: ^[A-Za-z0]$.\n\nProvider reference: default \"A\".",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "mode": {
              "default": "detailed",
              "description": "detailed lists every entry with page references; summary lists the headings and sub-headings only.\n\nProvider reference: allowed values [\"summary\", \"detailed\"]; default \"detailed\".",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "summary",
                  "detailed"
                ]
              }
            }
          },
          "required": [
            "docid",
            "index_type"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

按实际用量收费。 默认请求预估费用：\$0.0005 USD。 最终费用以实际用量为准。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。


## OpenAPI

````yaml openapi/zh/assembly-ab-ca.json POST /apis/v1/assembly-ab-ca/legislative-records/hansard-index
openapi: 3.1.0
info:
  description: ''
  title: Legislative Assembly of Alberta
  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:
    assembly-ab-ca:
      description: ''
      title: Legislative Assembly of Alberta
      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: ebd100548dfee76470946ac40977a940eb5a6ef8fbd675e63e061fe54b9bf978
        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/assembly-ab-ca/legislative-records/get-bill
    - /apis/v1/assembly-ab-ca/legislative-records/get-member
    - /apis/v1/assembly-ab-ca/legislative-records/hansard-index
    - /apis/v1/assembly-ab-ca/legislative-records/list-bills
    - /apis/v1/assembly-ab-ca/legislative-records/list-committee-transcripts
    - /apis/v1/assembly-ab-ca/legislative-records/list-members
    - /apis/v1/assembly-ab-ca/legislative-records/list-sitting-documents
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:12114a76995ac0b13e197be2cb3b85a993bae2a11973731186f0a04d53772d1e
    facts_hash: ebd100548dfee76470946ac40977a940eb5a6ef8fbd675e63e061fe54b9bf978
    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: assembly-ab-ca
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/assembly-ab-ca/legislative-records/hansard-index:
    post:
      tags:
        - Legislative Assembly of Alberta
      summary: Hansard index
      description: >-
        Find where a member spoke, or where a subject was debated, without
        reading the PDFs: this is the Assembly's own index. Letter A of a busy
        session is large; use heading_contains to keep one speaker or subject.
      operationId: assembly-ab-ca.legislative-records.hansard-index
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  docid: 81497
                  heading_contains: Acting Speaker
                  index_type: speaker
                  letter: A
            schema:
              additionalProperties: true
              properties:
                committee:
                  default: ''
                  description: >-
                    Committee code for a committee index (as the site's comm=
                    parameter); empty for the House Hansard index. Pattern:
                    ^[A-Za-z]{0,5}$.


                    Provider reference: default "".
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                docid:
                  description: >-
                    Index document id from list_sitting_documents.indexes or
                    list_committee_transcripts.indexes.


                    Provider reference: minimum 1.
                  type: number
                heading_contains:
                  description: Keep only headings containing this text (case-insensitive).
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                index_type:
                  description: |-
                    index_type

                    Provider reference: allowed values ["speaker", "subject"].
                  type: string
                letter:
                  default: A
                  description: >-
                    Initial letter of the headings; "0" is the site's 0-9 group.
                    Pattern: ^[A-Za-z0]$.


                    Provider reference: default "A".
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                mode:
                  default: detailed
                  description: >-
                    detailed lists every entry with page references; summary
                    lists the headings and sub-headings only.


                    Provider reference: allowed values ["summary", "detailed"];
                    default "detailed".
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - summary
                      - detailed
              required:
                - docid
                - index_type
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-13.
                  summary: Official provider example
                  value:
                    count: 1
                    docid: 81497
                    headings:
                      - heading: Acting Speaker (van Dijken, Glenn)
                        subheadings:
                          - entries:
                              - hansard_page: '1168'
                                pdf_page: 18
                                pdf_url: >-
                                  https://docs.assembly.ab.ca/LADDAR_files/docs/hansards/han/legislature_31/session_2/20260323_1330_01_han.pdf#page=18
                                topic: Second reading, points of order on debate
                            subheading: Accessible Alberta Act (Bill 206, 2026)
                          - entries:
                              - hansard_page: '1575'
                                pdf_page: 43
                                pdf_url: >-
                                  https://docs.assembly.ab.ca/LADDAR_files/docs/hansards/han/legislature_31/session_2/20260420_1330_01_han.pdf#page=43
                                topic: >-
                                  Establishment (Government Motion 37: carried),
                                  points of order on debate
                            subheading: Committee on Electoral Boundaries, Select Special
                          - entries:
                              - hansard_page: '1175'
                                pdf_page: 25
                                pdf_url: >-
                                  https://docs.assembly.ab.ca/LADDAR_files/docs/hansards/han/legislature_31/session_2/20260323_1330_01_han.pdf#page=25
                                topic: >-
                                  Public safety initiatives, GOA to enhance
                                  resources for (Motion Other than Government
                                  Motion 508: defeated), points of order on
                                  debate
                            subheading: Crime prevention
                          - entries:
                              - hansard_page: '460'
                                pdf_page: 18
                                pdf_url: >-
                                  https://docs.assembly.ab.ca/LADDAR_files/docs/hansards/han/legislature_31/session_2/20251124_1930_01_han.pdf#page=18
                                topic: >-
                                  Second reading, reasoned amendment RA1
                                  (Ganley: defeated), points of order on debate
                            subheading: >-
                              Education (Prioritizing Literacy and Numeracy)
                              Amendment Act, 2025 (No. 2) (Bill 6)
                          - entries:
                              - hansard_page: '773'
                                pdf_page: 25
                                pdf_url: >-
                                  https://docs.assembly.ab.ca/LADDAR_files/docs/hansards/han/legislature_31/session_2/20251204_1330_01_han.pdf#page=25
                                topic: >-
                                  Second reading, time allocation (Government
                                  Motion 19: carried), points of order on debate
                            subheading: >-
                              Health Statutes Amendment Act, 2025 (No. 2) (Bill
                              11)
                          - entries:
                              - hansard_page: '1168'
                                pdf_page: 18
                                pdf_url: >-
                                  https://docs.assembly.ab.ca/LADDAR_files/docs/hansards/han/legislature_31/session_2/20260323_1330_01_han.pdf#page=18
                                topic: Exhibits
                              - hansard_page: '1575'
                                pdf_page: 43
                                pdf_url: >-
                                  https://docs.assembly.ab.ca/LADDAR_files/docs/hansards/han/legislature_31/session_2/20260420_1330_01_han.pdf#page=43
                                topic: ','
                              - hansard_page: '681'
                                pdf_page: 5
                                pdf_url: >-
                                  https://docs.assembly.ab.ca/LADDAR_files/docs/hansards/han/legislature_31/session_2/20251202_1930_01_han.pdf#page=5
                                topic: Imputing false motives
                              - hansard_page: '773'
                                pdf_page: 25
                                pdf_url: >-
                                  https://docs.assembly.ab.ca/LADDAR_files/docs/hansards/han/legislature_31/session_2/20251204_1330_01_han.pdf#page=25
                                topic: ','
                              - hansard_page: '105'
                                pdf_page: 23
                                pdf_url: >-
                                  https://docs.assembly.ab.ca/LADDAR_files/docs/hansards/han/legislature_31/session_2/20251029_1330_01_han.pdf#page=23
                                topic: Language creating disorder
                              - hansard_page: '222'
                                pdf_page: 24
                                pdf_url: >-
                                  https://docs.assembly.ab.ca/LADDAR_files/docs/hansards/han/legislature_31/session_2/20251105_1330_01_han.pdf#page=24
                                topic: ','
                              - hansard_page: '615'
                                pdf_page: 23
                                pdf_url: >-
                                  https://docs.assembly.ab.ca/LADDAR_files/docs/hansards/han/legislature_31/session_2/20251201_1330_01_han.pdf#page=23
                                topic: ','
                              - hansard_page: '1175'
                                pdf_page: 25
                                pdf_url: >-
                                  https://docs.assembly.ab.ca/LADDAR_files/docs/hansards/han/legislature_31/session_2/20260323_1330_01_han.pdf#page=25
                                topic: ','
                              - hansard_page: '494'
                                pdf_page: 32
                                pdf_url: >-
                                  https://docs.assembly.ab.ca/LADDAR_files/docs/hansards/han/legislature_31/session_2/20251125_1330_01_han.pdf#page=32
                                topic: Parliamentary language
                              - hansard_page: '1168'
                                pdf_page: 18
                                pdf_url: >-
                                  https://docs.assembly.ab.ca/LADDAR_files/docs/hansards/han/legislature_31/session_2/20260323_1330_01_han.pdf#page=18
                                topic: ','
                              - hansard_page: '1175'
                                pdf_page: 25
                                pdf_url: >-
                                  https://docs.assembly.ab.ca/LADDAR_files/docs/hansards/han/legislature_31/session_2/20260323_1330_01_han.pdf#page=25
                                topic: Referring to the absence of members
                              - hansard_page: '108'
                                pdf_page: 26
                                pdf_url: >-
                                  https://docs.assembly.ab.ca/LADDAR_files/docs/hansards/han/legislature_31/session_2/20251029_1330_01_han.pdf#page=26
                                topic: Reflections on the Royal Family
                              - hansard_page: '460'
                                pdf_page: 18
                                pdf_url: >-
                                  https://docs.assembly.ab.ca/LADDAR_files/docs/hansards/han/legislature_31/session_2/20251124_1930_01_han.pdf#page=18
                                topic: Relevance
                            subheading: Points of order (current session)
                          - entries:
                              - hansard_page: '494'
                                pdf_page: 32
                                pdf_url: >-
                                  https://docs.assembly.ab.ca/LADDAR_files/docs/hansards/han/legislature_31/session_2/20251125_1330_01_han.pdf#page=32
                                topic: Second reading, points of order on debate
                              - hansard_page: '681'
                                pdf_page: 5
                                pdf_url: >-
                                  https://docs.assembly.ab.ca/LADDAR_files/docs/hansards/han/legislature_31/session_2/20251202_1930_01_han.pdf#page=5
                                topic: ','
                            subheading: >-
                              Protecting Alberta's Children Statutes Amendment
                              Act, 2025 (Bill 9)
                          - entries:
                              - hansard_page: '615'
                                pdf_page: 23
                                pdf_url: >-
                                  https://docs.assembly.ab.ca/LADDAR_files/docs/hansards/han/legislature_31/session_2/20251201_1330_01_han.pdf#page=23
                                topic: Second reading, points of order on debate
                            subheading: >-
                              Public Interest Disclosure (Publicly Funded Health
                              Entity Whistleblower Protection) Act (Bill 204,
                              2025)
                          - entries:
                              - hansard_page: '222'
                                pdf_page: 24
                                pdf_url: >-
                                  https://docs.assembly.ab.ca/LADDAR_files/docs/hansards/han/legislature_31/session_2/20251105_1330_01_han.pdf#page=24
                                topic: Second reading, points of order on debate
                            subheading: >-
                              Public Safety and Emergency Services Statutes
                              Amendment Act, 2025 (No. 2) (Bill 4)
                          - entries:
                              - hansard_page: '105'
                                pdf_page: 23
                                pdf_url: >-
                                  https://docs.assembly.ab.ca/LADDAR_files/docs/hansards/han/legislature_31/session_2/20251029_1330_01_han.pdf#page=23
                                topic: >-
                                  Address in reply moved and seconded, amendment
                                  A1, points of order on debate
                              - hansard_page: '108'
                                pdf_page: 26
                                pdf_url: >-
                                  https://docs.assembly.ab.ca/LADDAR_files/docs/hansards/han/legislature_31/session_2/20251029_1330_01_han.pdf#page=26
                                topic: ','
                            subheading: Speech from the Throne
                    index_pdf_url: >-
                      https://docs.assembly.ab.ca/LADDAR_files/indexes/hansards/han/legislature_31/session_2/20251023_1330_01_hanspkr.pdf
                    index_type: speaker
                    letter: A
                    mode: detailed
                    observed_at_ms: 1791923113469
                    source_url: >-
                      https://www.assembly.ab.ca/assembly-business/transcripts/transcript-index?p=transcripts_index&docid=81497&type=speaker&comm=&record=hansard&mode=detailed&letter=A
                    title: 31st Legislature, 2nd Session, Speaker Index
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            One letter of a session's Hansard speaker or subject index: heading
            (speaker with constituency and caucus, or subject), sub-headings,
            and each entry's topic, printed Hansard page and the Hansard PDF
            link with page index. The docid comes from list_sitting_documents
            (House Hansard) or list_committee_transcripts (committee Hansard).


            The response contains the tool result directly.


            The provider identifies `headings` as the primary payload key.


            | Documented field | Provider type | Description |

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

            | `heading` | string | Speaker index: "Surname, Given (Constituency,
            Caucus)"; subject index: the subject. |

            | `subheadings` | object[] |  |



            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.