# List separations

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

Endpoint: GET /site/{siteId}/ahds/v1/separation
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

  - `category` (string)
    High-level category of separation.

  - `childEntityId` (string)
    Identifier of the child entity in the separation relationship (e.g., separated animal, destination group).

  - `clientProvidedId` (string)
    Optional client-supplied identifier for idempotency or cross-system correlation.

  - `contactId` (string)
    Reference to the associated contact, if applicable.

  - `isActive` (boolean)
    Whether this separation record is currently active.

  - `name` (string)
    Human-readable name or label for the separation.

  - `parentEntityId` (string)
    Identifier of the parent entity in the separation relationship (e.g., owner, source group).

## Response 200:

  - `200` (unknown)
    Paginated list of Separations

## Response 401:

  - `401` (unknown)
    Unauthorized

