# List batches Returns a paginated list of Batches for the specified site. Supports filtering and sorting. Endpoint: GET /site/{siteId}/ahds/v1/batch Version: 1.0 Security: bearer ## Path parameters: - `siteId` (number, required) Site identifier ## Query parameters: - `page` (number) Page number (0-indexed) - `pageSize` (number) Number of items per page - `sortBy` (string) Field to sort by Enum: "createdAt", "updatedAt", "batchType", "expiryDate", "name" - `sortOrder` (string) Sort order Enum: "asc", "desc" - `batchType` (string) Type or classification of the batch. - `clientProvidedId` (string) Optional client-supplied identifier for idempotency or cross-system mapping. Example: "123e4567-e89b-12d3-a456-426614174000" - `isActive` (boolean) Indicates whether the batch is active and usable. - `name` (string) Human-readable batch name or code. - `parentBatchId` (string) Identifier of the parent batch, if this batch is derived from another. Example: "123e4567-e89b-12d3-a456-426614174000" - `productId` (string) Identifier of the product this batch belongs to. Example: "123e4567-e89b-12d3-a456-426614174000" ## Response 200 fields ## Response 401 fields