# List herds

Returns a paginated list of Herds for the specified site. Supports filtering and sorting.

Endpoint: GET /site/{siteId}/ahds/v1/herd
Version: 1.0
Security: bearer

## Security:

  - `bearer` (unknown)
    http bearer JWT

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

  - `sortOrder` (string)
    Sort order

  - `name` (string)
    Human-readable name or identifier for the herd.

  - `ownerId` (string)
    Reference to the contact who owns this herd.

  - `locationId` (string)
    Reference to the primary location where the herd is kept.

  - `isActive` (boolean)
    Whether the herd is currently active.

## Response 200:

  - `200` (unknown)
    Paginated list of Herds

## Response 401:

  - `401` (unknown)
    Unauthorized

