Skip to documentation
DocumentationAPI referenceList server events
GETBearer token

List server events

/api/v1/servers/:id/events

Read local server actions in pages of 10 entries.

Request example

cURL
curl "https://tovahub.com/api/v1/servers/507f1f77bcf86cd799439012/events?page=1" \
  -H "Authorization: Bearer $TOVAHUB_TOKEN"

Examples only. No requests are sent from this page.

Illustrative response
JSON
{
  "page": 1,
  "hasNext": false,
  "events": []
}

Parameters

idPath · Required

string

Resource ID: 24 hexadecimal characters. Use the platform ID returned by the matching list endpoint, not a supplier instance ID.

pageQuery · Optional

integer

Query value is parsed as an integer. 1–1,000,000; defaults to 1. Use hasNext to continue.

Response

HTTP status 200

Read paginated local server actions and their observed state.

pagenumber

Requested page, defaulting to one.

hasNextboolean

Whether another page exists.

eventsarray

At most ten entries for this API, because the route supplies a default page.

events[].idstring (ObjectId)

Local action-event identifier.

events[].actionstring

Recorded action; auto-renew events are named autorenew_on or autorenew_off.

events[].statusstring

Observed status; active tasks are reported as pending.

events[].errornull

This listing currently returns null rather than event error details.

events[].createdAtstring (ISO 8601)

Event creation time.

events[].actorUserIdstring (ObjectId) | null

Original actor account ID, or null for incomplete history. The current reader must be an active member of the same fixed team.

events[].taskKeystring | null

Original submitted task key for read-only get_server_task lookup, or null. Never resubmits, unlocks or grants the original actor permissions.