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

> After list_contracts, search_contracts or get_tender (awarded), to read who won, for how much and for how long.

## Request contract

* **Method and path:** POST /apis/v1/tenders-wa-gov-au/public-procurement-tenders-contracts/get-contract
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/tenders-wa-gov-au/public-procurement-tenders-contracts/get-contract`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/tenders-wa-gov-au.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "tenders-wa-gov-au.public-procurement-tenders-contracts.get-contract",
  "method": "POST",
  "path": "/apis/v1/tenders-wa-gov-au/public-procurement-tenders-contracts/get-contract",
  "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": {
              "contract_id": "142413"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "contract_id": {
              "description": "Numeric contract id (e.g. 142413) or a pasted contract/view.action URL carrying id=.",
              "type": "string"
            }
          },
          "required": [
            "contract_id"
          ],
          "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/tenders-wa-gov-au.json POST /apis/v1/tenders-wa-gov-au/public-procurement-tenders-contracts/get-contract
openapi: 3.1.0
info:
  description: ''
  title: Tenders WA (tenders.wa.gov.au)
  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:
    tenders-wa-gov-au:
      description: ''
      title: Tenders WA (tenders.wa.gov.au)
      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: 4882524b2795a828209164d343cc1c6b938ce95e13e2f7197c3ed1ad50d1b78a
        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/tenders-wa-gov-au/public-procurement-tenders-contracts/get-contract
    - /apis/v1/tenders-wa-gov-au/public-procurement-tenders-contracts/get-tender
    - >-
      /apis/v1/tenders-wa-gov-au/public-procurement-tenders-contracts/list-contracts
    - >-
      /apis/v1/tenders-wa-gov-au/public-procurement-tenders-contracts/list-tenders
    - /apis/v1/tenders-wa-gov-au/public-procurement-tenders-contracts/lookups
    - >-
      /apis/v1/tenders-wa-gov-au/public-procurement-tenders-contracts/search-contracts
    - >-
      /apis/v1/tenders-wa-gov-au/public-procurement-tenders-contracts/search-tenders
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:31c92830086c8b1e6810f95fd558f8b8a94f7e0fe2c166b92197d49fffa7ec70
    facts_hash: 4882524b2795a828209164d343cc1c6b938ce95e13e2f7197c3ed1ad50d1b78a
    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: tenders-wa-gov-au
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/tenders-wa-gov-au/public-procurement-tenders-contracts/get-contract:
    post:
      tags:
        - Tenders WA (tenders.wa.gov.au)
      summary: Get contract
      description: >-
        After list_contracts, search_contracts or get_tender (awarded), to read
        who won, for how much and for how long.
      operationId: tenders-wa-gov-au.public-procurement-tenders-contracts.get-contract
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  contract_id: '142413'
            schema:
              additionalProperties: true
              properties:
                contract_id:
                  description: >-
                    Numeric contract id (e.g. 142413) or a pasted
                    contract/view.action URL carrying id=.
                  type: string
              required:
                - contract_id
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-09-29.
                  summary: Official provider example
                  value:
                    address: Robertson Drive, Bunbury, WA, Australia, 6230
                    associated_tender:
                      tender_id: '69911'
                      title: >-
                        Supply and Delivery of One (1) x New or Second-Hand
                        Excavator for South Regional TAFE, Albany Campus (mobile
                        classroom) (SRT2026023)
                      url: >-
                        https://www.tenders.wa.gov.au/watenders/tender/display/tender-details.action?id=69911&action=display-tender-details
                    award_date: '2026-09-14'
                    closing_date: '2026-08-10'
                    commencement_date: '2026-09-15'
                    contract_id: '142413'
                    contract_term: One Off
                    contractors:
                      - address: 107 Allen Road Forrestdale WA Australia 6112
                        name: Hitachi Construction Machinery
                    description: >-
                      The Customer is seeking offers for the provision of supply
                      and delivery of One (1) new 6 tonne excavator as described
                      in this Request. The provision is for outright purchase of
                      the machine and not for hire, lease or rent. The machine
                      will be used for training SRTAFE students in the operation
                      of the machine.

                      Note: The Customer’s preference is for a new machine,
                      however second-hand condition may be considered.
                    extra_fields: []
                    final_expiry_date: '2026-12-13'
                    initial_expiry_date: '2026-12-13'
                    number_of_submissions: 8
                    observed_at_ms: 1790704932853
                    original_contract_value:
                      amount_aud: 133067
                      basis: Fixed Price
                      text: $133,067 (Fixed Price)
                    panel_contract: false
                    procurement_method: Open Advertisement
                    public_authority: South Regional TAFE
                    reference_number: SRT2026023
                    regions:
                      - Great Southern
                    title: >-
                      Supply and Delivery of One (1) x New or Second-Hand
                      Excavator for South Regional TAFE, Albany Campus (mobile
                      classroom)
                    type_of_work: Goods and Services
                    unspsc:
                      - name: Track excavators
                        percent: 100
                    url: >-
                      https://www.tenders.wa.gov.au/watenders/contract/view.action?id=142413
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Full public record of one awarded contract by its numeric
            contract_id (from list_contracts / search_contracts rows,
            get_tender's awarded_contract_id, or a pasted contract/view.action
            URL): public authority and address, title, reference, description
            text, type of work, procurement method, associated tender (id and
            title), UNSPSC, regions, number of submissions, panel contract,
            contract term, closing / award / commencement / initial and final
            expiry dates, original contract value with its basis, the
            contractors with their addresses, and any other labelled field.
            Contract developer / manager names, phones and emails are not
            relayed. An unknown id is not_found (HTTP 200 'Contract does not
            exist').


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `address` | string |  |

            | `associated_tender` | object | The tender this contract came from;
            input for get_tender. Null when the page prints none. |

            | `award_date` | string |  |

            | `closing_date` | string | ISO yyyy-mm-dd; null when absent or
            unparsed (then in extra_fields). |

            | `commencement_date` | string |  |

            | `contract_id` | string |  |

            | `contract_term` | string |  |

            | `contractors` | object[] |  |

            | `description` | string | Plain text of the description cell. |

            | `extra_fields` | object[] | Other label/value rows of the contract
            table as printed (contact officer rows excluded). |

            | `final_expiry_date` | string |  |

            | `initial_expiry_date` | string |  |

            | `number_of_submissions` | number |  |

            | `observed_at_ms` | number |  |

            | `original_contract_value` | object |  |

            | `panel_contract` | boolean | Yes/No as printed; null when absent
            or another value (then in extra_fields). |

            | `procurement_method` | string |  |

            | `public_authority` | string |  |

            | `reference_number` | string |  |

            | `regions` | string[] |  |

            | `title` | string |  |

            | `type_of_work` | string |  |

            | `unspsc` | object[] |  |

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