Skip to main content

events

Creates, updates, deletes, gets or lists an events resource.

Overview

Nameevents
TypeResource
Idlinode.account.events

Fields

The following fields are returned by SELECT queries:

An Event object.

NameDatatypeDescription
idintegerRead-only The unique ID of this event.
actionstringRead-only The action that caused this event. New actions may be added in the future. (example: ticket_create)
createdstring (date-time)Read-only When the system created this event. (example: 2018-01-01T00:01:01)
durationnumberRead-only The number of seconds that it takes for the event to complete.
entityobjectRead-only Detailed information about the entity that triggered this event.
messagestringAdditional information about the event. This can be a more detailed representation of an event that can help you diagnose non-obvious failures. (example: None)
percent_completeintegerRead-only A percentage estimating the amount of time remaining for an event. Returned as null for notification events.
ratestringRead-only The rate of completion of the event. Only some events return a rate, such as the migration and resize events.
readbooleanRead-only If a user on your account has marked an event as read.
secondary_entityobjectRead-only Detailed information about the event's secondary entity, if applicable.
seenbooleanRead-only If a user on your account has marked an event as seen.
statusstringRead-only The current status of this event.
time_remainingstringRead-only The estimated time remaining until the event completes. This is only returned for some in-progress migration events. Otherwise, percent_complete indicates how long until completion.
usernamestringRead-only The name of the user whose action caused the event. (example: exampleUser)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_eventselectReturns a single event object.

Learn more...

Learn more...
get_eventsselectpage, page_sizeReturns a collection of event objects that represent actions you've taken on your account, over the last 90 days. The events returned depend on your user grants.

Learn more...

Learn more...
post_event_seenexecAcknowledge an event by marking it as seen.

> 📘
>
> On June 17, 2025, the "Mark an event as read" operation was sunset. Attempts to call it will return a 404. Use this operation instead.

Learn more...

Learn more...

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
pageintegerThe page of a collection to return.
page_sizeintegerThe number of items to return per page.

SELECT examples

Returns a single event object.

Learn more...

Learn more...

SELECT
id,
action,
created,
duration,
entity,
message,
percent_complete,
rate,
read,
secondary_entity,
seen,
status,
time_remaining,
username
FROM linode.account.events;

Lifecycle Methods

Acknowledge an event by marking it as seen.

> 📘
>
> On June 17, 2025, the "Mark an event as read" operation was sunset. Attempts to call it will return a 404. Use this operation instead.

Learn more...

Learn more...

EXEC linode.account.events.post_event_seen 
;