Logs, Metrics & Events

Get app events

Returns up to 12 lifecycle events of the app's instances, such as started, stopped, restarted or out of memory. You can read events from the last 7 days. Team permission: any project permission.

get/v1/projects/{project_id}/events

Request

  • Base URL
    https://api.liara.ir
  • URL
    https://api.liara.ir/v1/projects/{project_id}/events
  • Auth
    HTTP bearer

Path parameters

project_idstring required

The app's name.

Query parameters

teamIDstring

24-character hexadecimal ID.

Run the request in the context of a team you belong to, instead of your personal account.

startinteger

Start of the range, in Unix seconds. Defaults to 1 day ago; values older than 7 days are moved to 7 days ago.

endinteger

End of the range, in Unix seconds. Defaults to now. Must be after start.

direction'backward' | 'forward'

backward returns the newest entries first, forward the oldest first.

searchstring

Only return events containing this text. At least 3 characters.

Response

Events. Each event can include additional fields not listed here.

Changes

No recorded changes to this operation across all 25 revisions of this API.