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

# Pipelines

> Start here for "who operates Trans Mountain, how long is it and what is its capacity", "NGTL revenue and rate base", or to find the slug `throughput` and `tolls` take.

## Request contract

* **Method and path:** POST /apis/v1/cer-rec-gc-ca/energy-data/pipelines
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/pipelines`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/cer-rec-gc-ca.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "cer-rec-gc-ca.energy-data.pipelines",
  "method": "POST",
  "path": "/apis/v1/cer-rec-gc-ca/energy-data/pipelines",
  "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": {
              "pipeline": "Trans Mountain"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "pipeline": {
              "description": "A pipeline or company name or slug (`Trans Mountain`, `NGTL`, `Enbridge`, `keystone`). Omit to list all profiled pipelines.",
              "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/cer-rec-gc-ca.json POST /apis/v1/cer-rec-gc-ca/energy-data/pipelines
openapi: 3.1.0
info:
  description: ''
  title: Canada Energy Regulator (CER) open data
  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:
    cer-rec-gc-ca:
      description: ''
      title: Canada Energy Regulator (CER) open data
      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: dfe498aefc001ad7640ab0b3e374af162ddd24ac2c4d0d9cdf6a1db9b29bce1a
        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/cer-rec-gc-ca/energy-data/energy-future
    - /apis/v1/cer-rec-gc-ca/energy-data/energy-statistics
    - /apis/v1/cer-rec-gc-ca/energy-data/incidents
    - /apis/v1/cer-rec-gc-ca/energy-data/pipelines
    - /apis/v1/cer-rec-gc-ca/energy-data/regulatory-instruments
    - /apis/v1/cer-rec-gc-ca/energy-data/throughput
    - /apis/v1/cer-rec-gc-ca/energy-data/tolls
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:fbc459c04761911a8e86b18da9919c8e51841a225ebda3bb4c8b0facac0285bb
    facts_hash: dfe498aefc001ad7640ab0b3e374af162ddd24ac2c4d0d9cdf6a1db9b29bce1a
    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: cer-rec-gc-ca
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/cer-rec-gc-ca/energy-data/pipelines:
    post:
      tags:
        - Canada Energy Regulator (CER) open data
      summary: Pipelines
      description: >-
        Start here for "who operates Trans Mountain, how long is it and what is
        its capacity", "NGTL revenue and rate base", or to find the slug
        `throughput` and `tolls` take.
      operationId: cer-rec-gc-ca.energy-data.pipelines
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  pipeline: Trans Mountain
            schema:
              additionalProperties: true
              properties:
                pipeline:
                  description: >-
                    A pipeline or company name or slug (`Trans Mountain`,
                    `NGTL`, `Enbridge`, `keystone`). Omit to list all profiled
                    pipelines.
                  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-25.
                  summary: Official provider example
                  value:
                    count: 1
                    license:
                      attribution: >-
                        Contains information licensed under the Open Government
                        Licence - Canada (Canada Energy Regulator).
                      name: Open Government Licence - Canada 2.0
                      url: https://open.canada.ca/en/open-government-licence-canada
                    observed_at_ms: 1792969568642
                    open_data_url: https://www.cer-rec.gc.ca/open/energy/
                    pipelines:
                      - capacity: >-
                          The Trans Mountain Expanded System has a nameplate
                          capacity of approximately 890 thousand barrels per day
                          (Mb/d). The Trans Mountain Expansion Project came
                          online on 1 May 2024. Prior to that date, Trans
                          Mountain’s nameplate capacity was approximately 300
                          Mb/d.
                        commenced_operations: '1953'
                        commodity: Crude oil and refined petroleum products
                        company: Trans Mountain Pipeline ULC
                        facility_documents_url: https://apps.cer-rec.gc.ca/REGDOCS/Item/View/548311
                        financial_regulation_group: Group 1
                        financials:
                          - measure: Revenue (million $)
                            period: Jan - Dec 2025
                            value: 2878.2
                            year: 2025
                          - measure: Revenue requirement (million $)
                            period: Jan - Dec 2025
                            value: 2878.2
                            year: 2025
                          - measure: Net income (million $)
                            period: Jan - Dec 2025
                            value: 1279
                            year: 2025
                          - measure: Average rate base (million $)
                            period: Jan - Dec 2025
                            value: 34271.699
                            year: 2025
                          - measure: Deemed equity ratio (%)
                            period: Jan - Dec 2025
                            value: 45
                            year: 2025
                          - measure: ROE (%)
                            period: Jan - Dec 2025
                            value: 5.74
                            year: 2025
                          - measure: Revenue (million $)
                            period: Jan - Dec 2024
                            value: 1754.8
                            year: 2024
                          - measure: Revenue requirement (million $)
                            period: Jan - Dec 2024
                            value: null
                            year: 2024
                          - measure: Net income (million $)
                            period: Jan - Dec 2024
                            value: 718
                            year: 2024
                          - measure: Average rate base (million $)
                            period: Jan - Dec 2024
                            value: 35138.5
                            year: 2024
                          - measure: Deemed equity ratio (%)
                            period: Jan - Dec 2024
                            value: 45
                            year: 2024
                          - measure: ROE (%)
                            period: Jan - Dec 2024
                            value: 3.14
                            year: 2024
                          - measure: Revenue (million $)
                            period: Jan - Dec 2023
                            value: 416.6
                            year: 2023
                          - measure: Revenue requirement (million $)
                            period: Jan - Dec 2023
                            value: 389.4
                            year: 2023
                          - measure: Net income (million $)
                            period: Jan - Dec 2023
                            value: 55.3
                            year: 2023
                          - measure: Average rate base (million $)
                            period: Jan - Dec 2023
                            value: 1053.3
                            year: 2023
                          - measure: Deemed equity ratio (%)
                            period: Jan - Dec 2023
                            value: 45
                            year: 2023
                          - measure: ROE (%)
                            period: Jan - Dec 2023
                            value: 11.67
                            year: 2023
                          - measure: Revenue (million $)
                            period: Jan - Dec 2022
                            value: 382.4
                            year: 2022
                          - measure: Revenue requirement (million $)
                            period: Jan - Dec 2022
                            value: 382.8
                            year: 2022
                          - measure: Net income (million $)
                            period: Jan - Dec 2022
                            value: 56.3
                            year: 2022
                          - measure: Average rate base (million $)
                            period: Jan - Dec 2022
                            value: 1032.5
                            year: 2022
                          - measure: Deemed equity ratio (%)
                            period: Jan - Dec 2022
                            value: 45
                            year: 2022
                          - measure: ROE (%)
                            period: Jan - Dec 2022
                            value: 12.13
                            year: 2022
                          - measure: Revenue (million $)
                            period: Jan - Dec 2021
                            value: 342.2
                            year: 2021
                          - measure: Revenue requirement (million $)
                            period: Jan - Dec 2021
                            value: 326.6
                            year: 2021
                          - measure: Net income (million $)
                            period: Jan - Dec 2021
                            value: 47
                            year: 2021
                          - measure: Average rate base (million $)
                            period: Jan - Dec 2021
                            value: 998.5
                            year: 2021
                          - measure: Deemed equity ratio (%)
                            period: Jan - Dec 2021
                            value: 45
                            year: 2021
                          - measure: ROE (%)
                            period: Jan - Dec 2021
                            value: 10.46
                            year: 2021
                          - measure: Revenue (million $)
                            period: Jan - Dec 2020
                            value: 317.9
                            year: 2020
                          - measure: Revenue requirement (million $)
                            period: Jan - Dec 2020
                            value: 293.2
                            year: 2020
                          - measure: Net income (million $)
                            period: Jan - Dec 2020
                            value: 44.4
                            year: 2020
                          - measure: Average rate base (million $)
                            period: Jan - Dec 2020
                            value: 980.5
                            year: 2020
                          - measure: Deemed equity ratio (%)
                            period: Jan - Dec 2020
                            value: 45
                            year: 2020
                          - measure: ROE (%)
                            period: Jan - Dec 2020
                            value: 10.07
                            year: 2020
                          - measure: Revenue (million $)
                            period: Jan - Dec 2019
                            value: 321.5
                            year: 2019
                          - measure: Revenue requirement (million $)
                            period: Jan - Dec 2019
                            value: 326.9
                            year: 2019
                          - measure: Net income (million $)
                            period: Jan - Dec 2019
                            value: 38.4
                            year: 2019
                          - measure: Average rate base (million $)
                            period: Jan - Dec 2019
                            value: 965.1
                            year: 2019
                          - measure: Deemed equity ratio (%)
                            period: Jan - Dec 2019
                            value: 45
                            year: 2019
                          - measure: ROE (%)
                            period: Jan - Dec 2019
                            value: 8.84
                            year: 2019
                          - measure: Revenue (million $)
                            period: Jan - Dec 2018
                            value: 294.8
                            year: 2018
                          - measure: Revenue requirement (million $)
                            period: Jan - Dec 2018
                            value: 283.5
                            year: 2018
                          - measure: Net income (million $)
                            period: Jan - Dec 2018
                            value: 47.3
                            year: 2018
                          - measure: Average rate base (million $)
                            period: Jan - Dec 2018
                            value: 970.5
                            year: 2018
                          - measure: Deemed equity ratio (%)
                            period: Jan - Dec 2018
                            value: 45
                            year: 2018
                          - measure: ROE (%)
                            period: Jan - Dec 2018
                            value: 10.83
                            year: 2018
                          - measure: Revenue (million $)
                            period: Jan - Dec 2017
                            value: 287.4
                            year: 2017
                          - measure: Revenue requirement (million $)
                            period: Jan - Dec 2017
                            value: 287.2
                            year: 2017
                          - measure: Net income (million $)
                            period: Jan - Dec 2017
                            value: 42.9
                            year: 2017
                          - measure: Average rate base (million $)
                            period: Jan - Dec 2017
                            value: 984.6
                            year: 2017
                          - measure: Deemed equity ratio (%)
                            period: Jan - Dec 2017
                            value: 45
                            year: 2017
                          - measure: ROE (%)
                            period: Jan - Dec 2017
                            value: 9.69
                            year: 2017
                          - measure: Revenue (million $)
                            period: Jan - Dec 2016
                            value: 286
                            year: 2016
                          - measure: Revenue requirement (million $)
                            period: Jan - Dec 2016
                            value: 269.8
                            year: 2016
                          - measure: Net income (million $)
                            period: Jan - Dec 2016
                            value: 47.1
                            year: 2016
                          - measure: Average rate base (million $)
                            period: Jan - Dec 2016
                            value: 1004.7
                            year: 2016
                          - measure: Deemed equity ratio (%)
                            period: Jan - Dec 2016
                            value: 45
                            year: 2016
                          - measure: ROE (%)
                            period: Jan - Dec 2016
                            value: 10.43
                            year: 2016
                        has_throughput_data: true
                        has_toll_data: true
                        interconnected_pipelines: Puget Sound pipeline
                        length_km: 1492
                        location: >-
                          The Trans Mountain pipeline extends from Edmonton,
                          Alberta to Burnaby, British Columbia, with delivery
                          points in Kamloops, Sumas, and Burnaby, B.C.
                        map_url: https://www.transmountain.com/pipeline-system
                        name: Trans Mountain pipeline
                        parent_company: Trans Mountain Corporation
                        profile_url: >-
                          https://apps.cer-rec.gc.ca/PPS/en/pipeline-profiles/trans-mountain-expanded-system
                        slug: trans-mountain
                        toll_documents_url: https://apps.cer-rec.gc.ca/REGDOCS/Item/View/552980
                        website: https://www.transmountain.com/
                    query:
                      pipeline: Trans Mountain
                    sources:
                      - last_modified: Fri, 23 Jan 2026 16:50:27 GMT
                        url: >-
                          https://www.cer-rec.gc.ca/open/energy/pipeline-attributes.csv
                      - last_modified: Wed, 27 May 2026 21:15:17 GMT
                        url: >-
                          https://www.cer-rec.gc.ca/open/energy/pipeline-financials.csv
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Key facts on the major CER-regulated oil and gas pipelines from the
            CER's Pipeline Profiles open data: operator and parent company,
            route, length, commodity, capacity, start year, interconnections,
            financial regulation group, links to the REGDOCS facility and toll
            folders and the Pipeline Profile page, and which systems have
            throughput and toll data here. Naming one pipeline (or company) also
            returns its annual financial series: revenue, cost of service, net
            income, rate base, return on equity and more.


            The response contains the tool result directly.


            The provider identifies `pipelines` as the primary payload key.


            | Documented field | Provider type | Description |

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

            | `capacity` | string | Capacity as the CER describes it. |

            | `commenced_operations` | string | Year operations began. |

            | `commodity` | string | What it carries. |

            | `company` | string | CER-regulated company. |

            | `facility_documents_url` | string | REGDOCS folder of facility
            applications. |

            | `financial_regulation_group` | string | `Group 1` (full) or `Group
            2` (complaint-basis) financial regulation. |

            | `financials` | object[] | Financial series (revenue, net income,
            rate base, ROE...) newest year first; present when `pipeline` was
            given, else null. |

            | `has_throughput_data` | boolean |  |

            | `has_toll_data` | boolean |  |

            | `interconnected_pipelines` | string |  |

            | `length_km` | number | CER-regulated length in km. |

            | `location` | string | Route description. |

            | `map_url` | string |  |

            | `name` | string | The CER's name for the pipeline. |

            | `parent_company` | string |  |

            | `profile_url` | string | The CER Pipeline Profile page. |

            | `slug` | string | Program slug for `throughput` and `tolls`; null
            for a system this program has no files for. |

            | `toll_documents_url` | string | REGDOCS folder of toll and tariff
            applications. |

            | `website` | string |  |



            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.