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

> Look up one exclusion record, or check whether a registrant is excluded.

## Request contract

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

[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-get",
  "method": "POST",
  "path": "/apis/v1/sam-gov/opportunities/exclusions-get",
  "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": {
              "sam_number": "bf32fd84-e837-4758-a315-4457e3ff5a15"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "cage_code": {
              "description": "Pattern: ^[A-Za-z0-9]{5}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "sam_number": {
              "description": "Exclusion SAM Number (UUID). Pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "uei_sam": {
              "description": "Pattern: ^[A-Za-z0-9]{12}$.",
              "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/sam-gov.json POST /apis/v1/sam-gov/opportunities/exclusions-get
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-get:
    post:
      tags:
        - SAM.gov
      summary: Exclusions get
      description: Look up one exclusion record, or check whether a registrant is excluded.
      operationId: sam-gov.opportunities.exclusions-get
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  sam_number: bf32fd84-e837-4758-a315-4457e3ff5a15
            schema:
              additionalProperties: true
              properties:
                cage_code:
                  description: 'Pattern: ^[A-Za-z0-9]{5}$.'
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                sam_number:
                  description: >-
                    Exclusion SAM Number (UUID). Pattern:
                    ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                uei_sam:
                  description: 'Pattern: ^[A-Za-z0-9]{12}$.'
                  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-18.
                  summary: Official provider example
                  value:
                    by: sam_number
                    count: 1
                    records:
                      - active_date: '1991-04-09'
                        additional_comments: null
                        address:
                          address_line1: 712 Camelot Dr.
                          address_line2: null
                          address_line3: null
                          address_line4: null
                          city: College Park
                          country_code: USA
                          state_or_province_code: GA
                          zip_code: '30349'
                        cage_code: null
                        classification: Firm
                        creation_date: '2012-07-27'
                        cross_reference: null
                        ct_code: R
                        excluding_agency_code: null
                        excluding_agency_name: Department of Housing and Urban Development
                        excluding_agency_org_id: '100000391'
                        exclusion_program: Reciprocal
                        exclusion_type: Ineligible (Proceedings Complete)
                        first_name: null
                        is_fascsa_order: false
                        last_name: null
                        middle_name: null
                        name: Martin and Martin
                        npi: NA
                        open_data_flag: null
                        prefix: null
                        publication_id: view-exclusion-details/v3:2026-10-18
                        record_status: Active
                        retrieved_at: '2026-10-18T22:35:02Z'
                        row_number: null
                        sam_number: bf32fd84-e837-4758-a315-4457e3ff5a15
                        source: view_exclusion_details_v3
                        source_record_id: bf32fd84-e837-4758-a315-4457e3ff5a15
                        source_url: >-
                          https://sam.gov/api/prod/view-exclusion-details/v3/api/exclusion/bf32fd84-e837-4758-a315-4457e3ff5a15
                        suffix: null
                        termination_date: Indefinite
                        uei_sam: S9AGLMTJ5LN1
                        update_date: '2012-07-27'
                    requested: bf32fd84-e837-4758-a315-4457e3ff5a15
                    retrieved_at: '2026-10-18T22:35:02Z'
                    source_url: >-
                      https://sam.gov/api/prod/view-exclusion-details/v3/api/exclusion/bf32fd84-e837-4758-a315-4457e3ff5a15
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            One exclusion by SAM Number (the UUID in the extract's `SAM Number`
            column, served by SAM.gov's view-exclusion-details service), or
            every exclusion of a UEI or CAGE code (the v4 exclusions API, with
            the SAM Number resolved through the UI exclusion index). Same record
            shape as exclusions_list; the `source` field says which service
            answered.


            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.