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

# List nigp codes

> Validating or completing a NIGP code for the nigp_code filter.

## Request contract

* **Method and path:** POST /apis/v1/txsmartbuy-gov/public-tenders/list-nigp-codes
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/txsmartbuy-gov/public-tenders/list-nigp-codes`

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "txsmartbuy-gov.public-tenders.list-nigp-codes",
  "method": "POST",
  "path": "/apis/v1/txsmartbuy-gov/public-tenders/list-nigp-codes",
  "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": {
              "prefix": "925"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "prefix": {
              "description": "Keep codes starting with these digits (e.g. 925). Pattern: ^[0-9]{1,5}$.",
              "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/txsmartbuy-gov.json POST /apis/v1/txsmartbuy-gov/public-tenders/list-nigp-codes
openapi: 3.1.0
info:
  description: ''
  title: Texas SmartBuy ESBD
  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:
    txsmartbuy-gov:
      description: ''
      title: Texas SmartBuy ESBD
      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: ff33dd06839107b2d19ab62dd3259b008070469065c184bfad0b938d28009863
        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/txsmartbuy-gov/public-tenders/get-award
    - /apis/v1/txsmartbuy-gov/public-tenders/get-grant
    - /apis/v1/txsmartbuy-gov/public-tenders/get-solicitation
    - /apis/v1/txsmartbuy-gov/public-tenders/list-agencies
    - /apis/v1/txsmartbuy-gov/public-tenders/list-nigp-codes
    - /apis/v1/txsmartbuy-gov/public-tenders/search-awards
    - /apis/v1/txsmartbuy-gov/public-tenders/search-grants
    - /apis/v1/txsmartbuy-gov/public-tenders/search-solicitations
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:5d7f559d882f4135f0fb3e71ae1d68cca91b04914dbe8d552df3a129647ae881
    facts_hash: ff33dd06839107b2d19ab62dd3259b008070469065c184bfad0b938d28009863
    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: txsmartbuy-gov
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/txsmartbuy-gov/public-tenders/list-nigp-codes:
    post:
      tags:
        - Texas SmartBuy ESBD
      summary: List nigp codes
      description: Validating or completing a NIGP code for the nigp_code filter.
      operationId: txsmartbuy-gov.public-tenders.list-nigp-codes
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  prefix: '925'
            schema:
              additionalProperties: true
              properties:
                prefix:
                  description: >-
                    Keep codes starting with these digits (e.g. 925). Pattern:
                    ^[0-9]{1,5}$.
                  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-05.
                  summary: Official provider example
                  value:
                    codes:
                      - '92500'
                      - '92503'
                      - '92504'
                      - '92507'
                      - '92508'
                      - '92511'
                      - '92513'
                      - '92515'
                      - '92517'
                      - '92519'
                      - '92520'
                      - '92521'
                      - '92522'
                      - '92523'
                      - '92524'
                      - '92528'
                      - '92529'
                      - '92530'
                      - '92531'
                      - '92532'
                      - '92534'
                      - '92535'
                      - '92536'
                      - '92537'
                      - '92538'
                      - '92539'
                      - '92540'
                      - '92541'
                      - '92542'
                      - '92543'
                      - '92544'
                      - '92545'
                      - '92546'
                      - '92548'
                      - '92549'
                      - '92550'
                      - '92551'
                      - '92553'
                      - '92555'
                      - '92556'
                      - '92557'
                      - '92558'
                      - '92561'
                      - '92565'
                      - '92566'
                      - '92567'
                      - '92568'
                      - '92569'
                      - '92570'
                      - '92572'
                      - '92573'
                      - '92574'
                      - '92577'
                      - '92578'
                      - '92579'
                      - '92580'
                      - '92581'
                      - '92583'
                      - '92584'
                      - '92586'
                      - '92587'
                      - '92588'
                      - '92589'
                      - '92591'
                      - '92592'
                      - '92593'
                      - '92594'
                      - '92595'
                      - '92596'
                      - '92597'
                    count: 70
                    observed_at_ms: 1791225223947
                    prefix: '925'
                    total: 9234
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            List the five-digit NIGP class-item codes the ESBD typeahead knows
            (about 9,200), optionally filtered by prefix. The site serves codes
            only; descriptions appear on records. Source: POST
            NIGP.TypeAhead.Service.ss (ep-4).


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `codes` | string[] |  |

            | `count` | number |  |

            | `observed_at_ms` | number | Unix epoch milliseconds when the
            program observed the response. |

            | `prefix` | string |  |

            | `total` | number | Codes the site listed before filtering. |



            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.