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

# Subawards

> Subawards reported under one prime award (FSRS data), newest first: subaward number, sub-recipient name, amount, action date and description. Paged with a cursor; an award with no subawards answers an empty page with a warning.

## Request contract

* **Method and path:** POST /apis/v1/usaspending-gov/awards/subawards
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/usaspending-gov/awards/subawards`

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "usaspending-gov.awards.subawards",
  "method": "POST",
  "path": "/apis/v1/usaspending-gov/awards/subawards",
  "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": {
              "award_id": "CONT_AWD_N0001917C0001_9700_-NONE-_-NONE-",
              "page_size": 2
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "award_id": {
              "description": "award_id",
              "type": "string"
            },
            "cursor": {
              "description": "cursor",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "page_size": {
              "default": 20,
              "description": "page_size\n\nProvider reference: minimum 1; maximum 100; default 20.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 100,
                "min": 1
              }
            }
          },
          "required": [
            "award_id"
          ],
          "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/usaspending-gov.json POST /apis/v1/usaspending-gov/awards/subawards
openapi: 3.1.0
info:
  description: ''
  title: USAspending
  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:
    usaspending-gov:
      description: ''
      title: USAspending
      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: bd023c3a292175ba2c80967d07c97f1f471561a7f1b5cc9430e15158934aed5b
        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/usaspending-gov/agencies/agency
    - /apis/v1/usaspending-gov/awards/award
    - /apis/v1/usaspending-gov/awards/award-search
    - /apis/v1/usaspending-gov/awards/idv-children
    - /apis/v1/usaspending-gov/awards/subawards
    - /apis/v1/usaspending-gov/awards/transactions
    - /apis/v1/usaspending-gov/recipients/recipient
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:f06465e212675b8de9fc59cf30a5b7948ef03770ed5a2e104f686a571c4b181f
    facts_hash: bd023c3a292175ba2c80967d07c97f1f471561a7f1b5cc9430e15158934aed5b
    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: usaspending-gov
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/usaspending-gov/awards/subawards:
    post:
      tags:
        - USAspending
      summary: Subawards
      description: >-
        Subawards reported under one prime award (FSRS data), newest first:
        subaward number, sub-recipient name, amount, action date and
        description. Paged with a cursor; an award with no subawards answers an
        empty page with a warning.
      operationId: usaspending-gov.awards.subawards
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  award_id: CONT_AWD_N0001917C0001_9700_-NONE-_-NONE-
                  page_size: 2
            schema:
              additionalProperties: true
              properties:
                award_id:
                  description: award_id
                  type: string
                cursor:
                  description: cursor
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                page_size:
                  default: 20
                  description: |-
                    page_size

                    Provider reference: minimum 1; maximum 100; default 20.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 100
                    min: 1
              required:
                - award_id
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: >-
                    Published by the provider on
                    2026-09-15T03:56:32.871236+00:00.
                  summary: Official provider example
                  value:
                    award_id: CONT_AWD_N0001917C0001_9700_-NONE-_-NONE-
                    complete: true
                    next_cursor: v1:2:4fbb1d2652467790
                    page:
                      max_pages: 500
                      number: 1
                      size: 2
                    records:
                      - action_date: '2025-04-28'
                        amount: '8154.47'
                        amount_unit:
                          basis: >-
                            nominal subaward dollars as reported by the prime
                            recipient (FSRS)
                          currency: USD
                          scale: '1'
                        description: 2ZKH85232-0004 SN 09460
                        observed_at_ms: 1789444592871
                        prime_award_id: CONT_AWD_N0001917C0001_9700_-NONE-_-NONE-
                        recipient_name: RAYTHEON COMPANY
                        source_url: >-
                          https://www.usaspending.gov/award/CONT_AWD_N0001917C0001_9700_-NONE-_-NONE-
                        source_vintage: '2026-09-14'
                        subaward_id: '10626973'
                        subaward_number: '4900185266'
                      - action_date: '2025-04-28'
                        amount: '9892.89'
                        amount_unit:
                          basis: >-
                            nominal subaward dollars as reported by the prime
                            recipient (FSRS)
                          currency: USD
                          scale: '1'
                        description: 2ZKH85222-0004 SN 10088
                        observed_at_ms: 1789444592871
                        prime_award_id: CONT_AWD_N0001917C0001_9700_-NONE-_-NONE-
                        recipient_name: RAYTHEON COMPANY
                        source_url: >-
                          https://www.usaspending.gov/award/CONT_AWD_N0001917C0001_9700_-NONE-_-NONE-
                        source_vintage: '2026-09-14'
                        subaward_id: '10626971'
                        subaward_number: '4900183998'
                    retrieved_at: '2026-09-15T03:56:32Z'
                    schema_version: 1.0.0
                    source_updated_at: '2026-09-14'
                    source_url: https://api.usaspending.gov/api/v2/subawards/
                    units:
                      basis: nominal dollars as published by USAspending
                      currency: USD
                      scale: '1'
                    upstream_requests: 2
                    warnings: []
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Subawards reported under one prime award (FSRS data), newest first:
            subaward number, sub-recipient name, amount, action date and
            description. Paged with a cursor; an award with no subawards answers
            an empty page with a warning.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `award_id` | string |  |

            | `complete` | boolean | Whether this response satisfied the
            requested operation; false when a secondary source call failed
            (warnings explain). |

            | `next_cursor` | string | Opaque v1:<page>:<hash> cursor bound to
            the filters; null at the end. |

            | `page` | object | Source request fields used to reproduce the
            official USAspending query. |

            | `records` | object[] |  |

            | `retrieved_at` | string |  |

            | `schema_version` | string |  |

            | `source_updated_at` | string | USAspending database last-updated
            date from awards/last_updated, null when that call failed. |

            | `source_url` | string |  |

            | `units` | object |  |

            | `upstream_requests` | number |  |

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