## List logs `GET https://getkollek.com/api/administration/logs` Retrieve the audit trail of actions performed by your user, most recent first. Logs are created automatically for every action; they cannot be created, changed or deleted through the API. ### Query parameters - `per_page` (integer, optional): The number of logs 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 log objects. ### Example request ```bash curl https://getkollek.com/api/administration/logs \ -H "Authorization: Bearer $API_KEY" \ -H "Accept: application/json" ``` ### Example response `Status: 200` ```json { "data": [ { "type": "log", "id": "2", "attributes": { "user_name": "Monica Geller", "action": "collection_creation", "parameters": { "name": "My Comics" }, "description": "Created the collection My Comics", "created_at": 1752537600, "updated_at": 1752537600 }, "links": { "self": "https://getkollek.com/api/administration/logs/2" } }, { "type": "log", "id": "1", "attributes": { "user_name": "Monica Geller", "action": "account_creation", "parameters": [], "description": "Created the account", "created_at": 1752537600, "updated_at": 1752537600 }, "links": { "self": "https://getkollek.com/api/administration/logs/1" } } ], "links": { "first": "https://getkollek.com/api/administration/logs?page=1", "last": "https://getkollek.com/api/administration/logs?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/administration/logs?page=1", "label": "1", "active": true }, { "url": null, "label": "Next »", "active": false } ], "path": "https://getkollek.com/api/administration/logs", "per_page": 10, "to": 2, "total": 2 } } ```