## List location history `GET https://getkollek.com/api/copies/{copy}/location-history` Retrieve where a copy has been stored over time: each place it lived and the period it was there. They are returned newest move first. The open record, with no moved_out_at, is where the copy is now. A copy has at most one open record at a time, and its current location always mirrors that record. Ordinary movement is not provenance; a historically significant institutional movement is recorded separately as a provenance event. **Permissions:** Any member of the account. ### Path parameters - `copy` (integer, required): The ID of the copy the record belongs to. ### Query parameters - `per_page` (integer, optional): The number of records to return per page, between 1 and 100. Default: `10`. - `page` (integer, optional): The page number to return. Default: `1`. **Returns:** A paginated list of location history objects. ### Example request ```bash curl https://getkollek.com/api/copies/1/location-history \ -H "Authorization: Bearer $API_KEY" \ -H "Accept: application/json" ``` ### Example response `Status: 200` ```json { "data": [ { "type": "location_history", "id": "2", "attributes": { "copy_id": "1", "location_id": "4", "moved_at": 1704067200, "moved_out_at": null, "reason": "Rotated into the display case", "note": null, "is_open": true, "created_at": 1752537600, "updated_at": 1752537600 }, "links": { "self": "https://getkollek.com/api/copies/1/location-history/2" } }, { "type": "location_history", "id": "1", "attributes": { "copy_id": "1", "location_id": "2", "moved_at": 1704067200, "moved_out_at": 1704067200, "reason": "Rotated into the display case", "note": null, "is_open": false, "created_at": 1752537600, "updated_at": 1752537600 }, "links": { "self": "https://getkollek.com/api/copies/1/location-history/1" } } ], "links": { "first": "https://getkollek.com/api/copies/1/location-history?page=1", "last": "https://getkollek.com/api/copies/1/location-history?page=1", "prev": null, "next": null }, "meta": { "current_page": 1, "from": 1, "last_page": 1, "links": [ { "url": null, "label": "« Previous", "active": false }, { "url": "https://getkollek.com/api/copies/1/location-history?page=1", "label": "1", "active": true }, { "url": null, "label": "Next »", "active": false } ], "path": "https://getkollek.com/api/copies/1/location-history", "per_page": 10, "to": 2, "total": 2 } } ```