# List histories Returns a paginated list of Histories for the specified site. Supports filtering and sorting. Endpoint: GET /site/{siteId}/ahds/v1/history 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", "chain", "comments", "eventAt", "historySystem" - `sortOrder` (string) Sort order Enum: "asc", "desc" - `animalId` (string) Identifier of the animal associated with this history record. Example: "123e4567-e89b-12d3-a456-426614174000" - `chain` (string) Chain or grouping identifier for related history records. - `comments` (string) Free-text comments or narrative for this history entry. - `consultId` (string) Identifier of the consult associated with this history record. Example: "123e4567-e89b-12d3-a456-426614174000" - `historySystem` (string) Source or subsystem that created or owns this history record. - `isActive` (boolean) Whether this history record is active. - `vetId` (string) Identifier of the veterinarian associated with this history record. Example: "123e4567-e89b-12d3-a456-426614174000" ## Response 200 fields ## Response 401 fields