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

# Observations

> Any Bank of Canada statistic not covered by policy_rate, fx_rates or bond_yields, or a Valet observations URL someone pasted; find names with search_series.

## Request contract

* **Method and path:** POST /apis/v1/bankofcanada-ca/economic-data/observations
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/bankofcanada-ca/economic-data/observations`

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "bankofcanada-ca.economic-data.observations",
  "method": "POST",
  "path": "/apis/v1/bankofcanada-ca/economic-data/observations",
  "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": {
              "end_date": "2026-10-09",
              "series": [
                "V39079",
                "FXUSDCAD"
              ],
              "start_date": "2026-10-05"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "end_date": {
              "description": "Range end, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "group": {
              "description": "One Valet group name. Exclusive with series. Pattern: ^[A-Za-z0-9._-]+$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "max_observations": {
              "description": "Cap on returned values (default 2000); more is reported as partial coverage.\n\nProvider reference: minimum 1; maximum 20000.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 20000,
                "min": 1
              }
            },
            "order": {
              "description": "Row order by period key. Default desc (newest first).\n\nProvider reference: allowed values [\"asc\", \"desc\"].",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "asc",
                  "desc"
                ]
              }
            },
            "recent": {
              "description": "The latest N observations per series instead of a date or range.\n\nProvider reference: minimum 1; maximum 10000.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 10000,
                "min": 1
              }
            },
            "recent_months": {
              "description": "recent_months\n\nProvider reference: minimum 1; maximum 10000.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 10000,
                "min": 1
              }
            },
            "recent_weeks": {
              "description": "recent_weeks\n\nProvider reference: minimum 1; maximum 10000.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 10000,
                "min": 1
              }
            },
            "recent_years": {
              "description": "recent_years\n\nProvider reference: minimum 1; maximum 10000.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 10000,
                "min": 1
              }
            },
            "series": {
              "description": "Valet series names. Exclusive with group.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "start_date": {
              "description": "Range start, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.",
              "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/bankofcanada-ca.json POST /apis/v1/bankofcanada-ca/economic-data/observations
openapi: 3.1.0
info:
  description: ''
  title: Bank of Canada (Valet API and press feeds)
  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:
    bankofcanada-ca:
      description: ''
      title: Bank of Canada (Valet API and press feeds)
      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: ee1849f056c093fba2e0ded13768a76c9989c1a2797f564f17d5366f32d657d0
        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/bankofcanada-ca/economic-data/bond-yields
    - /apis/v1/bankofcanada-ca/economic-data/describe-series
    - /apis/v1/bankofcanada-ca/economic-data/fx-rates
    - /apis/v1/bankofcanada-ca/economic-data/news
    - /apis/v1/bankofcanada-ca/economic-data/observations
    - /apis/v1/bankofcanada-ca/economic-data/policy-rate
    - /apis/v1/bankofcanada-ca/economic-data/rate-announcements
    - /apis/v1/bankofcanada-ca/economic-data/search-series
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:75cca439601b49d056f22b37e744cf312beddf60aef989db35131e805671fa4b
    facts_hash: ee1849f056c093fba2e0ded13768a76c9989c1a2797f564f17d5366f32d657d0
    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: bankofcanada-ca
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/bankofcanada-ca/economic-data/observations:
    post:
      tags:
        - Bank of Canada (Valet API and press feeds)
      summary: Observations
      description: >-
        Any Bank of Canada statistic not covered by policy_rate, fx_rates or
        bond_yields, or a Valet observations URL someone pasted; find names with
        search_series.
      operationId: bankofcanada-ca.economic-data.observations
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  end_date: '2026-10-09'
                  series:
                    - V39079
                    - FXUSDCAD
                  start_date: '2026-10-05'
            schema:
              additionalProperties: true
              properties:
                end_date:
                  description: >-
                    Range end, YYYY-MM-DD. Pattern:
                    ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                group:
                  description: >-
                    One Valet group name. Exclusive with series. Pattern:
                    ^[A-Za-z0-9._-]+$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                max_observations:
                  description: >-
                    Cap on returned values (default 2000); more is reported as
                    partial coverage.


                    Provider reference: minimum 1; maximum 20000.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 20000
                    min: 1
                order:
                  description: |-
                    Row order by period key. Default desc (newest first).

                    Provider reference: allowed values ["asc", "desc"].
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - asc
                      - desc
                recent:
                  description: >-
                    The latest N observations per series instead of a date or
                    range.


                    Provider reference: minimum 1; maximum 10000.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 10000
                    min: 1
                recent_months:
                  description: |-
                    recent_months

                    Provider reference: minimum 1; maximum 10000.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 10000
                    min: 1
                recent_weeks:
                  description: |-
                    recent_weeks

                    Provider reference: minimum 1; maximum 10000.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 10000
                    min: 1
                recent_years:
                  description: |-
                    recent_years

                    Provider reference: minimum 1; maximum 10000.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 10000
                    min: 1
                series:
                  description: Valet series names. Exclusive with group.
                  items:
                    type: string
                  type: array
                  x-alexandria-option-metadata:
                    in: body
                start_date:
                  description: >-
                    Range start, YYYY-MM-DD. Pattern:
                    ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.
                  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-25T23:00:00Z.
                  summary: Official provider example
                  value:
                    attribution: 'Source: Bank of Canada'
                    dimension:
                      key: d
                      name: Date
                    group: null
                    observation_count: 10
                    observations:
                      - key: '2026-10-09'
                        number: 1.4271
                        series: FXUSDCAD
                        value: '1.4271'
                      - key: '2026-10-09'
                        number: 2.25
                        series: V39079
                        value: '2.25'
                      - key: '2026-10-08'
                        number: 1.424
                        series: FXUSDCAD
                        value: '1.4240'
                      - key: '2026-10-08'
                        number: 2.25
                        series: V39079
                        value: '2.25'
                      - key: '2026-10-07'
                        number: 1.4257
                        series: FXUSDCAD
                        value: '1.4257'
                      - key: '2026-10-07'
                        number: 2.25
                        series: V39079
                        value: '2.25'
                      - key: '2026-10-06'
                        number: 1.4226
                        series: FXUSDCAD
                        value: '1.4226'
                      - key: '2026-10-06'
                        number: 2.25
                        series: V39079
                        value: '2.25'
                      - key: '2026-10-05'
                        number: 1.4254
                        series: FXUSDCAD
                        value: '1.4254'
                      - key: '2026-10-05'
                        number: 2.25
                        series: V39079
                        value: '2.25'
                    observed_at_ms: 1792968775262
                    period_count: 5
                    series:
                      - date_format: daily
                        description: >-
                          Daily average exchange rate of the US dollar in
                          Canadian dollars.
                        frequency: Business daily
                        label: USD/CAD
                        name: FXUSDCAD
                        unit: Canadian dollars per US dollar
                      - date_format: daily
                        description: >-
                          Also called the policy interest rate, the average rate
                          that the Bank of Canada wants to see in the market for
                          overnight money market financing. (V39079)
                        frequency: Business daily
                        label: Target for the overnight rate (business daily)
                        name: V39079
                        unit: Percent
                    source_url: >-
                      https://www.bankofcanada.ca/valet/observations/V39079,FXUSDCAD/json?start_date=2026-10-05&end_date=2026-10-09
                    target:
                      kind: series
                      names:
                        - V39079
                        - FXUSDCAD
                    terms_url: https://www.bankofcanada.ca/terms/
                    truncated: false
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Observations of any Bank of Canada Valet series (up to 20, e.g.
            V39079, FXUSDCAD, BD.CDN.10YR.DQ.YLD, CPI and commodity price
            indexes) or of one series group (e.g. CORRA, bond_yields_all,
            chartered_bank_interest, AUC_BOND_RESULTS auction results), for a
            date range, the latest N observations or the last N weeks, months or
            years, as one row per period and series with the raw value and its
            number.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `attribution` | string | Required attribution under the Bank of
            Canada terms of use. |

            | `dimension` | object |  |

            | `group` | object | Group details; null for a series request. |

            | `observation_count` | number |  |

            | `observations` | object[] | A window with no observations is a
            valid empty result. |

            | `observed_at_ms` | number |  |

            | `period_count` | number |  |

            | `series` | object[] |  |

            | `source_url` | string | The Bank of Canada URL that answered (the
            first page for multi-page scans). |

            | `target` | object |  |

            | `terms_url` | string |  |

            | `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.