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

> After search_bids returns a `blanket_number`, or with a statewide contract number such as `C14597-vCurrent`, to read the awarded contract's summary and attachment URLs. An unknown PO number is `not_found`.

## Request contract

* **Method and path:** POST /apis/v1/commbuys-com/public-tenders/get-blanket
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/commbuys-com/public-tenders/get-blanket`

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "commbuys-com.public-tenders.get-blanket",
  "method": "POST",
  "path": "/apis/v1/commbuys-com/public-tenders/get-blanket",
  "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": {
              "po_number": "C14597-vCurrent"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "po_number": {
              "description": "Purchase order / master blanket number (the site's docId), e.g. `C14597-vCurrent` or `PO-21-1080-OSD03-SRC04-21090`. Pattern: ^[A-Za-z0-9]+(-[A-Za-z0-9]+)+$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "release_number": {
              "default": "0",
              "description": "Release number (`releaseNbr`); 0 is the master blanket. Defaults to the URL's value, else 0. Pattern: ^[0-9]{1,6}$.\n\nProvider reference: default \"0\".",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "url": {
              "description": "A pasted poSummary.sda URL carrying `docId=` (and optionally `releaseNbr=`); used when `po_number` is absent.",
              "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/commbuys-com.json POST /apis/v1/commbuys-com/public-tenders/get-blanket
openapi: 3.1.0
info:
  description: ''
  title: COMMBUYS
  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:
    commbuys-com:
      description: ''
      title: COMMBUYS
      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: e47ea09026d4c72290f5b1db05e93ee15d171b0b1def30c9c63baaeb7c7a0e64
        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/commbuys-com/public-tenders/get-bid
    - /apis/v1/commbuys-com/public-tenders/get-blanket
    - /apis/v1/commbuys-com/public-tenders/list-open-bids
    - /apis/v1/commbuys-com/public-tenders/search-bids
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:7441f3fb64ac07f4990754c3e31e4703c48f5b9515215e4be6a43ba4d4973335
    facts_hash: e47ea09026d4c72290f5b1db05e93ee15d171b0b1def30c9c63baaeb7c7a0e64
    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: commbuys-com
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/commbuys-com/public-tenders/get-blanket:
    post:
      tags:
        - COMMBUYS
      summary: Get blanket
      description: >-
        After search_bids returns a `blanket_number`, or with a statewide
        contract number such as `C14597-vCurrent`, to read the awarded
        contract's summary and attachment URLs. An unknown PO number is
        `not_found`.
      operationId: commbuys-com.public-tenders.get-blanket
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  po_number: C14597-vCurrent
            schema:
              additionalProperties: true
              properties:
                po_number:
                  description: >-
                    Purchase order / master blanket number (the site's docId),
                    e.g. `C14597-vCurrent` or `PO-21-1080-OSD03-SRC04-21090`.
                    Pattern: ^[A-Za-z0-9]+(-[A-Za-z0-9]+)+$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                release_number:
                  default: '0'
                  description: >-
                    Release number (`releaseNbr`); 0 is the master blanket.
                    Defaults to the URL's value, else 0. Pattern: ^[0-9]{1,6}$.


                    Provider reference: default "0".
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                url:
                  description: >-
                    A pasted poSummary.sda URL carrying `docId=` (and optionally
                    `releaseNbr=`); used when `po_number` is absent.
                  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-05.
                  summary: Official provider example
                  value:
                    actual_cost: $0.00
                    agency_attachments:
                      - download_url: >-
                          https://www.commbuys.com/bso/external/purchaseorder/poSummary.sda?docId=C14597-vCurrent&releaseNbr=0&mode=download&downloadFileNbr=928359&external=true&parentUrl=close
                        file_name: '0145970001'
                        file_number: '928359'
                      - download_url: >-
                          https://www.commbuys.com/bso/external/purchaseorder/poSummary.sda?docId=C14597-vCurrent&releaseNbr=0&mode=download&downloadFileNbr=928360&external=true&parentUrl=close
                        file_name: '0145970002'
                        file_number: '928360'
                      - download_url: >-
                          https://www.commbuys.com/bso/external/purchaseorder/poSummary.sda?docId=C14597-vCurrent&releaseNbr=0&mode=download&downloadFileNbr=928361&external=true&parentUrl=close
                        file_name: '0145970003'
                        file_number: '928361'
                      - download_url: >-
                          https://www.commbuys.com/bso/external/purchaseorder/poSummary.sda?docId=C14597-vCurrent&releaseNbr=0&mode=download&downloadFileNbr=928362&external=true&parentUrl=close
                        file_name: '0145970004'
                        file_number: '928362'
                      - download_url: >-
                          https://www.commbuys.com/bso/external/purchaseorder/poSummary.sda?docId=C14597-vCurrent&releaseNbr=0&mode=download&downloadFileNbr=928363&external=true&parentUrl=close
                        file_name: '0145970005'
                        file_number: '928363'
                      - download_url: >-
                          https://www.commbuys.com/bso/external/purchaseorder/poSummary.sda?docId=C14597-vCurrent&releaseNbr=0&mode=download&downloadFileNbr=928364&external=true&parentUrl=close
                        file_name: '0145970006'
                        file_number: '928364'
                      - download_url: >-
                          https://www.commbuys.com/bso/external/purchaseorder/poSummary.sda?docId=C14597-vCurrent&releaseNbr=0&mode=download&downloadFileNbr=928365&external=true&parentUrl=close
                        file_name: '0145970007'
                        file_number: '928365'
                      - download_url: >-
                          https://www.commbuys.com/bso/external/purchaseorder/poSummary.sda?docId=C14597-vCurrent&releaseNbr=0&mode=download&downloadFileNbr=928366&external=true&parentUrl=close
                        file_name: '0145970008'
                        file_number: '928366'
                      - download_url: >-
                          https://www.commbuys.com/bso/external/purchaseorder/poSummary.sda?docId=C14597-vCurrent&releaseNbr=0&mode=download&downloadFileNbr=928367&external=true&parentUrl=close
                        file_name: ContractInfo_014597
                        file_number: '928367'
                      - download_url: >-
                          https://www.commbuys.com/bso/external/purchaseorder/poSummary.sda?docId=C14597-vCurrent&releaseNbr=0&mode=download&downloadFileNbr=928368&external=true&parentUrl=close
                        file_name: Summary_014597
                        file_number: '928368'
                      - download_url: >-
                          https://www.commbuys.com/bso/external/purchaseorder/poSummary.sda?docId=C14597-vCurrent&releaseNbr=0&mode=download&downloadFileNbr=1033461&external=true&parentUrl=close
                        file_name: C14597-vCurrent_OD.xlsx
                        file_number: '1033461'
                    alternate_id: null
                    begin_date: '2003-07-01'
                    begin_date_text: 07/01/2003
                    contact_instructions: >-
                      Eva Beurs, , Address: Dept.of Public Health State
                      Laboratory Institue 305 South Street Jamaica Plain, MA
                      02130, Phone: (617) 983-6225, Email: eva.beurs@state.ma.us
                    cooperative_purchasing_allowed: false
                    days_aro: '0'
                    department: 1031CONVD - Default Data Conversion Department
                    discount_percent: 0.00%
                    end_date: '2112-06-30'
                    end_date_text: 06/30/2112
                    entered_date_local: '2003-02-10T14:05:03'
                    entered_date_text: 02/10/2003 02:05:03 PM
                    fiscal_year: '2003'
                    freight_terms: null
                    heading: Master Blanket Purchase Order C14597-vCurrent
                    items:
                      - description: null
                        item_number: 1
                        quantity: 1
                        total_cost: $0.00
                        total_discount_amount: $0.00
                        unit_cost: $0.00
                        unit_of_measure: EA - Each
                        unspsc_code: null
                        unspsc_codes: []
                        unspsc_description: null
                    location: 1031L - Default Data Conversion Location
                    minor_status: null
                    observed_at_ms: 1791237577125
                    organization: Department of Public Health
                    payment_terms: null
                    po_number: C14597-vCurrent
                    po_type: Blanket
                    print_format: null
                    purchaser: Charles Caron
                    receipt_method: Quantity
                    release_number: '0'
                    release_type: Standard Release
                    retainage_percent: 0.00%
                    shipping_method: null
                    shipping_terms: null
                    short_description: '400'
                    source_url: >-
                      https://www.commbuys.com/bso/external/purchaseorder/poSummary.sda?docId=C14597-vCurrent&releaseNbr=0&external=true&parentUrl=close
                    special_instructions: null
                    status: 3PS - Sent
                    time_zone: America/New_York
                    type_code: Non-Statewide Contract
                    vendor:
                      address:
                        - COMMBUYS Notifications
                        - One Ashburton Place
                        - Room 1017
                        - Boston, MA 02108
                        - US
                        - 'Email: commbuysnotifications@mass.gov'
                        - 'Phone: (617) 720-3100'
                      name: Conversion Vendor
                      profile_url: >-
                        https://www.commbuys.com/bso/external/vendor/vendorProfileOrgInfo.sda?external=true&vendorId=99000000
                      vendor_id: '99000000'
                    vendor_attachments: []
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Fetch one COMMBUYS master blanket or purchase order summary page
            (poSummary.sda) by PO number (and release number, 0 for the master)
            or pasted URL: header fields (short description, status, purchaser,
            fiscal year, PO type, organization, department, location, alternate
            id, entered date), master blanket begin and end dates, cooperative
            purchasing flag, payment and shipping terms, actual cost, the vendor
            (id, name, address, profile URL), agency and vendor attachments with
            stateless download URLs, and the line items. Values are the
            displayed strings; blanks are null.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `actual_cost` | string | Displayed USD text, e.g. `$0.00`. |

            | `agency_attachments` | object[] |  |

            | `alternate_id` | string |  |

            | `begin_date` | string |  |

            | `begin_date_text` | string | Master Blanket Begin Date as shown. |

            | `contact_instructions` | string |  |

            | `cooperative_purchasing_allowed` | boolean |  |

            | `days_aro` | string |  |

            | `department` | string |  |

            | `discount_percent` | string |  |

            | `end_date` | string |  |

            | `end_date_text` | string | Master Blanket End Date as shown. |

            | `entered_date_local` | string | `entered_date_text` as an ISO-8601
            wall-clock time in America/New_York; null when blank or unparseable.
            |

            | `entered_date_text` | string | As shown, e.g. `02/10/2003 02:05:03
            PM`. |

            | `fiscal_year` | string |  |

            | `freight_terms` | string |  |

            | `heading` | string | Page heading, e.g. `Master Blanket Purchase
            Order C14597-vCurrent`. |

            | `items` | object[] |  |

            | `location` | string |  |

            | `minor_status` | string |  |

            | `observed_at_ms` | number |  |

            | `organization` | string |  |

            | `payment_terms` | string |  |

            | `po_number` | string | Purchase Order Number exactly as the page
            shows it. |

            | `po_type` | string |  |

            | `print_format` | string |  |

            | `purchaser` | string |  |

            | `receipt_method` | string |  |

            | `release_number` | string |  |

            | `release_type` | string |  |

            | `retainage_percent` | string |  |

            | `shipping_method` | string |  |

            | `shipping_terms` | string |  |

            | `short_description` | string |  |

            | `source_url` | string |  |

            | `special_instructions` | string |  |

            | `status` | string | As shown, e.g. `3PS - Sent`. |

            | `time_zone` | string |  |

            | `type_code` | string |  |

            | `vendor` | object |  |

            | `vendor_attachments` | object[] |  |



            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.