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

# Detail

> Fetch one SAM.gov contract opportunity by its 32-character notice id (the id in https://sam.gov/opp/{id}/view): full description, deadlines, NAICS, set-aside, place of performance, points of contact, award data, attachments (titles and download URLs only) and optionally the amendment history.

## Request contract

* **Method and path:** POST /apis/v1/sam-gov/opportunities/detail
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/sam-gov/opportunities/detail`

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "sam-gov.opportunities.detail",
  "method": "POST",
  "path": "/apis/v1/sam-gov/opportunities/detail",
  "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": {
              "include_attachments": false,
              "opportunity_id": "a9da8c51e84a4b72a9897a6f483845e3"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "fresh": {
              "description": "Always true in practice: every call goes to SAM.gov live with a cache-busting parameter; the workflow keeps no cache.",
              "type": "boolean",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "include_attachments": {
              "description": "List attachments (title, download URL, size, type). Contents are never fetched.",
              "type": "boolean",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "include_history": {
              "description": "Include the version history (original notice and every amendment) as record.history.",
              "type": "boolean",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "opportunity_id": {
              "description": "SAM.gov notice id. Each published version (original or amendment) has its own id; is_latest/latest_opportunity_id in the record point at the current version. Pattern: ^[0-9a-fA-F]{32}$.",
              "type": "string"
            }
          },
          "required": [
            "opportunity_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/sam-gov.json POST /apis/v1/sam-gov/opportunities/detail
openapi: 3.1.0
info:
  description: ''
  title: SAM.gov
  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:
    sam-gov:
      description: ''
      title: SAM.gov
      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: 6afb59b1b1976ca6604a41edfa9dc1c17c5fb2d43858ea29b9cb2e476266ac32
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
        seed_month: 2026-10
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/sam-gov/opportunities/detail
    - /apis/v1/sam-gov/opportunities/entities-changes
    - /apis/v1/sam-gov/opportunities/entities-get
    - /apis/v1/sam-gov/opportunities/entities-search
    - /apis/v1/sam-gov/opportunities/entities-status
    - /apis/v1/sam-gov/opportunities/exclusions-get
    - /apis/v1/sam-gov/opportunities/exclusions-list
    - /apis/v1/sam-gov/opportunities/exclusions-status
    - /apis/v1/sam-gov/opportunities/search
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:c982950758c4269bbfbb3dc50d6e8c810f57a755b580abc02a3eb0f8d5f0fc2c
    facts_hash: 6afb59b1b1976ca6604a41edfa9dc1c17c5fb2d43858ea29b9cb2e476266ac32
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
    seed_month: 2026-10
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: sam-gov
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/sam-gov/opportunities/detail:
    post:
      tags:
        - SAM.gov
      summary: Detail
      description: >-
        Fetch one SAM.gov contract opportunity by its 32-character notice id
        (the id in https://sam.gov/opp/{id}/view): full description, deadlines,
        NAICS, set-aside, place of performance, points of contact, award data,
        attachments (titles and download URLs only) and optionally the amendment
        history.
      operationId: sam-gov.opportunities.detail
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  include_attachments: false
                  opportunity_id: a9da8c51e84a4b72a9897a6f483845e3
            schema:
              additionalProperties: true
              properties:
                fresh:
                  description: >-
                    Always true in practice: every call goes to SAM.gov live
                    with a cache-busting parameter; the workflow keeps no cache.
                  type: boolean
                  x-alexandria-option-metadata:
                    in: body
                include_attachments:
                  description: >-
                    List attachments (title, download URL, size, type). Contents
                    are never fetched.
                  type: boolean
                  x-alexandria-option-metadata:
                    in: body
                include_history:
                  description: >-
                    Include the version history (original notice and every
                    amendment) as record.history.
                  type: boolean
                  x-alexandria-option-metadata:
                    in: body
                opportunity_id:
                  description: >-
                    SAM.gov notice id. Each published version (original or
                    amendment) has its own id; is_latest/latest_opportunity_id
                    in the record point at the current version. Pattern:
                    ^[0-9a-fA-F]{32}$.
                  type: string
              required:
                - opportunity_id
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-09-09.
                  summary: Official provider example
                  value:
                    complete: true
                    fresh: true
                    next_cursor: null
                    records:
                      - agency:
                          id: '500020367'
                          name: '500020367'
                        archive:
                          date: '2026-09-30'
                          type: auto15
                        attachments: []
                        attachments_retrieved: false
                        award: null
                        classification_code: J041
                        description: >-
                          Combined Synopsis/Solicitation


                          AFLCMC/PZI Installation Contracting Support


                          Wright Patterson AFB, OH 45433


                          Date: 2 SEP 2026


                          Title: AFIT HVAC CLEANING


                          Request for Quote (RFQ) / Solicitation Number:
                          FA8601-26-Q-0141


                          Quotes Due: 15 SEP 2026 at 12:00 PM EST


                          Contact Point(s): TSgt Adam Holden, Contract
                          Specialist; contact@example.gov


                          Contact Point(s): Jessica Stamper, Contracting
                          Officer; contact@example.gov


                          Description: This is a combined synopsis/solicitation
                          for commercial products or commercial services
                          prepared in accordance with RFO Part 12. This
                          announcement constitutes the only solicitation. Offers
                          are being requested and a separate written
                          solicitation will not be issued.


                          Solicitation number FA8601-26-Q-0141 is issued as a
                          Request for Quotation (RFQ) for AFIT HVAC CLEANING at
                          Wright Patterson Air Force Base as described under the
                          requirements section of this combined
                          synopsis/solicitation and accompanying requirements
                          attachment.


                          This acquisition is set-aside for small business
                          concerns under NAICS code 561790 – Other Services to
                          Buildings and Dwellings with a small business size of
                          $9.0M. This solicitation incorporates provisions and
                          clauses by reference. The full text of provisions and
                          clauses may be accessed electronically at
                          www.acquisition.gov.


                          The Government reserves the right to conduct
                          interchanges with some, none, or all offerors, or make
                          no award at all depending upon: An award, if any, will
                          be made LPTA. Ie, to the lowest priced Offeror who
                          submits a proposal that:


                          Conforms to the requirements of the combined
                          synopsis/solicitation.


                          Receives a rating of “Acceptable” on the Technical
                          Capability evaluation factor.


                          Contains the lowest evaluated price (TEP), provided
                          that the TEP is not unbalanced and is fair and
                          reasonable.


                          ***NOTE: The Government is recommending that all
                          bidding vendors attend a site visit for Wednesday
                          September 9, 2026 10:00EST at the following address:


                          4185 Logistics Ave,


                          Bldg 286 Area A,


                          Wright Patterson Air Force Base


                          To obtain access to the installation vendors will need
                          to acquire a visitor’s pass. Attendees must register
                          in advance by emailing Joel Wilson at
                          contact@example.gov and Mark Rauch at
                          contact@example.gov, no later than 10:00AM. EST on
                          Tuesday Sep 8, 2026, with the following information:


                          ​​​​


                          Visitor’s full name and cell phone number


                          Preferred email address


                          Driver’s license number and state of issuance


                          The vendor will be required to pick-up their visitor’s
                          pass at Pass and Registration located in Area A, Bldg
                          286, 4185 Logistics Ave, Dayton, OH 45433. Once base
                          access has been granted, please wait in the lobby for
                          Joel Wilson to escort you to the site visit location.


                          The Government also reserves the right to cancel this
                          solicitation, either before or after the closing date.


                          1. Requirement:


                          This requirement is for AFIT HVAC CLEANING at Wright
                          Patterson Air Force Base in accordance with the
                          Performance Work Statement (PWS).


                          2. Period of Performance:


                          No later than 90 Days after contract award. This is
                          inclusive of in person post award site visit, material
                          finish selection, furniture lead time and
                          installation.


                          3. Provisions and Clauses:


                          See solicitation attachment for applicable provisions
                          and clauses that apply to this acquisition. Offerors
                          shall complete and include in quotations all
                          representations and certifications, as well as all
                          fill-in provisions and clauses, contained within this
                          solicitation. Additionally, quotations that contain
                          pricing only with no description/detail of the
                          equipment that will be provided will not be accepted
                          or considered for award. NOTE: In accordance with
                          deviation R-DFARS 252.204-7998(g), the offeror's quote
                          submission legally binds and certifies that its SAM
                          registration is current, complete, accurate, and has
                          been updated within the preceding 12 months as of the
                          offer's date.


                          Mandatory Cybersecurity Maturity Model Certification
                          (CMMC) Level 1 Assessment:


                          In accordance with DFARS 252.204-7021 and DFARS
                          252.204-7025, a CMMC Level 1 assessment is a mandatory
                          requirement for all offerors. To be eligible for
                          contract award, offerors must demonstrate full
                          compliance with the 15 basic safeguarding requirements
                          outlined in FAR 52.240.93.


                          4. Request for Information (RFIs):


                          The Government will accept questions concerning this
                          solicitation until 14 Sep 2026 at 12:00 PM EST. Email
                          your questions on a .pdf, .doc, .docx, .xls or .xlsx
                          document to contact@example.gov and
                          contact@example.gov. Any questions received after this
                          date and time may not be considered.


                          5. Quotes Due Date:


                          Quotes must be submitted electronically to the
                          Contract Specialist via e-mail at contact@example.gov
                          and Contracting Officer at contact@example.gov. Quotes
                          must include all applicable shipping costs to include
                          insurance. Quotes must conform to the requirements of
                          this solicitation and be received no later than 15 SEP
                          2026 at 12:00 PM EST. It is the responsibility of the
                          offeror to ensure that the quote and its attachments
                          are received. Any correspondence sent via e-mail must
                          contain the subject line “FA8601-26-Q-0141 – AFIT HVAC
                          CLEANING” The entire quotation must be contained in a
                          single e-mail that does not exceed 5 megabytes
                          including attachments, if any. E-mails with compressed
                          files are not permitted. Note that e-mail filters at
                          Wright-Patterson Air Force Base are designed to filter
                          e-mails without subject lines or with suspicious
                          subject lines or contents (i.e., .exe or .zip files).
                          Therefore, if the specified subject line is not
                          included, the e-mail may not get through the e-mail
                          filters. Also be advised that .zip or .exe files are
                          not allowable attachments and may be deleted by the
                          email filters at Wright-Patterson. If sending
                          attachments with email, ensure only .pdf, .doc, .docx,
                          .xls or .xlsx documents are sent. The email filter may
                          delete any other form of attachments. If a DoDSafe
                          drop off is needed, please notify the contract
                          specialist or contracting officer at least 48 hours
                          before quotes are due. Any quotes received after
                          designated closing date and time need not be
                          considered. Quotes must include aggregate total of
                          base plus all option year CLINS, if requested (IAW RFO
                          52.217-5 Evaluation of Options). All quotes shall be
                          in whole dollars and conform to the Contract Line-Item
                          Number (CLIN) structure of attached solicitation.


                          6. Notice to Vendor(s):


                          All vendors must fully complete and return the
                          'Required Information Sheet' (attached to the
                          solicitation) and return with their quotation.
                          Additionally, quotations that contain pricing only
                          with no description/detail of the supply/service that
                          will be provided will not be accepted or considered
                          for award.


                          7. Period of Acceptance of Quotes:


                          Offeror agrees to hold prices in its quote firm for 60
                          calendar days from the date specified for receipt of
                          offers.


                          8. SAM Registration:


                          Firms submitting a quote for the solicitation
                          described herein, MUST be registered in the System for
                          Award Management (SAM) database, or risk the quote as
                          being non-responsive, regardless of the package being
                          considered complete, timely or any other salient
                          consideration. Information to register on SAM can be
                          found at the web site, SAM.gov.


                          The contractor is responsible for entering the
                          assessment results into the Procurement Integrated
                          Enterprise Environment (PIEE), specifically within the
                          Supplier Performance Risk System (SPRS) module.
                          Contract award cannot be made to any offeror that is
                          not fully compliant and whose assessment results are
                          not properly recorded in the system of record.


                          List of Attachments:


                          Performance Work Statement


                          Solicitation


                          Required Information Sheet


                          Wage Determination
                        description_is_excerpt: false
                        detail_level: full
                        history: null
                        is_active: true
                        is_amendment: false
                        is_archived: false
                        is_cancelled: false
                        is_latest: false
                        latest_opportunity_id: e4b01867044a4f0b9b56d506297ba84b
                        modification_count: null
                        naics_codes:
                          - '561790'
                        notice_type: combined_synopsis_solicitation
                        notice_type_code: k
                        notice_type_label: Combined Synopsis/Solicitation
                        office: null
                        opportunity_id: a9da8c51e84a4b72a9897a6f483845e3
                        organization_hierarchy: []
                        parent_opportunity_id: null
                        place_of_performance:
                          city:
                            code: OH-05
                            name: Wright Patterson AFB
                          country:
                            code: USA
                            name: UNITED STATES
                          state:
                            code: OH
                            name: Ohio
                          street_address: null
                          zip: '45433'
                        points_of_contact:
                          - email: contact@example.gov
                            name: Adam Holden
                            phone: null
                            title: null
                            type: primary
                          - email: contact@example.gov
                            name: Jessica Stamper
                            phone: null
                            title: null
                            type: secondary
                        previous_opportunity_id: null
                        published_at: '2026-09-02T16:47:56Z'
                        response_deadline: '2026-09-15T16:00:00Z'
                        response_deadline_date: '2026-09-15'
                        response_deadline_local: '2026-09-15T12:00:00-04:00'
                        response_timezone: America/New_York
                        set_aside: SBA
                        set_aside_label: Total Small Business Set-Aside (FAR 19.5)
                        solicitation_number: FA860126Q0141
                        source_status: published
                        source_url: >-
                          https://sam.gov/opp/a9da8c51e84a4b72a9897a6f483845e3/view
                        status: open
                        title: HVAC CLEANING
                        updated_at: '2026-09-03T14:54:09Z'
                        version: '2'
                    retrieved_at: '2026-09-09T00:00:00Z'
                    schema_version: 1.0.0
                    source_updated_at: '2026-09-03T14:54:09Z'
                    upstream_requests: 1
                    warnings:
                      - >-
                        notice a9da8c51e84a4b72a9897a6f483845e3: organization
                        lookup unavailable; agency name falls back to the
                        organization id
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Fetch one SAM.gov contract opportunity by its 32-character notice id
            (the id in https://sam.gov/opp/{id}/view): full description,
            deadlines, NAICS, set-aside, place of performance, points of
            contact, award data, attachments (titles and download URLs only) and
            optionally the amendment history.


            The response contains the tool result directly.


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


            | Documented field | Provider type | Description |

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

            | `agency` | object | Top-level department (hierarchy level 1). |

            | `archive` | object | When SAM.gov will/did archive the notice
            (auto15 = 15 days after the deadline, autocustom = the given date,
            manual). |

            | `attachments` | object[] |  |

            | `attachments_retrieved` | boolean | false means the attachment
            list was not requested; an empty list with true means the notice has
            none. |

            | `award` | object |  |

            | `classification_code` | string | Product/service code (PSC). |

            | `description` | string | Plain text (HTML stripped). An excerpt on
            summary records. |

            | `description_is_excerpt` | boolean |  |

            | `detail_level` | string |  |

            | `history` | object[] | Only with detail include_history=true;
            newest version first. |

            | `is_active` | boolean |  |

            | `is_amendment` | boolean |  |

            | `is_archived` | boolean | null on summary records (the search
            index does not expose it). |

            | `is_cancelled` | boolean |  |

            | `is_latest` | boolean | false when a newer amendment supersedes
            this version; see latest_opportunity_id. |

            | `latest_opportunity_id` | string |  |

            | `modification_count` | number |  |

            | `naics_codes` | string[] | Empty on summary records (see
            detail_level) or when the notice lists none. |

            | `notice_type` | string |  |

            | `notice_type_code` | string | SAM.gov single-letter code
            (p,o,k,a,r,s,i,g,u,f,l). |

            | `notice_type_label` | string |  |

            | `office` | object | Deepest contracting office in the hierarchy. |

            | `opportunity_id` | string | SAM.gov notice id; stable for this
            published version. Amendments publish a new id whose
            parent_opportunity_id is the original. |

            | `organization_hierarchy` | object[] |  |

            | `parent_opportunity_id` | string | Original notice id when this
            record is an amendment. |

            | `place_of_performance` | object |  |

            | `points_of_contact` | object[] |  |

            | `previous_opportunity_id` | string |  |

            | `published_at` | string | When this version was published (UTC). |

            | `response_deadline` | string | Response due date-time in UTC. null
            when the notice has none (awards, many special notices) or when
            SAM.gov gives only a date or a time without an offset (then
            `response_deadline_local` and `response_deadline_date` still carry
            it) — not a zero or an empty string. |

            | `response_deadline_date` | string | Calendar date of the deadline
            in the notice's own timezone (the date shown on the SAM.gov page). |

            | `response_deadline_local` | string | The deadline exactly as
            SAM.gov stores it, with its own offset. |

            | `response_timezone` | string |  |

            | `set_aside` | string | SAM.gov set-aside code, null when none. |

            | `set_aside_label` | string |  |

            | `solicitation_number` | string |  |

            | `source_status` | string | Raw source state: search index gives
            active\|inactive[,canceled]; the notice API gives its status code
            (published) plus ,archived / ,cancelled flags. |

            | `source_url` | string |  |

            | `status` | string | Normalized: cancelled if the notice was
            cancelled; open while SAM.gov lists it active/not archived (even
            past the deadline until the archive date); closed once
            inactive/archived. |

            | `title` | string |  |

            | `updated_at` | string |  |

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