APIReferenceEvents
List events
GET
/eventsDevices, servers and nodes only; sign-ins and settings stay in the panel. Keep the last ID you saw and ask again with after. Events are kept for 90 days.
Needs the events:read scope.
Authorization
apiKey AuthorizationBearer <token>
An API key: tp_….
In: header
Query Parameters
after?integer
Only events with a larger ID.
server_id?integer
device_id?integer
kind?string
Comma-separated kinds.
limit?integer
Page size.
Range
1 <= value <= 200Default
50Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/events"{ "data": [ { "id": 0, "kind": "device.created", "created_at": "2019-08-24T14:15:22Z", "server_id": 0, "server_name": "string", "device_id": 0, "device_name": "string", "node_name": "string", "ip": "string", "country": "string", "detail": "string", "actor": "string" } ], "has_more": true}