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

> Find attribute taxonomies and term slugs for search_products attribute filters, or list a store's brands/sizes/colours.

## Request contract

* **Method and path:** POST /apis/v1/woocommerce-com/products/list-attributes
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/woocommerce-com/products/list-attributes`

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "woocommerce-com.products.list-attributes",
  "method": "POST",
  "path": "/apis/v1/woocommerce-com/products/list-attributes",
  "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": {
              "attribute": "pa_compatibility",
              "store": "woocommerce.com"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "attribute": {
              "description": "Taxonomy (pa_color) or attribute id whose terms to list. Pattern: ^(pa_\\S+|[0-9]+)$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "page": {
              "default": 1,
              "description": "1-based page; use next_page from the previous result.\n\nProvider reference: minimum 1; maximum 10000; default 1.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 10000,
                "min": 1
              }
            },
            "per_page": {
              "default": 100,
              "description": "per_page\n\nProvider reference: minimum 1; maximum 100; default 100.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 100,
                "min": 1
              }
            },
            "store": {
              "description": "The store: a bare domain (example.com) or any URL on the store. Any WooCommerce site with the public Store API (/wp-json/wc/store/v1) enabled.",
              "type": "string"
            }
          },
          "required": [
            "store"
          ],
          "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/woocommerce-com.json POST /apis/v1/woocommerce-com/products/list-attributes
openapi: 3.1.0
info:
  description: ''
  title: WooCommerce stores
  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:
    woocommerce-com:
      description: ''
      title: WooCommerce stores
      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: 7fd75c768a43689d763cd0255ef00ce1442915e10a4a5f5f2b514e6131fb06b8
        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/woocommerce-com/products/get-product
    - /apis/v1/woocommerce-com/products/list-attributes
    - /apis/v1/woocommerce-com/products/list-categories
    - /apis/v1/woocommerce-com/products/search-products
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:ed2e65f03311411c2ea3696e4f1a321a3b167d875d0bae37875c7b19290d2c9d
    facts_hash: 7fd75c768a43689d763cd0255ef00ce1442915e10a4a5f5f2b514e6131fb06b8
    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: woocommerce-com
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/woocommerce-com/products/list-attributes:
    post:
      tags:
        - WooCommerce stores
      summary: List attributes
      description: >-
        Find attribute taxonomies and term slugs for search_products attribute
        filters, or list a store's brands/sizes/colours.
      operationId: woocommerce-com.products.list-attributes
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  attribute: pa_compatibility
                  store: woocommerce.com
            schema:
              additionalProperties: true
              properties:
                attribute:
                  description: >-
                    Taxonomy (pa_color) or attribute id whose terms to list.
                    Pattern: ^(pa_\S+|[0-9]+)$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                page:
                  default: 1
                  description: |-
                    1-based page; use next_page from the previous result.

                    Provider reference: minimum 1; maximum 10000; default 1.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 10000
                    min: 1
                per_page:
                  default: 100
                  description: |-
                    per_page

                    Provider reference: minimum 1; maximum 100; default 100.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 100
                    min: 1
                store:
                  description: >-
                    The store: a bare domain (example.com) or any URL on the
                    store. Any WooCommerce site with the public Store API
                    (/wp-json/wc/store/v1) enabled.
                  type: string
              required:
                - store
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-09T01:33:30Z.
                  summary: Official provider example
                  value:
                    attribute:
                      id: 10
                      name: Compatibility
                      taxonomy: pa_compatibility
                    attributes:
                      - count: 5
                        has_archives: true
                        id: 10
                        name: Compatibility
                        taxonomy: pa_compatibility
                        type: select
                      - count: 249
                        has_archives: true
                        id: 2
                        name: Countries
                        taxonomy: pa_countries
                        type: select
                      - count: 4
                        has_archives: true
                        id: 3
                        name: Gateway Types
                        taxonomy: pa_gateway-types
                        type: select
                      - count: 193
                        has_archives: false
                        id: 9
                        name: Languages
                        taxonomy: pa_languages
                        type: select
                      - count: 2
                        has_archives: false
                        id: 6
                        name: Revenue Share
                        taxonomy: pa_revenue-share
                        type: select
                      - count: 2
                        has_archives: true
                        id: 1
                        name: Theme Package
                        taxonomy: pa_theme-type
                        type: select
                      - count: 68
                        has_archives: false
                        id: 7
                        name: WooCommerce version required
                        taxonomy: pa_wc_version_required
                        type: select
                      - count: 2429
                        has_archives: true
                        id: 5
                        name: Works With
                        taxonomy: pa_works_with
                        type: select
                      - count: 21
                        has_archives: false
                        id: 8
                        name: WordPress version required
                        taxonomy: pa_wp_version_required
                        type: select
                    count: 5
                    next_page: null
                    observed_at_ms: 1791509616189
                    page: 1
                    per_page: 100
                    store:
                      host: woocommerce.com
                      url: https://woocommerce.com/
                    terms:
                      - count: 66
                        id: 33417
                        name: Block editor
                        slug: block-editor
                      - count: 310
                        id: 33015
                        name: Cart & checkout blocks
                        slug: cart-checkout-blocks
                      - count: 382
                        id: 32524
                        name: High performance order storage (HPOS)
                        slug: hpos
                      - count: 11
                        id: 33456
                        name: Product editor
                        slug: product-editor
                      - count: 36
                        id: 33418
                        name: Site editor
                        slug: site-editor
                    total: 5
                    total_pages: 1
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Global product attributes of a WooCommerce store (e.g. Color
            pa_color, Size pa_size, Brand pa_brand) and, when one is named, its
            terms (id, name, slug, product count), paged up to 100 per page.


            The response contains the tool result directly.


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


            | Documented field | Provider type | Description |

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

            | `count` | number |  |

            | `id` | number |  |

            | `name` | string |  |

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