Legislative Assembly of Alberta · Hansard index
assembly-ab-ca/legislative-records/hansard_indexGet industry and reference data with Legislative Assembly of Alberta · Hansard index from Alexandria through one Spiral API key. 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. It runs in the background and returns structured JSON. Pay as you go, with no subscription.
Pricing
$0.00873 per call.
Limits
- Runs
- In the background
- Returns
- json
- Longest queue wait
- 1 hour
- Run deadline
- 5 minutes
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
docid required | number 1 to … | — | Index document id from list_sitting_documents.indexes or list_committee_transcripts.indexes. |
index_type required | one of speaker, subject | — | index_type |
mode | one of summary, detailed | detailed | detailed lists every entry with page references; summary lists the headings and sub-headings only. |
letter | text | A | Initial letter of the headings; "0" is the site's 0-9 group. Pattern: ^[A-Za-z0]$. |
committee | text | Committee code for a committee index (as the site's comm= parameter); empty for the House Hansard index. Pattern: ^[A-Za-z]{0,5}$. | |
heading_contains | text | — | Keep only headings containing this text (case-insensitive). |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "alexandria",
"model": "assembly-ab-ca/legislative-records/hansard_index",
"input": {
"docid": 1,
"index_type": "speaker"
}
}'Frequently asked questions
How much does Legislative Assembly of Alberta · Hansard index cost?
$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Legislative Assembly of Alberta · Hansard index through an API?
Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "assembly-ab-ca/legislative-records/hansard_index"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with Alexandria to use Legislative Assembly of Alberta · Hansard index?
No. Spiral runs it on its own Alexandria account and charges your Spiral balance.
Can my AI agent use Legislative Assembly of Alberta · Hansard index?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.