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

# Entities changes

> Collect registrations updated since the last run.

## Request contract

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

[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.entities-changes",
  "method": "POST",
  "path": "/apis/v1/sam-gov/opportunities/entities-changes",
  "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": {
              "size": 2,
              "updated_from": "2026-10-15",
              "updated_to": "2026-10-16"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "page": {
              "description": "0-based page (default 0); page * size may not exceed 10,000.\n\nProvider reference: minimum 0; maximum 9999.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 9999,
                "min": 0
              }
            },
            "registration_status": {
              "description": "A (active) or E (expired); default both.\n\nProvider reference: allowed values [\"A\", \"E\", \"a\", \"e\"].",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "A",
                  "E",
                  "a",
                  "e"
                ]
              }
            },
            "size": {
              "description": "Records per page, 1 to 10 (SAM.gov's hard limit; default 10).\n\nProvider reference: minimum 1; maximum 10.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 10,
                "min": 1
              }
            },
            "state": {
              "description": "Physical-address state code, to split a window above 10,000 records. Pattern: ^[A-Za-z]{2}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "updated_from": {
              "description": "First day of the window, YYYY-MM-DD (inclusive). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.",
              "type": "string"
            },
            "updated_to": {
              "description": "Last day of the window, YYYY-MM-DD (inclusive). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.",
              "type": "string"
            }
          },
          "required": [
            "updated_from",
            "updated_to"
          ],
          "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/entities-changes
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/entities-changes:
    post:
      tags:
        - SAM.gov
      summary: Entities changes
      description: Collect registrations updated since the last run.
      operationId: sam-gov.opportunities.entities-changes
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  size: 2
                  updated_from: '2026-10-15'
                  updated_to: '2026-10-16'
            schema:
              additionalProperties: true
              properties:
                page:
                  description: |-
                    0-based page (default 0); page * size may not exceed 10,000.

                    Provider reference: minimum 0; maximum 9999.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 9999
                    min: 0
                registration_status:
                  description: |-
                    A (active) or E (expired); default both.

                    Provider reference: allowed values ["A", "E", "a", "e"].
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - A
                      - E
                      - a
                      - e
                size:
                  description: >-
                    Records per page, 1 to 10 (SAM.gov's hard limit; default
                    10).


                    Provider reference: minimum 1; maximum 10.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 10
                    min: 1
                state:
                  description: >-
                    Physical-address state code, to split a window above 10,000
                    records. Pattern: ^[A-Za-z]{2}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                updated_from:
                  description: >-
                    First day of the window, YYYY-MM-DD (inclusive). Pattern:
                    ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.
                  type: string
                updated_to:
                  description: >-
                    Last day of the window, YYYY-MM-DD (inclusive). Pattern:
                    ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.
                  type: string
              required:
                - updated_from
                - updated_to
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-18.
                  summary: Official provider example
                  value:
                    count: 2
                    has_more: true
                    next_page: 1
                    page: 0
                    publication_id: entity-information/v4:2026-10-18
                    query:
                      registration_status: null
                      state: null
                      updated_from: '2026-10-15'
                      updated_to: '2026-10-16'
                    records:
                      - activation_date: '2024-08-29'
                        business_types:
                          - code: F
                            description: Business or Organization
                          - code: 2X
                            description: For Profit Organization
                          - code: LJ
                            description: Limited Liability Company
                          - code: '27'
                            description: Self Certified Small Disadvantaged Business
                          - code: OY
                            description: Black American Owned
                          - code: '23'
                            description: Minority-Owned Business
                          - code: A2
                            description: Women-Owned Business
                          - code: 8E
                            description: >-
                              Economically Disadvantaged Women Owned Small
                              Business
                          - code: 8W
                            description: Women-Owned Small Business
                        cage_code: 9JFF6
                        congressional_district: '03'
                        country_of_incorporation_code: USA
                        dba_name: null
                        electronic_business_poc:
                          address_line1: 3417 Keston Rd
                          address_line2: null
                          city: Gwynn Oak
                          country_code: USA
                          first_name: Yolanda
                          last_name: Crenshaw
                          middle_initial: D
                          state_or_province_code: MD
                          title: Member
                          zip_code: '21207'
                          zip_code_plus4: null
                        entity_division_name: null
                        entity_start_date: '2020-08-10'
                        entity_structure_code: 2L
                        entity_structure_desc: Corporate Entity (Not Tax Exempt)
                        entity_type_desc: Business or Organization
                        entity_url: null
                        exclusion_status_flag: 'N'
                        exclusion_url: null
                        fiscal_year_end_close_date: 12/31
                        government_business_poc:
                          address_line1: 3417 Keston Rd
                          address_line2: null
                          city: Gwynn Oak
                          country_code: USA
                          first_name: Yolanda
                          last_name: Crenshaw
                          middle_initial: D
                          state_or_province_code: MD
                          title: Member
                          zip_code: '21207'
                          zip_code_plus4: null
                        last_update_date: '2026-10-16'
                        legal_business_name: LEGACY PREMIER PROPERTIES LLC
                        mailing_address:
                          address_line1: 200 HIGH ST STE 500
                          address_line2: null
                          city: PORTSMOUTH
                          country_code: USA
                          state_or_province_code: VA
                          zip_code: '23704'
                          zip_code_plus4: '3703'
                        naics_list:
                          - code: '445132'
                            description: 'Vending Machine Operators '
                            naics_exception: null
                            sba_small_business: 'Y'
                          - code: '325620'
                            description: Toilet Preparation Manufacturing
                            naics_exception: null
                            sba_small_business: 'Y'
                        organization_structure_desc: Limited Liability Company
                        physical_address:
                          address_line1: 200 HIGH ST STE 500
                          address_line2: null
                          city: PORTSMOUTH
                          country_code: USA
                          state_or_province_code: VA
                          zip_code: '23704'
                          zip_code_plus4: '3703'
                        primary_naics: '325620'
                        profit_structure_desc: For Profit Organization
                        psc_list:
                          - code: '3550'
                            description: VENDING AND COIN OPERATED MACHINES
                          - code: '8510'
                            description: PERFUMES, TOILET PREPARATIONS, AND POWDERS
                        publication_id: entity-information/v4:2026-10-18
                        purpose_of_registration_code: Z2
                        purpose_of_registration_desc: All Awards
                        registration_date: '2023-02-17'
                        registration_expiration_date: '2025-08-26'
                        registration_status: Inactive
                        retrieved_at: '2026-10-18T22:35:24Z'
                        sba_business_types: []
                        sections_present:
                          assertions: true
                          core_data: true
                          points_of_contact: true
                        source_record_id: S875K1JE3FJ5
                        source_url: >-
                          https://sam.gov/api/prod/entity-information/v4/entities?ueiSAM=S875K1JE3FJ5
                        state_of_incorporation_code: VA
                        submission_date: '2024-08-27'
                        uei_sam: S875K1JE3FJ5
                        uei_status: Active
                      - activation_date: '2024-12-03'
                        business_types:
                          - code: F
                            description: Business or Organization
                          - code: 2X
                            description: For Profit Organization
                          - code: XS
                            description: Subchapter S Corporation
                          - code: '27'
                            description: Self Certified Small Disadvantaged Business
                        cage_code: 8SLK5
                        congressional_district: '11'
                        country_of_incorporation_code: USA
                        dba_name: null
                        electronic_business_poc:
                          address_line1: 14101 parke long ct
                          address_line2: STE A
                          city: Chantilly
                          country_code: USA
                          first_name: moe
                          last_name: attyah
                          middle_initial: null
                          state_or_province_code: VA
                          title: CO
                          zip_code: '20151'
                          zip_code_plus4: null
                        entity_division_name: null
                        entity_start_date: '2019-12-19'
                        entity_structure_code: 2L
                        entity_structure_desc: Corporate Entity (Not Tax Exempt)
                        entity_type_desc: Business or Organization
                        entity_url: Attyahrecycling.com
                        exclusion_status_flag: 'N'
                        exclusion_url: null
                        fiscal_year_end_close_date: 12/31
                        government_business_poc:
                          address_line1: 14101 parke long ct
                          address_line2: STE A
                          city: Chantilly
                          country_code: USA
                          first_name: Feras
                          last_name: attyah
                          middle_initial: null
                          state_or_province_code: VA
                          title: Contracts manager
                          zip_code: '20151'
                          zip_code_plus4: null
                        last_update_date: '2026-10-15'
                        legal_business_name: ATTYAH TECH INC
                        mailing_address:
                          address_line1: 14101 Parke long ct
                          address_line2: Ste A
                          city: Chantilly
                          country_code: USA
                          state_or_province_code: VA
                          zip_code: '20151'
                          zip_code_plus4: null
                        naics_list:
                          - code: '423430'
                            description: >-
                              Computer and Computer Peripheral Equipment and
                              Software Merchant Wholesalers 
                            naics_exception: null
                            sba_small_business: 'Y'
                          - code: '423930'
                            description: 'Recyclable Material Merchant Wholesalers '
                            naics_exception: null
                            sba_small_business: 'Y'
                        organization_structure_desc: Subchapter S Corporation
                        physical_address:
                          address_line1: 14101 Parke Long Ct Ste A
                          address_line2: null
                          city: Chantilly
                          country_code: USA
                          state_or_province_code: VA
                          zip_code: '20151'
                          zip_code_plus4: '1645'
                        primary_naics: '423430'
                        profit_structure_desc: For Profit Organization
                        psc_list: []
                        publication_id: entity-information/v4:2026-10-18
                        purpose_of_registration_code: Z2
                        purpose_of_registration_desc: All Awards
                        registration_date: '2020-11-12'
                        registration_expiration_date: '2025-11-29'
                        registration_status: Inactive
                        retrieved_at: '2026-10-18T22:35:24Z'
                        sba_business_types: []
                        sections_present:
                          assertions: true
                          core_data: true
                          points_of_contact: true
                        source_record_id: NH8YKMBDVYA1
                        source_url: >-
                          https://sam.gov/api/prod/entity-information/v4/entities?ueiSAM=NH8YKMBDVYA1
                        state_of_incorporation_code: VA
                        submission_date: '2024-11-29'
                        uei_sam: NH8YKMBDVYA1
                        uei_status: Active
                    result_cap: 10000
                    retrieved_at: '2026-10-18T22:35:24Z'
                    size: 2
                    source_url: >-
                      https://sam.gov/api/prod/entity-information/v4/entities?updateDate=%5B10/15/2026,10/16/2026%5D&includeSections=entityRegistration,coreData,assertions,pointsOfContact&page=0&size=2
                    total_records: 9743
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Entity registrations whose SAM.gov record changed in a date window
            (the Entity Management API's updateDate filter, the publisher's own
            modified-since feed), same record shape as entities_search, pages of
            at most 10. A one-day window holds about 9,700 updates against the
            10,000-record query window; split larger windows by
            registration_status or state.


            The response contains the tool result directly.


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


            | Documented field | Provider type | Description |

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

            | `activation_date` | string |  |

            | `business_types` | object[] |  |

            | `cage_code` | string |  |

            | `congressional_district` | string |  |

            | `country_of_incorporation_code` | string |  |

            | `dba_name` | string |  |

            | `electronic_business_poc` | object | Public tier: name, title and
            address only; SAM.gov publishes no POC email or phone. |

            | `entity_division_name` | string |  |

            | `entity_start_date` | string |  |

            | `entity_structure_code` | string |  |

            | `entity_structure_desc` | string |  |

            | `entity_type_desc` | string |  |

            | `entity_url` | string |  |

            | `exclusion_status_flag` | string | Y when an active exclusion
            exists, else N. |

            | `exclusion_url` | string |  |

            | `fiscal_year_end_close_date` | string |  |

            | `government_business_poc` | object | Public tier: name, title and
            address only; SAM.gov publishes no POC email or phone. |

            | `last_update_date` | string |  |

            | `legal_business_name` | string |  |

            | `mailing_address` | object | Null when the coreData section is not
            public for this registration. |

            | `naics_list` | object[] |  |

            | `organization_structure_desc` | string |  |

            | `physical_address` | object | Null when the coreData section is
            not public for this registration. |

            | `primary_naics` | string |  |

            | `profit_structure_desc` | string |  |

            | `psc_list` | object[] |  |

            | `publication_id` | string | `entity-information/v4:<retrieval
            date>`: the live API has no publication version. |

            | `purpose_of_registration_code` | string |  |

            | `purpose_of_registration_desc` | string |  |

            | `registration_date` | string | YYYY-MM-DD as SAM.gov states it. |

            | `registration_expiration_date` | string |  |

            | `registration_status` | string | Active or Expired, as SAM.gov
            states it. |

            | `retrieved_at` | string |  |

            | `sba_business_types` | object[] |  |

            | `sections_present` | object |  |

            | `source_record_id` | string | The UEI. |

            | `source_url` | string |  |

            | `state_of_incorporation_code` | string |  |

            | `submission_date` | string |  |

            | `uei_sam` | string |  |

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