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

# Search bids

> Find solicitations by keyword (description; with `match: any` also item description, bid number and alternate id), organization (agency), buyer, NIGP class, type code, status, UNSPSC category or opening-date window; pass a row's `bid_number` to get_bid and a `blanket_number` to get_blanket. Use list_open_bids instead for the site's curated list of currently open solicitations. At least one criterion is required; a legitimate zero-row answer sets `total_count` to 0.

## Request contract

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

[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.search-bids",
  "method": "POST",
  "path": "/apis/v1/commbuys-com/public-tenders/search-bids",
  "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 or prefix, e.g. `BD-27-1060-ITD00-ITD00-133949` or `BD-27-1060` (the form's Bid # field).",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "buyer": {
              "description": "Buyer id as the site uses it (e.g. `AUDREY.BANKS`) or the buyer's name as listed (`Last, First`); a unique fragment is accepted.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "category_code": {
              "description": "UNSPSC segment of the form's Category dropdown: the two-digit code, e.g. `43` (Information Technology Broadcasting and Telecommunications) or `00` (Grants), or a unique fragment of its name.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "cursor": {
              "description": "Row offset of the page to return (a multiple of 25), as given by the previous answer's `next_cursor`. Omit for the first page. The same criteria must be passed again; the site's session is re-established on every call. Pattern: ^[0-9]{1,6}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "keyword": {
              "description": "Free text matched against the solicitation description (the form's Description field). With `match: any` it is also applied to the item description, bid number and alternate id, as the site's quick search does.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "match": {
              "default": "all",
              "description": "`all` (default): every filled criterion must match (the form's default). `any`: the site's Any/OR switch; the keyword is copied into the description, item description, bid number and alternate id fields, and a row matches when ANY filled criterion matches - so combining `any` with `status` or `type_code` returns every bid with that status or type, not the intersection. Use `any` for keyword-only quick searches and `all` when combining filters.\n\nProvider reference: allowed values [\"all\", \"any\"]; default \"all\".",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "all",
                  "any"
                ]
              }
            },
            "nigp_class": {
              "description": "NIGP class code of the form's NIGP Class dropdown, e.g. `43-23`. Pattern: ^[0-9]{2}-[0-9]{2}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "opening_date_from": {
              "description": "Bid opening date lower bound as the form takes it, MM/DD/YYYY. Pattern: ^(0[1-9]|1[0-2])/(0[1-9]|[12][0-9]|3[01])/[0-9]{4}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "opening_date_to": {
              "description": "Bid opening date upper bound, MM/DD/YYYY. Pattern: ^(0[1-9]|1[0-2])/(0[1-9]|[12][0-9]|3[01])/[0-9]{4}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "organization": {
              "description": "Organization (agency) code as the site uses it, e.g. `1060`, or its name as listed, e.g. `Executive Office of Technology Services and Security`; a unique case-insensitive fragment of the name is accepted, an ambiguous one is rejected with candidates.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "status": {
              "description": "Status code: 2BA Approved, 2BCL Closed, 2BE Evaluated, 2BIA Intent To Award, 2BO Opened, 2BPO Bid to PO, 2BS Sent (open for responses).\n\nProvider reference: allowed values [\"2BA\", \"2BCL\", \"2BE\", \"2BIA\", \"2BO\", \"2BPO\", \"2BS\"].",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "2BA",
                  "2BCL",
                  "2BE",
                  "2BIA",
                  "2BO",
                  "2BPO",
                  "2BS"
                ]
              }
            },
            "type_code": {
              "description": "Solicitation type: NS Non-Statewide Solicitation, SH Historical Solicitation, SS Statewide Solicitation.\n\nProvider reference: allowed values [\"NS\", \"SH\", \"SS\"].",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "NS",
                  "SH",
                  "SS"
                ]
              }
            }
          },
          "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/search-bids
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/search-bids:
    post:
      tags:
        - COMMBUYS
      summary: Search bids
      description: >-
        Find solicitations by keyword (description; with `match: any` also item
        description, bid number and alternate id), organization (agency), buyer,
        NIGP class, type code, status, UNSPSC category or opening-date window;
        pass a row's `bid_number` to get_bid and a `blanket_number` to
        get_blanket. Use list_open_bids instead for the site's curated list of
        currently open solicitations. At least one criterion is required; a
        legitimate zero-row answer sets `total_count` to 0.
      operationId: commbuys-com.public-tenders.search-bids
      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 or prefix, e.g.
                    `BD-27-1060-ITD00-ITD00-133949` or `BD-27-1060` (the form's
                    Bid # field).
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                buyer:
                  description: >-
                    Buyer id as the site uses it (e.g. `AUDREY.BANKS`) or the
                    buyer's name as listed (`Last, First`); a unique fragment is
                    accepted.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                category_code:
                  description: >-
                    UNSPSC segment of the form's Category dropdown: the
                    two-digit code, e.g. `43` (Information Technology
                    Broadcasting and Telecommunications) or `00` (Grants), or a
                    unique fragment of its name.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                cursor:
                  description: >-
                    Row offset of the page to return (a multiple of 25), as
                    given by the previous answer's `next_cursor`. Omit for the
                    first page. The same criteria must be passed again; the
                    site's session is re-established on every call. Pattern:
                    ^[0-9]{1,6}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                keyword:
                  description: >-
                    Free text matched against the solicitation description (the
                    form's Description field). With `match: any` it is also
                    applied to the item description, bid number and alternate
                    id, as the site's quick search does.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                match:
                  default: all
                  description: >-
                    `all` (default): every filled criterion must match (the
                    form's default). `any`: the site's Any/OR switch; the
                    keyword is copied into the description, item description,
                    bid number and alternate id fields, and a row matches when
                    ANY filled criterion matches - so combining `any` with
                    `status` or `type_code` returns every bid with that status
                    or type, not the intersection. Use `any` for keyword-only
                    quick searches and `all` when combining filters.


                    Provider reference: allowed values ["all", "any"]; default
                    "all".
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - all
                      - any
                nigp_class:
                  description: >-
                    NIGP class code of the form's NIGP Class dropdown, e.g.
                    `43-23`. Pattern: ^[0-9]{2}-[0-9]{2}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                opening_date_from:
                  description: >-
                    Bid opening date lower bound as the form takes it,
                    MM/DD/YYYY. Pattern:
                    ^(0[1-9]|1[0-2])/(0[1-9]|[12][0-9]|3[01])/[0-9]{4}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                opening_date_to:
                  description: >-
                    Bid opening date upper bound, MM/DD/YYYY. Pattern:
                    ^(0[1-9]|1[0-2])/(0[1-9]|[12][0-9]|3[01])/[0-9]{4}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                organization:
                  description: >-
                    Organization (agency) code as the site uses it, e.g. `1060`,
                    or its name as listed, e.g. `Executive Office of Technology
                    Services and Security`; a unique case-insensitive fragment
                    of the name is accepted, an ambiguous one is rejected with
                    candidates.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                status:
                  description: >-
                    Status code: 2BA Approved, 2BCL Closed, 2BE Evaluated, 2BIA
                    Intent To Award, 2BO Opened, 2BPO Bid to PO, 2BS Sent (open
                    for responses).


                    Provider reference: allowed values ["2BA", "2BCL", "2BE",
                    "2BIA", "2BO", "2BPO", "2BS"].
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - 2BA
                      - 2BCL
                      - 2BE
                      - 2BIA
                      - 2BO
                      - 2BPO
                      - 2BS
                type_code:
                  description: >-
                    Solicitation type: NS Non-Statewide Solicitation, SH
                    Historical Solicitation, SS Statewide Solicitation.


                    Provider reference: allowed values ["NS", "SH", "SS"].
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - NS
                      - SH
                      - SS
              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:
                    count: 1
                    next_cursor: null
                    observed_at_ms: 1791237568583
                    offset: 0
                    page_size: 25
                    query:
                      bid_number: BD-27-1060-ITD00-ITD00-133949
                      buyer_id: null
                      buyer_name: null
                      category_code: null
                      category_name: null
                      keyword: null
                      match: all
                      nigp_class: null
                      nigp_class_name: null
                      opening_date_from: null
                      opening_date_to: null
                      organization_code: null
                      organization_name: null
                      status: null
                      type_code: null
                    records:
                      - alternate_id: PCR-27-05699
                        awarded_vendors: null
                        bid_number: BD-27-1060-ITD00-ITD00-133949
                        bid_opening_date_local: '2026-10-20T15:00:00'
                        bid_opening_date_text: 10/20/2026 3:00 PM
                        blanket_number: null
                        buyer: Nelson Wong
                        description: RFQ-27-05699 Accela Software Solution and Support
                        detail_url: >-
                          https://www.commbuys.com/bso/external/bidDetail.sda?docId=BD-27-1060-ITD00-ITD00-133949&external=true&parentUrl=close
                        organization_name: Executive Office of Technology Services and Security
                        status: Sent
                    source_url: >-
                      https://www.commbuys.com/bso/view/search/external/advancedSearchBid.xhtml
                    time_zone: America/New_York
                    total_count: 1
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Search COMMBUYS bid solicitations through the public Advanced Search
            form (a JSF session is opened, the search POSTed and, for offsets
            past the first page, the results datatable paginated), 25 rows a
            page. Dropdown filters (organization, buyer, NIGP class, category)
            accept the site's code or the name as listed and are resolved
            against the form's option lists before the search. Each row carries
            the bid solicitation number, organization, blanket number, buyer,
            description, bid opening date as displayed (Massachusetts time, no
            zone shown) with an ISO wall-clock conversion, awarded vendors,
            status, alternate id and the detail URL.


            The response contains the tool result directly.


            The provider identifies `records` as the primary payload key.


            | Documented field | Provider type | Description |

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

            | `alternate_id` | string |  |

            | `awarded_vendors` | string |  |

            | `bid_number` | string | Bid solicitation number (the site's
            docId), e.g. `BD-27-1060-ITD00-ITD00-133949`. |

            | `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 blank or unparseable. |

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

            | `blanket_number` | string | Master blanket / PO number the
            solicitation was awarded into, when shown; pass it to get_blanket. |

            | `buyer` | string |  |

            | `description` | string |  |

            | `detail_url` | string | Absolute bidDetail.sda URL of the
            solicitation. |

            | `organization_name` | string |  |

            | `status` | string | Status label as shown, e.g. `Sent`, `Opened`,
            `Closed`. |



            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.