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

# Get member

> Member profile; the mid comes from list_members or from get_bill.sponsor.mid.

## 请求规范

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

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

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

```json theme={null}
{
  "operationId": "assembly-ab-ca.legislative-records.get-member",
  "method": "POST",
  "path": "/apis/v1/assembly-ab-ca/legislative-records/get-member",
  "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": {
              "mid": "0814"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "allOf": [
            {
              "anyOf": [
                {
                  "properties": {
                    "mid": {}
                  },
                  "required": [
                    "mid"
                  ]
                },
                {
                  "properties": {
                    "url": {}
                  },
                  "required": [
                    "url"
                  ]
                }
              ]
            }
          ],
          "properties": {
            "mid": {
              "description": "Member id (4 digits on the site; shorter forms are zero-padded). Pattern: ^[0-9]{1,4}$.",
              "type": "string"
            },
            "url": {
              "description": "A member-information URL instead of mid.",
              "type": "string"
            }
          },
          "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/get-member
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/get-member:
    post:
      tags:
        - Legislative Assembly of Alberta
      summary: Get member
      description: >-
        Member profile; the mid comes from list_members or from
        get_bill.sponsor.mid.
      operationId: assembly-ab-ca.legislative-records.get-member
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  mid: '0814'
            schema:
              additionalProperties: true
              allOf:
                - anyOf:
                    - properties:
                        mid: {}
                      required:
                        - mid
                    - properties:
                        url: {}
                      required:
                        - url
              properties:
                mid:
                  description: >-
                    Member id (4 digits on the site; shorter forms are
                    zero-padded). Pattern: ^[0-9]{1,4}$.
                  type: string
                url:
                  description: A member-information URL instead of mid.
                  type: string
              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:
                    biography:
                      - >-
                        The Honourable Danielle Smith was sworn-in as Alberta’s
                        19th Premier on October 11, 2022. She was re-elected as
                        the Member of the Legislative Assembly for the
                        constituency of Brooks-Medicine Hat on May 29, 2023.
                      - >-
                        Danielle Smith was first elected as the Member of the
                        Legislative Assembly for Highwood on April 23, 2012. She
                        served as leader of the Wildrose Party of Alberta from
                        October 17, 2009, to December 17, 2014.
                      - >-
                        She previously served on the Special Standing Committee
                        on Members’ Services and the Standing Committee on
                        Alberta’s Economic Future.
                      - >-
                        Prior to entering politics, Ms. Smith was the director
                        of provincial affairs for Alberta with the Canadian
                        Federation of Independent Business, CFIB. She worked
                        with all levels of government to represent the interests
                        of CFIB’s 10,000 small-business members in Alberta.
                      - >-
                        Before joining CFIB, Ms. Smith had extensive experience
                        in the media. She was an editorial writer and columnist
                        at the Calgary Herald for six years. She served as host
                        of Global Sunday, a national current affairs television
                        talk show, and was also the host of two programs on CKMX
                        1060 AM radio in Calgary, Health Frontiers and Standing
                        Ground. She has made frequent guest appearances as a
                        commentator on TV and radio.
                      - >-
                        Ms. Smith’s public policy experience began with an
                        internship at the Fraser Institute. She was also elected
                        as a trustee for the Calgary board of education and
                        served as the director of the Alberta Property Rights
                        Initiative and the Canadian Property Rights Research
                        Institute.
                      - >-
                        Smith received a BA in English and a BA in economics
                        from the University of Calgary. She married her husband,
                        David Moretta in 2006 and is the proud stepmother of
                        David’s son Jonathan. Danielle and David live in High
                        River with their two dogs, Caine and Turk.
                      - >-
                        She was the 814th Member of the Legislative Assembly of
                        Alberta.
                    caucus: United Conservative Caucus
                    constituency: Brooks-Medicine Hat
                    dates_of_service:
                      - end: Current
                        start: 2022-Nov-08
                        total: 1,436 Days (to date)
                      - end: 2015-May-04
                        start: 2012-Apr-23
                        total: 1,107 Days
                    elections:
                      - constituency: Brooks-Medicine Hat
                        date: 2023-May-29
                        election_type: General Election
                        legislature: 31
                        party: United Conservative
                        result: Elected
                      - constituency: Brooks-Medicine Hat
                        date: 2022-Nov-08
                        election_type: By-election
                        legislature: 30
                        party: United Conservative
                        result: Elected
                      - constituency: Highwood
                        date: 2012-Apr-23
                        election_type: General Election
                        legislature: 28
                        party: Wildrose Alliance
                        result: Elected
                    mid: '0814'
                    name: Honourable Danielle Smith, ECA
                    observed_at_ms: 1791923138144
                    party_affiliations:
                      - end: Current
                        party: United Conservative
                        start: 2022-Nov-08
                      - end: 2015-May-04
                        party: Progressive Conservative
                        start: 2014-Dec-17
                      - end: 2014-Dec-17
                        party: Wildrose Alliance
                        start: 2012-Apr-23
                    photo_url: >-
                      https://www.assembly.ab.ca/images/default-source/members/mla-photos/ph-mla0814.jpg
                    source_url: >-
                      https://www.assembly.ab.ca/members/members-of-the-legislative-assembly/member-information?mid=0814
                    status: Current Member
                    titles:
                      - Premier of Alberta
                      - President of Executive Council
                      - >-
                        Minister of Intergovernmental and International
                        Relations
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            One MLA by member id: name, titles and offices held, caucus,
            constituency, membership status, biography, dates of service,
            contested elections and party affiliations, from the member
            information page.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `biography` | string[] | Biography paragraphs verbatim. |

            | `caucus` | string |  |

            | `constituency` | string |  |

            | `dates_of_service` | object[] |  |

            | `elections` | object[] |  |

            | `mid` | string |  |

            | `name` | string | Heading as printed, e.g. "Honourable Danielle
            Smith, ECA". |

            | `observed_at_ms` | number |  |

            | `party_affiliations` | object[] |  |

            | `photo_url` | string |  |

            | `source_url` | string |  |

            | `status` | string | "Current Member" or "Former Member" as
            printed. |

            | `titles` | string[] | Offices held as printed under the name
            (Premier, ministries, Speaker, ...). |



            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.