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

# Throughput

> Questions like "how full was Trans Mountain at Westridge in 2025", "NGTL East Gate daily flows last week", "Enbridge Mainline throughput vs capacity at Gretna".

## Request contract

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

[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.throughput",
  "method": "POST",
  "path": "/apis/v1/cer-rec-gc-ca/energy-data/throughput",
  "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": {
              "from": "2025-01",
              "key_point": "Westridge",
              "limit": 12,
              "pipeline": "trans-mountain",
              "to": "2025-12"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "from": {
              "description": "Earliest date: `YYYY`, `YYYY-MM` or `YYYY-MM-DD`. Pattern: ^\\d{4}(-\\d{2}(-\\d{2})?)?$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "granularity": {
              "default": "monthly",
              "description": "`monthly` (default; daily gas data averaged per month) or `daily` (gas systems only).\n\nProvider reference: allowed values [\"monthly\", \"daily\"]; default \"monthly\".",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "monthly",
                  "daily"
                ]
              }
            },
            "key_point": {
              "description": "Key point name or part of it (`Westridge`, `East Gate`, `Kerrobert`); see `key_points` in any answer.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "limit": {
              "default": 100,
              "description": "Rows per page.\n\nProvider reference: minimum 1; maximum 500; default 100.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 500,
                "min": 1
              }
            },
            "offset": {
              "default": 0,
              "description": "`next_offset` from the previous page; repeat the other inputs with it.\n\nProvider reference: minimum 0; default 0.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "min": 0
              }
            },
            "pipeline": {
              "description": "Pipeline system: a slug (`trans-mountain`, `ngtl`, `tc-mainline`, `enbridge-mainline`, `keystone`, `westcoast`, `alliance`), the CER name or a common alias (`TMX`, `NOVA`, `TCPL`, `BC Pipeline`). An unknown name fails with not_found listing the systems that have throughput data.",
              "type": "string"
            },
            "product": {
              "description": "Oil product class or part of it (`heavy`, `refined`).",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "to": {
              "description": "Latest date: `YYYY`, `YYYY-MM` or `YYYY-MM-DD` (a year or month means its last day). Pattern: ^\\d{4}(-\\d{2}(-\\d{2})?)?$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "trade_type": {
              "description": "`intracanada`, `export` or `import`.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            }
          },
          "required": [
            "pipeline"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "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/throughput
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/throughput:
    post:
      tags:
        - Canada Energy Regulator (CER) open data
      summary: Throughput
      description: >-
        Questions like "how full was Trans Mountain at Westridge in 2025", "NGTL
        East Gate daily flows last week", "Enbridge Mainline throughput vs
        capacity at Gretna".
      operationId: cer-rec-gc-ca.energy-data.throughput
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  from: 2025-01
                  key_point: Westridge
                  limit: 12
                  pipeline: trans-mountain
                  to: 2025-12
            schema:
              additionalProperties: true
              properties:
                from:
                  description: >-
                    Earliest date: `YYYY`, `YYYY-MM` or `YYYY-MM-DD`. Pattern:
                    ^\d{4}(-\d{2}(-\d{2})?)?$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                granularity:
                  default: monthly
                  description: >-
                    `monthly` (default; daily gas data averaged per month) or
                    `daily` (gas systems only).


                    Provider reference: allowed values ["monthly", "daily"];
                    default "monthly".
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - monthly
                      - daily
                key_point:
                  description: >-
                    Key point name or part of it (`Westridge`, `East Gate`,
                    `Kerrobert`); see `key_points` in any answer.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                limit:
                  default: 100
                  description: |-
                    Rows per page.

                    Provider reference: minimum 1; maximum 500; default 100.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 500
                    min: 1
                offset:
                  default: 0
                  description: >-
                    `next_offset` from the previous page; repeat the other
                    inputs with it.


                    Provider reference: minimum 0; default 0.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    min: 0
                pipeline:
                  description: >-
                    Pipeline system: a slug (`trans-mountain`, `ngtl`,
                    `tc-mainline`, `enbridge-mainline`, `keystone`, `westcoast`,
                    `alliance`), the CER name or a common alias (`TMX`, `NOVA`,
                    `TCPL`, `BC Pipeline`). An unknown name fails with not_found
                    listing the systems that have throughput data.
                  type: string
                product:
                  description: Oil product class or part of it (`heavy`, `refined`).
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                to:
                  description: >-
                    Latest date: `YYYY`, `YYYY-MM` or `YYYY-MM-DD` (a year or
                    month means its last day). Pattern:
                    ^\d{4}(-\d{2}(-\d{2})?)?$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                trade_type:
                  description: '`intracanada`, `export` or `import`.'
                  type: string
                  x-alexandria-option-metadata:
                    in: body
              required:
                - pipeline
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-25.
                  summary: Official provider example
                  value:
                    filters:
                      key_point: Westridge
                      product: null
                      trade_type: null
                    granularity: monthly
                    key_points:
                      - direction_of_flow: west
                        first_date: '2006-01-01'
                        last_date: '2026-06-01'
                        latitude: 49.2685
                        longitude: -122.931
                        name: Burnaby
                        trade_type: intracanada
                      - direction_of_flow: south
                        first_date: '2006-01-01'
                        last_date: '2026-06-01'
                        latitude: 49.0766
                        longitude: -122.203
                        name: Sumas
                        trade_type: export
                      - direction_of_flow: west
                        first_date: '2006-01-01'
                        last_date: '2026-06-01'
                        latitude: 49.2908
                        longitude: -122.95
                        name: Westridge
                        trade_type: export
                      - direction_of_flow: null
                        first_date: '2006-01-01'
                        last_date: '2026-06-01'
                        latitude: null
                        longitude: null
                        name: system
                        trade_type: null
                    latest_date: '2026-06-01'
                    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
                    limit: 12
                    next_offset: 12
                    observed_at_ms: 1792969568689
                    offset: 0
                    pipeline:
                      commodity: oil and liquids
                      name: Trans Mountain pipeline
                      slug: trans-mountain
                    rows:
                      - available_capacity_1000m3d: null
                        capacity_1000m3d: null
                        committed_1000m3d: null
                        date: '2025-12-01'
                        days: null
                        direction_of_flow: west
                        key_point: Westridge
                        product: domestic heavy
                        reason_for_variance: null
                        throughput_1000m3d: 55.965
                        throughput_gj_d: null
                        trade_type: export
                        uncommitted_1000m3d: null
                        utilization_pct: null
                      - available_capacity_1000m3d: null
                        capacity_1000m3d: null
                        committed_1000m3d: null
                        date: '2025-12-01'
                        days: null
                        direction_of_flow: west
                        key_point: Westridge
                        product: domestic light
                        reason_for_variance: null
                        throughput_1000m3d: 11.661
                        throughput_gj_d: null
                        trade_type: export
                        uncommitted_1000m3d: null
                        utilization_pct: null
                      - available_capacity_1000m3d: null
                        capacity_1000m3d: null
                        committed_1000m3d: null
                        date: '2025-12-01'
                        days: null
                        direction_of_flow: west
                        key_point: Westridge
                        product: refined petroleum products
                        reason_for_variance: null
                        throughput_1000m3d: 0
                        throughput_gj_d: null
                        trade_type: export
                        uncommitted_1000m3d: null
                        utilization_pct: null
                      - available_capacity_1000m3d: null
                        capacity_1000m3d: null
                        committed_1000m3d: null
                        date: '2025-11-01'
                        days: null
                        direction_of_flow: west
                        key_point: Westridge
                        product: domestic heavy
                        reason_for_variance: null
                        throughput_1000m3d: 80.337
                        throughput_gj_d: null
                        trade_type: export
                        uncommitted_1000m3d: null
                        utilization_pct: null
                      - available_capacity_1000m3d: null
                        capacity_1000m3d: null
                        committed_1000m3d: null
                        date: '2025-11-01'
                        days: null
                        direction_of_flow: west
                        key_point: Westridge
                        product: domestic light
                        reason_for_variance: null
                        throughput_1000m3d: 7.791
                        throughput_gj_d: null
                        trade_type: export
                        uncommitted_1000m3d: null
                        utilization_pct: null
                      - available_capacity_1000m3d: null
                        capacity_1000m3d: null
                        committed_1000m3d: null
                        date: '2025-11-01'
                        days: null
                        direction_of_flow: west
                        key_point: Westridge
                        product: refined petroleum products
                        reason_for_variance: null
                        throughput_1000m3d: 0
                        throughput_gj_d: null
                        trade_type: export
                        uncommitted_1000m3d: null
                        utilization_pct: null
                      - available_capacity_1000m3d: null
                        capacity_1000m3d: null
                        committed_1000m3d: null
                        date: '2025-10-01'
                        days: null
                        direction_of_flow: west
                        key_point: Westridge
                        product: domestic heavy
                        reason_for_variance: null
                        throughput_1000m3d: 75.603
                        throughput_gj_d: null
                        trade_type: export
                        uncommitted_1000m3d: null
                        utilization_pct: null
                      - available_capacity_1000m3d: null
                        capacity_1000m3d: null
                        committed_1000m3d: null
                        date: '2025-10-01'
                        days: null
                        direction_of_flow: west
                        key_point: Westridge
                        product: domestic light
                        reason_for_variance: null
                        throughput_1000m3d: 9.534
                        throughput_gj_d: null
                        trade_type: export
                        uncommitted_1000m3d: null
                        utilization_pct: null
                      - available_capacity_1000m3d: null
                        capacity_1000m3d: null
                        committed_1000m3d: null
                        date: '2025-10-01'
                        days: null
                        direction_of_flow: west
                        key_point: Westridge
                        product: refined petroleum products
                        reason_for_variance: null
                        throughput_1000m3d: 0
                        throughput_gj_d: null
                        trade_type: export
                        uncommitted_1000m3d: null
                        utilization_pct: null
                      - available_capacity_1000m3d: null
                        capacity_1000m3d: null
                        committed_1000m3d: null
                        date: '2025-09-01'
                        days: null
                        direction_of_flow: west
                        key_point: Westridge
                        product: domestic heavy
                        reason_for_variance: null
                        throughput_1000m3d: 61.556
                        throughput_gj_d: null
                        trade_type: export
                        uncommitted_1000m3d: null
                        utilization_pct: null
                      - available_capacity_1000m3d: null
                        capacity_1000m3d: null
                        committed_1000m3d: null
                        date: '2025-09-01'
                        days: null
                        direction_of_flow: west
                        key_point: Westridge
                        product: domestic light
                        reason_for_variance: null
                        throughput_1000m3d: 14.896
                        throughput_gj_d: null
                        trade_type: export
                        uncommitted_1000m3d: null
                        utilization_pct: null
                      - available_capacity_1000m3d: null
                        capacity_1000m3d: null
                        committed_1000m3d: null
                        date: '2025-09-01'
                        days: null
                        direction_of_flow: west
                        key_point: Westridge
                        product: refined petroleum products
                        reason_for_variance: null
                        throughput_1000m3d: 0
                        throughput_gj_d: null
                        trade_type: export
                        uncommitted_1000m3d: null
                        utilization_pct: null
                    source:
                      last_modified: Thu, 27 Aug 2026 21:29:19 GMT
                      url: >-
                        https://www.cer-rec.gc.ca/open/energy/throughput-capacity/trans-mountain-throughput-and-capacity.csv
                    total_count: 36
                    window:
                      from: '2025-01-01'
                      to: '2025-12-31'
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Pipeline throughput and capacity at a CER-regulated system's key
            points, from the CER's Pipeline Throughput and Capacity open data
            (the numbers behind the Pipeline Profiles traffic charts): natural
            gas systems daily (returned as monthly averages unless `granularity`
            is `daily`), oil systems monthly by product. Each row has throughput
            and capacity in thousand m3/d, GJ/d for gas, committed and available
            capacity and the reason for variance for oil, and utilization.
            Filter by key point, product, trade type and date; newest first,
            paged. 19 systems: NGTL, TC Canadian Mainline, Westcoast, Alliance,
            Foothills, M&NP, TQM, Brunswick, Suffield, Trans Mountain, Enbridge
            Mainline, Line 9, Keystone, Cochin, Trans-Northern, Southern Lights,
            Norman Wells, Westspur and Montreal.


            The response contains the tool result directly.


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


            | Documented field | Provider type | Description |

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

            | `available_capacity_1000m3d` | number | Oil: available capacity,
            thousand m3/d. |

            | `capacity_1000m3d` | number | Gas: operational capacity; oil:
            nameplate capacity, thousand m3/d. |

            | `committed_1000m3d` | number | Oil systems with firm service:
            committed volumes. |

            | `date` | string | Day (daily) or first of the month (monthly),
            ISO. |

            | `days` | number | Monthly gas rows: days averaged; null otherwise.
            |

            | `direction_of_flow` | string |  |

            | `key_point` | string |  |

            | `product` | string | Oil systems: product class such as `domestic
            heavy`; null for gas. |

            | `reason_for_variance` | string | Oil: why available capacity is
            below nameplate. |

            | `throughput_1000m3d` | number | Throughput in thousand cubic
            metres per day (monthly gas rows: the daily average). |

            | `throughput_gj_d` | number | Gas: throughput in GJ/d. |

            | `trade_type` | string |  |

            | `uncommitted_1000m3d` | number |  |

            | `utilization_pct` | number | Throughput over available capacity
            (else capacity), percent. |



            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.