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

# Source status

> Check whether a publication changed (compare `sha256` or `etag`), see which tax years, bienniums or quarters are available, or get the statewide totals cheaply before paging through counties.

## Request contract

* **Method and path:** POST /apis/v1/revenue-mt-gov/property-tax/source-status
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/revenue-mt-gov/property-tax/source-status`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/revenue-mt-gov.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "revenue-mt-gov.property-tax.source-status",
  "method": "POST",
  "path": "/apis/v1/revenue-mt-gov/property-tax/source-status",
  "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": {
              "fiscal_year": 2027,
              "quarter": 1,
              "report": "oil_gas_distribution"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "edition": {
              "description": "`county_summaries` only: the biennium as `YYYY-YYYY` (`2022-2024` is the report for July 1, 2022 to June 30, 2024). Retired editions are looked up in the document archive catalog. Default: the edition on the biennial reports page.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "fiscal_year": {
              "description": "`oil_gas_distribution` only, with `quarter`: the state fiscal year of the `{fy}-Q{q}-County-Distribution.pdf` file. Default: the newest quarter listed.\n\nProvider reference: minimum 2000; maximum 2100.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 2100,
                "min": 2000
              }
            },
            "quarter": {
              "description": "`oil_gas_distribution` only, with `fiscal_year`: the fiscal quarter (Q1 ends September 30, Q2 December 31, Q3 March 31, Q4 June 30; the report prints the quarter ending date it covers).\n\nProvider reference: minimum 1; maximum 4.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 4,
                "min": 1
              }
            },
            "report": {
              "description": "`tax_base`: County and Statewide Tax Base and Tax Distribution (annual, by tax year). `county_summaries`: Biennial Report Appendix, County Summaries (by biennium edition such as `2022-2024`). `oil_gas_distribution`: Oil and Gas County Distribution (by fiscal year and quarter).\n\nProvider reference: allowed values [\"tax_base\", \"county_summaries\", \"oil_gas_distribution\"].",
              "type": "string"
            },
            "tax_year": {
              "description": "`tax_base` only: the tax year in the index page URL (`/property/{year}-County-and-Statewide-Tax-Base-and-Tax-Distribution-Information`). Default: the newest year in the site map.\n\nProvider reference: minimum 2000; maximum 2100.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 2100,
                "min": 2000
              }
            }
          },
          "required": [
            "report"
          ],
          "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/revenue-mt-gov.json POST /apis/v1/revenue-mt-gov/property-tax/source-status
openapi: 3.1.0
info:
  description: ''
  title: Montana Department of Revenue publications
  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:
    revenue-mt-gov:
      description: ''
      title: Montana Department of Revenue publications
      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: 3495478a4d57a3d8d24d8886765bf66a9d3110a053857ff121c0442713877475
        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/revenue-mt-gov/property-tax/records-get
    - /apis/v1/revenue-mt-gov/property-tax/records-list
    - /apis/v1/revenue-mt-gov/property-tax/source-status
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:a6792565db8737bc34f1d79f5a100dd27ce9fb979f6a90335ddff130f8985cd5
    facts_hash: 3495478a4d57a3d8d24d8886765bf66a9d3110a053857ff121c0442713877475
    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: revenue-mt-gov
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/revenue-mt-gov/property-tax/source-status:
    post:
      tags:
        - Montana Department of Revenue publications
      summary: Source status
      description: >-
        Check whether a publication changed (compare `sha256` or `etag`), see
        which tax years, bienniums or quarters are available, or get the
        statewide totals cheaply before paging through counties.
      operationId: revenue-mt-gov.property-tax.source-status
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  fiscal_year: 2027
                  quarter: 1
                  report: oil_gas_distribution
            schema:
              additionalProperties: true
              properties:
                edition:
                  description: >-
                    `county_summaries` only: the biennium as `YYYY-YYYY`
                    (`2022-2024` is the report for July 1, 2022 to June 30,
                    2024). Retired editions are looked up in the document
                    archive catalog. Default: the edition on the biennial
                    reports page.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                fiscal_year:
                  description: >-
                    `oil_gas_distribution` only, with `quarter`: the state
                    fiscal year of the `{fy}-Q{q}-County-Distribution.pdf` file.
                    Default: the newest quarter listed.


                    Provider reference: minimum 2000; maximum 2100.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 2100
                    min: 2000
                quarter:
                  description: >-
                    `oil_gas_distribution` only, with `fiscal_year`: the fiscal
                    quarter (Q1 ends September 30, Q2 December 31, Q3 March 31,
                    Q4 June 30; the report prints the quarter ending date it
                    covers).


                    Provider reference: minimum 1; maximum 4.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 4
                    min: 1
                report:
                  description: >-
                    `tax_base`: County and Statewide Tax Base and Tax
                    Distribution (annual, by tax year). `county_summaries`:
                    Biennial Report Appendix, County Summaries (by biennium
                    edition such as `2022-2024`). `oil_gas_distribution`: Oil
                    and Gas County Distribution (by fiscal year and quarter).


                    Provider reference: allowed values ["tax_base",
                    "county_summaries", "oil_gas_distribution"].
                  type: string
                tax_year:
                  description: >-
                    `tax_base` only: the tax year in the index page URL
                    (`/property/{year}-County-and-Statewide-Tax-Base-and-Tax-Distribution-Information`).
                    Default: the newest year in the site map.


                    Provider reference: minimum 2000; maximum 2100.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 2100
                    min: 2000
              required:
                - report
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-18.
                  summary: Official provider example
                  value:
                    available_editions:
                      - FY2027-Q1
                      - FY2026-Q4
                      - FY2026-Q3
                      - FY2026-Q2
                      - FY2026-Q1
                      - FY2025-Q4
                      - FY2025-Q3
                      - FY2025-Q2
                      - FY2025-Q1
                      - FY2024-Q4
                      - FY2024-Q3
                      - FY2024-Q2
                      - FY2024-Q1
                      - FY2023-Q4
                      - FY2023-Q3
                      - FY2023-Q2
                      - FY2023-Q1
                      - FY2022-Q4
                      - FY2022-Q3
                      - FY2022-Q2
                      - FY2022-Q1
                      - FY2021-Q4
                      - FY2021-Q3
                      - FY2021-Q2
                      - FY2021-Q1
                      - FY2020-Q4
                      - FY2020-Q3
                      - FY2020-Q2
                      - FY2020-Q1
                      - FY2019-Q4
                      - FY2019-Q3
                      - FY2019-Q2
                      - FY2019-Q1
                      - FY2018-Q4
                      - FY2018-Q3
                      - FY2018-Q2
                      - FY2018-Q1
                      - FY2017-Q4
                      - FY2017-Q3
                      - FY2017-Q2
                      - FY2017-Q1
                      - FY2016-Q4
                      - FY2016-Q3
                      - FY2016-Q2
                      - FY2016-Q1
                      - FY2015-Q4
                      - FY2015-Q3
                      - FY2015-Q2
                      - FY2015-Q1
                    bytes: 107376
                    consistency_warnings: []
                    content_type: application/pdf
                    county_count: 33
                    edition: null
                    etag: '"fd21aaf55f1fdd1:0"'
                    final_url: >-
                      https://revenue.mt.gov/files/DOR-Publications/County-Oil-and-Gas-Reports/2027-Q1-County-Distribution.pdf
                    fiscal_year: 2027
                    index_url: >-
                      https://revenue.mt.gov/dor-publications/oil-gas-distribution-reports
                    last_modified: Wed, 29 Jul 2026 13:41:29 GMT
                    observed_at_ms: 1792320177011
                    page_count: 14
                    publication_id: oil_gas_distribution:FY2027-Q1
                    quarter: 1
                    quarter_ending: '2026-03-31'
                    record_count: 37
                    report: oil_gas_distribution
                    retrieved_at: '2026-10-18T10:42:57Z'
                    run_date: '2026-07-28'
                    sha256: >-
                      3480ee493fcbedcb4d847e865e1fbaeb69038a1d3d6c2c5201cc7b5c81e4d4d9
                    source_url: >-
                      https://revenue.mt.gov/files/DOR-Publications/County-Oil-and-Gas-Reports/2027-Q1-County-Distribution.pdf
                    tax_year: null
                    tax_years: null
                    totals:
                      collections: 34195870.91
                      detail_total: 15544785.99
                      distributions: 15544786.01
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Resolve one publication (the latest edition, or the tax year,
            biennium edition or fiscal quarter asked for) from the Department of
            Revenue index pages, download the PDF and describe it: final URL,
            size, ETag, Last-Modified, SHA-256 of the bytes, page count, the tax
            years or quarter it covers, the number of county sections it parses
            into, the publication-level totals and arithmetic warnings, and the
            other editions the index pages list. No records are returned; call
            `records_list` for them.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `available_editions` | string[] | Other editions the index pages
            list, newest first: tax years (`2023`), bienniums (`2022-2024`) or
            quarters (`FY2027-Q1`). |

            | `bytes` | number |  |

            | `consistency_warnings` | string[] | Publication-level arithmetic
            differences (summary rows against printed totals). Per-section
            differences are on each record. |

            | `content_type` | string |  |

            | `county_count` | number | Records that are Montana counties. |

            | `edition` | string | `county_summaries`: the biennium `YYYY-YYYY`.
            |

            | `etag` | string |  |

            | `final_url` | string | The URL that served the bytes after
            redirects. |

            | `fiscal_year` | number | `oil_gas_distribution`: state fiscal year
            of the file name. |

            | `index_url` | string | The revenue.mt.gov page the PDF was linked
            from. |

            | `last_modified` | string | The `Last-Modified` header as sent (RFC
            7231 date). |

            | `observed_at_ms` | number |  |

            | `page_count` | number |  |

            | `publication_id` | string | `tax_base:2023`,
            `county_summaries:2022-2024`, `oil_gas_distribution:FY2027-Q1`. |

            | `quarter` | number | `oil_gas_distribution`: fiscal quarter of the
            file name. |

            | `quarter_ending` | string | `oil_gas_distribution`: the `Quarter
            Ending` date printed in the report, `YYYY-MM-DD`. |

            | `record_count` | number | County sections (records) the file
            parses into, including the statewide section and, for oil and gas,
            the state account rows. |

            | `report` | string |  |

            | `retrieved_at` | string | RFC 3339 UTC time the PDF was
            downloaded. |

            | `run_date` | string | `oil_gas_distribution`: the `Run Date`
            printed in the report, `YYYY-MM-DD`. |

            | `sha256` | string | Lowercase hex SHA-256 of the downloaded bytes;
            the publisher posts no hash. |

            | `source_url` | string | The PDF URL as linked (revenue.mt.gov or
            revenuefiles.mt.gov). |

            | `tax_year` | number | `tax_base`: the tax year of the report. |

            | `tax_years` | number[] | `county_summaries`: the two tax years
            printed as columns. |

            | `totals` | object | Publication-level totals: the Statewide /
            State Total section's total row, or the oil and gas `TOTALS:` line.
            |



            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.