Home > Documentation

Logs

This endpoint gets the logs of the current user. This is useful to understand what the user has done in the account.

Get the logs of the current user

This endpoint gets the logs of the current user. This is useful to understand what the user has done in the account.

This call is paginated, and the default page size is 10. This can not be changed.

URL parameters

This endpoint does not have any parameters.

Query parameters

page integer

The page number to retrieve. The first page is 1. If you don't provide this parameter, the first page will be returned.

Response attributes

type string

The type of the resource.

id string

The ID of the log.

attributes object

The attributes of the log.

attributes.name string

The name of the Person the action was performed on.

attributes.action string

The action that was performed. There are many actions.

attributes.description string

The description of the action.

attributes.created_at integer

The date and time the object was created, in Unix timestamp format.

attributes.updated_at integer

The date and time the object was last updated, in Unix timestamp format.

links object

The links to access the log.

GET /api/administration/logs
{
"data": [
{
"type": "log" ,
"id": "663" ,
"attributes": {
"name": "Dwight Schrute" ,
"action": "timezone_update" ,
"description": "Updated their timezone" ,
"created_at": 1751305720 ,
"updated_at": 1751305720
},
"links": {
"self": "https://peopleos.cloud/api/administration/logs/663"
}
},
{
...
}
],
"links": {
"first": "https://peopleos.cloud/api/administration/logs?page=1" ,
"last": "https://peopleos.cloud/api/administration/logs?page=66" ,
"prev": null ,
"next": "https://peopleos.cloud/api/administration/logs?page=2"
},
"meta": {
"current_page": 1 ,
"from": 1 ,
"last_page": 66 ,
"links": [
{
"url": null ,
"label": "« Previous" ,
"active": false
},
{
"url": "https://peopleos.cloud/api/administration/logs?page=1" ,
"label": "1" ,
"active": true
},
{
...
},
{
"url": https://peopleos.cloud/api/administration/logs?page=1 ,
"label": "Next »" ,
"active": false
}
],
"path": "https://peopleos.cloud/api/administration/logs" ,
"per_page": 10 ,
"to": 10 ,
"total": 660
}
}

Get a specific log

This endpoint gets a specific log.

URL parameters

log integer required

The ID of the log to get.

Query parameters

No query parameters are available for this endpoint.

Response attributes

type string

The type of the resource.

id string

The ID of the log.

attributes object

The attributes of the log.

attributes.name string

The name of the Person the action was performed on.

attributes.action string

The action that was performed. There are many actions.

attributes.description string

The description of the action.

attributes.created_at integer

The date and time the object was created, in Unix timestamp format.

attributes.updated_at integer

The date and time the object was last updated, in Unix timestamp format.

links object

The links to access the log.

GET /api/administration/logs/{log}
{
"data": {
"type": "log" ,
"id": "663" ,
"attributes": {
"name": "Dwight Schrute" ,
"action": "timezone_update" ,
"description": "Updated their timezone" ,
"created_at": 1751305720 ,
"updated_at": 1751305720
},
"links": {
"self": "https://peopleos.cloud/api/administration/logs/663"
}
}
}
Taylor Swift being happy

Please login to vote.

It's free and will help us improve the page.

Taylor will be proud of you.

Last updated on June 30, 2025.