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

# Exclusions list

> Collect every active exclusion, or one classification, in pages.

## Request contract

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

[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.exclusions-list",
  "method": "POST",
  "path": "/apis/v1/sam-gov/opportunities/exclusions-list",
  "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": {
              "classification": "Firm",
              "page_size": 2
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "classification": {
              "description": "Individual, Firm, Special Entity Designation or Vessel; default all.\n\nProvider reference: allowed values [\"Individual\", \"Firm\", \"Special Entity Designation\", \"Vessel\"].",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "Individual",
                  "Firm",
                  "Special Entity Designation",
                  "Vessel"
                ]
              }
            },
            "continuation": {
              "description": "Opaque cursor from the previous page's meta.page.next_cursor (file|etag|offset).",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "page_size": {
              "description": "Rows per page, 1 to 500 (default 100). Each page downloads the whole 12 MB extract.\n\nProvider reference: minimum 1; maximum 500.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 500,
                "min": 1
              }
            }
          },
          "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/sam-gov.json POST /apis/v1/sam-gov/opportunities/exclusions-list
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/exclusions-list:
    post:
      tags:
        - SAM.gov
      summary: Exclusions list
      description: Collect every active exclusion, or one classification, in pages.
      operationId: sam-gov.opportunities.exclusions-list
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  classification: Firm
                  page_size: 2
            schema:
              additionalProperties: true
              properties:
                classification:
                  description: >-
                    Individual, Firm, Special Entity Designation or Vessel;
                    default all.


                    Provider reference: allowed values ["Individual", "Firm",
                    "Special Entity Designation", "Vessel"].
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - Individual
                      - Firm
                      - Special Entity Designation
                      - Vessel
                continuation:
                  description: >-
                    Opaque cursor from the previous page's meta.page.next_cursor
                    (file|etag|offset).
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                page_size:
                  description: >-
                    Rows per page, 1 to 500 (default 100). Each page downloads
                    the whole 12 MB extract.


                    Provider reference: minimum 1; maximum 500.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 500
                    min: 1
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-18.
                  summary: Official provider example
                  value:
                    columns:
                      - Classification
                      - Name
                      - Prefix
                      - First
                      - Middle
                      - Last
                      - Suffix
                      - Address 1
                      - Address 2
                      - Address 3
                      - Address 4
                      - City
                      - State / Province
                      - Country
                      - Zip Code
                      - Open Data Flag
                      - Blank (Deprecated)
                      - Unique Entity ID
                      - Exclusion Program
                      - Excluding Agency
                      - CT Code
                      - Exclusion Type
                      - Additional Comments
                      - Active Date
                      - Termination Date
                      - Record Status
                      - Cross-Reference
                      - SAM Number
                      - CAGE
                      - NPI
                      - Creation_Date
                    content_hash: a3236cae8121651415a56828f72dc690-2
                    count: 2
                    etag: a3236cae8121651415a56828f72dc690-2
                    file_date: '2026-10-18'
                    file_name: SAM_Exclusions_Public_Extract_V2_26291.ZIP
                    has_more: true
                    hash_source: s3_etag
                    inner_file_name: SAM_Exclusions_Public_Extract_V2_26291.CSV
                    next_offset: 2
                    offset: 0
                    publication_id: SAM_Exclusions_Public_Extract_V2_26291.ZIP
                    published_at: '2026-10-18T09:39:26Z'
                    query:
                      classification: Firm
                      page_size: 2
                    records:
                      - active_date: '2024-12-04'
                        additional_comments: null
                        address:
                          address_line1: 3231 W Thunderbird Rd
                          address_line2: null
                          address_line3: null
                          address_line4: null
                          city: Phoenix
                          country_code: USA
                          state_or_province_code: AZ
                          zip_code: 85053-5605
                        cage_code: null
                        classification: Firm
                        creation_date: '2024-12-04'
                        cross_reference: (also Jason Junior Coleman, Kimberly Djai Coleman)
                        ct_code: null
                        excluding_agency_code: ICE
                        excluding_agency_name: null
                        excluding_agency_org_id: null
                        exclusion_program: Reciprocal
                        exclusion_type: Ineligible (Proceedings Completed)
                        first_name: null
                        is_fascsa_order: null
                        last_name: null
                        middle_name: null
                        name: 106 Coronado, LLC
                        npi: null
                        open_data_flag: null
                        prefix: null
                        publication_id: SAM_Exclusions_Public_Extract_V2_26291.ZIP
                        record_status: Active
                        retrieved_at: '2026-10-18T22:35:51Z'
                        row_number: 133797
                        sam_number: 39e5ebc7-5766-41a9-9d6b-6956376b34ca
                        source: public_extract_csv
                        source_record_id: 39e5ebc7-5766-41a9-9d6b-6956376b34ca
                        source_url: >-
                          https://sam.gov/api/prod/fileextractservices/v1/api/download/Exclusions/Public%20V2/SAM_Exclusions_Public_Extract_V2_26291.ZIP?privacy=Public
                        suffix: null
                        termination_date: '2029-12-03'
                        uei_sam: Y8CHG5Y7Z488
                        update_date: null
                      - active_date: '2024-12-04'
                        additional_comments: null
                        address:
                          address_line1: 3231 W Thunderbird Rd
                          address_line2: null
                          address_line3: null
                          address_line4: null
                          city: Phoenix
                          country_code: USA
                          state_or_province_code: AZ
                          zip_code: 85053-5605
                        cage_code: null
                        classification: Firm
                        creation_date: '2024-12-04'
                        cross_reference: (also Jason Junior Coleman, Kimberly Djai Coleman)
                        ct_code: null
                        excluding_agency_code: ICE
                        excluding_agency_name: null
                        excluding_agency_org_id: null
                        exclusion_program: Reciprocal
                        exclusion_type: Ineligible (Proceedings Completed)
                        first_name: null
                        is_fascsa_order: null
                        last_name: null
                        middle_name: null
                        name: 11:11 Lifestyle, LLC
                        npi: null
                        open_data_flag: null
                        prefix: null
                        publication_id: SAM_Exclusions_Public_Extract_V2_26291.ZIP
                        record_status: Active
                        retrieved_at: '2026-10-18T22:35:51Z'
                        row_number: 133800
                        sam_number: 141d03f0-a1ba-4ab3-88cc-8c9e9f8db2b7
                        source: public_extract_csv
                        source_record_id: 141d03f0-a1ba-4ab3-88cc-8c9e9f8db2b7
                        source_url: >-
                          https://sam.gov/api/prod/fileextractservices/v1/api/download/Exclusions/Public%20V2/SAM_Exclusions_Public_Extract_V2_26291.ZIP?privacy=Public
                        suffix: null
                        termination_date: '2029-12-03'
                        uei_sam: Y8S2A7C9KA24
                        update_date: null
                    retrieved_at: '2026-10-18T22:35:51Z'
                    size_bytes: 11878470
                    source_url: >-
                      https://sam.gov/api/prod/fileextractservices/v1/api/download/Exclusions/Public%20V2/SAM_Exclusions_Public_Extract_V2_26291.ZIP?privacy=Public
                    total_matching: 8365
                    total_rows: 169040
                    uncompressed_size_bytes: 78631673
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            The full current list of SAM.gov exclusions from the daily public
            extract (SAM_Exclusions_Public_Extract_V2_YYDDD.ZIP: about 169,000
            rows, individuals, firms, special entity designations and vessels),
            paged with a cursor pinned to the file name and its S3 ETag. Every
            page re-resolves the newest file through listfiles, downloads the 12
            MB zip through the download route's 303, inflates and parses the
            quoted multi-line CSV in one pass and returns the rows of the
            requested window; when the publication moved on since the cursor was
            issued the call fails with invalid_input at /continuation (issue
            code publication_changed). source_record_id is the extract's SAM
            Number. Optional classification filter. Each daily file is a full
            snapshot: there is no exclusions changes feed, diff consecutive
            snapshots.


            The response contains the tool result directly.


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


            | Documented field | Provider type | Description |

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

            | `active_date` | string | As the source states it (extract and
            view-exclusion-details: YYYY-MM-DD or MM/DD/YYYY; v4 API:
            MM-DD-YYYY). |

            | `additional_comments` | string |  |

            | `address` | object |  |

            | `cage_code` | string |  |

            | `classification` | string |  |

            | `creation_date` | string |  |

            | `cross_reference` | string |  |

            | `ct_code` | string |  |

            | `excluding_agency_code` | string | Agency code as the extract and
            the v4 API state it (HUD, DOD-DLA ...); null from
            view-exclusion-details. |

            | `excluding_agency_name` | string | Agency name from the APIs; null
            from the extract. |

            | `excluding_agency_org_id` | string | Organization id from
            view-exclusion-details. |

            | `exclusion_program` | string |  |

            | `exclusion_type` | string |  |

            | `first_name` | string |  |

            | `is_fascsa_order` | boolean |  |

            | `last_name` | string |  |

            | `middle_name` | string |  |

            | `name` | string | Entity or vessel name; null for individuals. |

            | `npi` | string |  |

            | `open_data_flag` | string |  |

            | `prefix` | string |  |

            | `publication_id` | string |  |

            | `record_status` | string |  |

            | `retrieved_at` | string |  |

            | `row_number` | number | 1-based data row in the extract (extract
            records only). |

            | `sam_number` | string | UUID from the extract's `SAM Number`
            column, the sgs `_id` and the view-exclusion-details path. |

            | `source` | string |  |

            | `source_record_id` | string | The SAM Number (UUID); for API
            records whose SAM Number could not be resolved,
            `uei:<UEI>:<activation date>`. |

            | `source_url` | string |  |

            | `suffix` | string |  |

            | `termination_date` | string | As the source states it, including
            the literal `Indefinite`. |

            | `uei_sam` | string |  |

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