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

> After search_bids or list_open_bids, to read a solicitation in full or to get its attachment download URLs. An unknown bid number is `not_found`; supplier-only pages (bid holder list, quotes) are not fetched.

## Request contract

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

[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-bid",
  "method": "POST",
  "path": "/apis/v1/commbuys-com/public-tenders/get-bid",
  "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": {
              "bid_number": "BD-27-1060-ITD00-ITD00-133949"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "bid_number": {
              "description": "Bid solicitation number (the site's docId), e.g. `BD-27-1060-ITD00-ITD00-133949`. Pattern: ^[A-Za-z0-9]+(-[A-Za-z0-9]+)+$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "url": {
              "description": "A pasted bidDetail.sda URL carrying `docId=`; used when `bid_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-bid
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-bid:
    post:
      tags:
        - COMMBUYS
      summary: Get bid
      description: >-
        After search_bids or list_open_bids, to read a solicitation in full or
        to get its attachment download URLs. An unknown bid number is
        `not_found`; supplier-only pages (bid holder list, quotes) are not
        fetched.
      operationId: commbuys-com.public-tenders.get-bid
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  bid_number: BD-27-1060-ITD00-ITD00-133949
            schema:
              additionalProperties: true
              properties:
                bid_number:
                  description: >-
                    Bid solicitation number (the site's docId), e.g.
                    `BD-27-1060-ITD00-ITD00-133949`. Pattern:
                    ^[A-Za-z0-9]+(-[A-Za-z0-9]+)+$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                url:
                  description: >-
                    A pasted bidDetail.sda URL carrying `docId=`; used when
                    `bid_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:
                    allow_electronic_quote: true
                    alternate_id: PCR-27-05699
                    bid_number: BD-27-1060-ITD00-ITD00-133949
                    bid_opening_date_local: '2026-10-20T15:00:00'
                    bid_opening_date_text: 10/20/2026 03:00:00 PM
                    bid_type: CLOSED
                    bill_to_address: |-
                      Attention: EOTSS Accounts Payable
                      One Ashburton Place Room 804
                      Boston, MA 02108
                      US
                      Email: itdinvoices@mass.gov
                      Phone: (617) 626-5626
                      Alt. Reference: Tiffany.Chen3@mass.gov
                    bulletin_description: null
                    department: >-
                      ITD0001 - Executive Office of Technology Services and
                      Security
                    description: RFQ-27-05699 Accela Software Solution and Support
                    file_attachments:
                      - download_url: >-
                          https://www.commbuys.com/bso/external/bidDetail.sda?docId=BD-27-1060-ITD00-ITD00-133949&mode=download&downloadFileNbr=2270533&external=true&parentUrl=close
                        file_name: >-
                          RFQ-27-05699 Accela Software Solution and
                          Support~1.docx
                        file_number: '2270533'
                    fiscal_year: '27'
                    form_attachments: []
                    info_contact: Contact Nelson Wong at (617) 626-4553
                    informal_bid: true
                    invitation_only: true
                    items:
                      - description: >-
                          The purpose of this RFQ is to solicit quotes for
                          Accela Software Solution and Support. See attached RFQ
                          document for complete detail. This RFQ is restricted
                          to vendors on the Statewide Contracts ITS81and ITS86
                          Category 1.
                        item_number: 1
                        quantity: 1
                        total_cost: null
                        total_discount_amount: null
                        unit_cost: null
                        unit_of_measure: EA - Each
                        unspsc_code: 43-23-00-00-0000
                        unspsc_codes:
                          - 43-23-00
                          - 43-23-00-00
                          - 43-23-00-00-0000
                        unspsc_description: Software
                    location: ITD00 - TSS General
                    observed_at_ms: 1791237543385
                    organization: Executive Office of Technology Services and Security
                    pre_bid_conference: null
                    print_format: null
                    purchase_method: Open Market
                    purchaser: Nelson Wong
                    required_date: null
                    required_quote_attachments: []
                    sbpp_eligible: false
                    ship_to_address: |-
                      1 No Address See Item Section for specific information
                      Vendors need to check the Items section
                      of the PO for ship to information
                      Boston, MA 02108
                      US
                      Email: seeitemsssection@xxx.com
                      Phone: (617) 626-4400
                    source_url: >-
                      https://www.commbuys.com/bso/external/bidDetail.sda?docId=BD-27-1060-ITD00-ITD00-133949&external=true&parentUrl=close
                    time_zone: America/New_York
                    type_code: null
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Fetch one COMMBUYS bid solicitation detail page (bidDetail.sda) by
            bid number or pasted URL: header fields (description, opening date,
            purchaser, organization, department, location, fiscal year, type
            code, bid type, purchase method, pre-bid conference, bulletin text),
            ship-to and bill-to addresses, the invitation-only and SBPP flags,
            public file attachments with stateless download URLs, form
            attachments, required quote attachments and the line items with
            UNSPSC codes, quantities, unit costs and units of measure. Values
            are the displayed strings; blanks are null, never zero.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `allow_electronic_quote` | boolean | Yes/No on the page; null when
            blank. |

            | `alternate_id` | string |  |

            | `bid_number` | string | Bid solicitation number exactly as the
            page shows it. |

            | `bid_opening_date_local` | string | The displayed opening date as
            an ISO-8601 wall-clock time in America/New_York, e.g.
            `2026-10-20T15:00:00`; null when the page shows none or an
            unparseable form. |

            | `bid_opening_date_text` | string | As displayed, e.g. `10/20/2026
            03:00:00 PM` (Massachusetts local time, no zone shown). |

            | `bid_type` | string | `OPEN` or `CLOSED` as shown. |

            | `bill_to_address` | string |  |

            | `bulletin_description` | string |  |

            | `department` | string | Department code and name as shown, e.g.
            `ITD0001 - Executive Office of Technology Services and Security`. |

            | `description` | string |  |

            | `file_attachments` | object[] |  |

            | `fiscal_year` | string | As shown (`27`); kept as text. |

            | `form_attachments` | string[] |  |

            | `info_contact` | string |  |

            | `informal_bid` | boolean |  |

            | `invitation_only` | boolean | True when the page carries the
            `Invitation Only Opportunity` banner. |

            | `items` | object[] |  |

            | `location` | string |  |

            | `observed_at_ms` | number |  |

            | `organization` | string |  |

            | `pre_bid_conference` | string |  |

            | `print_format` | string |  |

            | `purchase_method` | string |  |

            | `purchaser` | string |  |

            | `required_date` | string |  |

            | `required_quote_attachments` | object[] | Rows of the `Required
            Quote Attachments` table; empty when the agency listed none. |

            | `sbpp_eligible` | boolean | `SBPP (Small Business Purchasing
            Program) Eligible?` as shown; null when the row is absent or blank.
            |

            | `ship_to_address` | string | Address block with lines joined by
            newlines, including the Email: and Phone: lines when shown. |

            | `source_url` | string |  |

            | `time_zone` | string |  |

            | `type_code` | string | Type Code as shown; blank (null) on most
            solicitations. |



            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.