跳转到主要内容
POST
Hansard index

请求规范

  • 方法与路径: 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 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

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

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
docid
number
必填

Index document id from list_sitting_documents.indexes or list_committee_transcripts.indexes.

Provider reference: minimum 1.

index_type
string
必填

index_type

Provider reference: allowed values ["speaker", "subject"].

committee
string
默认值:""

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 "".

heading_contains
string

Keep only headings containing this text (case-insensitive).

letter
string
默认值:A

Initial letter of the headings; "0" is the site's 0-9 group. Pattern: ^[A-Za-z0]$.

Provider reference: default "A".

mode
string
默认值:detailed

detailed lists every entry with page references; summary lists the headings and sub-headings only.

Provider reference: allowed values ["summary", "detailed"]; default "detailed".

响应

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.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.