# List consults Returns a paginated list of Consults for the specified site. Supports filtering and sorting. Endpoint: GET /site/{siteId}/ahds/v1/consult 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", "code", "consultedAt", "description" - `sortOrder` (string) Sort order Enum: "asc", "desc" - `animalId` (string) Identifier of the animal this consult is for. Example: "123e4567-e89b-12d3-a456-426614174000" - `code` (string) Practice-specific consult code or short identifier. - `description` (string) Free-text description or summary of the consult. - `isActive` (boolean) Whether the consult is currently active/open. - `ownershipId` (string) Identifier for the ownership context (e.g., client account or business unit). Example: "123e4567-e89b-12d3-a456-426614174000" - `referringClinicId` (string) Identifier of the referring clinic, if any. Example: "123e4567-e89b-12d3-a456-426614174000" - `referringVetContactId` (string) Identifier of the referring veterinarian contact, if any. Example: "123e4567-e89b-12d3-a456-426614174000" - `vetId` (string) Identifier of the primary veterinarian responsible for the consult. Example: "123e4567-e89b-12d3-a456-426614174000" ## Response 200 fields ## Response 401 fields