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

> Resolving an agency name to the agency_number search_solicitations and search_awards take.

## Request contract

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

[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-agencies",
  "method": "POST",
  "path": "/apis/v1/txsmartbuy-gov/public-tenders/list-agencies",
  "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": {
              "query": "Health"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "query": {
              "description": "Case-insensitive substring to filter agency names (e.g. 'Health').",
              "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-agencies
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-agencies:
    post:
      tags:
        - Texas SmartBuy ESBD
      summary: List agencies
      description: >-
        Resolving an agency name to the agency_number search_solicitations and
        search_awards take.
      operationId: txsmartbuy-gov.public-tenders.list-agencies
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  query: Health
            schema:
              additionalProperties: true
              properties:
                query:
                  description: >-
                    Case-insensitive substring to filter agency names (e.g.
                    'Health').
                  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:
                    agencies:
                      - agency_id: '9835'
                        agency_number: R2120
                        name: Andrews Center Behavioral Healthcare - R2120
                      - agency_id: '9048'
                        agency_number: A0113
                        name: Central Texas Community Health Center - A0113
                      - agency_id: '11384'
                        agency_number: R0920
                        name: Community Healthcore - R0920
                      - agency_id: '7877'
                        agency_number: '537'
                        name: Dept Of State Health Services - 537
                      - agency_id: '7957'
                        agency_number: '529'
                        name: Health & Human Services Commission - 529
                      - agency_id: '9443'
                        agency_number: '709'
                        name: Texas A&M University Health Science Center - 709
                      - agency_id: '8152'
                        agency_number: '554'
                        name: Texas Animal Health Commision - 554
                      - agency_id: '415440'
                        agency_number: '510'
                        name: Texas Behavioral Health Executive Council - 510
                      - agency_id: '11272'
                        agency_number: R1880
                        name: >-
                          Texas Panhandle Centers Behavorial & Developmental
                          Health - R1880
                      - agency_id: '8078'
                        agency_number: '739'
                        name: Texas Tech Health Science Cnt - 739
                      - agency_id: '11444'
                        agency_number: R1010
                        name: The Harris Center for Mental Health - R1010
                      - agency_id: '8095'
                        agency_number: B0006
                        name: Travis County Healthcare District - B0006
                      - agency_id: '11648'
                        agency_number: R1700
                        name: Tri-County Behavioral Healthcare - R1700
                      - agency_id: '10787'
                        agency_number: R1080
                        name: Tropical Texas Behavioral Health - R1080
                      - agency_id: '8261'
                        agency_number: '655'
                        name: Tx Dept Of Mental Health (mhm) - 655
                      - agency_id: '8955'
                        agency_number: '785'
                        name: Ut Health Center At Tyler - 785
                      - agency_id: '8321'
                        agency_number: '745'
                        name: UT Health/Science Center-San Antonio - 745
                    count: 17
                    observed_at_ms: 1791225211084
                    query: Health
                    total: 411
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            List the agencies / SmartBuy members the ESBD search form offers
            (about 411), with the agency number each filter takes; optional
            substring filter on the name. Source: the agencies[] list returned
            by POST ESBD.Service.ss (ep-1).


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `agencies` | object[] |  |

            | `count` | number |  |

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

            | `query` | string |  |

            | `total` | number | Agencies 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.