> ## 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 foods in group

> To enumerate every food in a category with its provenance notes, e.g. all yeast extract spreads (2/11) or all ready-to-eat breakfast cereals (7/30). Ids come from list_food_groups.

## 请求规范

* **方法与路径:** POST /apis/v1/afcd-foodstandards-gov-au/foods/list-foods-in-group
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/afcd-foodstandards-gov-au/foods/list-foods-in-group`

[完整 OpenAPI 定义](https://aisa.one/docs/openapi/zh/afcd-foodstandards-gov-au.json)

有效请求声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "afcd-foodstandards-gov-au.foods.list-foods-in-group",
  "method": "POST",
  "path": "/apis/v1/afcd-foodstandards-gov-au/foods/list-foods-in-group",
  "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": {
              "food_group_id": 2,
              "sub_food_group_id": 11
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "food_group_id": {
              "description": "AFCD food group id (1-22).\n\nProvider reference: minimum 1.",
              "type": "number"
            },
            "page": {
              "default": 1,
              "description": "1-based page of the client-side paginated result (the API returns the whole list).\n\nProvider reference: minimum 1; default 1.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "min": 1
              }
            },
            "page_size": {
              "default": 50,
              "description": "Rows per page (1-200).\n\nProvider reference: minimum 1; maximum 200; default 50.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 200,
                "min": 1
              }
            },
            "sub_food_group_id": {
              "description": "AFCD sub food group id belonging to that group.\n\nProvider reference: minimum 1.",
              "type": "number"
            }
          },
          "required": [
            "food_group_id",
            "sub_food_group_id"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

按实际用量收费。 默认请求预估费用：\$0.0005 USD。 最终费用以实际用量为准。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。


## OpenAPI

````yaml openapi/zh/afcd-foodstandards-gov-au.json POST /apis/v1/afcd-foodstandards-gov-au/foods/list-foods-in-group
openapi: 3.1.0
info:
  description: ''
  title: Australian Food Composition Database (AFCD, FSANZ)
  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:
    afcd-foodstandards-gov-au:
      description: ''
      title: Australian Food Composition Database (AFCD, FSANZ)
      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: bc9bb21122412b19b885ad9b857126d6cc6551524ea33bbfe22f843af24d65ee
        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/afcd-foodstandards-gov-au/foods/foods-by-nutrient
    - /apis/v1/afcd-foodstandards-gov-au/foods/get-food
    - /apis/v1/afcd-foodstandards-gov-au/foods/list-food-groups
    - /apis/v1/afcd-foodstandards-gov-au/foods/list-foods-in-group
    - /apis/v1/afcd-foodstandards-gov-au/foods/list-nutrients
    - /apis/v1/afcd-foodstandards-gov-au/foods/search-foods
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:52b752bdb2c9aa0163b9211576e97373b443b25606cf0e038786f9da48fcacf4
    facts_hash: bc9bb21122412b19b885ad9b857126d6cc6551524ea33bbfe22f843af24d65ee
    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: afcd-foodstandards-gov-au
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/afcd-foodstandards-gov-au/foods/list-foods-in-group:
    post:
      tags:
        - Australian Food Composition Database (AFCD, FSANZ)
      summary: List foods in group
      description: >-
        To enumerate every food in a category with its provenance notes, e.g.
        all yeast extract spreads (2/11) or all ready-to-eat breakfast cereals
        (7/30). Ids come from list_food_groups.
      operationId: afcd-foodstandards-gov-au.foods.list-foods-in-group
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  food_group_id: 2
                  sub_food_group_id: 11
            schema:
              additionalProperties: true
              properties:
                food_group_id:
                  description: |-
                    AFCD food group id (1-22).

                    Provider reference: minimum 1.
                  type: number
                page:
                  default: 1
                  description: >-
                    1-based page of the client-side paginated result (the API
                    returns the whole list).


                    Provider reference: minimum 1; default 1.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    min: 1
                page_size:
                  default: 50
                  description: |-
                    Rows per page (1-200).

                    Provider reference: minimum 1; maximum 200; default 50.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 200
                    min: 1
                sub_food_group_id:
                  description: |-
                    AFCD sub food group id belonging to that group.

                    Provider reference: minimum 1.
                  type: number
              required:
                - food_group_id
                - sub_food_group_id
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-14.
                  summary: Official provider example
                  value:
                    food_group_id: 2
                    foods:
                      - analysed_portion: 100%
                        classification_id: 31102
                        classification_name: Yeast extracts
                        derivation: Analysed
                        description: >-
                          Commercial thick, dark brown concentrated yeast
                          extract spread. Contains added salt, and vitamins B1,
                          B2 and B3.
                        fat_factor: 0.8
                        food_group: Miscellaneous
                        food_group_id: 2
                        inclusions: null
                        name: Spread, yeast, marmite
                        nitrogen_factor: 5.7
                        pfk: F008783
                        sampling_details: >-
                          The majority of nutrient data were from Sanitarium
                          industry data (2008). Other nutrient data were derived
                          from a composite of 6 samples of Sanitarium Marmite
                          purchased in Adelaide in 1990. Folate and folic acid
                          were borrowed from NZ Food Composition Database, ID
                          P1004 Spread, yeast extract, Marmite, Sanitarium,
                          fortified vitamins B1, B2, B3, B12 & folate, & Fe. Fe
                          was from NZFSA 2005. Note high fibre content which
                          should be used with caution. The analysed nitrogen
                          value was reduced by 10% to account for purine
                          nitrogen. Alpha-tocopherol and I were imputed from
                          vegemite. Fatty acids were borrowed from USDA SR
                          Legacy, FDC ID 175043  - Leavening agents, yeast,
                          baker's, active dry. Vitamins (C, D, retinol), alcohol
                          and caffeine were imputed zero.
                        scientific_name: null
                        specific_gravity: 0
                        sub_food_group: Yeast, and yeast vegetable or meat extracts
                        sub_food_group_id: 11
                        unanalysed_portion: 0%
                        url: >-
                          https://www.foodstandards.gov.au/science-data/food-nutrient-databases/afcd/search/food/F008783
                      - analysed_portion: 100%
                        classification_id: 31102
                        classification_name: Yeast extracts
                        derivation: Analysed
                        description: >-
                          Commercial, thick dark brown, salty concentrated yeast
                          extract spread made by treating yeast with acid.
                          Contains added salt, and vitamins B1, B2 and B3.
                        fat_factor: 0.8
                        food_group: Miscellaneous
                        food_group_id: 2
                        inclusions: null
                        name: Spread, yeast, vegemite
                        nitrogen_factor: 5.7
                        pfk: F008785
                        sampling_details: >-
                          The majority of nutrient data were derived from
                          individual and composite samples of 8 purchases of
                          Kraft Vegemite purchased nationally in each state and
                          territory capital city in 2008. Some proximates,
                          vitamins and minerals were also derived from a
                          composite of 5 samples of Kraft Vegemite purchased
                          from five states across Australia in 2010. Folate and
                          folic acid were determined in the 5 individual samples
                          from the 2010 analysis. Retinol, vitamin D and
                          cholesterol were imputed zero. Note that sample is
                          likely to contain carbohydrates not detected with
                          analytical techniques used and were represented by an
                          estimated starch value in this profile.
                        scientific_name: null
                        specific_gravity: 0
                        sub_food_group: Yeast, and yeast vegetable or meat extracts
                        sub_food_group_id: 11
                        unanalysed_portion: 0%
                        url: >-
                          https://www.foodstandards.gov.au/science-data/food-nutrient-databases/afcd/search/food/F008785
                      - analysed_portion: 100%
                        classification_id: 31101
                        classification_name: Yeast
                        derivation: Analysed
                        description: >-
                          A cream or pale grey powder with a fine, smooth
                          texture. Active raising agent used domestically to
                          leaven a wide range of breads, cakes and pastries.
                        fat_factor: 0.8
                        food_group: Miscellaneous
                        food_group_id: 2
                        inclusions: null
                        name: Yeast, dry powder
                        nitrogen_factor: 6.25
                        pfk: F009606
                        sampling_details: >-
                          The majority of nutrient data were derived from a
                          composite 6 samples of Supercook dry yeast purchased
                          in Adelaide in 1990. The analysed nitrogen value was
                          reduced by 10% to account for purine nitrogen. Folate,
                          alpha-tocopherol, fibre and fatty acids were borrowed
                          from USDA SR Legacy, FDC ID 175043 - Leavening agents,
                          yeast, baker's, active dry. Iodine was borrowed from
                          NZ Food Composition Database, ID P13 Yeast, baker's,
                          dried. Alcohol, vitamins (B12, C, D, folic acid,
                          retinol), caffeine and cholesterol were imputed zero.
                          Note low sum of proximates likely due to potential
                          difficulties in the analysis of complex carbohydrates
                          - data should be used with caution.
                        scientific_name: null
                        specific_gravity: 0
                        sub_food_group: Yeast, and yeast vegetable or meat extracts
                        sub_food_group_id: 11
                        unanalysed_portion: 0%
                        url: >-
                          https://www.foodstandards.gov.au/science-data/food-nutrient-databases/afcd/search/food/F009606
                    name: Yeast, and yeast vegetable or meat extracts
                    observed_at_ms: 1791942993356
                    page: 1
                    page_size: 50
                    source_url: >-
                      https://www.foodstandards.gov.au/science-data/food-nutrient-databases/afcd/search/api/food-groups/2/11
                    sub_food_group_id: 11
                    total_foods: 3
                    total_pages: 1
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            The foods AFCD files under one sub food group (GET
            https://www.foodstandards.gov.au/science-data/food-nutrient-databases/afcd/search/api/food-groups/{food_group_id}/{sub_food_group_id}),
            with each food's description, inclusions, scientific name,
            classification, derivation, sampling notes and conversion factors
            (no nutrient values: use get_food). Paged client-side; the API
            returns the whole group. An existing sub group with no foods returns
            an empty list; an unknown group / sub group pair is `not_found`.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `food_group_id` | number |  |

            | `foods` | object[] |  |

            | `name` | string | Sub food group name. |

            | `observed_at_ms` | number | Unix milliseconds when this program
            read the AFCD API. |

            | `page` | number |  |

            | `page_size` | number |  |

            | `source_url` | string | The AFCD API URL this answer was read
            from. |

            | `sub_food_group_id` | number |  |

            | `total_foods` | number | Foods in the sub group across all pages.
            |

            | `total_pages` | number |  |



            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.