Skip to main content
Poll for Events

Get a list of events

Lists events (asynchronous operations and logged actions). To track an asynchronous request, pass the X-Callback-ID it returned as callbackId and poll every 5-15 seconds until status is finished or error. waiting and working mean the operation is still queued or running; provisioning typically completes in less than 1 minute, but may in some rare cases take up to 3 minutes.

Operations that run as a sequence of steps (for example IP changes: set-containerip followed by test-network) return the callback ID of the last step; the earlier steps are separate events for the same server and can be listed with eventType (for example eventType=set-containerip). The message field holds the step's result. For set-containerip it ends with a bracketed summary such as [fallback=none restarted=no state=running renderer=netplan guest=applied host=applied verification=ok addresses=...]; warnings=... lists informational warnings (for example failed pings) that do not change the status.

GET
/events
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

callbackIdstringquery

Callback ID

eventTypestringquery

Event type filter. Known event types include: provision, restore-server, change-profile, set-state, delete, backup, set-hostnames, update-webroot, setup-ssl, install-wordpress, manage-wordpress, manage-shelluser, manage-keys, toggle-passwordauth, manage-mysql, manage-dbuser, manage-ftpuser, set-php-settings, cronjob, pull-file, push-file, delete-file, execute-file, set-containerip, test-network, cloudflare-credential-create, cloudflare-credential-update, cloudflare-credential-delete, cloudflare-default-alias-update, cloudflare-default-alias-clear, server-mail-postmark-enable, server-mail-postmark-disable, server-mail-improvmx-enable, server-mail-improvmx-disable, server-mail-improvmx-alias-add, server-mail-improvmx-alias-remove, server-mail-cloudflare-default-alias-update, server-mail-cloudflare-default-alias-clear. For local actions, callbackId identifies a completed log entry, not an asynchronous job.

pageintegerquerydefault:1

Page

per_pageintegerquerydefault:10

Events per page

requestAiExplainbooleanquerydefault:false

When true and callbackId points to an error event, starts AI explanation processing (if not already started). The explanation is generated asynchronously and is not guaranteed to be returned in the same response. After this initial call, poll /events with the same callbackId for aiExplainStatus/aiExplainText. In UI flows, use a client timeout of at most 1 minute per attempt and prompt retry; if still no ready result after at most 3 minutes total, treat it as likely failed or unprocessable.

Response

application/json

List of events

X-Total-Countintegerheader

Total events

itemsobject[]