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

# Records list

> Collect every order, or filter by order type, status, country, industry or year. Start without a cursor; follow `next_cursor` until it is null.

## Request contract

* **Method and path:** POST /apis/v1/cbp-gov/withhold-release-orders/records-list
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/cbp-gov/withhold-release-orders/records-list`

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "cbp-gov.withhold-release-orders.records-list",
  "method": "POST",
  "path": "/apis/v1/cbp-gov/withhold-release-orders/records-list",
  "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": {
              "country_code": "MX",
              "limit": 5,
              "order_type": "Finding"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "country_code": {
              "description": "Keep only this `Country Code` (ISO alpha-2, or `FV` for fishing vessels). Pattern: ^[A-Za-z]{2}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "cursor": {
              "description": "Opaque continuation from a previous page's `next_cursor`. Pinned to the CSV URL and SHA-256 it was issued for; a moved publication fails with issue code `publication_changed`.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "industry": {
              "description": "Keep only rows whose `Industry` equals this value, case-insensitively.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "limit": {
              "default": 100,
              "description": "Rows per page (the whole file is about 70 rows).\n\nProvider reference: minimum 1; maximum 200; default 100.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 200,
                "min": 1
              }
            },
            "order_type": {
              "description": "Keep only this `WRO/Finding` value.\n\nProvider reference: allowed values [\"WRO\", \"Finding\"].",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "WRO",
                  "Finding"
                ]
              }
            },
            "query": {
              "description": "Case-insensitive substring match over entity, merchandise, country and remarks.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "status": {
              "description": "Keep only rows whose `Status` equals this value, case-insensitively (`Active`, `Partially Modified`, `Inactive-Pending Litigation`).",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "year": {
              "description": "Keep only rows with this `Calendar Year`.\n\nProvider reference: minimum 1900; maximum 2100.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 2100,
                "min": 1900
              }
            }
          },
          "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/cbp-gov.json POST /apis/v1/cbp-gov/withhold-release-orders/records-list
openapi: 3.1.0
info:
  description: ''
  title: CBP Withhold Release Orders and Findings
  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:
    cbp-gov:
      description: ''
      title: CBP Withhold Release Orders and Findings
      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: b4d03e0fe3139bb210b144b36792822a306f4256000ad7ee3e30ccd3c8879d7d
        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/cbp-gov/withhold-release-orders/records-get
    - /apis/v1/cbp-gov/withhold-release-orders/records-list
    - /apis/v1/cbp-gov/withhold-release-orders/source-status
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:65e8e05899ec672b98f1c27db5da57be8ce078fc2286b2ad49916272f4308a0c
    facts_hash: b4d03e0fe3139bb210b144b36792822a306f4256000ad7ee3e30ccd3c8879d7d
    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: cbp-gov
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/cbp-gov/withhold-release-orders/records-list:
    post:
      tags:
        - CBP Withhold Release Orders and Findings
      summary: Records list
      description: >-
        Collect every order, or filter by order type, status, country, industry
        or year. Start without a cursor; follow `next_cursor` until it is null.
      operationId: cbp-gov.withhold-release-orders.records-list
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  country_code: MX
                  limit: 5
                  order_type: Finding
            schema:
              additionalProperties: true
              properties:
                country_code:
                  description: >-
                    Keep only this `Country Code` (ISO alpha-2, or `FV` for
                    fishing vessels). Pattern: ^[A-Za-z]{2}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                cursor:
                  description: >-
                    Opaque continuation from a previous page's `next_cursor`.
                    Pinned to the CSV URL and SHA-256 it was issued for; a moved
                    publication fails with issue code `publication_changed`.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                industry:
                  description: >-
                    Keep only rows whose `Industry` equals this value,
                    case-insensitively.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                limit:
                  default: 100
                  description: |-
                    Rows per page (the whole file is about 70 rows).

                    Provider reference: minimum 1; maximum 200; default 100.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 200
                    min: 1
                order_type:
                  description: |-
                    Keep only this `WRO/Finding` value.

                    Provider reference: allowed values ["WRO", "Finding"].
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - WRO
                      - Finding
                query:
                  description: >-
                    Case-insensitive substring match over entity, merchandise,
                    country and remarks.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                status:
                  description: >-
                    Keep only rows whose `Status` equals this value,
                    case-insensitively (`Active`, `Partially Modified`,
                    `Inactive-Pending Litigation`).
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                year:
                  description: |-
                    Keep only rows with this `Calendar Year`.

                    Provider reference: minimum 1900; maximum 2100.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 2100
                    min: 1900
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-18.
                  summary: Official provider example
                  value:
                    next_cursor: null
                    observed_at_ms: 1792302892156
                    offset: 0
                    publication_id: withhold-release-orders-findings-fy26-2026-09-29.csv
                    records:
                      - aliases: []
                        calendar_year: 1953
                        country: Mexico
                        country_code: MX
                        effective_date: '1953-12-28'
                        industry: Consumer Products and Mass Merchandising
                        manufacturer: >-
                          State Penitentiary, Ciudad Victoria, Tamaulipas,
                          Mexico
                        merchandise: Furniture
                        notice_url: null
                        order_type: Finding
                        publication_id: withhold-release-orders-findings-fy26-2026-09-29.csv
                        raw:
                          effective_date: 12/28/1953
                          entity: >-
                            State Penitentiary, Ciudad Victoria, Tamaulipas,
                            Mexico
                          merchandise: Furniture
                          order_type: Finding
                        remarks: >-
                          "Customs," Treasury Decisions. U.S. Treasury
                          Department 88 (1953): 416; T.D. 53408
                        retrieved_at: '2026-10-18T05:54:52Z'
                        source_record_id: wro:fb8517a6b2dd9c43
                        source_url: >-
                          https://www.cbp.gov/sites/default/files/2026-09/withhold-release-orders-findings-fy26-2026-09-29.csv
                        status: Active
                      - aliases: []
                        calendar_year: 1958
                        country: Mexico
                        country_code: MX
                        effective_date: '1958-10-29'
                        industry: Consumer Products and Mass Merchandising
                        manufacturer: >-
                          State Penitentiary, Ciudad Victoria, Tamaulipas,
                          Mexico
                        merchandise: Furniture
                        notice_url: null
                        order_type: Finding
                        publication_id: withhold-release-orders-findings-fy26-2026-09-29.csv
                        raw:
                          effective_date: 10/29/1958
                          entity: >-
                            State Penitentiary, Ciudad Victoria, Tamaulipas,
                            Mexico
                          merchandise: Furniture
                          order_type: Finding
                        remarks: >-
                          "Customs," Treasury Decisions. U.S. Treasury
                          Department 93 (1958): 517-518; T.D. 54725
                        retrieved_at: '2026-10-18T05:54:52Z'
                        source_record_id: wro:51384765c5daac5e
                        source_url: >-
                          https://www.cbp.gov/sites/default/files/2026-09/withhold-release-orders-findings-fy26-2026-09-29.csv
                        status: Active
                    retrieved_at: '2026-10-18T05:54:52Z'
                    sha256: >-
                      ab09d08aa55f418fc1b0fffd3ac7e54ab09ea8325e778e88f4835c6d9b20ceae
                    source_url: >-
                      https://www.cbp.gov/sites/default/files/2026-09/withhold-release-orders-findings-fy26-2026-09-29.csv
                    total: 2
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            The full current WRO and Findings list in file order
            (chronological), paginated by offset with a cursor pinned to one
            publication (CSV URL plus SHA-256). Every page re-resolves the CSV
            from the dataset page and re-fetches it; if the publication moved
            since the cursor was issued the call fails with `invalid_input` and
            issue code `publication_changed` instead of mixing versions. Filters
            narrow the list; pass the same filters with the cursor. No
            `records/changes`: CBP publishes no deltas, and revoked orders drop
            out of the file rather than change status, so keep history by
            diffing snapshots.


            The response contains the tool result directly.


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


            | Documented field | Provider type | Description |

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

            | `aliases` | string[] | Alternative names from the `Entity` column,
            one per ` a/k/a ` segment after the first. Empty when the entity has
            none. |

            | `calendar_year` | number | The `Calendar Year` column as
            published. |

            | `country` | string | The `Country` column, e.g. `Fishing Vessels`
            for `FV`. |

            | `country_code` | string | The `Country Code` column: ISO 3166-1
            alpha-2, or the pseudo-code `FV` for fishing vessels. |

            | `effective_date` | string | The `Effective Date` column (M/D/YYYY
            in the file) as an ISO date. |

            | `industry` | string | The `Industry` column, or null when the file
            leaves it blank. `All` is a published value. |

            | `manufacturer` | string | The primary name in the `Entity` column
            (the text before the first ` a/k/a `). Some rows name a region, a
            sector (`Artisanal`) or a vessel rather than a company; it is never
            inferred from the merchandise. |

            | `merchandise` | string | The `Merchandise` column. |

            | `notice_url` | string | The `Press Release` column (a CBP or
            Federal Register URL), or null when blank. |

            | `order_type` | string | The `WRO/Finding` column: `WRO` (Withhold
            Release Order) or `Finding`. |

            | `publication_id` | string | The CSV filename, e.g.
            `withhold-release-orders-findings-fy26-2026-09-29.csv`; it changes
            with every dataset update. |

            | `raw` | object | The identity tuple exactly as published (before
            whitespace normalisation and alias splitting). |

            | `remarks` | string | The `Remarks` column (Treasury Decision and
            Federal Register citations, cross-references), or null when blank. |

            | `retrieved_at` | string | When this program fetched the CSV (UTC).
            |

            | `source_record_id` | string | Derived id: `wro:` + the first 16
            hex characters of SHA-256 over `Effective
            Date\|WRO/Finding\|Entity\|Merchandise` (whitespace in each field
            collapsed to single spaces). The CSV has no id column; the tuple is
            unique across the file. |

            | `source_url` | string | The dated CSV this row was read from. |

            | `status` | string | The `Status` column exactly as published
            (`Active`, `Partially Modified`, `Inactive-Pending Litigation`,
            ...). Revoked orders drop out of the file rather than change status.
            |



            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.