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

> Read the full text of a decision or notice found through `list_documents`, `search` or a featured application. Not for eFiling exhibits, which need a login.

## Request contract

* **Method and path:** POST /apis/v1/auc-ab-ca/regulatory-decision/get-document
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/auc-ab-ca/regulatory-decision/get-document`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/auc-ab-ca.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "auc-ab-ca.regulatory-decision.get-document",
  "method": "POST",
  "path": "/apis/v1/auc-ab-ca/regulatory-decision/get-document",
  "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": {
              "efiling_document_id": "863220",
              "max_chars": 12000
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "efiling_document_id": {
              "description": "The eFiling document id (e.g. 863220), as returned by `list_documents` and `search`. Pattern: ^[0-9]{1,12}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "max_chars": {
              "default": 200000,
              "description": "Cap on the returned text; `text_truncated` reports when it applied.\n\nProvider reference: minimum 1000; maximum 400000; default 200000.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 400000,
                "min": 1000
              }
            },
            "url": {
              "description": "Alternative to the id: a public document URL on prd-api-efiling20.auc.ab.ca (Anonymous/DownloadPublicDocumentAsync/{id}) or the legacy efiling-webapi.auc.ab.ca/Document/Get/{id} form.",
              "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.


## OpenAPI

````yaml openapi/auc-ab-ca.json POST /apis/v1/auc-ab-ca/regulatory-decision/get-document
openapi: 3.1.0
info:
  description: ''
  title: Alberta Utilities Commission
  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:
    auc-ab-ca:
      description: ''
      title: Alberta Utilities Commission
      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: 3dc2f8ce2ae0e54244a7def0c533af941d09a53cb139df6a59ce49ea0e277ff1
        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/auc-ab-ca/regulatory-decision/get-document
    - /apis/v1/auc-ab-ca/regulatory-decision/get-featured-application
    - /apis/v1/auc-ab-ca/regulatory-decision/list-current-applications
    - /apis/v1/auc-ab-ca/regulatory-decision/list-documents
    - /apis/v1/auc-ab-ca/regulatory-decision/list-events
    - /apis/v1/auc-ab-ca/regulatory-decision/list-featured-applications
    - /apis/v1/auc-ab-ca/regulatory-decision/search
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:5a9f384cb24a6d6e9d146a5da7aecbbe7611c9e8baa3403da239b7cdaaac34aa
    facts_hash: 3dc2f8ce2ae0e54244a7def0c533af941d09a53cb139df6a59ce49ea0e277ff1
    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: auc-ab-ca
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/auc-ab-ca/regulatory-decision/get-document:
    post:
      tags:
        - Alberta Utilities Commission
      summary: Get document
      description: >-
        Read the full text of a decision or notice found through
        `list_documents`, `search` or a featured application. Not for eFiling
        exhibits, which need a login.
      operationId: auc-ab-ca.regulatory-decision.get-document
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  efiling_document_id: '863220'
                  max_chars: 12000
            schema:
              additionalProperties: true
              properties:
                efiling_document_id:
                  description: >-
                    The eFiling document id (e.g. 863220), as returned by
                    `list_documents` and `search`. Pattern: ^[0-9]{1,12}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                max_chars:
                  default: 200000
                  description: >-
                    Cap on the returned text; `text_truncated` reports when it
                    applied.


                    Provider reference: minimum 1000; maximum 400000; default
                    200000.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 400000
                    min: 1000
                url:
                  description: >-
                    Alternative to the id: a public document URL on
                    prd-api-efiling20.auc.ab.ca
                    (Anonymous/DownloadPublicDocumentAsync/{id}) or the legacy
                    efiling-webapi.auc.ab.ca/Document/Get/{id} form.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-13.
                  summary: Official provider example
                  value:
                    bytes: 195744
                    content_type: application/pdf
                    document_number: 30958-D01-2026
                    document_url: >-
                      https://prd-api-efiling20.auc.ab.ca/Anonymous/DownloadPublicDocumentAsync/863220
                    efiling_document_id: '863220'
                    fetched: live
                    filename: >-
                      30958_X[]_Decision 30958-D01-2026 - Kneehill Energy
                      Storage Facility Letter of Enquiry_000021.pdf
                    observed_at_ms: 1791925192425
                    proceeding_id: '30958'
                    text: "October 9, 2026 Decision 30958-D01-2026\n\nKneehill Solar GP Inc.\n2930, 155 Wellington Street West\nToronto, Ont. M5V 3H1\n\nAttention: Yasser Beshr\n\nKneehill Energy Storage Facility Letter of Enquiry\nProceeding 30958\nApplication 30958-A001\n\nApproval of minor amendments\n\n1. Kneehill Solar GP Inc., by Application 30958-A001, registered on July 21, 2026, applied\nto the Alberta Utilities Commission for approval to make minor amendments to the 10-megawatt\n(MW) energy storage facility within the existing Kneehill Solar Generation Facility boundary, in\nthe Three Hills area.\n\n2. The proposed work is related to facilities previously approved by the Commission but not\nyet constructed in Approval 30539-D02-2026.\n1\n\n3. Kneehill Solar requested to update the equipment of the battery energy storage system\nfrom the SolBank system to the HyperBlock system, a type of HyperStrong system.\nKneehill Solar indicated that the number of containers would be reduced from eight to five,\ninverters would be reduced from eight to three, and transformers would be reduced from four to\nthree. Kneehill Solar confirmed that the HyperBlock system uses the same lithium iron\nphosphate battery chemistry as the approved configuration and that the proposed changes are not\nchanging the battery technology or associated characteristics.\n2\n\n4. Kneehill Solar confirmed that the project capability remains the same as what was\napproved, at 10 MW/20 megawatt-hours.\n\n5. Kneehill Solar stated that the proposed HyperBlock system incorporates safety systems\nand design features that are comparable to the approved SolBank system and are intended to\nprevent, detect and mitigate thermal events, fire hazards and explosion risks. Kneehill Solar\nconfirmed that it will continue to meet the safety obligations in the approval, including energy\nstorage facility-related training, ongoing safety upgrades and annual updates to the site-specific\nemergency response plan.\n\n1\n Energy Storage Facility Approval 30539-D02-2026, Proceeding 30539, Application 30539-A001,\nJanuary 28, 2026.\n2\n Exhibit 30958-X0001, Letter of Enquiry for Minor Amendment, PDF page 2.\fAlberta Utilities Commission\nOctober 9, 2026  Page 2 of 2\n\n6. Kneehill Solar provided a letter from Stantec Consulting Ltd., which confirmed that the\noriginal dispersion modelling and risk assessment prepared by Calvin Consulting Group Ltd. for\nthe approved battery system remains valid and that the carbon monoxide release rates observed\nduring HyperBlock testing are below the carbon monoxide emission rate used in the original\nmodelling assessment.\n3\n Kneehill Solar confirmed that the proposed HyperBlock system would\nnot be expected to result in materially different hydrogen fluoride emissions or hydrogen\nfluoride-related risk outcomes than the system evaluated in the original assessment.\n4\n\n7. Kneehill Solar retained Green Cat Renewables Canada Corporation to complete a noise\nimpact assessment for the proposed equipment which concluded that the project will comply\nwith Rule 012: Noise Control.\n5\n\n8. Kneehill Solar confirmed that the proposed changes are limited to internal equipment\narrangement to be located within the approved project boundary.\n\n9. Kneehill Solar has provided information respecting the need, nature, extent, land\naffected, land ownership and the timing of the work. Kneehill Solar also stated that no adverse\nenvironmental impact will be caused by the proposed work.\n\n10. Based upon the information provided, the Commission is satisfied that the proposed\namendment to the energy storage facility is of a minor nature, no person is directly and adversely\naffected by the proposal, and no significant adverse environmental impact will be caused by the\nproposed work. The Commission approves the amendment to the energy storage facility.\n\n11. Approval 30958-D02-2026 is attached.\n\n12. The Commission may, no later than 60 days from the date of this decision and without\nnotice, correct typographical, spelling and calculation errors and other similar types of errors and\npost the corrected decision on its website.\n\nAlberta Utilities Commission\n\nRita Chan\nDirector – Power Plants, Facilities Division\nOn behalf of the Alberta Utilities Commission\n\nAttachment\n\n3\n Exhibit 30958-X0012, KneehillSolar-Response_to_AUC_Information_Request_Round_1.\n4\n Exhibit 30958-X0018, KneehillSolar-Response_to_AUC_Information_Request_Round_2.\n5\n Exhibit 30958-X0015, Attachment 3 - Kneehill BESS - LOE NIA Letter."
                    text_chars: 4449
                    text_extraction: ok
                    text_truncated: false
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Download one public AUC document (decision, approval, notice) from
            the eFiling API by its eFiling document id or download URL, and
            return its filename, the proceeding id and document number the
            filename carries, size, content type and the text extracted from the
            PDF (best effort: page content streams decoded in reading order;
            scanned or image-only PDFs yield no text).


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `bytes` | number |  |

            | `content_type` | string |  |

            | `document_number` | string | Disposition or filing number found in
            the filename (e.g. 30958-D01-2026), when present. |

            | `document_url` | string |  |

            | `efiling_document_id` | string |  |

            | `fetched` | string |  |

            | `filename` | string | From Content-Disposition; the eFiling
            convention is '{proceeding}_X[]_{title}_{sequence}.pdf'. |

            | `observed_at_ms` | number |  |

            | `proceeding_id` | string | Leading proceeding id of the filename,
            when present. |

            | `text` | string | Extracted text, pages separated by form feeds;
            null when nothing could be extracted. |

            | `text_chars` | number |  |

            | `text_extraction` | string | `ok` when text was found, `no_text`
            for a PDF without extractable text (scanned), `unsupported` for a
            non-PDF body. |

            | `text_truncated` | boolean |  |



            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.