Server
Server activity
Returns the activity log for the specified server
Include parameters
| Parameter | Description |
|---|---|
| actor | Information about the user who performed the action |
GET
/api/client/servers/{server}/activityAuthorization
ClientToken AuthorizationBearer <token>
Client API key (generated at /account/api)
In: header
Path Parameters
server*string
Server identifier (short 8-character ID)
Query Parameters
page?integer
Page number for pagination
per_page?integer
Results per page (max 100, default 25)
Default
25Range
value <= 100filter[event]?string
Partial match on the activity event name, e.g. server:console.command
sort?string
Sort by timestamp; prefix with - for descending
Value in
"timestamp" | "-timestamp"include?string
Comma-separated list of related resources. Accepts actor to embed the user that performed each action.
Response Body
application/json
curl -X GET "https://pterodactyl.file.properties/api/client/servers/1a7ce997/activity?page=1&per_page=25&filter%5Bevent%5D=server%3Apower&sort=-timestamp&include=actor" \ -H "Authorization: Bearer ptlc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \ -H "Accept: application/json"{
"object": "list",
"data": [
{
"object": "activity_log",
"attributes": {
"id": "abc123",
"batch": null,
"event": "server:power.start",
"is_api": false,
"ip": "82.73.127.188",
"description": null,
"properties": {},
"has_additional_metadata": false,
"timestamp": "2025-12-01T23:10:45+01:00"
}
}
]
}