curl --request POST \
--url https://api.aisa.one/apis/v1/auc-ab-ca/regulatory-decision/list-documents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"dataset": "decisions",
"limit": 5
}
'import requests
url = "https://api.aisa.one/apis/v1/auc-ab-ca/regulatory-decision/list-documents"
payload = {
"dataset": "decisions",
"limit": 5
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({dataset: 'decisions', limit: 5})
};
fetch('https://api.aisa.one/apis/v1/auc-ab-ca/regulatory-decision/list-documents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/auc-ab-ca/regulatory-decision/list-documents",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'dataset' => 'decisions',
'limit' => 5
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/auc-ab-ca/regulatory-decision/list-documents"
payload := strings.NewReader("{\n \"dataset\": \"decisions\",\n \"limit\": 5\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/auc-ab-ca/regulatory-decision/list-documents")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"dataset\": \"decisions\",\n \"limit\": 5\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/auc-ab-ca/regulatory-decision/list-documents")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"dataset\": \"decisions\",\n \"limit\": 5\n}"
response = http.request(request)
puts response.read_bodyList documents
Find decisions, notices or approvals by proceeding, applicant, date or type; feed get_document with efiling_document_id. Not for proceedings’ party lists or exhibits (eFiling login only).
curl --request POST \
--url https://api.aisa.one/apis/v1/auc-ab-ca/regulatory-decision/list-documents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"dataset": "decisions",
"limit": 5
}
'import requests
url = "https://api.aisa.one/apis/v1/auc-ab-ca/regulatory-decision/list-documents"
payload = {
"dataset": "decisions",
"limit": 5
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({dataset: 'decisions', limit: 5})
};
fetch('https://api.aisa.one/apis/v1/auc-ab-ca/regulatory-decision/list-documents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/auc-ab-ca/regulatory-decision/list-documents",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'dataset' => 'decisions',
'limit' => 5
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/auc-ab-ca/regulatory-decision/list-documents"
payload := strings.NewReader("{\n \"dataset\": \"decisions\",\n \"limit\": 5\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/auc-ab-ca/regulatory-decision/list-documents")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"dataset\": \"decisions\",\n \"limit\": 5\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/auc-ab-ca/regulatory-decision/list-documents")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"dataset\": \"decisions\",\n \"limit\": 5\n}"
response = http.request(request)
puts response.read_bodyRequest contract
- Method and path: POST /apis/v1/auc-ab-ca/regulatory-decision/list-documents
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/auc-ab-ca/regulatory-decision/list-documents
{
"operationId": "auc-ab-ca.regulatory-decision.list-documents",
"method": "POST",
"path": "/apis/v1/auc-ab-ca/regulatory-decision/list-documents",
"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": {
"dataset": "decisions",
"limit": 5
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"applicant": {
"description": "Case-insensitive substring of the applicant name (e.g. 'AltaLink').",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"cursor": {
"description": "`next_cursor` from the previous page: the absolute row offset to resume from. Pattern: ^[0-9]{1,7}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"dataset": {
"default": "decisions",
"description": "Which regulatory documents table to read. `decisions` covers dispositions from late 2022 onwards; `recent_updates` is the last 30 days across all types; `monthly_*` tables carry no document type, proceeding id or division columns.\n\nProvider reference: allowed values [\"decisions\", \"recent_updates\", \"notices\", \"facility_approvals\", \"gas_pipeline_licences\", \"monthly_energy_charges\", \"monthly_gas_charges\"]; default \"decisions\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"decisions",
"recent_updates",
"notices",
"facility_approvals",
"gas_pipeline_licences",
"monthly_energy_charges",
"monthly_gas_charges"
]
}
},
"division": {
"description": "Case-insensitive division name (Facilities, Rates, Law, Markets, ...).",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"document_number": {
"description": "Keep only the row with this exact document number (e.g. 30958-D01-2026, 31108-F0004, licence 1670).",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"document_type": {
"description": "Case-insensitive substring of the document type (e.g. 'Decision report', 'Approval', 'Notice of application', 'Electric facility permit').",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"limit": {
"default": 100,
"description": "Rows to return (matching rows when a filter is set).\n\nProvider reference: minimum 1; maximum 1000; default 100.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 1000,
"min": 1
}
},
"proceeding_id": {
"description": "Keep only rows of this AUC proceeding (e.g. 30958). Pattern: ^[0-9]{1,8}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"sort": {
"default": "newest",
"description": "Table order: newest first (the site's default) or oldest first.\n\nProvider reference: allowed values [\"newest\", \"oldest\"]; default \"newest\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"newest",
"oldest"
]
}
},
"year": {
"description": "Keep only rows issued in this year. Pattern: ^[0-9]{4}$.",
"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.Authorizations
Body
Which regulatory documents table to read. decisions covers dispositions from late 2022 onwards; recent_updates is the last 30 days across all types; monthly_* tables carry no document type, proceeding id or division columns.
Provider reference: allowed values ["decisions", "recent_updates", "notices", "facility_approvals", "gas_pipeline_licences", "monthly_energy_charges", "monthly_gas_charges"]; default "decisions".
Response
One page of an AUC regulatory documents table (decisions, recent updates, notices, facility approvals and licences, gas pipeline licences, monthly energy or gas charge approvals), newest or oldest first, with each row's document number, proceeding id, applicant, issue date and the eFiling document id that get_document downloads. Optional filters (proceeding id, document number, applicant, document type, division, year) are applied by this program while scanning the table in 1000-row pages, because the site's own table filters client side.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
count | number | |
dataset | string | |
documents | object[] | |
fetched | string | |
filtered | boolean | True when a program-side filter was applied to the scanned rows. |
next_cursor | string | Row offset to resume from, or null when the table is exhausted. |
observed_at_ms | number | |
rows_scanned | number | Table rows read from the site for this page. |
sort | string | |
source_url | string | The www.auc.ab.ca page that renders this table. |
table_id | number | The WordPress Ninja Tables id behind the dataset. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.